Imported Upstream version 1.7.5
[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.5.
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.5'
574 PACKAGE_STRING='e_dbus 1.7.5'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
576 PACKAGE_URL=''
577
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 requirement_eukit
620 requirement_eofono
621 requirement_enotify
622 requirement_ehal
623 requirement_edbus
624 requirement_econnman0_7x
625 requirement_ebluez
626 ALLOCA
627 lt_enable_auto_import
628 EFL_EDBUS_BUILD
629 EDBUS_ASYNC_TEST_LIBS
630 EDBUS_ASYNC_TEST_CFLAGS
631 EDBUS_PERFORMANCE_TEST_LIBS
632 EDBUS_PERFORMANCE_TEST_CFLAGS
633 EDBUS_UKIT_TEST_LIBS
634 EDBUS_UKIT_TEST_CFLAGS
635 EDBUS_OFONO_TEST_LIBS
636 EDBUS_OFONO_TEST_CFLAGS
637 EDBUS_NOTIFY_TEST_LIBS
638 EDBUS_NOTIFY_TEST_CFLAGS
639 EDBUS_NOTIFY_SEND_LIBS
640 EDBUS_NOTIFY_SEND_CFLAGS
641 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
642 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
643 EDBUS_CONNMAN0_7X_TEST_LIBS
644 EDBUS_CONNMAN0_7X_TEST_CFLAGS
645 EDBUS_BLUEZ_TEST_LIBS
646 EDBUS_BLUEZ_TEST_CFLAGS
647 EDBUS_TEST_CLIENT_LIBS
648 EDBUS_TEST_CLIENT_CFLAGS
649 EDBUS_TEST_LIBS
650 EDBUS_TEST_CFLAGS
651 BUILD_EDBUS_ASYNC_TEST_FALSE
652 BUILD_EDBUS_ASYNC_TEST_TRUE
653 EDBUS_ASYNC_TEST_PRG
654 BUILD_EDBUS_PERFORMANCE_TEST_FALSE
655 BUILD_EDBUS_PERFORMANCE_TEST_TRUE
656 EDBUS_PERFORMANCE_TEST_PRG
657 BUILD_EDBUS_UKIT_TEST_FALSE
658 BUILD_EDBUS_UKIT_TEST_TRUE
659 EDBUS_UKIT_TEST_PRG
660 BUILD_EDBUS_OFONO_TEST_FALSE
661 BUILD_EDBUS_OFONO_TEST_TRUE
662 EDBUS_OFONO_TEST_PRG
663 BUILD_EDBUS_NOTIFY_TEST_FALSE
664 BUILD_EDBUS_NOTIFY_TEST_TRUE
665 EDBUS_NOTIFY_TEST_PRG
666 BUILD_EDBUS_NOTIFY_SEND_FALSE
667 BUILD_EDBUS_NOTIFY_SEND_TRUE
668 EDBUS_NOTIFY_SEND_PRG
669 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE
670 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE
671 EDBUS_NOTIFICATION_DAEMON_TEST_PRG
672 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE
673 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE
674 EDBUS_CONNMAN0_7X_TEST_PRG
675 BUILD_EDBUS_BLUEZ_TEST_FALSE
676 BUILD_EDBUS_BLUEZ_TEST_TRUE
677 EDBUS_BLUEZ_TEST_PRG
678 BUILD_EDBUS_TEST_CLIENT_FALSE
679 BUILD_EDBUS_TEST_CLIENT_TRUE
680 EDBUS_TEST_CLIENT_PRG
681 BUILD_EDBUS_TEST_FALSE
682 BUILD_EDBUS_TEST_TRUE
683 EDBUS_TEST_PRG
684 BUILD_EUKIT_FALSE
685 BUILD_EUKIT_TRUE
686 BUILD_EOFONO_FALSE
687 BUILD_EOFONO_TRUE
688 BUILD_ENOTIFY_FALSE
689 BUILD_ENOTIFY_TRUE
690 BUILD_EHAL_FALSE
691 BUILD_EHAL_TRUE
692 BUILD_ECONNMAN0_7X_FALSE
693 BUILD_ECONNMAN0_7X_TRUE
694 BUILD_EBLUEZ_FALSE
695 BUILD_EBLUEZ_TRUE
696 EVAS_LIBS
697 EVAS_CFLAGS
698 DBUS_VERSION_CFLAGS
699 EDBUS_LIBS
700 EDBUS_CFLAGS
701 DBUS_LIBS
702 DBUS_CFLAGS
703 EFL_BUILD_DOC_FALSE
704 EFL_BUILD_DOC_TRUE
705 efl_doxygen
706 efl_have_doxygen
707 pkgconfig_requires_private
708 PKG_CONFIG_LIBDIR
709 PKG_CONFIG_PATH
710 PKG_CONFIG
711 VMAJ
712 release_info
713 version_info
714 CPP
715 OTOOL64
716 OTOOL
717 LIPO
718 NMEDIT
719 DSYMUTIL
720 MANIFEST_TOOL
721 RANLIB
722 ac_ct_AR
723 AR
724 LN_S
725 NM
726 ac_ct_DUMPBIN
727 DUMPBIN
728 LD
729 FGREP
730 EGREP
731 GREP
732 SED
733 am__fastdepCC_FALSE
734 am__fastdepCC_TRUE
735 CCDEPMODE
736 am__nodep
737 AMDEPBACKSLASH
738 AMDEP_FALSE
739 AMDEP_TRUE
740 am__quote
741 am__include
742 DEPDIR
743 OBJEXT
744 EXEEXT
745 ac_ct_CC
746 CPPFLAGS
747 LDFLAGS
748 CFLAGS
749 CC
750 LIBTOOL
751 OBJDUMP
752 DLLTOOL
753 AS
754 host_os
755 host_vendor
756 host_cpu
757 host
758 build_os
759 build_vendor
760 build_cpu
761 build
762 AM_BACKSLASH
763 AM_DEFAULT_VERBOSITY
764 AM_DEFAULT_V
765 AM_V
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
771 AWK
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_alias
790 host_alias
791 build_alias
792 LIBS
793 ECHO_T
794 ECHO_N
795 ECHO_C
796 DEFS
797 mandir
798 localedir
799 libdir
800 psdir
801 pdfdir
802 dvidir
803 htmldir
804 infodir
805 docdir
806 oldincludedir
807 includedir
808 localstatedir
809 sharedstatedir
810 sysconfdir
811 datadir
812 datarootdir
813 libexecdir
814 sbindir
815 bindir
816 program_transform_name
817 prefix
818 exec_prefix
819 PACKAGE_URL
820 PACKAGE_BUGREPORT
821 PACKAGE_STRING
822 PACKAGE_VERSION
823 PACKAGE_TARNAME
824 PACKAGE_NAME
825 PATH_SEPARATOR
826 SHELL'
827 ac_subst_files=''
828 ac_user_opts='
829 enable_option_checking
830 enable_silent_rules
831 enable_shared
832 enable_static
833 with_pic
834 enable_fast_install
835 enable_dependency_tracking
836 with_gnu_ld
837 with_sysroot
838 enable_libtool_lock
839 enable_ebluez
840 enable_econnman0_7x
841 enable_ehal
842 enable_enotify
843 enable_eofono
844 enable_eukit
845 enable_doc
846 with_doxygen
847 enable_edbus_test
848 enable_edbus_test_client
849 enable_edbus_bluez_test
850 enable_edbus_connman0_7x_test
851 enable_edbus_notification_daemon_test
852 enable_edbus_notify_send
853 enable_edbus_notify_test
854 enable_edbus_ofono_test
855 enable_edbus_ukit_test
856 enable_edbus_performance_test
857 enable_edbus_async_test
858 '
859       ac_precious_vars='build_alias
860 host_alias
861 target_alias
862 CC
863 CFLAGS
864 LDFLAGS
865 LIBS
866 CPPFLAGS
867 CPP
868 PKG_CONFIG
869 PKG_CONFIG_PATH
870 PKG_CONFIG_LIBDIR
871 DBUS_CFLAGS
872 DBUS_LIBS
873 EDBUS_CFLAGS
874 EDBUS_LIBS
875 EVAS_CFLAGS
876 EVAS_LIBS
877 EDBUS_TEST_CFLAGS
878 EDBUS_TEST_LIBS
879 EDBUS_TEST_CLIENT_CFLAGS
880 EDBUS_TEST_CLIENT_LIBS
881 EDBUS_BLUEZ_TEST_CFLAGS
882 EDBUS_BLUEZ_TEST_LIBS
883 EDBUS_CONNMAN0_7X_TEST_CFLAGS
884 EDBUS_CONNMAN0_7X_TEST_LIBS
885 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
886 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
887 EDBUS_NOTIFY_SEND_CFLAGS
888 EDBUS_NOTIFY_SEND_LIBS
889 EDBUS_NOTIFY_TEST_CFLAGS
890 EDBUS_NOTIFY_TEST_LIBS
891 EDBUS_OFONO_TEST_CFLAGS
892 EDBUS_OFONO_TEST_LIBS
893 EDBUS_UKIT_TEST_CFLAGS
894 EDBUS_UKIT_TEST_LIBS
895 EDBUS_PERFORMANCE_TEST_CFLAGS
896 EDBUS_PERFORMANCE_TEST_LIBS
897 EDBUS_ASYNC_TEST_CFLAGS
898 EDBUS_ASYNC_TEST_LIBS'
899
900
901 # Initialize some variables set by options.
902 ac_init_help=
903 ac_init_version=false
904 ac_unrecognized_opts=
905 ac_unrecognized_sep=
906 # The variables have the same names as the options, with
907 # dashes changed to underlines.
908 cache_file=/dev/null
909 exec_prefix=NONE
910 no_create=
911 no_recursion=
912 prefix=NONE
913 program_prefix=NONE
914 program_suffix=NONE
915 program_transform_name=s,x,x,
916 silent=
917 site=
918 srcdir=
919 verbose=
920 x_includes=NONE
921 x_libraries=NONE
922
923 # Installation directory options.
924 # These are left unexpanded so users can "make install exec_prefix=/foo"
925 # and all the variables that are supposed to be based on exec_prefix
926 # by default will actually change.
927 # Use braces instead of parens because sh, perl, etc. also accept them.
928 # (The list follows the same order as the GNU Coding Standards.)
929 bindir='${exec_prefix}/bin'
930 sbindir='${exec_prefix}/sbin'
931 libexecdir='${exec_prefix}/libexec'
932 datarootdir='${prefix}/share'
933 datadir='${datarootdir}'
934 sysconfdir='${prefix}/etc'
935 sharedstatedir='${prefix}/com'
936 localstatedir='${prefix}/var'
937 includedir='${prefix}/include'
938 oldincludedir='/usr/include'
939 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
940 infodir='${datarootdir}/info'
941 htmldir='${docdir}'
942 dvidir='${docdir}'
943 pdfdir='${docdir}'
944 psdir='${docdir}'
945 libdir='${exec_prefix}/lib'
946 localedir='${datarootdir}/locale'
947 mandir='${datarootdir}/man'
948
949 ac_prev=
950 ac_dashdash=
951 for ac_option
952 do
953   # If the previous option needs an argument, assign it.
954   if test -n "$ac_prev"; then
955     eval $ac_prev=\$ac_option
956     ac_prev=
957     continue
958   fi
959
960   case $ac_option in
961   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
962   *=)   ac_optarg= ;;
963   *)    ac_optarg=yes ;;
964   esac
965
966   # Accept the important Cygnus configure options, so we can diagnose typos.
967
968   case $ac_dashdash$ac_option in
969   --)
970     ac_dashdash=yes ;;
971
972   -bindir | --bindir | --bindi | --bind | --bin | --bi)
973     ac_prev=bindir ;;
974   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
975     bindir=$ac_optarg ;;
976
977   -build | --build | --buil | --bui | --bu)
978     ac_prev=build_alias ;;
979   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
980     build_alias=$ac_optarg ;;
981
982   -cache-file | --cache-file | --cache-fil | --cache-fi \
983   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
984     ac_prev=cache_file ;;
985   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
986   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
987     cache_file=$ac_optarg ;;
988
989   --config-cache | -C)
990     cache_file=config.cache ;;
991
992   -datadir | --datadir | --datadi | --datad)
993     ac_prev=datadir ;;
994   -datadir=* | --datadir=* | --datadi=* | --datad=*)
995     datadir=$ac_optarg ;;
996
997   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
998   | --dataroo | --dataro | --datar)
999     ac_prev=datarootdir ;;
1000   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1001   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1002     datarootdir=$ac_optarg ;;
1003
1004   -disable-* | --disable-*)
1005     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1006     # Reject names that are not valid shell variable names.
1007     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1008       as_fn_error $? "invalid feature name: $ac_useropt"
1009     ac_useropt_orig=$ac_useropt
1010     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011     case $ac_user_opts in
1012       *"
1013 "enable_$ac_useropt"
1014 "*) ;;
1015       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1016          ac_unrecognized_sep=', ';;
1017     esac
1018     eval enable_$ac_useropt=no ;;
1019
1020   -docdir | --docdir | --docdi | --doc | --do)
1021     ac_prev=docdir ;;
1022   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1023     docdir=$ac_optarg ;;
1024
1025   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1026     ac_prev=dvidir ;;
1027   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1028     dvidir=$ac_optarg ;;
1029
1030   -enable-* | --enable-*)
1031     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1032     # Reject names that are not valid shell variable names.
1033     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034       as_fn_error $? "invalid feature name: $ac_useropt"
1035     ac_useropt_orig=$ac_useropt
1036     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037     case $ac_user_opts in
1038       *"
1039 "enable_$ac_useropt"
1040 "*) ;;
1041       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1042          ac_unrecognized_sep=', ';;
1043     esac
1044     eval enable_$ac_useropt=\$ac_optarg ;;
1045
1046   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1047   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1048   | --exec | --exe | --ex)
1049     ac_prev=exec_prefix ;;
1050   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1051   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1052   | --exec=* | --exe=* | --ex=*)
1053     exec_prefix=$ac_optarg ;;
1054
1055   -gas | --gas | --ga | --g)
1056     # Obsolete; use --with-gas.
1057     with_gas=yes ;;
1058
1059   -help | --help | --hel | --he | -h)
1060     ac_init_help=long ;;
1061   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1062     ac_init_help=recursive ;;
1063   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1064     ac_init_help=short ;;
1065
1066   -host | --host | --hos | --ho)
1067     ac_prev=host_alias ;;
1068   -host=* | --host=* | --hos=* | --ho=*)
1069     host_alias=$ac_optarg ;;
1070
1071   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1072     ac_prev=htmldir ;;
1073   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1074   | --ht=*)
1075     htmldir=$ac_optarg ;;
1076
1077   -includedir | --includedir | --includedi | --included | --include \
1078   | --includ | --inclu | --incl | --inc)
1079     ac_prev=includedir ;;
1080   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1081   | --includ=* | --inclu=* | --incl=* | --inc=*)
1082     includedir=$ac_optarg ;;
1083
1084   -infodir | --infodir | --infodi | --infod | --info | --inf)
1085     ac_prev=infodir ;;
1086   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1087     infodir=$ac_optarg ;;
1088
1089   -libdir | --libdir | --libdi | --libd)
1090     ac_prev=libdir ;;
1091   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1092     libdir=$ac_optarg ;;
1093
1094   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1095   | --libexe | --libex | --libe)
1096     ac_prev=libexecdir ;;
1097   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1098   | --libexe=* | --libex=* | --libe=*)
1099     libexecdir=$ac_optarg ;;
1100
1101   -localedir | --localedir | --localedi | --localed | --locale)
1102     ac_prev=localedir ;;
1103   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1104     localedir=$ac_optarg ;;
1105
1106   -localstatedir | --localstatedir | --localstatedi | --localstated \
1107   | --localstate | --localstat | --localsta | --localst | --locals)
1108     ac_prev=localstatedir ;;
1109   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1110   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1111     localstatedir=$ac_optarg ;;
1112
1113   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1114     ac_prev=mandir ;;
1115   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1116     mandir=$ac_optarg ;;
1117
1118   -nfp | --nfp | --nf)
1119     # Obsolete; use --without-fp.
1120     with_fp=no ;;
1121
1122   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1123   | --no-cr | --no-c | -n)
1124     no_create=yes ;;
1125
1126   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1127   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1128     no_recursion=yes ;;
1129
1130   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1131   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1132   | --oldin | --oldi | --old | --ol | --o)
1133     ac_prev=oldincludedir ;;
1134   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1135   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1136   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1137     oldincludedir=$ac_optarg ;;
1138
1139   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1140     ac_prev=prefix ;;
1141   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1142     prefix=$ac_optarg ;;
1143
1144   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1145   | --program-pre | --program-pr | --program-p)
1146     ac_prev=program_prefix ;;
1147   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1148   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1149     program_prefix=$ac_optarg ;;
1150
1151   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1152   | --program-suf | --program-su | --program-s)
1153     ac_prev=program_suffix ;;
1154   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1155   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1156     program_suffix=$ac_optarg ;;
1157
1158   -program-transform-name | --program-transform-name \
1159   | --program-transform-nam | --program-transform-na \
1160   | --program-transform-n | --program-transform- \
1161   | --program-transform | --program-transfor \
1162   | --program-transfo | --program-transf \
1163   | --program-trans | --program-tran \
1164   | --progr-tra | --program-tr | --program-t)
1165     ac_prev=program_transform_name ;;
1166   -program-transform-name=* | --program-transform-name=* \
1167   | --program-transform-nam=* | --program-transform-na=* \
1168   | --program-transform-n=* | --program-transform-=* \
1169   | --program-transform=* | --program-transfor=* \
1170   | --program-transfo=* | --program-transf=* \
1171   | --program-trans=* | --program-tran=* \
1172   | --progr-tra=* | --program-tr=* | --program-t=*)
1173     program_transform_name=$ac_optarg ;;
1174
1175   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1176     ac_prev=pdfdir ;;
1177   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1178     pdfdir=$ac_optarg ;;
1179
1180   -psdir | --psdir | --psdi | --psd | --ps)
1181     ac_prev=psdir ;;
1182   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1183     psdir=$ac_optarg ;;
1184
1185   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1186   | -silent | --silent | --silen | --sile | --sil)
1187     silent=yes ;;
1188
1189   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1190     ac_prev=sbindir ;;
1191   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1192   | --sbi=* | --sb=*)
1193     sbindir=$ac_optarg ;;
1194
1195   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1196   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1197   | --sharedst | --shareds | --shared | --share | --shar \
1198   | --sha | --sh)
1199     ac_prev=sharedstatedir ;;
1200   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1201   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1202   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1203   | --sha=* | --sh=*)
1204     sharedstatedir=$ac_optarg ;;
1205
1206   -site | --site | --sit)
1207     ac_prev=site ;;
1208   -site=* | --site=* | --sit=*)
1209     site=$ac_optarg ;;
1210
1211   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1212     ac_prev=srcdir ;;
1213   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1214     srcdir=$ac_optarg ;;
1215
1216   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1217   | --syscon | --sysco | --sysc | --sys | --sy)
1218     ac_prev=sysconfdir ;;
1219   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1220   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1221     sysconfdir=$ac_optarg ;;
1222
1223   -target | --target | --targe | --targ | --tar | --ta | --t)
1224     ac_prev=target_alias ;;
1225   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1226     target_alias=$ac_optarg ;;
1227
1228   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1229     verbose=yes ;;
1230
1231   -version | --version | --versio | --versi | --vers | -V)
1232     ac_init_version=: ;;
1233
1234   -with-* | --with-*)
1235     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1236     # Reject names that are not valid shell variable names.
1237     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238       as_fn_error $? "invalid package name: $ac_useropt"
1239     ac_useropt_orig=$ac_useropt
1240     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241     case $ac_user_opts in
1242       *"
1243 "with_$ac_useropt"
1244 "*) ;;
1245       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1246          ac_unrecognized_sep=', ';;
1247     esac
1248     eval with_$ac_useropt=\$ac_optarg ;;
1249
1250   -without-* | --without-*)
1251     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1252     # Reject names that are not valid shell variable names.
1253     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254       as_fn_error $? "invalid package name: $ac_useropt"
1255     ac_useropt_orig=$ac_useropt
1256     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257     case $ac_user_opts in
1258       *"
1259 "with_$ac_useropt"
1260 "*) ;;
1261       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1262          ac_unrecognized_sep=', ';;
1263     esac
1264     eval with_$ac_useropt=no ;;
1265
1266   --x)
1267     # Obsolete; use --with-x.
1268     with_x=yes ;;
1269
1270   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1271   | --x-incl | --x-inc | --x-in | --x-i)
1272     ac_prev=x_includes ;;
1273   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1274   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1275     x_includes=$ac_optarg ;;
1276
1277   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1278   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1279     ac_prev=x_libraries ;;
1280   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1281   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1282     x_libraries=$ac_optarg ;;
1283
1284   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1285 Try \`$0 --help' for more information"
1286     ;;
1287
1288   *=*)
1289     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1290     # Reject names that are not valid shell variable names.
1291     case $ac_envvar in #(
1292       '' | [0-9]* | *[!_$as_cr_alnum]* )
1293       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1294     esac
1295     eval $ac_envvar=\$ac_optarg
1296     export $ac_envvar ;;
1297
1298   *)
1299     # FIXME: should be removed in autoconf 3.0.
1300     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1301     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1302       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1303     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1304     ;;
1305
1306   esac
1307 done
1308
1309 if test -n "$ac_prev"; then
1310   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1311   as_fn_error $? "missing argument to $ac_option"
1312 fi
1313
1314 if test -n "$ac_unrecognized_opts"; then
1315   case $enable_option_checking in
1316     no) ;;
1317     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1318     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1319   esac
1320 fi
1321
1322 # Check all directory arguments for consistency.
1323 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1324                 datadir sysconfdir sharedstatedir localstatedir includedir \
1325                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1326                 libdir localedir mandir
1327 do
1328   eval ac_val=\$$ac_var
1329   # Remove trailing slashes.
1330   case $ac_val in
1331     */ )
1332       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1333       eval $ac_var=\$ac_val;;
1334   esac
1335   # Be sure to have absolute directory names.
1336   case $ac_val in
1337     [\\/$]* | ?:[\\/]* )  continue;;
1338     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1339   esac
1340   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1341 done
1342
1343 # There might be people who depend on the old broken behavior: `$host'
1344 # used to hold the argument of --host etc.
1345 # FIXME: To remove some day.
1346 build=$build_alias
1347 host=$host_alias
1348 target=$target_alias
1349
1350 # FIXME: To remove some day.
1351 if test "x$host_alias" != x; then
1352   if test "x$build_alias" = x; then
1353     cross_compiling=maybe
1354     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1355     If a cross compiler is detected then cross compile mode will be used" >&2
1356   elif test "x$build_alias" != "x$host_alias"; then
1357     cross_compiling=yes
1358   fi
1359 fi
1360
1361 ac_tool_prefix=
1362 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1363
1364 test "$silent" = yes && exec 6>/dev/null
1365
1366
1367 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1368 ac_ls_di=`ls -di .` &&
1369 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1370   as_fn_error $? "working directory cannot be determined"
1371 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1372   as_fn_error $? "pwd does not report name of working directory"
1373
1374
1375 # Find the source files, if location was not specified.
1376 if test -z "$srcdir"; then
1377   ac_srcdir_defaulted=yes
1378   # Try the directory containing this script, then the parent directory.
1379   ac_confdir=`$as_dirname -- "$as_myself" ||
1380 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1381          X"$as_myself" : 'X\(//\)[^/]' \| \
1382          X"$as_myself" : 'X\(//\)$' \| \
1383          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1384 $as_echo X"$as_myself" |
1385     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1386             s//\1/
1387             q
1388           }
1389           /^X\(\/\/\)[^/].*/{
1390             s//\1/
1391             q
1392           }
1393           /^X\(\/\/\)$/{
1394             s//\1/
1395             q
1396           }
1397           /^X\(\/\).*/{
1398             s//\1/
1399             q
1400           }
1401           s/.*/./; q'`
1402   srcdir=$ac_confdir
1403   if test ! -r "$srcdir/$ac_unique_file"; then
1404     srcdir=..
1405   fi
1406 else
1407   ac_srcdir_defaulted=no
1408 fi
1409 if test ! -r "$srcdir/$ac_unique_file"; then
1410   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1411   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1412 fi
1413 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1414 ac_abs_confdir=`(
1415         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1416         pwd)`
1417 # When building in place, set srcdir=.
1418 if test "$ac_abs_confdir" = "$ac_pwd"; then
1419   srcdir=.
1420 fi
1421 # Remove unnecessary trailing slashes from srcdir.
1422 # Double slashes in file names in object file debugging info
1423 # mess up M-x gdb in Emacs.
1424 case $srcdir in
1425 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1426 esac
1427 for ac_var in $ac_precious_vars; do
1428   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1429   eval ac_env_${ac_var}_value=\$${ac_var}
1430   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1431   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1432 done
1433
1434 #
1435 # Report the --help message.
1436 #
1437 if test "$ac_init_help" = "long"; then
1438   # Omit some internal or obsolete options to make the list less imposing.
1439   # This message is too long to be a string in the A/UX 3.1 sh.
1440   cat <<_ACEOF
1441 \`configure' configures e_dbus 1.7.5 to adapt to many kinds of systems.
1442
1443 Usage: $0 [OPTION]... [VAR=VALUE]...
1444
1445 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1446 VAR=VALUE.  See below for descriptions of some of the useful variables.
1447
1448 Defaults for the options are specified in brackets.
1449
1450 Configuration:
1451   -h, --help              display this help and exit
1452       --help=short        display options specific to this package
1453       --help=recursive    display the short help of all the included packages
1454   -V, --version           display version information and exit
1455   -q, --quiet, --silent   do not print \`checking ...' messages
1456       --cache-file=FILE   cache test results in FILE [disabled]
1457   -C, --config-cache      alias for \`--cache-file=config.cache'
1458   -n, --no-create         do not create output files
1459       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1460
1461 Installation directories:
1462   --prefix=PREFIX         install architecture-independent files in PREFIX
1463                           [$ac_default_prefix]
1464   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1465                           [PREFIX]
1466
1467 By default, \`make install' will install all the files in
1468 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1469 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1470 for instance \`--prefix=\$HOME'.
1471
1472 For better control, use the options below.
1473
1474 Fine tuning of the installation directories:
1475   --bindir=DIR            user executables [EPREFIX/bin]
1476   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1477   --libexecdir=DIR        program executables [EPREFIX/libexec]
1478   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1479   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1480   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1481   --libdir=DIR            object code libraries [EPREFIX/lib]
1482   --includedir=DIR        C header files [PREFIX/include]
1483   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1484   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1485   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1486   --infodir=DIR           info documentation [DATAROOTDIR/info]
1487   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1488   --mandir=DIR            man documentation [DATAROOTDIR/man]
1489   --docdir=DIR            documentation root [DATAROOTDIR/doc/e_dbus]
1490   --htmldir=DIR           html documentation [DOCDIR]
1491   --dvidir=DIR            dvi documentation [DOCDIR]
1492   --pdfdir=DIR            pdf documentation [DOCDIR]
1493   --psdir=DIR             ps documentation [DOCDIR]
1494 _ACEOF
1495
1496   cat <<\_ACEOF
1497
1498 Program names:
1499   --program-prefix=PREFIX            prepend PREFIX to installed program names
1500   --program-suffix=SUFFIX            append SUFFIX to installed program names
1501   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1502
1503 System types:
1504   --build=BUILD     configure for building on BUILD [guessed]
1505   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1506 _ACEOF
1507 fi
1508
1509 if test -n "$ac_init_help"; then
1510   case $ac_init_help in
1511      short | recursive ) echo "Configuration of e_dbus 1.7.5:";;
1512    esac
1513   cat <<\_ACEOF
1514
1515 Optional Features:
1516   --disable-option-checking  ignore unrecognized --enable/--with options
1517   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1518   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1519   --enable-silent-rules          less verbose build output (undo: `make V=1')
1520   --disable-silent-rules         verbose build output (undo: `make V=0')
1521   --enable-shared[=PKGS]  build shared libraries [default=yes]
1522   --enable-static[=PKGS]  build static libraries [default=yes]
1523   --enable-fast-install[=PKGS]
1524                           optimize for fast installation [default=yes]
1525   --disable-dependency-tracking  speeds up one-time build
1526   --enable-dependency-tracking   do not reject slow dependency extractors
1527   --disable-libtool-lock  avoid locking (might break parallel builds)
1528   --enable-ebluez         Enable ebluez build
1529   --enable-econnman0_7x   Enable econnman 0.7x build
1530   --disable-ehal          Disable ehal build
1531   --disable-enotify       Disable enotify build
1532   --enable-eofono         Enable eofono build
1533   --disable-eukit         Disable eukit build
1534   --disable-doc           Disable documentation build [default=enabled]
1535   --disable-edbus-test    disable building of edbus_test
1536   --disable-edbus-test-client
1537                           disable building of edbus_test_client
1538   --disable-edbus-bluez-test
1539                           disable building of edbus_bluez_test
1540   --disable-edbus-connman0_7x-test
1541                           disable building of edbus_connman0_7x_test
1542   --disable-edbus-notification-daemon-test
1543                           disable building of edbus_notification_daemon_test
1544   --disable-edbus-notify-send
1545                           disable building of edbus_notify_send
1546   --disable-edbus-notify-test
1547                           disable building of edbus_notify_test
1548   --disable-edbus-ofono-test
1549                           disable building of edbus_ofono_test
1550   --disable-edbus-ukit-test
1551                           disable building of edbus_ukit_test
1552   --disable-edbus-performance-test
1553                           disable building of edbus_performance_test
1554   --disable-edbus-async-test
1555                           disable building of edbus_async_test
1556
1557 Optional Packages:
1558   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1559   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1560   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1561                           both]
1562   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1563   --with-sysroot=DIR Search for dependent libraries within DIR
1564                         (or the compiler's sysroot if not specified).
1565   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1566
1567 Some influential environment variables:
1568   CC          C compiler command
1569   CFLAGS      C compiler flags
1570   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1571               nonstandard directory <lib dir>
1572   LIBS        libraries to pass to the linker, e.g. -l<library>
1573   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1574               you have headers in a nonstandard directory <include dir>
1575   CPP         C preprocessor
1576   PKG_CONFIG  path to pkg-config utility
1577   PKG_CONFIG_PATH
1578               directories to add to pkg-config's search path
1579   PKG_CONFIG_LIBDIR
1580               path overriding pkg-config's built-in search path
1581   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1582   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1583   EDBUS_CFLAGS
1584               C compiler flags for EDBUS, overriding pkg-config
1585   EDBUS_LIBS  linker flags for EDBUS, overriding pkg-config
1586   EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1587   EVAS_LIBS   linker flags for EVAS, overriding pkg-config
1588   EDBUS_TEST_CFLAGS
1589               C compiler flags for EDBUS_TEST, overriding pkg-config
1590   EDBUS_TEST_LIBS
1591               linker flags for EDBUS_TEST, overriding pkg-config
1592   EDBUS_TEST_CLIENT_CFLAGS
1593               C compiler flags for EDBUS_TEST_CLIENT, overriding pkg-config
1594   EDBUS_TEST_CLIENT_LIBS
1595               linker flags for EDBUS_TEST_CLIENT, overriding pkg-config
1596   EDBUS_BLUEZ_TEST_CFLAGS
1597               C compiler flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1598   EDBUS_BLUEZ_TEST_LIBS
1599               linker flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1600   EDBUS_CONNMAN0_7X_TEST_CFLAGS
1601               C compiler flags for EDBUS_CONNMAN0_7X_TEST, overriding
1602               pkg-config
1603   EDBUS_CONNMAN0_7X_TEST_LIBS
1604               linker flags for EDBUS_CONNMAN0_7X_TEST, overriding pkg-config
1605   EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1606               C compiler flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1607               pkg-config
1608   EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1609               linker flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1610               pkg-config
1611   EDBUS_NOTIFY_SEND_CFLAGS
1612               C compiler flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1613   EDBUS_NOTIFY_SEND_LIBS
1614               linker flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1615   EDBUS_NOTIFY_TEST_CFLAGS
1616               C compiler flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1617   EDBUS_NOTIFY_TEST_LIBS
1618               linker flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1619   EDBUS_OFONO_TEST_CFLAGS
1620               C compiler flags for EDBUS_OFONO_TEST, overriding pkg-config
1621   EDBUS_OFONO_TEST_LIBS
1622               linker flags for EDBUS_OFONO_TEST, overriding pkg-config
1623   EDBUS_UKIT_TEST_CFLAGS
1624               C compiler flags for EDBUS_UKIT_TEST, overriding pkg-config
1625   EDBUS_UKIT_TEST_LIBS
1626               linker flags for EDBUS_UKIT_TEST, overriding pkg-config
1627   EDBUS_PERFORMANCE_TEST_CFLAGS
1628               C compiler flags for EDBUS_PERFORMANCE_TEST, overriding
1629               pkg-config
1630   EDBUS_PERFORMANCE_TEST_LIBS
1631               linker flags for EDBUS_PERFORMANCE_TEST, overriding pkg-config
1632   EDBUS_ASYNC_TEST_CFLAGS
1633               C compiler flags for EDBUS_ASYNC_TEST, overriding pkg-config
1634   EDBUS_ASYNC_TEST_LIBS
1635               linker flags for EDBUS_ASYNC_TEST, overriding pkg-config
1636
1637 Use these variables to override the choices made by `configure' or to help
1638 it to find libraries and programs with nonstandard names/locations.
1639
1640 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1641 _ACEOF
1642 ac_status=$?
1643 fi
1644
1645 if test "$ac_init_help" = "recursive"; then
1646   # If there are subdirs, report their specific --help.
1647   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1648     test -d "$ac_dir" ||
1649       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1650       continue
1651     ac_builddir=.
1652
1653 case "$ac_dir" in
1654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 *)
1656   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1657   # A ".." for each directory in $ac_dir_suffix.
1658   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1659   case $ac_top_builddir_sub in
1660   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1661   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1662   esac ;;
1663 esac
1664 ac_abs_top_builddir=$ac_pwd
1665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1666 # for backward compatibility:
1667 ac_top_builddir=$ac_top_build_prefix
1668
1669 case $srcdir in
1670   .)  # We are building in place.
1671     ac_srcdir=.
1672     ac_top_srcdir=$ac_top_builddir_sub
1673     ac_abs_top_srcdir=$ac_pwd ;;
1674   [\\/]* | ?:[\\/]* )  # Absolute name.
1675     ac_srcdir=$srcdir$ac_dir_suffix;
1676     ac_top_srcdir=$srcdir
1677     ac_abs_top_srcdir=$srcdir ;;
1678   *) # Relative name.
1679     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1680     ac_top_srcdir=$ac_top_build_prefix$srcdir
1681     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1682 esac
1683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1684
1685     cd "$ac_dir" || { ac_status=$?; continue; }
1686     # Check for guested configure.
1687     if test -f "$ac_srcdir/configure.gnu"; then
1688       echo &&
1689       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1690     elif test -f "$ac_srcdir/configure"; then
1691       echo &&
1692       $SHELL "$ac_srcdir/configure" --help=recursive
1693     else
1694       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1695     fi || ac_status=$?
1696     cd "$ac_pwd" || { ac_status=$?; break; }
1697   done
1698 fi
1699
1700 test -n "$ac_init_help" && exit $ac_status
1701 if $ac_init_version; then
1702   cat <<\_ACEOF
1703 e_dbus configure 1.7.5
1704 generated by GNU Autoconf 2.68
1705
1706 Copyright (C) 2010 Free Software Foundation, Inc.
1707 This configure script is free software; the Free Software Foundation
1708 gives unlimited permission to copy, distribute and modify it.
1709 _ACEOF
1710   exit
1711 fi
1712
1713 ## ------------------------ ##
1714 ## Autoconf initialization. ##
1715 ## ------------------------ ##
1716
1717 # ac_fn_c_try_compile LINENO
1718 # --------------------------
1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_c_try_compile ()
1721 {
1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723   rm -f conftest.$ac_objext
1724   if { { ac_try="$ac_compile"
1725 case "(($ac_try" in
1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727   *) ac_try_echo=$ac_try;;
1728 esac
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731   (eval "$ac_compile") 2>conftest.err
1732   ac_status=$?
1733   if test -s conftest.err; then
1734     grep -v '^ *+' conftest.err >conftest.er1
1735     cat conftest.er1 >&5
1736     mv -f conftest.er1 conftest.err
1737   fi
1738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739   test $ac_status = 0; } && {
1740          test -z "$ac_c_werror_flag" ||
1741          test ! -s conftest.err
1742        } && test -s conftest.$ac_objext; then :
1743   ac_retval=0
1744 else
1745   $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1747
1748         ac_retval=1
1749 fi
1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751   as_fn_set_status $ac_retval
1752
1753 } # ac_fn_c_try_compile
1754
1755 # ac_fn_c_try_link LINENO
1756 # -----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded.
1758 ac_fn_c_try_link ()
1759 {
1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761   rm -f conftest.$ac_objext conftest$ac_exeext
1762   if { { ac_try="$ac_link"
1763 case "(($ac_try" in
1764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765   *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769   (eval "$ac_link") 2>conftest.err
1770   ac_status=$?
1771   if test -s conftest.err; then
1772     grep -v '^ *+' conftest.err >conftest.er1
1773     cat conftest.er1 >&5
1774     mv -f conftest.er1 conftest.err
1775   fi
1776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777   test $ac_status = 0; } && {
1778          test -z "$ac_c_werror_flag" ||
1779          test ! -s conftest.err
1780        } && test -s conftest$ac_exeext && {
1781          test "$cross_compiling" = yes ||
1782          $as_test_x conftest$ac_exeext
1783        }; then :
1784   ac_retval=0
1785 else
1786   $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1788
1789         ac_retval=1
1790 fi
1791   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1792   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1793   # interfere with the next link command; also delete a directory that is
1794   # left behind by Apple's compiler.  We do this before executing the actions.
1795   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797   as_fn_set_status $ac_retval
1798
1799 } # ac_fn_c_try_link
1800
1801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1802 # -------------------------------------------------------
1803 # Tests whether HEADER exists and can be compiled using the include files in
1804 # INCLUDES, setting the cache variable VAR accordingly.
1805 ac_fn_c_check_header_compile ()
1806 {
1807   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \${$3+:} false; then :
1811   $as_echo_n "(cached) " >&6
1812 else
1813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h.  */
1815 $4
1816 #include <$2>
1817 _ACEOF
1818 if ac_fn_c_try_compile "$LINENO"; then :
1819   eval "$3=yes"
1820 else
1821   eval "$3=no"
1822 fi
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 fi
1825 eval ac_res=\$$3
1826                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829
1830 } # ac_fn_c_check_header_compile
1831
1832 # ac_fn_c_try_cpp LINENO
1833 # ----------------------
1834 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1835 ac_fn_c_try_cpp ()
1836 {
1837   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838   if { { ac_try="$ac_cpp conftest.$ac_ext"
1839 case "(($ac_try" in
1840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841   *) ac_try_echo=$ac_try;;
1842 esac
1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1846   ac_status=$?
1847   if test -s conftest.err; then
1848     grep -v '^ *+' conftest.err >conftest.er1
1849     cat conftest.er1 >&5
1850     mv -f conftest.er1 conftest.err
1851   fi
1852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853   test $ac_status = 0; } > conftest.i && {
1854          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1855          test ! -s conftest.err
1856        }; then :
1857   ac_retval=0
1858 else
1859   $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1861
1862     ac_retval=1
1863 fi
1864   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865   as_fn_set_status $ac_retval
1866
1867 } # ac_fn_c_try_cpp
1868
1869 # ac_fn_c_try_run LINENO
1870 # ----------------------
1871 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1872 # that executables *can* be run.
1873 ac_fn_c_try_run ()
1874 {
1875   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876   if { { ac_try="$ac_link"
1877 case "(($ac_try" in
1878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879   *) ac_try_echo=$ac_try;;
1880 esac
1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883   (eval "$ac_link") 2>&5
1884   ac_status=$?
1885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1887   { { case "(($ac_try" in
1888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889   *) ac_try_echo=$ac_try;;
1890 esac
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893   (eval "$ac_try") 2>&5
1894   ac_status=$?
1895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896   test $ac_status = 0; }; }; then :
1897   ac_retval=0
1898 else
1899   $as_echo "$as_me: program exited with status $ac_status" >&5
1900        $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1902
1903        ac_retval=$ac_status
1904 fi
1905   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1906   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907   as_fn_set_status $ac_retval
1908
1909 } # ac_fn_c_try_run
1910
1911 # ac_fn_c_check_func LINENO FUNC VAR
1912 # ----------------------------------
1913 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1914 ac_fn_c_check_func ()
1915 {
1916   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918 $as_echo_n "checking for $2... " >&6; }
1919 if eval \${$3+:} false; then :
1920   $as_echo_n "(cached) " >&6
1921 else
1922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h.  */
1924 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1925    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1926 #define $2 innocuous_$2
1927
1928 /* System header to define __stub macros and hopefully few prototypes,
1929     which can conflict with char $2 (); below.
1930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1931     <limits.h> exists even on freestanding compilers.  */
1932
1933 #ifdef __STDC__
1934 # include <limits.h>
1935 #else
1936 # include <assert.h>
1937 #endif
1938
1939 #undef $2
1940
1941 /* Override any GCC internal prototype to avoid an error.
1942    Use char because int might match the return type of a GCC
1943    builtin and then its argument prototype would still apply.  */
1944 #ifdef __cplusplus
1945 extern "C"
1946 #endif
1947 char $2 ();
1948 /* The GNU C library defines this for functions which it implements
1949     to always fail with ENOSYS.  Some functions are actually named
1950     something starting with __ and the normal name is an alias.  */
1951 #if defined __stub_$2 || defined __stub___$2
1952 choke me
1953 #endif
1954
1955 int
1956 main ()
1957 {
1958 return $2 ();
1959   ;
1960   return 0;
1961 }
1962 _ACEOF
1963 if ac_fn_c_try_link "$LINENO"; then :
1964   eval "$3=yes"
1965 else
1966   eval "$3=no"
1967 fi
1968 rm -f core conftest.err conftest.$ac_objext \
1969     conftest$ac_exeext conftest.$ac_ext
1970 fi
1971 eval ac_res=\$$3
1972                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1973 $as_echo "$ac_res" >&6; }
1974   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975
1976 } # ac_fn_c_check_func
1977
1978 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1979 # -------------------------------------------
1980 # Tests whether TYPE exists after having included INCLUDES, setting cache
1981 # variable VAR accordingly.
1982 ac_fn_c_check_type ()
1983 {
1984   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986 $as_echo_n "checking for $2... " >&6; }
1987 if eval \${$3+:} false; then :
1988   $as_echo_n "(cached) " >&6
1989 else
1990   eval "$3=no"
1991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992 /* end confdefs.h.  */
1993 $4
1994 int
1995 main ()
1996 {
1997 if (sizeof ($2))
1998          return 0;
1999   ;
2000   return 0;
2001 }
2002 _ACEOF
2003 if ac_fn_c_try_compile "$LINENO"; then :
2004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h.  */
2006 $4
2007 int
2008 main ()
2009 {
2010 if (sizeof (($2)))
2011             return 0;
2012   ;
2013   return 0;
2014 }
2015 _ACEOF
2016 if ac_fn_c_try_compile "$LINENO"; then :
2017
2018 else
2019   eval "$3=yes"
2020 fi
2021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2022 fi
2023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2024 fi
2025 eval ac_res=\$$3
2026                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 $as_echo "$ac_res" >&6; }
2028   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029
2030 } # ac_fn_c_check_type
2031 cat >config.log <<_ACEOF
2032 This file contains any messages produced by compilers while
2033 running configure, to aid debugging if configure makes a mistake.
2034
2035 It was created by e_dbus $as_me 1.7.5, which was
2036 generated by GNU Autoconf 2.68.  Invocation command line was
2037
2038   $ $0 $@
2039
2040 _ACEOF
2041 exec 5>>config.log
2042 {
2043 cat <<_ASUNAME
2044 ## --------- ##
2045 ## Platform. ##
2046 ## --------- ##
2047
2048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2053
2054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2055 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2056
2057 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2058 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2060 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2061 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2062 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2063 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2064
2065 _ASUNAME
2066
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 for as_dir in $PATH
2069 do
2070   IFS=$as_save_IFS
2071   test -z "$as_dir" && as_dir=.
2072     $as_echo "PATH: $as_dir"
2073   done
2074 IFS=$as_save_IFS
2075
2076 } >&5
2077
2078 cat >&5 <<_ACEOF
2079
2080
2081 ## ----------- ##
2082 ## Core tests. ##
2083 ## ----------- ##
2084
2085 _ACEOF
2086
2087
2088 # Keep a trace of the command line.
2089 # Strip out --no-create and --no-recursion so they do not pile up.
2090 # Strip out --silent because we don't want to record it for future runs.
2091 # Also quote any args containing shell meta-characters.
2092 # Make two passes to allow for proper duplicate-argument suppression.
2093 ac_configure_args=
2094 ac_configure_args0=
2095 ac_configure_args1=
2096 ac_must_keep_next=false
2097 for ac_pass in 1 2
2098 do
2099   for ac_arg
2100   do
2101     case $ac_arg in
2102     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2103     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2104     | -silent | --silent | --silen | --sile | --sil)
2105       continue ;;
2106     *\'*)
2107       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2108     esac
2109     case $ac_pass in
2110     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2111     2)
2112       as_fn_append ac_configure_args1 " '$ac_arg'"
2113       if test $ac_must_keep_next = true; then
2114         ac_must_keep_next=false # Got value, back to normal.
2115       else
2116         case $ac_arg in
2117           *=* | --config-cache | -C | -disable-* | --disable-* \
2118           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2119           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2120           | -with-* | --with-* | -without-* | --without-* | --x)
2121             case "$ac_configure_args0 " in
2122               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2123             esac
2124             ;;
2125           -* ) ac_must_keep_next=true ;;
2126         esac
2127       fi
2128       as_fn_append ac_configure_args " '$ac_arg'"
2129       ;;
2130     esac
2131   done
2132 done
2133 { ac_configure_args0=; unset ac_configure_args0;}
2134 { ac_configure_args1=; unset ac_configure_args1;}
2135
2136 # When interrupted or exit'd, cleanup temporary files, and complete
2137 # config.log.  We remove comments because anyway the quotes in there
2138 # would cause problems or look ugly.
2139 # WARNING: Use '\'' to represent an apostrophe within the trap.
2140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2141 trap 'exit_status=$?
2142   # Save into config.log some information that might help in debugging.
2143   {
2144     echo
2145
2146     $as_echo "## ---------------- ##
2147 ## Cache variables. ##
2148 ## ---------------- ##"
2149     echo
2150     # The following way of writing the cache mishandles newlines in values,
2151 (
2152   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2153     eval ac_val=\$$ac_var
2154     case $ac_val in #(
2155     *${as_nl}*)
2156       case $ac_var in #(
2157       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2158 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2159       esac
2160       case $ac_var in #(
2161       _ | IFS | as_nl) ;; #(
2162       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2163       *) { eval $ac_var=; unset $ac_var;} ;;
2164       esac ;;
2165     esac
2166   done
2167   (set) 2>&1 |
2168     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2169     *${as_nl}ac_space=\ *)
2170       sed -n \
2171         "s/'\''/'\''\\\\'\'''\''/g;
2172           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2173       ;; #(
2174     *)
2175       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2176       ;;
2177     esac |
2178     sort
2179 )
2180     echo
2181
2182     $as_echo "## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##"
2185     echo
2186     for ac_var in $ac_subst_vars
2187     do
2188       eval ac_val=\$$ac_var
2189       case $ac_val in
2190       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191       esac
2192       $as_echo "$ac_var='\''$ac_val'\''"
2193     done | sort
2194     echo
2195
2196     if test -n "$ac_subst_files"; then
2197       $as_echo "## ------------------- ##
2198 ## File substitutions. ##
2199 ## ------------------- ##"
2200       echo
2201       for ac_var in $ac_subst_files
2202       do
2203         eval ac_val=\$$ac_var
2204         case $ac_val in
2205         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206         esac
2207         $as_echo "$ac_var='\''$ac_val'\''"
2208       done | sort
2209       echo
2210     fi
2211
2212     if test -s confdefs.h; then
2213       $as_echo "## ----------- ##
2214 ## confdefs.h. ##
2215 ## ----------- ##"
2216       echo
2217       cat confdefs.h
2218       echo
2219     fi
2220     test "$ac_signal" != 0 &&
2221       $as_echo "$as_me: caught signal $ac_signal"
2222     $as_echo "$as_me: exit $exit_status"
2223   } >&5
2224   rm -f core *.core core.conftest.* &&
2225     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2226     exit $exit_status
2227 ' 0
2228 for ac_signal in 1 2 13 15; do
2229   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2230 done
2231 ac_signal=0
2232
2233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2234 rm -f -r conftest* confdefs.h
2235
2236 $as_echo "/* confdefs.h */" > confdefs.h
2237
2238 # Predefined preprocessor variables.
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2242 _ACEOF
2243
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2246 _ACEOF
2247
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2250 _ACEOF
2251
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_STRING "$PACKAGE_STRING"
2254 _ACEOF
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2258 _ACEOF
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_URL "$PACKAGE_URL"
2262 _ACEOF
2263
2264
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer an explicitly selected file to automatically selected ones.
2267 ac_site_file1=NONE
2268 ac_site_file2=NONE
2269 if test -n "$CONFIG_SITE"; then
2270   # We do not want a PATH search for config.site.
2271   case $CONFIG_SITE in #((
2272     -*)  ac_site_file1=./$CONFIG_SITE;;
2273     */*) ac_site_file1=$CONFIG_SITE;;
2274     *)   ac_site_file1=./$CONFIG_SITE;;
2275   esac
2276 elif test "x$prefix" != xNONE; then
2277   ac_site_file1=$prefix/share/config.site
2278   ac_site_file2=$prefix/etc/config.site
2279 else
2280   ac_site_file1=$ac_default_prefix/share/config.site
2281   ac_site_file2=$ac_default_prefix/etc/config.site
2282 fi
2283 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2284 do
2285   test "x$ac_site_file" = xNONE && continue
2286   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2287     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2288 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2289     sed 's/^/| /' "$ac_site_file" >&5
2290     . "$ac_site_file" \
2291       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2293 as_fn_error $? "failed to load site script $ac_site_file
2294 See \`config.log' for more details" "$LINENO" 5; }
2295   fi
2296 done
2297
2298 if test -r "$cache_file"; then
2299   # Some versions of bash will fail to source /dev/null (special files
2300   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2301   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2302     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2303 $as_echo "$as_me: loading cache $cache_file" >&6;}
2304     case $cache_file in
2305       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2306       *)                      . "./$cache_file";;
2307     esac
2308   fi
2309 else
2310   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2311 $as_echo "$as_me: creating cache $cache_file" >&6;}
2312   >$cache_file
2313 fi
2314
2315 # Check that the precious variables saved in the cache have kept the same
2316 # value.
2317 ac_cache_corrupted=false
2318 for ac_var in $ac_precious_vars; do
2319   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2320   eval ac_new_set=\$ac_env_${ac_var}_set
2321   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2322   eval ac_new_val=\$ac_env_${ac_var}_value
2323   case $ac_old_set,$ac_new_set in
2324     set,)
2325       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2326 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2327       ac_cache_corrupted=: ;;
2328     ,set)
2329       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2330 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2331       ac_cache_corrupted=: ;;
2332     ,);;
2333     *)
2334       if test "x$ac_old_val" != "x$ac_new_val"; then
2335         # differences in whitespace do not lead to failure.
2336         ac_old_val_w=`echo x $ac_old_val`
2337         ac_new_val_w=`echo x $ac_new_val`
2338         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2339           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2340 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2341           ac_cache_corrupted=:
2342         else
2343           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2344 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2345           eval $ac_var=\$ac_old_val
2346         fi
2347         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2348 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2349         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2350 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2351       fi;;
2352   esac
2353   # Pass precious variables to config.status.
2354   if test "$ac_new_set" = set; then
2355     case $ac_new_val in
2356     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2357     *) ac_arg=$ac_var=$ac_new_val ;;
2358     esac
2359     case " $ac_configure_args " in
2360       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2361       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2362     esac
2363   fi
2364 done
2365 if $ac_cache_corrupted; then
2366   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2368   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2369 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2370   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2371 fi
2372 ## -------------------- ##
2373 ## Main body of script. ##
2374 ## -------------------- ##
2375
2376 ac_ext=c
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2381
2382
2383
2384
2385
2386
2387 ac_config_headers="$ac_config_headers config.h"
2388
2389
2390
2391
2392 am__api_version='1.11'
2393
2394 ac_aux_dir=
2395 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2396   if test -f "$ac_dir/install-sh"; then
2397     ac_aux_dir=$ac_dir
2398     ac_install_sh="$ac_aux_dir/install-sh -c"
2399     break
2400   elif test -f "$ac_dir/install.sh"; then
2401     ac_aux_dir=$ac_dir
2402     ac_install_sh="$ac_aux_dir/install.sh -c"
2403     break
2404   elif test -f "$ac_dir/shtool"; then
2405     ac_aux_dir=$ac_dir
2406     ac_install_sh="$ac_aux_dir/shtool install -c"
2407     break
2408   fi
2409 done
2410 if test -z "$ac_aux_dir"; then
2411   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2412 fi
2413
2414 # These three variables are undocumented and unsupported,
2415 # and are intended to be withdrawn in a future Autoconf release.
2416 # They can cause serious problems if a builder's source tree is in a directory
2417 # whose full name contains unusual characters.
2418 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2419 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2420 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2421
2422
2423 # Find a good install program.  We prefer a C program (faster),
2424 # so one script is as good as another.  But avoid the broken or
2425 # incompatible versions:
2426 # SysV /etc/install, /usr/sbin/install
2427 # SunOS /usr/etc/install
2428 # IRIX /sbin/install
2429 # AIX /bin/install
2430 # AmigaOS /C/install, which installs bootblocks on floppy discs
2431 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2432 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2433 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2434 # OS/2's system install, which has a completely different semantic
2435 # ./install, which can be erroneously created by make from ./install.sh.
2436 # Reject install programs that cannot install multiple files.
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2438 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2439 if test -z "$INSTALL"; then
2440 if ${ac_cv_path_install+:} false; then :
2441   $as_echo_n "(cached) " >&6
2442 else
2443   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444 for as_dir in $PATH
2445 do
2446   IFS=$as_save_IFS
2447   test -z "$as_dir" && as_dir=.
2448     # Account for people who put trailing slashes in PATH elements.
2449 case $as_dir/ in #((
2450   ./ | .// | /[cC]/* | \
2451   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2452   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2453   /usr/ucb/* ) ;;
2454   *)
2455     # OSF1 and SCO ODT 3.0 have their own names for install.
2456     # Don't use installbsd from OSF since it installs stuff as root
2457     # by default.
2458     for ac_prog in ginstall scoinst install; do
2459       for ac_exec_ext in '' $ac_executable_extensions; do
2460         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2461           if test $ac_prog = install &&
2462             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2463             # AIX install.  It has an incompatible calling convention.
2464             :
2465           elif test $ac_prog = install &&
2466             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2467             # program-specific install script used by HP pwplus--don't use.
2468             :
2469           else
2470             rm -rf conftest.one conftest.two conftest.dir
2471             echo one > conftest.one
2472             echo two > conftest.two
2473             mkdir conftest.dir
2474             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2475               test -s conftest.one && test -s conftest.two &&
2476               test -s conftest.dir/conftest.one &&
2477               test -s conftest.dir/conftest.two
2478             then
2479               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2480               break 3
2481             fi
2482           fi
2483         fi
2484       done
2485     done
2486     ;;
2487 esac
2488
2489   done
2490 IFS=$as_save_IFS
2491
2492 rm -rf conftest.one conftest.two conftest.dir
2493
2494 fi
2495   if test "${ac_cv_path_install+set}" = set; then
2496     INSTALL=$ac_cv_path_install
2497   else
2498     # As a last resort, use the slow shell script.  Don't cache a
2499     # value for INSTALL within a source directory, because that will
2500     # break other packages using the cache if that directory is
2501     # removed, or if the value is a relative name.
2502     INSTALL=$ac_install_sh
2503   fi
2504 fi
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2506 $as_echo "$INSTALL" >&6; }
2507
2508 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2509 # It thinks the first close brace ends the variable substitution.
2510 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2511
2512 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2513
2514 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2515
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2517 $as_echo_n "checking whether build environment is sane... " >&6; }
2518 # Just in case
2519 sleep 1
2520 echo timestamp > conftest.file
2521 # Reject unsafe characters in $srcdir or the absolute working directory
2522 # name.  Accept space and tab only in the latter.
2523 am_lf='
2524 '
2525 case `pwd` in
2526   *[\\\"\#\$\&\'\`$am_lf]*)
2527     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2528 esac
2529 case $srcdir in
2530   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2531     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2532 esac
2533
2534 # Do `set' in a subshell so we don't clobber the current shell's
2535 # arguments.  Must try -L first in case configure is actually a
2536 # symlink; some systems play weird games with the mod time of symlinks
2537 # (eg FreeBSD returns the mod time of the symlink's containing
2538 # directory).
2539 if (
2540    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2541    if test "$*" = "X"; then
2542       # -L didn't work.
2543       set X `ls -t "$srcdir/configure" conftest.file`
2544    fi
2545    rm -f conftest.file
2546    if test "$*" != "X $srcdir/configure conftest.file" \
2547       && test "$*" != "X conftest.file $srcdir/configure"; then
2548
2549       # If neither matched, then we have a broken ls.  This can happen
2550       # if, for instance, CONFIG_SHELL is bash and it inherits a
2551       # broken ls alias from the environment.  This has actually
2552       # happened.  Such a system could not be considered "sane".
2553       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2554 alias in your environment" "$LINENO" 5
2555    fi
2556
2557    test "$2" = conftest.file
2558    )
2559 then
2560    # Ok.
2561    :
2562 else
2563    as_fn_error $? "newly created file is older than distributed files!
2564 Check your system clock" "$LINENO" 5
2565 fi
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2567 $as_echo "yes" >&6; }
2568 test "$program_prefix" != NONE &&
2569   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2570 # Use a double $ so make ignores it.
2571 test "$program_suffix" != NONE &&
2572   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2573 # Double any \ or $.
2574 # By default was `s,x,x', remove it if useless.
2575 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2576 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2577
2578 # expand $ac_aux_dir to an absolute path
2579 am_aux_dir=`cd $ac_aux_dir && pwd`
2580
2581 if test x"${MISSING+set}" != xset; then
2582   case $am_aux_dir in
2583   *\ * | *\     *)
2584     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2585   *)
2586     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2587   esac
2588 fi
2589 # Use eval to expand $SHELL
2590 if eval "$MISSING --run true"; then
2591   am_missing_run="$MISSING --run "
2592 else
2593   am_missing_run=
2594   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2595 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2596 fi
2597
2598 if test x"${install_sh}" != xset; then
2599   case $am_aux_dir in
2600   *\ * | *\     *)
2601     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2602   *)
2603     install_sh="\${SHELL} $am_aux_dir/install-sh"
2604   esac
2605 fi
2606
2607 # Installed binaries are usually stripped using `strip' when the user
2608 # run `make install-strip'.  However `strip' might not be the right
2609 # tool to use in cross-compilation environments, therefore Automake
2610 # will honor the `STRIP' environment variable to overrule this program.
2611 if test "$cross_compiling" != no; then
2612   if test -n "$ac_tool_prefix"; then
2613   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2614 set dummy ${ac_tool_prefix}strip; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if ${ac_cv_prog_STRIP+:} false; then :
2618   $as_echo_n "(cached) " >&6
2619 else
2620   if test -n "$STRIP"; then
2621   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2622 else
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 for as_dir in $PATH
2625 do
2626   IFS=$as_save_IFS
2627   test -z "$as_dir" && as_dir=.
2628     for ac_exec_ext in '' $ac_executable_extensions; do
2629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2632     break 2
2633   fi
2634 done
2635   done
2636 IFS=$as_save_IFS
2637
2638 fi
2639 fi
2640 STRIP=$ac_cv_prog_STRIP
2641 if test -n "$STRIP"; then
2642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2643 $as_echo "$STRIP" >&6; }
2644 else
2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2647 fi
2648
2649
2650 fi
2651 if test -z "$ac_cv_prog_STRIP"; then
2652   ac_ct_STRIP=$STRIP
2653   # Extract the first word of "strip", so it can be a program name with args.
2654 set dummy strip; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2658   $as_echo_n "(cached) " >&6
2659 else
2660   if test -n "$ac_ct_STRIP"; then
2661   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2662 else
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH
2665 do
2666   IFS=$as_save_IFS
2667   test -z "$as_dir" && as_dir=.
2668     for ac_exec_ext in '' $ac_executable_extensions; do
2669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670     ac_cv_prog_ac_ct_STRIP="strip"
2671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672     break 2
2673   fi
2674 done
2675   done
2676 IFS=$as_save_IFS
2677
2678 fi
2679 fi
2680 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2681 if test -n "$ac_ct_STRIP"; then
2682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2683 $as_echo "$ac_ct_STRIP" >&6; }
2684 else
2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2687 fi
2688
2689   if test "x$ac_ct_STRIP" = x; then
2690     STRIP=":"
2691   else
2692     case $cross_compiling:$ac_tool_warned in
2693 yes:)
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2696 ac_tool_warned=yes ;;
2697 esac
2698     STRIP=$ac_ct_STRIP
2699   fi
2700 else
2701   STRIP="$ac_cv_prog_STRIP"
2702 fi
2703
2704 fi
2705 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2706
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2708 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2709 if test -z "$MKDIR_P"; then
2710   if ${ac_cv_path_mkdir+:} false; then :
2711   $as_echo_n "(cached) " >&6
2712 else
2713   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2715 do
2716   IFS=$as_save_IFS
2717   test -z "$as_dir" && as_dir=.
2718     for ac_prog in mkdir gmkdir; do
2719          for ac_exec_ext in '' $ac_executable_extensions; do
2720            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2721            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2722              'mkdir (GNU coreutils) '* | \
2723              'mkdir (coreutils) '* | \
2724              'mkdir (fileutils) '4.1*)
2725                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2726                break 3;;
2727            esac
2728          done
2729        done
2730   done
2731 IFS=$as_save_IFS
2732
2733 fi
2734
2735   test -d ./--version && rmdir ./--version
2736   if test "${ac_cv_path_mkdir+set}" = set; then
2737     MKDIR_P="$ac_cv_path_mkdir -p"
2738   else
2739     # As a last resort, use the slow shell script.  Don't cache a
2740     # value for MKDIR_P within a source directory, because that will
2741     # break other packages using the cache if that directory is
2742     # removed, or if the value is a relative name.
2743     MKDIR_P="$ac_install_sh -d"
2744   fi
2745 fi
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2747 $as_echo "$MKDIR_P" >&6; }
2748
2749 mkdir_p="$MKDIR_P"
2750 case $mkdir_p in
2751   [\\/$]* | ?:[\\/]*) ;;
2752   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2753 esac
2754
2755 for ac_prog in gawk mawk nawk awk
2756 do
2757   # Extract the first word of "$ac_prog", so it can be a program name with args.
2758 set dummy $ac_prog; ac_word=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_AWK+:} false; then :
2762   $as_echo_n "(cached) " >&6
2763 else
2764   if test -n "$AWK"; then
2765   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2766 else
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 for as_dir in $PATH
2769 do
2770   IFS=$as_save_IFS
2771   test -z "$as_dir" && as_dir=.
2772     for ac_exec_ext in '' $ac_executable_extensions; do
2773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2774     ac_cv_prog_AWK="$ac_prog"
2775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776     break 2
2777   fi
2778 done
2779   done
2780 IFS=$as_save_IFS
2781
2782 fi
2783 fi
2784 AWK=$ac_cv_prog_AWK
2785 if test -n "$AWK"; then
2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2787 $as_echo "$AWK" >&6; }
2788 else
2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2791 fi
2792
2793
2794   test -n "$AWK" && break
2795 done
2796
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2798 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2799 set x ${MAKE-make}
2800 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2801 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2802   $as_echo_n "(cached) " >&6
2803 else
2804   cat >conftest.make <<\_ACEOF
2805 SHELL = /bin/sh
2806 all:
2807         @echo '@@@%%%=$(MAKE)=@@@%%%'
2808 _ACEOF
2809 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2810 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2811   *@@@%%%=?*=@@@%%%*)
2812     eval ac_cv_prog_make_${ac_make}_set=yes;;
2813   *)
2814     eval ac_cv_prog_make_${ac_make}_set=no;;
2815 esac
2816 rm -f conftest.make
2817 fi
2818 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2820 $as_echo "yes" >&6; }
2821   SET_MAKE=
2822 else
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825   SET_MAKE="MAKE=${MAKE-make}"
2826 fi
2827
2828 rm -rf .tst 2>/dev/null
2829 mkdir .tst 2>/dev/null
2830 if test -d .tst; then
2831   am__leading_dot=.
2832 else
2833   am__leading_dot=_
2834 fi
2835 rmdir .tst 2>/dev/null
2836
2837 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2838   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2839   # is not polluted with repeated "-I."
2840   am__isrc=' -I$(srcdir)'
2841   # test to see if srcdir already configured
2842   if test -f $srcdir/config.status; then
2843     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2844   fi
2845 fi
2846
2847 # test whether we have cygpath
2848 if test -z "$CYGPATH_W"; then
2849   if (cygpath --version) >/dev/null 2>/dev/null; then
2850     CYGPATH_W='cygpath -w'
2851   else
2852     CYGPATH_W=echo
2853   fi
2854 fi
2855
2856
2857 # Define the identity of the package.
2858  PACKAGE='e_dbus'
2859  VERSION='1.7.5'
2860
2861
2862 cat >>confdefs.h <<_ACEOF
2863 #define PACKAGE "$PACKAGE"
2864 _ACEOF
2865
2866
2867 cat >>confdefs.h <<_ACEOF
2868 #define VERSION "$VERSION"
2869 _ACEOF
2870
2871 # Some tools Automake needs.
2872
2873 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2874
2875
2876 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2877
2878
2879 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2880
2881
2882 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2883
2884
2885 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2886
2887 # We need awk for the "check" target.  The system "awk" is bad on
2888 # some platforms.
2889 # Always define AMTAR for backward compatibility.  Yes, it's still used
2890 # in the wild :-(  We should find a proper way to deprecate it ...
2891 AMTAR='$${TAR-tar}'
2892
2893 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2894
2895
2896
2897
2898
2899 # Check whether --enable-silent-rules was given.
2900 if test "${enable_silent_rules+set}" = set; then :
2901   enableval=$enable_silent_rules;
2902 fi
2903
2904 case $enable_silent_rules in
2905 yes) AM_DEFAULT_VERBOSITY=0;;
2906 no)  AM_DEFAULT_VERBOSITY=1;;
2907 *)   AM_DEFAULT_VERBOSITY=0;;
2908 esac
2909 am_make=${MAKE-make}
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2911 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2912 if ${am_cv_make_support_nested_variables+:} false; then :
2913   $as_echo_n "(cached) " >&6
2914 else
2915   if $as_echo 'TRUE=$(BAR$(V))
2916 BAR0=false
2917 BAR1=true
2918 V=1
2919 am__doit:
2920         @$(TRUE)
2921 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2922   am_cv_make_support_nested_variables=yes
2923 else
2924   am_cv_make_support_nested_variables=no
2925 fi
2926 fi
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2928 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2929 if test $am_cv_make_support_nested_variables = yes; then
2930     AM_V='$(V)'
2931   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2932 else
2933   AM_V=$AM_DEFAULT_VERBOSITY
2934   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2935 fi
2936 AM_BACKSLASH='\'
2937
2938
2939 # Make sure we can run config.sub.
2940 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2941   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2942
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2944 $as_echo_n "checking build system type... " >&6; }
2945 if ${ac_cv_build+:} false; then :
2946   $as_echo_n "(cached) " >&6
2947 else
2948   ac_build_alias=$build_alias
2949 test "x$ac_build_alias" = x &&
2950   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2951 test "x$ac_build_alias" = x &&
2952   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2953 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2954   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2955
2956 fi
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2958 $as_echo "$ac_cv_build" >&6; }
2959 case $ac_cv_build in
2960 *-*-*) ;;
2961 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2962 esac
2963 build=$ac_cv_build
2964 ac_save_IFS=$IFS; IFS='-'
2965 set x $ac_cv_build
2966 shift
2967 build_cpu=$1
2968 build_vendor=$2
2969 shift; shift
2970 # Remember, the first character of IFS is used to create $*,
2971 # except with old shells:
2972 build_os=$*
2973 IFS=$ac_save_IFS
2974 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2975
2976
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2978 $as_echo_n "checking host system type... " >&6; }
2979 if ${ac_cv_host+:} false; then :
2980   $as_echo_n "(cached) " >&6
2981 else
2982   if test "x$host_alias" = x; then
2983   ac_cv_host=$ac_cv_build
2984 else
2985   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2986     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2987 fi
2988
2989 fi
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2991 $as_echo "$ac_cv_host" >&6; }
2992 case $ac_cv_host in
2993 *-*-*) ;;
2994 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2995 esac
2996 host=$ac_cv_host
2997 ac_save_IFS=$IFS; IFS='-'
2998 set x $ac_cv_host
2999 shift
3000 host_cpu=$1
3001 host_vendor=$2
3002 shift; shift
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3005 host_os=$*
3006 IFS=$ac_save_IFS
3007 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3008
3009
3010 enable_win32_dll=yes
3011
3012 case $host in
3013 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3014   if test -n "$ac_tool_prefix"; then
3015   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3016 set dummy ${ac_tool_prefix}as; ac_word=$2
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 $as_echo_n "checking for $ac_word... " >&6; }
3019 if ${ac_cv_prog_AS+:} false; then :
3020   $as_echo_n "(cached) " >&6
3021 else
3022   if test -n "$AS"; then
3023   ac_cv_prog_AS="$AS" # Let the user override the test.
3024 else
3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026 for as_dir in $PATH
3027 do
3028   IFS=$as_save_IFS
3029   test -z "$as_dir" && as_dir=.
3030     for ac_exec_ext in '' $ac_executable_extensions; do
3031   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032     ac_cv_prog_AS="${ac_tool_prefix}as"
3033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034     break 2
3035   fi
3036 done
3037   done
3038 IFS=$as_save_IFS
3039
3040 fi
3041 fi
3042 AS=$ac_cv_prog_AS
3043 if test -n "$AS"; then
3044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3045 $as_echo "$AS" >&6; }
3046 else
3047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048 $as_echo "no" >&6; }
3049 fi
3050
3051
3052 fi
3053 if test -z "$ac_cv_prog_AS"; then
3054   ac_ct_AS=$AS
3055   # Extract the first word of "as", so it can be a program name with args.
3056 set dummy as; ac_word=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3060   $as_echo_n "(cached) " >&6
3061 else
3062   if test -n "$ac_ct_AS"; then
3063   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3064 else
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 for as_dir in $PATH
3067 do
3068   IFS=$as_save_IFS
3069   test -z "$as_dir" && as_dir=.
3070     for ac_exec_ext in '' $ac_executable_extensions; do
3071   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072     ac_cv_prog_ac_ct_AS="as"
3073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074     break 2
3075   fi
3076 done
3077   done
3078 IFS=$as_save_IFS
3079
3080 fi
3081 fi
3082 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3083 if test -n "$ac_ct_AS"; then
3084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3085 $as_echo "$ac_ct_AS" >&6; }
3086 else
3087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3089 fi
3090
3091   if test "x$ac_ct_AS" = x; then
3092     AS="false"
3093   else
3094     case $cross_compiling:$ac_tool_warned in
3095 yes:)
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3098 ac_tool_warned=yes ;;
3099 esac
3100     AS=$ac_ct_AS
3101   fi
3102 else
3103   AS="$ac_cv_prog_AS"
3104 fi
3105
3106   if test -n "$ac_tool_prefix"; then
3107   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3108 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110 $as_echo_n "checking for $ac_word... " >&6; }
3111 if ${ac_cv_prog_DLLTOOL+:} false; then :
3112   $as_echo_n "(cached) " >&6
3113 else
3114   if test -n "$DLLTOOL"; then
3115   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3116 else
3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118 for as_dir in $PATH
3119 do
3120   IFS=$as_save_IFS
3121   test -z "$as_dir" && as_dir=.
3122     for ac_exec_ext in '' $ac_executable_extensions; do
3123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3124     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3126     break 2
3127   fi
3128 done
3129   done
3130 IFS=$as_save_IFS
3131
3132 fi
3133 fi
3134 DLLTOOL=$ac_cv_prog_DLLTOOL
3135 if test -n "$DLLTOOL"; then
3136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3137 $as_echo "$DLLTOOL" >&6; }
3138 else
3139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3141 fi
3142
3143
3144 fi
3145 if test -z "$ac_cv_prog_DLLTOOL"; then
3146   ac_ct_DLLTOOL=$DLLTOOL
3147   # Extract the first word of "dlltool", so it can be a program name with args.
3148 set dummy dlltool; ac_word=$2
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3150 $as_echo_n "checking for $ac_word... " >&6; }
3151 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3152   $as_echo_n "(cached) " >&6
3153 else
3154   if test -n "$ac_ct_DLLTOOL"; then
3155   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3156 else
3157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158 for as_dir in $PATH
3159 do
3160   IFS=$as_save_IFS
3161   test -z "$as_dir" && as_dir=.
3162     for ac_exec_ext in '' $ac_executable_extensions; do
3163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3164     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166     break 2
3167   fi
3168 done
3169   done
3170 IFS=$as_save_IFS
3171
3172 fi
3173 fi
3174 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3175 if test -n "$ac_ct_DLLTOOL"; then
3176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3177 $as_echo "$ac_ct_DLLTOOL" >&6; }
3178 else
3179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 $as_echo "no" >&6; }
3181 fi
3182
3183   if test "x$ac_ct_DLLTOOL" = x; then
3184     DLLTOOL="false"
3185   else
3186     case $cross_compiling:$ac_tool_warned in
3187 yes:)
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3190 ac_tool_warned=yes ;;
3191 esac
3192     DLLTOOL=$ac_ct_DLLTOOL
3193   fi
3194 else
3195   DLLTOOL="$ac_cv_prog_DLLTOOL"
3196 fi
3197
3198   if test -n "$ac_tool_prefix"; then
3199   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3200 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202 $as_echo_n "checking for $ac_word... " >&6; }
3203 if ${ac_cv_prog_OBJDUMP+:} false; then :
3204   $as_echo_n "(cached) " >&6
3205 else
3206   if test -n "$OBJDUMP"; then
3207   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3208 else
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 for as_dir in $PATH
3211 do
3212   IFS=$as_save_IFS
3213   test -z "$as_dir" && as_dir=.
3214     for ac_exec_ext in '' $ac_executable_extensions; do
3215   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3216     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218     break 2
3219   fi
3220 done
3221   done
3222 IFS=$as_save_IFS
3223
3224 fi
3225 fi
3226 OBJDUMP=$ac_cv_prog_OBJDUMP
3227 if test -n "$OBJDUMP"; then
3228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3229 $as_echo "$OBJDUMP" >&6; }
3230 else
3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232 $as_echo "no" >&6; }
3233 fi
3234
3235
3236 fi
3237 if test -z "$ac_cv_prog_OBJDUMP"; then
3238   ac_ct_OBJDUMP=$OBJDUMP
3239   # Extract the first word of "objdump", so it can be a program name with args.
3240 set dummy objdump; ac_word=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3244   $as_echo_n "(cached) " >&6
3245 else
3246   if test -n "$ac_ct_OBJDUMP"; then
3247   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3248 else
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250 for as_dir in $PATH
3251 do
3252   IFS=$as_save_IFS
3253   test -z "$as_dir" && as_dir=.
3254     for ac_exec_ext in '' $ac_executable_extensions; do
3255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3256     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258     break 2
3259   fi
3260 done
3261   done
3262 IFS=$as_save_IFS
3263
3264 fi
3265 fi
3266 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3267 if test -n "$ac_ct_OBJDUMP"; then
3268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3269 $as_echo "$ac_ct_OBJDUMP" >&6; }
3270 else
3271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3273 fi
3274
3275   if test "x$ac_ct_OBJDUMP" = x; then
3276     OBJDUMP="false"
3277   else
3278     case $cross_compiling:$ac_tool_warned in
3279 yes:)
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3282 ac_tool_warned=yes ;;
3283 esac
3284     OBJDUMP=$ac_ct_OBJDUMP
3285   fi
3286 else
3287   OBJDUMP="$ac_cv_prog_OBJDUMP"
3288 fi
3289
3290   ;;
3291 esac
3292
3293 test -z "$AS" && AS=as
3294
3295
3296
3297
3298
3299 test -z "$DLLTOOL" && DLLTOOL=dlltool
3300
3301
3302
3303
3304
3305 test -z "$OBJDUMP" && OBJDUMP=objdump
3306
3307
3308
3309
3310
3311
3312
3313 case `pwd` in
3314   *\ * | *\     *)
3315     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3316 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3317 esac
3318
3319
3320
3321 macro_version='2.4.2'
3322 macro_revision='1.3337'
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336 ltmain="$ac_aux_dir/ltmain.sh"
3337
3338 # Backslashify metacharacters that are still active within
3339 # double-quoted strings.
3340 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3341
3342 # Same as above, but do not quote variable references.
3343 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3344
3345 # Sed substitution to delay expansion of an escaped shell variable in a
3346 # double_quote_subst'ed string.
3347 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3348
3349 # Sed substitution to delay expansion of an escaped single quote.
3350 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3351
3352 # Sed substitution to avoid accidental globbing in evaled expressions
3353 no_glob_subst='s/\*/\\\*/g'
3354
3355 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3356 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3357 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3358
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3360 $as_echo_n "checking how to print strings... " >&6; }
3361 # Test print first, because it will be a builtin if present.
3362 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3363    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3364   ECHO='print -r --'
3365 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3366   ECHO='printf %s\n'
3367 else
3368   # Use this function as a fallback that always works.
3369   func_fallback_echo ()
3370   {
3371     eval 'cat <<_LTECHO_EOF
3372 $1
3373 _LTECHO_EOF'
3374   }
3375   ECHO='func_fallback_echo'
3376 fi
3377
3378 # func_echo_all arg...
3379 # Invoke $ECHO with all args, space-separated.
3380 func_echo_all ()
3381 {
3382     $ECHO ""
3383 }
3384
3385 case "$ECHO" in
3386   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3387 $as_echo "printf" >&6; } ;;
3388   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3389 $as_echo "print -r" >&6; } ;;
3390   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3391 $as_echo "cat" >&6; } ;;
3392 esac
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407 DEPDIR="${am__leading_dot}deps"
3408
3409 ac_config_commands="$ac_config_commands depfiles"
3410
3411
3412 am_make=${MAKE-make}
3413 cat > confinc << 'END'
3414 am__doit:
3415         @echo this is the am__doit target
3416 .PHONY: am__doit
3417 END
3418 # If we don't find an include directive, just comment out the code.
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3420 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3421 am__include="#"
3422 am__quote=
3423 _am_result=none
3424 # First try GNU make style include.
3425 echo "include confinc" > confmf
3426 # Ignore all kinds of additional output from `make'.
3427 case `$am_make -s -f confmf 2> /dev/null` in #(
3428 *the\ am__doit\ target*)
3429   am__include=include
3430   am__quote=
3431   _am_result=GNU
3432   ;;
3433 esac
3434 # Now try BSD make style include.
3435 if test "$am__include" = "#"; then
3436    echo '.include "confinc"' > confmf
3437    case `$am_make -s -f confmf 2> /dev/null` in #(
3438    *the\ am__doit\ target*)
3439      am__include=.include
3440      am__quote="\""
3441      _am_result=BSD
3442      ;;
3443    esac
3444 fi
3445
3446
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3448 $as_echo "$_am_result" >&6; }
3449 rm -f confinc confmf
3450
3451 # Check whether --enable-dependency-tracking was given.
3452 if test "${enable_dependency_tracking+set}" = set; then :
3453   enableval=$enable_dependency_tracking;
3454 fi
3455
3456 if test "x$enable_dependency_tracking" != xno; then
3457   am_depcomp="$ac_aux_dir/depcomp"
3458   AMDEPBACKSLASH='\'
3459   am__nodep='_no'
3460 fi
3461  if test "x$enable_dependency_tracking" != xno; then
3462   AMDEP_TRUE=
3463   AMDEP_FALSE='#'
3464 else
3465   AMDEP_TRUE='#'
3466   AMDEP_FALSE=
3467 fi
3468
3469
3470 ac_ext=c
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 if test -n "$ac_tool_prefix"; then
3476   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3477 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if ${ac_cv_prog_CC+:} false; then :
3481   $as_echo_n "(cached) " >&6
3482 else
3483   if test -n "$CC"; then
3484   ac_cv_prog_CC="$CC" # Let the user override the test.
3485 else
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3487 for as_dir in $PATH
3488 do
3489   IFS=$as_save_IFS
3490   test -z "$as_dir" && as_dir=.
3491     for ac_exec_ext in '' $ac_executable_extensions; do
3492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3493     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3495     break 2
3496   fi
3497 done
3498   done
3499 IFS=$as_save_IFS
3500
3501 fi
3502 fi
3503 CC=$ac_cv_prog_CC
3504 if test -n "$CC"; then
3505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3506 $as_echo "$CC" >&6; }
3507 else
3508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3510 fi
3511
3512
3513 fi
3514 if test -z "$ac_cv_prog_CC"; then
3515   ac_ct_CC=$CC
3516   # Extract the first word of "gcc", so it can be a program name with args.
3517 set dummy gcc; ac_word=$2
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3519 $as_echo_n "checking for $ac_word... " >&6; }
3520 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3521   $as_echo_n "(cached) " >&6
3522 else
3523   if test -n "$ac_ct_CC"; then
3524   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3525 else
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527 for as_dir in $PATH
3528 do
3529   IFS=$as_save_IFS
3530   test -z "$as_dir" && as_dir=.
3531     for ac_exec_ext in '' $ac_executable_extensions; do
3532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3533     ac_cv_prog_ac_ct_CC="gcc"
3534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535     break 2
3536   fi
3537 done
3538   done
3539 IFS=$as_save_IFS
3540
3541 fi
3542 fi
3543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3544 if test -n "$ac_ct_CC"; then
3545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3546 $as_echo "$ac_ct_CC" >&6; }
3547 else
3548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 $as_echo "no" >&6; }
3550 fi
3551
3552   if test "x$ac_ct_CC" = x; then
3553     CC=""
3554   else
3555     case $cross_compiling:$ac_tool_warned in
3556 yes:)
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3559 ac_tool_warned=yes ;;
3560 esac
3561     CC=$ac_ct_CC
3562   fi
3563 else
3564   CC="$ac_cv_prog_CC"
3565 fi
3566
3567 if test -z "$CC"; then
3568           if test -n "$ac_tool_prefix"; then
3569     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3570 set dummy ${ac_tool_prefix}cc; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if ${ac_cv_prog_CC+:} false; then :
3574   $as_echo_n "(cached) " >&6
3575 else
3576   if test -n "$CC"; then
3577   ac_cv_prog_CC="$CC" # Let the user override the test.
3578 else
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 for as_dir in $PATH
3581 do
3582   IFS=$as_save_IFS
3583   test -z "$as_dir" && as_dir=.
3584     for ac_exec_ext in '' $ac_executable_extensions; do
3585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586     ac_cv_prog_CC="${ac_tool_prefix}cc"
3587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3588     break 2
3589   fi
3590 done
3591   done
3592 IFS=$as_save_IFS
3593
3594 fi
3595 fi
3596 CC=$ac_cv_prog_CC
3597 if test -n "$CC"; then
3598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3599 $as_echo "$CC" >&6; }
3600 else
3601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3603 fi
3604
3605
3606   fi
3607 fi
3608 if test -z "$CC"; then
3609   # Extract the first word of "cc", so it can be a program name with args.
3610 set dummy cc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if ${ac_cv_prog_CC+:} false; then :
3614   $as_echo_n "(cached) " >&6
3615 else
3616   if test -n "$CC"; then
3617   ac_cv_prog_CC="$CC" # Let the user override the test.
3618 else
3619   ac_prog_rejected=no
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3622 do
3623   IFS=$as_save_IFS
3624   test -z "$as_dir" && as_dir=.
3625     for ac_exec_ext in '' $ac_executable_extensions; do
3626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3628        ac_prog_rejected=yes
3629        continue
3630      fi
3631     ac_cv_prog_CC="cc"
3632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633     break 2
3634   fi
3635 done
3636   done
3637 IFS=$as_save_IFS
3638
3639 if test $ac_prog_rejected = yes; then
3640   # We found a bogon in the path, so make sure we never use it.
3641   set dummy $ac_cv_prog_CC
3642   shift
3643   if test $# != 0; then
3644     # We chose a different compiler from the bogus one.
3645     # However, it has the same basename, so the bogon will be chosen
3646     # first if we set CC to just the basename; use the full file name.
3647     shift
3648     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3649   fi
3650 fi
3651 fi
3652 fi
3653 CC=$ac_cv_prog_CC
3654 if test -n "$CC"; then
3655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3656 $as_echo "$CC" >&6; }
3657 else
3658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3660 fi
3661
3662
3663 fi
3664 if test -z "$CC"; then
3665   if test -n "$ac_tool_prefix"; then
3666   for ac_prog in cl.exe
3667   do
3668     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3669 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_CC+:} false; then :
3673   $as_echo_n "(cached) " >&6
3674 else
3675   if test -n "$CC"; then
3676   ac_cv_prog_CC="$CC" # Let the user override the test.
3677 else
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH
3680 do
3681   IFS=$as_save_IFS
3682   test -z "$as_dir" && as_dir=.
3683     for ac_exec_ext in '' $ac_executable_extensions; do
3684   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687     break 2
3688   fi
3689 done
3690   done
3691 IFS=$as_save_IFS
3692
3693 fi
3694 fi
3695 CC=$ac_cv_prog_CC
3696 if test -n "$CC"; then
3697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3698 $as_echo "$CC" >&6; }
3699 else
3700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3702 fi
3703
3704
3705     test -n "$CC" && break
3706   done
3707 fi
3708 if test -z "$CC"; then
3709   ac_ct_CC=$CC
3710   for ac_prog in cl.exe
3711 do
3712   # Extract the first word of "$ac_prog", so it can be a program name with args.
3713 set dummy $ac_prog; ac_word=$2
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3715 $as_echo_n "checking for $ac_word... " >&6; }
3716 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3717   $as_echo_n "(cached) " >&6
3718 else
3719   if test -n "$ac_ct_CC"; then
3720   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3721 else
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 for as_dir in $PATH
3724 do
3725   IFS=$as_save_IFS
3726   test -z "$as_dir" && as_dir=.
3727     for ac_exec_ext in '' $ac_executable_extensions; do
3728   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3729     ac_cv_prog_ac_ct_CC="$ac_prog"
3730     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3731     break 2
3732   fi
3733 done
3734   done
3735 IFS=$as_save_IFS
3736
3737 fi
3738 fi
3739 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3740 if test -n "$ac_ct_CC"; then
3741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3742 $as_echo "$ac_ct_CC" >&6; }
3743 else
3744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745 $as_echo "no" >&6; }
3746 fi
3747
3748
3749   test -n "$ac_ct_CC" && break
3750 done
3751
3752   if test "x$ac_ct_CC" = x; then
3753     CC=""
3754   else
3755     case $cross_compiling:$ac_tool_warned in
3756 yes:)
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3759 ac_tool_warned=yes ;;
3760 esac
3761     CC=$ac_ct_CC
3762   fi
3763 fi
3764
3765 fi
3766
3767
3768 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3770 as_fn_error $? "no acceptable C compiler found in \$PATH
3771 See \`config.log' for more details" "$LINENO" 5; }
3772
3773 # Provide some information about the compiler.
3774 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3775 set X $ac_compile
3776 ac_compiler=$2
3777 for ac_option in --version -v -V -qversion; do
3778   { { ac_try="$ac_compiler $ac_option >&5"
3779 case "(($ac_try" in
3780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3781   *) ac_try_echo=$ac_try;;
3782 esac
3783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3784 $as_echo "$ac_try_echo"; } >&5
3785   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3786   ac_status=$?
3787   if test -s conftest.err; then
3788     sed '10a\
3789 ... rest of stderr output deleted ...
3790          10q' conftest.err >conftest.er1
3791     cat conftest.er1 >&5
3792   fi
3793   rm -f conftest.er1 conftest.err
3794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795   test $ac_status = 0; }
3796 done
3797
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h.  */
3800
3801 int
3802 main ()
3803 {
3804
3805   ;
3806   return 0;
3807 }
3808 _ACEOF
3809 ac_clean_files_save=$ac_clean_files
3810 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3811 # Try to create an executable without -o first, disregard a.out.
3812 # It will help us diagnose broken compilers, and finding out an intuition
3813 # of exeext.
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3815 $as_echo_n "checking whether the C compiler works... " >&6; }
3816 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3817
3818 # The possible output files:
3819 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3820
3821 ac_rmfiles=
3822 for ac_file in $ac_files
3823 do
3824   case $ac_file in
3825     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3826     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3827   esac
3828 done
3829 rm -f $ac_rmfiles
3830
3831 if { { ac_try="$ac_link_default"
3832 case "(($ac_try" in
3833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3834   *) ac_try_echo=$ac_try;;
3835 esac
3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3837 $as_echo "$ac_try_echo"; } >&5
3838   (eval "$ac_link_default") 2>&5
3839   ac_status=$?
3840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3841   test $ac_status = 0; }; then :
3842   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3843 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3844 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3845 # so that the user can short-circuit this test for compilers unknown to
3846 # Autoconf.
3847 for ac_file in $ac_files ''
3848 do
3849   test -f "$ac_file" || continue
3850   case $ac_file in
3851     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3852         ;;
3853     [ab].out )
3854         # We found the default executable, but exeext='' is most
3855         # certainly right.
3856         break;;
3857     *.* )
3858         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3859         then :; else
3860            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3861         fi
3862         # We set ac_cv_exeext here because the later test for it is not
3863         # safe: cross compilers may not add the suffix if given an `-o'
3864         # argument, so we may need to know it at that point already.
3865         # Even if this section looks crufty: it has the advantage of
3866         # actually working.
3867         break;;
3868     * )
3869         break;;
3870   esac
3871 done
3872 test "$ac_cv_exeext" = no && ac_cv_exeext=
3873
3874 else
3875   ac_file=''
3876 fi
3877 if test -z "$ac_file"; then :
3878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3879 $as_echo "no" >&6; }
3880 $as_echo "$as_me: failed program was:" >&5
3881 sed 's/^/| /' conftest.$ac_ext >&5
3882
3883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3885 as_fn_error 77 "C compiler cannot create executables
3886 See \`config.log' for more details" "$LINENO" 5; }
3887 else
3888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3889 $as_echo "yes" >&6; }
3890 fi
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3892 $as_echo_n "checking for C compiler default output file name... " >&6; }
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3894 $as_echo "$ac_file" >&6; }
3895 ac_exeext=$ac_cv_exeext
3896
3897 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3898 ac_clean_files=$ac_clean_files_save
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3900 $as_echo_n "checking for suffix of executables... " >&6; }
3901 if { { ac_try="$ac_link"
3902 case "(($ac_try" in
3903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3904   *) ac_try_echo=$ac_try;;
3905 esac
3906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3907 $as_echo "$ac_try_echo"; } >&5
3908   (eval "$ac_link") 2>&5
3909   ac_status=$?
3910   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3911   test $ac_status = 0; }; then :
3912   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3913 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3914 # work properly (i.e., refer to `conftest.exe'), while it won't with
3915 # `rm'.
3916 for ac_file in conftest.exe conftest conftest.*; do
3917   test -f "$ac_file" || continue
3918   case $ac_file in
3919     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3920     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3921           break;;
3922     * ) break;;
3923   esac
3924 done
3925 else
3926   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3929 See \`config.log' for more details" "$LINENO" 5; }
3930 fi
3931 rm -f conftest conftest$ac_cv_exeext
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3933 $as_echo "$ac_cv_exeext" >&6; }
3934
3935 rm -f conftest.$ac_ext
3936 EXEEXT=$ac_cv_exeext
3937 ac_exeext=$EXEEXT
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h.  */
3940 #include <stdio.h>
3941 int
3942 main ()
3943 {
3944 FILE *f = fopen ("conftest.out", "w");
3945  return ferror (f) || fclose (f) != 0;
3946
3947   ;
3948   return 0;
3949 }
3950 _ACEOF
3951 ac_clean_files="$ac_clean_files conftest.out"
3952 # Check that the compiler produces executables we can run.  If not, either
3953 # the compiler is broken, or we cross compile.
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3955 $as_echo_n "checking whether we are cross compiling... " >&6; }
3956 if test "$cross_compiling" != yes; then
3957   { { ac_try="$ac_link"
3958 case "(($ac_try" in
3959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960   *) ac_try_echo=$ac_try;;
3961 esac
3962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3963 $as_echo "$ac_try_echo"; } >&5
3964   (eval "$ac_link") 2>&5
3965   ac_status=$?
3966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3967   test $ac_status = 0; }
3968   if { ac_try='./conftest$ac_cv_exeext'
3969   { { case "(($ac_try" in
3970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971   *) ac_try_echo=$ac_try;;
3972 esac
3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3974 $as_echo "$ac_try_echo"; } >&5
3975   (eval "$ac_try") 2>&5
3976   ac_status=$?
3977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3978   test $ac_status = 0; }; }; then
3979     cross_compiling=no
3980   else
3981     if test "$cross_compiling" = maybe; then
3982         cross_compiling=yes
3983     else
3984         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3986 as_fn_error $? "cannot run C compiled programs.
3987 If you meant to cross compile, use \`--host'.
3988 See \`config.log' for more details" "$LINENO" 5; }
3989     fi
3990   fi
3991 fi
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3993 $as_echo "$cross_compiling" >&6; }
3994
3995 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3996 ac_clean_files=$ac_clean_files_save
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3998 $as_echo_n "checking for suffix of object files... " >&6; }
3999 if ${ac_cv_objext+:} false; then :
4000   $as_echo_n "(cached) " >&6
4001 else
4002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h.  */
4004
4005 int
4006 main ()
4007 {
4008
4009   ;
4010   return 0;
4011 }
4012 _ACEOF
4013 rm -f conftest.o conftest.obj
4014 if { { ac_try="$ac_compile"
4015 case "(($ac_try" in
4016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017   *) ac_try_echo=$ac_try;;
4018 esac
4019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4020 $as_echo "$ac_try_echo"; } >&5
4021   (eval "$ac_compile") 2>&5
4022   ac_status=$?
4023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4024   test $ac_status = 0; }; then :
4025   for ac_file in conftest.o conftest.obj conftest.*; do
4026   test -f "$ac_file" || continue;
4027   case $ac_file in
4028     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4029     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4030        break;;
4031   esac
4032 done
4033 else
4034   $as_echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.$ac_ext >&5
4036
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error $? "cannot compute suffix of object files: cannot compile
4040 See \`config.log' for more details" "$LINENO" 5; }
4041 fi
4042 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4043 fi
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4045 $as_echo "$ac_cv_objext" >&6; }
4046 OBJEXT=$ac_cv_objext
4047 ac_objext=$OBJEXT
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4049 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4050 if ${ac_cv_c_compiler_gnu+:} false; then :
4051   $as_echo_n "(cached) " >&6
4052 else
4053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h.  */
4055
4056 int
4057 main ()
4058 {
4059 #ifndef __GNUC__
4060        choke me
4061 #endif
4062
4063   ;
4064   return 0;
4065 }
4066 _ACEOF
4067 if ac_fn_c_try_compile "$LINENO"; then :
4068   ac_compiler_gnu=yes
4069 else
4070   ac_compiler_gnu=no
4071 fi
4072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4073 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4074
4075 fi
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4077 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4078 if test $ac_compiler_gnu = yes; then
4079   GCC=yes
4080 else
4081   GCC=
4082 fi
4083 ac_test_CFLAGS=${CFLAGS+set}
4084 ac_save_CFLAGS=$CFLAGS
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4086 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4087 if ${ac_cv_prog_cc_g+:} false; then :
4088   $as_echo_n "(cached) " >&6
4089 else
4090   ac_save_c_werror_flag=$ac_c_werror_flag
4091    ac_c_werror_flag=yes
4092    ac_cv_prog_cc_g=no
4093    CFLAGS="-g"
4094    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h.  */
4096
4097 int
4098 main ()
4099 {
4100
4101   ;
4102   return 0;
4103 }
4104 _ACEOF
4105 if ac_fn_c_try_compile "$LINENO"; then :
4106   ac_cv_prog_cc_g=yes
4107 else
4108   CFLAGS=""
4109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h.  */
4111
4112 int
4113 main ()
4114 {
4115
4116   ;
4117   return 0;
4118 }
4119 _ACEOF
4120 if ac_fn_c_try_compile "$LINENO"; then :
4121
4122 else
4123   ac_c_werror_flag=$ac_save_c_werror_flag
4124          CFLAGS="-g"
4125          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h.  */
4127
4128 int
4129 main ()
4130 {
4131
4132   ;
4133   return 0;
4134 }
4135 _ACEOF
4136 if ac_fn_c_try_compile "$LINENO"; then :
4137   ac_cv_prog_cc_g=yes
4138 fi
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 fi
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142 fi
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144    ac_c_werror_flag=$ac_save_c_werror_flag
4145 fi
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4147 $as_echo "$ac_cv_prog_cc_g" >&6; }
4148 if test "$ac_test_CFLAGS" = set; then
4149   CFLAGS=$ac_save_CFLAGS
4150 elif test $ac_cv_prog_cc_g = yes; then
4151   if test "$GCC" = yes; then
4152     CFLAGS="-g -O2"
4153   else
4154     CFLAGS="-g"
4155   fi
4156 else
4157   if test "$GCC" = yes; then
4158     CFLAGS="-O2"
4159   else
4160     CFLAGS=
4161   fi
4162 fi
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4164 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4165 if ${ac_cv_prog_cc_c89+:} false; then :
4166   $as_echo_n "(cached) " >&6
4167 else
4168   ac_cv_prog_cc_c89=no
4169 ac_save_CC=$CC
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h.  */
4172 #include <stdarg.h>
4173 #include <stdio.h>
4174 #include <sys/types.h>
4175 #include <sys/stat.h>
4176 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4177 struct buf { int x; };
4178 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4179 static char *e (p, i)
4180      char **p;
4181      int i;
4182 {
4183   return p[i];
4184 }
4185 static char *f (char * (*g) (char **, int), char **p, ...)
4186 {
4187   char *s;
4188   va_list v;
4189   va_start (v,p);
4190   s = g (p, va_arg (v,int));
4191   va_end (v);
4192   return s;
4193 }
4194
4195 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4196    function prototypes and stuff, but not '\xHH' hex character constants.
4197    These don't provoke an error unfortunately, instead are silently treated
4198    as 'x'.  The following induces an error, until -std is added to get
4199    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4200    array size at least.  It's necessary to write '\x00'==0 to get something
4201    that's true only with -std.  */
4202 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4203
4204 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4205    inside strings and character constants.  */
4206 #define FOO(x) 'x'
4207 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4208
4209 int test (int i, double x);
4210 struct s1 {int (*f) (int a);};
4211 struct s2 {int (*f) (double a);};
4212 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4213 int argc;
4214 char **argv;
4215 int
4216 main ()
4217 {
4218 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4219   ;
4220   return 0;
4221 }
4222 _ACEOF
4223 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4224         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4225 do
4226   CC="$ac_save_CC $ac_arg"
4227   if ac_fn_c_try_compile "$LINENO"; then :
4228   ac_cv_prog_cc_c89=$ac_arg
4229 fi
4230 rm -f core conftest.err conftest.$ac_objext
4231   test "x$ac_cv_prog_cc_c89" != "xno" && break
4232 done
4233 rm -f conftest.$ac_ext
4234 CC=$ac_save_CC
4235
4236 fi
4237 # AC_CACHE_VAL
4238 case "x$ac_cv_prog_cc_c89" in
4239   x)
4240     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4241 $as_echo "none needed" >&6; } ;;
4242   xno)
4243     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4244 $as_echo "unsupported" >&6; } ;;
4245   *)
4246     CC="$CC $ac_cv_prog_cc_c89"
4247     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4248 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4249 esac
4250 if test "x$ac_cv_prog_cc_c89" != xno; then :
4251
4252 fi
4253
4254 ac_ext=c
4255 ac_cpp='$CPP $CPPFLAGS'
4256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4259
4260 depcc="$CC"   am_compiler_list=
4261
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4263 $as_echo_n "checking dependency style of $depcc... " >&6; }
4264 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4265   $as_echo_n "(cached) " >&6
4266 else
4267   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4268   # We make a subdir and do the tests there.  Otherwise we can end up
4269   # making bogus files that we don't know about and never remove.  For
4270   # instance it was reported that on HP-UX the gcc test will end up
4271   # making a dummy file named `D' -- because `-MD' means `put the output
4272   # in D'.
4273   rm -rf conftest.dir
4274   mkdir conftest.dir
4275   # Copy depcomp to subdir because otherwise we won't find it if we're
4276   # using a relative directory.
4277   cp "$am_depcomp" conftest.dir
4278   cd conftest.dir
4279   # We will build objects and dependencies in a subdirectory because
4280   # it helps to detect inapplicable dependency modes.  For instance
4281   # both Tru64's cc and ICC support -MD to output dependencies as a
4282   # side effect of compilation, but ICC will put the dependencies in
4283   # the current directory while Tru64 will put them in the object
4284   # directory.
4285   mkdir sub
4286
4287   am_cv_CC_dependencies_compiler_type=none
4288   if test "$am_compiler_list" = ""; then
4289      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4290   fi
4291   am__universal=false
4292   case " $depcc " in #(
4293      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4294      esac
4295
4296   for depmode in $am_compiler_list; do
4297     # Setup a source with many dependencies, because some compilers
4298     # like to wrap large dependency lists on column 80 (with \), and
4299     # we should not choose a depcomp mode which is confused by this.
4300     #
4301     # We need to recreate these files for each test, as the compiler may
4302     # overwrite some of them when testing with obscure command lines.
4303     # This happens at least with the AIX C compiler.
4304     : > sub/conftest.c
4305     for i in 1 2 3 4 5 6; do
4306       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4307       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4308       # Solaris 8's {/usr,}/bin/sh.
4309       touch sub/conftst$i.h
4310     done
4311     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4312
4313     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4314     # mode.  It turns out that the SunPro C++ compiler does not properly
4315     # handle `-M -o', and we need to detect this.  Also, some Intel
4316     # versions had trouble with output in subdirs
4317     am__obj=sub/conftest.${OBJEXT-o}
4318     am__minus_obj="-o $am__obj"
4319     case $depmode in
4320     gcc)
4321       # This depmode causes a compiler race in universal mode.
4322       test "$am__universal" = false || continue
4323       ;;
4324     nosideeffect)
4325       # after this tag, mechanisms are not by side-effect, so they'll
4326       # only be used when explicitly requested
4327       if test "x$enable_dependency_tracking" = xyes; then
4328         continue
4329       else
4330         break
4331       fi
4332       ;;
4333     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4334       # This compiler won't grok `-c -o', but also, the minuso test has
4335       # not run yet.  These depmodes are late enough in the game, and
4336       # so weak that their functioning should not be impacted.
4337       am__obj=conftest.${OBJEXT-o}
4338       am__minus_obj=
4339       ;;
4340     none) break ;;
4341     esac
4342     if depmode=$depmode \
4343        source=sub/conftest.c object=$am__obj \
4344        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4345        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4346          >/dev/null 2>conftest.err &&
4347        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4348        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4349        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4350        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4351       # icc doesn't choke on unknown options, it will just issue warnings
4352       # or remarks (even with -Werror).  So we grep stderr for any message
4353       # that says an option was ignored or not supported.
4354       # When given -MP, icc 7.0 and 7.1 complain thusly:
4355       #   icc: Command line warning: ignoring option '-M'; no argument required
4356       # The diagnosis changed in icc 8.0:
4357       #   icc: Command line remark: option '-MP' not supported
4358       if (grep 'ignoring option' conftest.err ||
4359           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4360         am_cv_CC_dependencies_compiler_type=$depmode
4361         break
4362       fi
4363     fi
4364   done
4365
4366   cd ..
4367   rm -rf conftest.dir
4368 else
4369   am_cv_CC_dependencies_compiler_type=none
4370 fi
4371
4372 fi
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4374 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4375 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4376
4377  if
4378   test "x$enable_dependency_tracking" != xno \
4379   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4380   am__fastdepCC_TRUE=
4381   am__fastdepCC_FALSE='#'
4382 else
4383   am__fastdepCC_TRUE='#'
4384   am__fastdepCC_FALSE=
4385 fi
4386
4387
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4389 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4390 if ${ac_cv_path_SED+:} false; then :
4391   $as_echo_n "(cached) " >&6
4392 else
4393             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4394      for ac_i in 1 2 3 4 5 6 7; do
4395        ac_script="$ac_script$as_nl$ac_script"
4396      done
4397      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4398      { ac_script=; unset ac_script;}
4399      if test -z "$SED"; then
4400   ac_path_SED_found=false
4401   # Loop through the user's path and test for each of PROGNAME-LIST
4402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 for as_dir in $PATH
4404 do
4405   IFS=$as_save_IFS
4406   test -z "$as_dir" && as_dir=.
4407     for ac_prog in sed gsed; do
4408     for ac_exec_ext in '' $ac_executable_extensions; do
4409       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4410       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4411 # Check for GNU ac_path_SED and select it if it is found.
4412   # Check for GNU $ac_path_SED
4413 case `"$ac_path_SED" --version 2>&1` in
4414 *GNU*)
4415   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4416 *)
4417   ac_count=0
4418   $as_echo_n 0123456789 >"conftest.in"
4419   while :
4420   do
4421     cat "conftest.in" "conftest.in" >"conftest.tmp"
4422     mv "conftest.tmp" "conftest.in"
4423     cp "conftest.in" "conftest.nl"
4424     $as_echo '' >> "conftest.nl"
4425     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4426     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4427     as_fn_arith $ac_count + 1 && ac_count=$as_val
4428     if test $ac_count -gt ${ac_path_SED_max-0}; then
4429       # Best one so far, save it but keep looking for a better one
4430       ac_cv_path_SED="$ac_path_SED"
4431       ac_path_SED_max=$ac_count
4432     fi
4433     # 10*(2^10) chars as input seems more than enough
4434     test $ac_count -gt 10 && break
4435   done
4436   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4437 esac
4438
4439       $ac_path_SED_found && break 3
4440     done
4441   done
4442   done
4443 IFS=$as_save_IFS
4444   if test -z "$ac_cv_path_SED"; then
4445     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4446   fi
4447 else
4448   ac_cv_path_SED=$SED
4449 fi
4450
4451 fi
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4453 $as_echo "$ac_cv_path_SED" >&6; }
4454  SED="$ac_cv_path_SED"
4455   rm -f conftest.sed
4456
4457 test -z "$SED" && SED=sed
4458 Xsed="$SED -e 1s/^X//"
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4471 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4472 if ${ac_cv_path_GREP+:} false; then :
4473   $as_echo_n "(cached) " >&6
4474 else
4475   if test -z "$GREP"; then
4476   ac_path_GREP_found=false
4477   # Loop through the user's path and test for each of PROGNAME-LIST
4478   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4480 do
4481   IFS=$as_save_IFS
4482   test -z "$as_dir" && as_dir=.
4483     for ac_prog in grep ggrep; do
4484     for ac_exec_ext in '' $ac_executable_extensions; do
4485       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4486       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4487 # Check for GNU ac_path_GREP and select it if it is found.
4488   # Check for GNU $ac_path_GREP
4489 case `"$ac_path_GREP" --version 2>&1` in
4490 *GNU*)
4491   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4492 *)
4493   ac_count=0
4494   $as_echo_n 0123456789 >"conftest.in"
4495   while :
4496   do
4497     cat "conftest.in" "conftest.in" >"conftest.tmp"
4498     mv "conftest.tmp" "conftest.in"
4499     cp "conftest.in" "conftest.nl"
4500     $as_echo 'GREP' >> "conftest.nl"
4501     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4502     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4503     as_fn_arith $ac_count + 1 && ac_count=$as_val
4504     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4505       # Best one so far, save it but keep looking for a better one
4506       ac_cv_path_GREP="$ac_path_GREP"
4507       ac_path_GREP_max=$ac_count
4508     fi
4509     # 10*(2^10) chars as input seems more than enough
4510     test $ac_count -gt 10 && break
4511   done
4512   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4513 esac
4514
4515       $ac_path_GREP_found && break 3
4516     done
4517   done
4518   done
4519 IFS=$as_save_IFS
4520   if test -z "$ac_cv_path_GREP"; then
4521     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4522   fi
4523 else
4524   ac_cv_path_GREP=$GREP
4525 fi
4526
4527 fi
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4529 $as_echo "$ac_cv_path_GREP" >&6; }
4530  GREP="$ac_cv_path_GREP"
4531
4532
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4534 $as_echo_n "checking for egrep... " >&6; }
4535 if ${ac_cv_path_EGREP+:} false; then :
4536   $as_echo_n "(cached) " >&6
4537 else
4538   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4539    then ac_cv_path_EGREP="$GREP -E"
4540    else
4541      if test -z "$EGREP"; then
4542   ac_path_EGREP_found=false
4543   # Loop through the user's path and test for each of PROGNAME-LIST
4544   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4546 do
4547   IFS=$as_save_IFS
4548   test -z "$as_dir" && as_dir=.
4549     for ac_prog in egrep; do
4550     for ac_exec_ext in '' $ac_executable_extensions; do
4551       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4552       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4553 # Check for GNU ac_path_EGREP and select it if it is found.
4554   # Check for GNU $ac_path_EGREP
4555 case `"$ac_path_EGREP" --version 2>&1` in
4556 *GNU*)
4557   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4558 *)
4559   ac_count=0
4560   $as_echo_n 0123456789 >"conftest.in"
4561   while :
4562   do
4563     cat "conftest.in" "conftest.in" >"conftest.tmp"
4564     mv "conftest.tmp" "conftest.in"
4565     cp "conftest.in" "conftest.nl"
4566     $as_echo 'EGREP' >> "conftest.nl"
4567     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4568     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4569     as_fn_arith $ac_count + 1 && ac_count=$as_val
4570     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4571       # Best one so far, save it but keep looking for a better one
4572       ac_cv_path_EGREP="$ac_path_EGREP"
4573       ac_path_EGREP_max=$ac_count
4574     fi
4575     # 10*(2^10) chars as input seems more than enough
4576     test $ac_count -gt 10 && break
4577   done
4578   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4579 esac
4580
4581       $ac_path_EGREP_found && break 3
4582     done
4583   done
4584   done
4585 IFS=$as_save_IFS
4586   if test -z "$ac_cv_path_EGREP"; then
4587     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4588   fi
4589 else
4590   ac_cv_path_EGREP=$EGREP
4591 fi
4592
4593    fi
4594 fi
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4596 $as_echo "$ac_cv_path_EGREP" >&6; }
4597  EGREP="$ac_cv_path_EGREP"
4598
4599
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4601 $as_echo_n "checking for fgrep... " >&6; }
4602 if ${ac_cv_path_FGREP+:} false; then :
4603   $as_echo_n "(cached) " >&6
4604 else
4605   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4606    then ac_cv_path_FGREP="$GREP -F"
4607    else
4608      if test -z "$FGREP"; then
4609   ac_path_FGREP_found=false
4610   # Loop through the user's path and test for each of PROGNAME-LIST
4611   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4613 do
4614   IFS=$as_save_IFS
4615   test -z "$as_dir" && as_dir=.
4616     for ac_prog in fgrep; do
4617     for ac_exec_ext in '' $ac_executable_extensions; do
4618       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4619       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4620 # Check for GNU ac_path_FGREP and select it if it is found.
4621   # Check for GNU $ac_path_FGREP
4622 case `"$ac_path_FGREP" --version 2>&1` in
4623 *GNU*)
4624   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4625 *)
4626   ac_count=0
4627   $as_echo_n 0123456789 >"conftest.in"
4628   while :
4629   do
4630     cat "conftest.in" "conftest.in" >"conftest.tmp"
4631     mv "conftest.tmp" "conftest.in"
4632     cp "conftest.in" "conftest.nl"
4633     $as_echo 'FGREP' >> "conftest.nl"
4634     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4635     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4636     as_fn_arith $ac_count + 1 && ac_count=$as_val
4637     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4638       # Best one so far, save it but keep looking for a better one
4639       ac_cv_path_FGREP="$ac_path_FGREP"
4640       ac_path_FGREP_max=$ac_count
4641     fi
4642     # 10*(2^10) chars as input seems more than enough
4643     test $ac_count -gt 10 && break
4644   done
4645   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4646 esac
4647
4648       $ac_path_FGREP_found && break 3
4649     done
4650   done
4651   done
4652 IFS=$as_save_IFS
4653   if test -z "$ac_cv_path_FGREP"; then
4654     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4655   fi
4656 else
4657   ac_cv_path_FGREP=$FGREP
4658 fi
4659
4660    fi
4661 fi
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4663 $as_echo "$ac_cv_path_FGREP" >&6; }
4664  FGREP="$ac_cv_path_FGREP"
4665
4666
4667 test -z "$GREP" && GREP=grep
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687 # Check whether --with-gnu-ld was given.
4688 if test "${with_gnu_ld+set}" = set; then :
4689   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4690 else
4691   with_gnu_ld=no
4692 fi
4693
4694 ac_prog=ld
4695 if test "$GCC" = yes; then
4696   # Check if gcc -print-prog-name=ld gives a path.
4697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4698 $as_echo_n "checking for ld used by $CC... " >&6; }
4699   case $host in
4700   *-*-mingw*)
4701     # gcc leaves a trailing carriage return which upsets mingw
4702     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4703   *)
4704     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4705   esac
4706   case $ac_prog in
4707     # Accept absolute paths.
4708     [\\/]* | ?:[\\/]*)
4709       re_direlt='/[^/][^/]*/\.\./'
4710       # Canonicalize the pathname of ld
4711       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4712       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4713         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4714       done
4715       test -z "$LD" && LD="$ac_prog"
4716       ;;
4717   "")
4718     # If it fails, then pretend we aren't using GCC.
4719     ac_prog=ld
4720     ;;
4721   *)
4722     # If it is relative, then search for the first ld in PATH.
4723     with_gnu_ld=unknown
4724     ;;
4725   esac
4726 elif test "$with_gnu_ld" = yes; then
4727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4728 $as_echo_n "checking for GNU ld... " >&6; }
4729 else
4730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4731 $as_echo_n "checking for non-GNU ld... " >&6; }
4732 fi
4733 if ${lt_cv_path_LD+:} false; then :
4734   $as_echo_n "(cached) " >&6
4735 else
4736   if test -z "$LD"; then
4737   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4738   for ac_dir in $PATH; do
4739     IFS="$lt_save_ifs"
4740     test -z "$ac_dir" && ac_dir=.
4741     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4742       lt_cv_path_LD="$ac_dir/$ac_prog"
4743       # Check to see if the program is GNU ld.  I'd rather use --version,
4744       # but apparently some variants of GNU ld only accept -v.
4745       # Break only if it was the GNU/non-GNU ld that we prefer.
4746       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4747       *GNU* | *'with BFD'*)
4748         test "$with_gnu_ld" != no && break
4749         ;;
4750       *)
4751         test "$with_gnu_ld" != yes && break
4752         ;;
4753       esac
4754     fi
4755   done
4756   IFS="$lt_save_ifs"
4757 else
4758   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4759 fi
4760 fi
4761
4762 LD="$lt_cv_path_LD"
4763 if test -n "$LD"; then
4764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4765 $as_echo "$LD" >&6; }
4766 else
4767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4769 fi
4770 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4772 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4773 if ${lt_cv_prog_gnu_ld+:} false; then :
4774   $as_echo_n "(cached) " >&6
4775 else
4776   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4777 case `$LD -v 2>&1 </dev/null` in
4778 *GNU* | *'with BFD'*)
4779   lt_cv_prog_gnu_ld=yes
4780   ;;
4781 *)
4782   lt_cv_prog_gnu_ld=no
4783   ;;
4784 esac
4785 fi
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4787 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4788 with_gnu_ld=$lt_cv_prog_gnu_ld
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4799 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4800 if ${lt_cv_path_NM+:} false; then :
4801   $as_echo_n "(cached) " >&6
4802 else
4803   if test -n "$NM"; then
4804   # Let the user override the test.
4805   lt_cv_path_NM="$NM"
4806 else
4807   lt_nm_to_check="${ac_tool_prefix}nm"
4808   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4809     lt_nm_to_check="$lt_nm_to_check nm"
4810   fi
4811   for lt_tmp_nm in $lt_nm_to_check; do
4812     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4813     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4814       IFS="$lt_save_ifs"
4815       test -z "$ac_dir" && ac_dir=.
4816       tmp_nm="$ac_dir/$lt_tmp_nm"
4817       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4818         # Check to see if the nm accepts a BSD-compat flag.
4819         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4820         #   nm: unknown option "B" ignored
4821         # Tru64's nm complains that /dev/null is an invalid object file
4822         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4823         */dev/null* | *'Invalid file or object type'*)
4824           lt_cv_path_NM="$tmp_nm -B"
4825           break
4826           ;;
4827         *)
4828           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4829           */dev/null*)
4830             lt_cv_path_NM="$tmp_nm -p"
4831             break
4832             ;;
4833           *)
4834             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4835             continue # so that we can try to find one that supports BSD flags
4836             ;;
4837           esac
4838           ;;
4839         esac
4840       fi
4841     done
4842     IFS="$lt_save_ifs"
4843   done
4844   : ${lt_cv_path_NM=no}
4845 fi
4846 fi
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4848 $as_echo "$lt_cv_path_NM" >&6; }
4849 if test "$lt_cv_path_NM" != "no"; then
4850   NM="$lt_cv_path_NM"
4851 else
4852   # Didn't find any BSD compatible name lister, look for dumpbin.
4853   if test -n "$DUMPBIN"; then :
4854     # Let the user override the test.
4855   else
4856     if test -n "$ac_tool_prefix"; then
4857   for ac_prog in dumpbin "link -dump"
4858   do
4859     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4860 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4862 $as_echo_n "checking for $ac_word... " >&6; }
4863 if ${ac_cv_prog_DUMPBIN+:} false; then :
4864   $as_echo_n "(cached) " >&6
4865 else
4866   if test -n "$DUMPBIN"; then
4867   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4868 else
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 for as_dir in $PATH
4871 do
4872   IFS=$as_save_IFS
4873   test -z "$as_dir" && as_dir=.
4874     for ac_exec_ext in '' $ac_executable_extensions; do
4875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4876     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878     break 2
4879   fi
4880 done
4881   done
4882 IFS=$as_save_IFS
4883
4884 fi
4885 fi
4886 DUMPBIN=$ac_cv_prog_DUMPBIN
4887 if test -n "$DUMPBIN"; then
4888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4889 $as_echo "$DUMPBIN" >&6; }
4890 else
4891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4893 fi
4894
4895
4896     test -n "$DUMPBIN" && break
4897   done
4898 fi
4899 if test -z "$DUMPBIN"; then
4900   ac_ct_DUMPBIN=$DUMPBIN
4901   for ac_prog in dumpbin "link -dump"
4902 do
4903   # Extract the first word of "$ac_prog", so it can be a program name with args.
4904 set dummy $ac_prog; ac_word=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4908   $as_echo_n "(cached) " >&6
4909 else
4910   if test -n "$ac_ct_DUMPBIN"; then
4911   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4912 else
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914 for as_dir in $PATH
4915 do
4916   IFS=$as_save_IFS
4917   test -z "$as_dir" && as_dir=.
4918     for ac_exec_ext in '' $ac_executable_extensions; do
4919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922     break 2
4923   fi
4924 done
4925   done
4926 IFS=$as_save_IFS
4927
4928 fi
4929 fi
4930 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4931 if test -n "$ac_ct_DUMPBIN"; then
4932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4933 $as_echo "$ac_ct_DUMPBIN" >&6; }
4934 else
4935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4937 fi
4938
4939
4940   test -n "$ac_ct_DUMPBIN" && break
4941 done
4942
4943   if test "x$ac_ct_DUMPBIN" = x; then
4944     DUMPBIN=":"
4945   else
4946     case $cross_compiling:$ac_tool_warned in
4947 yes:)
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4950 ac_tool_warned=yes ;;
4951 esac
4952     DUMPBIN=$ac_ct_DUMPBIN
4953   fi
4954 fi
4955
4956     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4957     *COFF*)
4958       DUMPBIN="$DUMPBIN -symbols"
4959       ;;
4960     *)
4961       DUMPBIN=:
4962       ;;
4963     esac
4964   fi
4965
4966   if test "$DUMPBIN" != ":"; then
4967     NM="$DUMPBIN"
4968   fi
4969 fi
4970 test -z "$NM" && NM=nm
4971
4972
4973
4974
4975
4976
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4978 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4979 if ${lt_cv_nm_interface+:} false; then :
4980   $as_echo_n "(cached) " >&6
4981 else
4982   lt_cv_nm_interface="BSD nm"
4983   echo "int some_variable = 0;" > conftest.$ac_ext
4984   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4985   (eval "$ac_compile" 2>conftest.err)
4986   cat conftest.err >&5
4987   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4988   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4989   cat conftest.err >&5
4990   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4991   cat conftest.out >&5
4992   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4993     lt_cv_nm_interface="MS dumpbin"
4994   fi
4995   rm -f conftest*
4996 fi
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4998 $as_echo "$lt_cv_nm_interface" >&6; }
4999
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5001 $as_echo_n "checking whether ln -s works... " >&6; }
5002 LN_S=$as_ln_s
5003 if test "$LN_S" = "ln -s"; then
5004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5006 else
5007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5008 $as_echo "no, using $LN_S" >&6; }
5009 fi
5010
5011 # find the maximum length of command line arguments
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5013 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5014 if ${lt_cv_sys_max_cmd_len+:} false; then :
5015   $as_echo_n "(cached) " >&6
5016 else
5017     i=0
5018   teststring="ABCD"
5019
5020   case $build_os in
5021   msdosdjgpp*)
5022     # On DJGPP, this test can blow up pretty badly due to problems in libc
5023     # (any single argument exceeding 2000 bytes causes a buffer overrun
5024     # during glob expansion).  Even if it were fixed, the result of this
5025     # check would be larger than it should be.
5026     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5027     ;;
5028
5029   gnu*)
5030     # Under GNU Hurd, this test is not required because there is
5031     # no limit to the length of command line arguments.
5032     # Libtool will interpret -1 as no limit whatsoever
5033     lt_cv_sys_max_cmd_len=-1;
5034     ;;
5035
5036   cygwin* | mingw* | cegcc*)
5037     # On Win9x/ME, this test blows up -- it succeeds, but takes
5038     # about 5 minutes as the teststring grows exponentially.
5039     # Worse, since 9x/ME are not pre-emptively multitasking,
5040     # you end up with a "frozen" computer, even though with patience
5041     # the test eventually succeeds (with a max line length of 256k).
5042     # Instead, let's just punt: use the minimum linelength reported by
5043     # all of the supported platforms: 8192 (on NT/2K/XP).
5044     lt_cv_sys_max_cmd_len=8192;
5045     ;;
5046
5047   mint*)
5048     # On MiNT this can take a long time and run out of memory.
5049     lt_cv_sys_max_cmd_len=8192;
5050     ;;
5051
5052   amigaos*)
5053     # On AmigaOS with pdksh, this test takes hours, literally.
5054     # So we just punt and use a minimum line length of 8192.
5055     lt_cv_sys_max_cmd_len=8192;
5056     ;;
5057
5058   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5059     # This has been around since 386BSD, at least.  Likely further.
5060     if test -x /sbin/sysctl; then
5061       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5062     elif test -x /usr/sbin/sysctl; then
5063       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5064     else
5065       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5066     fi
5067     # And add a safety zone
5068     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5069     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5070     ;;
5071
5072   interix*)
5073     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5074     lt_cv_sys_max_cmd_len=196608
5075     ;;
5076
5077   os2*)
5078     # The test takes a long time on OS/2.
5079     lt_cv_sys_max_cmd_len=8192
5080     ;;
5081
5082   osf*)
5083     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5084     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5085     # nice to cause kernel panics so lets avoid the loop below.
5086     # First set a reasonable default.
5087     lt_cv_sys_max_cmd_len=16384
5088     #
5089     if test -x /sbin/sysconfig; then
5090       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5091         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5092       esac
5093     fi
5094     ;;
5095   sco3.2v5*)
5096     lt_cv_sys_max_cmd_len=102400
5097     ;;
5098   sysv5* | sco5v6* | sysv4.2uw2*)
5099     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5100     if test -n "$kargmax"; then
5101       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5102     else
5103       lt_cv_sys_max_cmd_len=32768
5104     fi
5105     ;;
5106   *)
5107     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5108     if test -n "$lt_cv_sys_max_cmd_len"; then
5109       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5110       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5111     else
5112       # Make teststring a little bigger before we do anything with it.
5113       # a 1K string should be a reasonable start.
5114       for i in 1 2 3 4 5 6 7 8 ; do
5115         teststring=$teststring$teststring
5116       done
5117       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5118       # If test is not a shell built-in, we'll probably end up computing a
5119       # maximum length that is only half of the actual maximum length, but
5120       # we can't tell.
5121       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5122                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5123               test $i != 17 # 1/2 MB should be enough
5124       do
5125         i=`expr $i + 1`
5126         teststring=$teststring$teststring
5127       done
5128       # Only check the string length outside the loop.
5129       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5130       teststring=
5131       # Add a significant safety factor because C++ compilers can tack on
5132       # massive amounts of additional arguments before passing them to the
5133       # linker.  It appears as though 1/2 is a usable value.
5134       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5135     fi
5136     ;;
5137   esac
5138
5139 fi
5140
5141 if test -n $lt_cv_sys_max_cmd_len ; then
5142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5143 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5144 else
5145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5146 $as_echo "none" >&6; }
5147 fi
5148 max_cmd_len=$lt_cv_sys_max_cmd_len
5149
5150
5151
5152
5153
5154
5155 : ${CP="cp -f"}
5156 : ${MV="mv -f"}
5157 : ${RM="rm -f"}
5158
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5160 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5161 # Try some XSI features
5162 xsi_shell=no
5163 ( _lt_dummy="a/b/c"
5164   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5165       = c,a/b,b/c, \
5166     && eval 'test $(( 1 + 1 )) -eq 2 \
5167     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5168   && xsi_shell=yes
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5170 $as_echo "$xsi_shell" >&6; }
5171
5172
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5174 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5175 lt_shell_append=no
5176 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5177     >/dev/null 2>&1 \
5178   && lt_shell_append=yes
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5180 $as_echo "$lt_shell_append" >&6; }
5181
5182
5183 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5184   lt_unset=unset
5185 else
5186   lt_unset=false
5187 fi
5188
5189
5190
5191
5192
5193 # test EBCDIC or ASCII
5194 case `echo X|tr X '\101'` in
5195  A) # ASCII based system
5196     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5197   lt_SP2NL='tr \040 \012'
5198   lt_NL2SP='tr \015\012 \040\040'
5199   ;;
5200  *) # EBCDIC based system
5201   lt_SP2NL='tr \100 \n'
5202   lt_NL2SP='tr \r\n \100\100'
5203   ;;
5204 esac
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5215 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5216 if ${lt_cv_to_host_file_cmd+:} false; then :
5217   $as_echo_n "(cached) " >&6
5218 else
5219   case $host in
5220   *-*-mingw* )
5221     case $build in
5222       *-*-mingw* ) # actually msys
5223         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5224         ;;
5225       *-*-cygwin* )
5226         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5227         ;;
5228       * ) # otherwise, assume *nix
5229         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5230         ;;
5231     esac
5232     ;;
5233   *-*-cygwin* )
5234     case $build in
5235       *-*-mingw* ) # actually msys
5236         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5237         ;;
5238       *-*-cygwin* )
5239         lt_cv_to_host_file_cmd=func_convert_file_noop
5240         ;;
5241       * ) # otherwise, assume *nix
5242         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5243         ;;
5244     esac
5245     ;;
5246   * ) # unhandled hosts (and "normal" native builds)
5247     lt_cv_to_host_file_cmd=func_convert_file_noop
5248     ;;
5249 esac
5250
5251 fi
5252
5253 to_host_file_cmd=$lt_cv_to_host_file_cmd
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5255 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5256
5257
5258
5259
5260
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5262 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5263 if ${lt_cv_to_tool_file_cmd+:} false; then :
5264   $as_echo_n "(cached) " >&6
5265 else
5266   #assume ordinary cross tools, or native build.
5267 lt_cv_to_tool_file_cmd=func_convert_file_noop
5268 case $host in
5269   *-*-mingw* )
5270     case $build in
5271       *-*-mingw* ) # actually msys
5272         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5273         ;;
5274     esac
5275     ;;
5276 esac
5277
5278 fi
5279
5280 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5282 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5283
5284
5285
5286
5287
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5289 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5290 if ${lt_cv_ld_reload_flag+:} false; then :
5291   $as_echo_n "(cached) " >&6
5292 else
5293   lt_cv_ld_reload_flag='-r'
5294 fi
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5296 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5297 reload_flag=$lt_cv_ld_reload_flag
5298 case $reload_flag in
5299 "" | " "*) ;;
5300 *) reload_flag=" $reload_flag" ;;
5301 esac
5302 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5303 case $host_os in
5304   cygwin* | mingw* | pw32* | cegcc*)
5305     if test "$GCC" != yes; then
5306       reload_cmds=false
5307     fi
5308     ;;
5309   darwin*)
5310     if test "$GCC" = yes; then
5311       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5312     else
5313       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5314     fi
5315     ;;
5316 esac
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326 if test -n "$ac_tool_prefix"; then
5327   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5328 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_OBJDUMP+:} false; then :
5332   $as_echo_n "(cached) " >&6
5333 else
5334   if test -n "$OBJDUMP"; then
5335   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5336 else
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 for as_dir in $PATH
5339 do
5340   IFS=$as_save_IFS
5341   test -z "$as_dir" && as_dir=.
5342     for ac_exec_ext in '' $ac_executable_extensions; do
5343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5346     break 2
5347   fi
5348 done
5349   done
5350 IFS=$as_save_IFS
5351
5352 fi
5353 fi
5354 OBJDUMP=$ac_cv_prog_OBJDUMP
5355 if test -n "$OBJDUMP"; then
5356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5357 $as_echo "$OBJDUMP" >&6; }
5358 else
5359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5361 fi
5362
5363
5364 fi
5365 if test -z "$ac_cv_prog_OBJDUMP"; then
5366   ac_ct_OBJDUMP=$OBJDUMP
5367   # Extract the first word of "objdump", so it can be a program name with args.
5368 set dummy objdump; ac_word=$2
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370 $as_echo_n "checking for $ac_word... " >&6; }
5371 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5372   $as_echo_n "(cached) " >&6
5373 else
5374   if test -n "$ac_ct_OBJDUMP"; then
5375   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5376 else
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5378 for as_dir in $PATH
5379 do
5380   IFS=$as_save_IFS
5381   test -z "$as_dir" && as_dir=.
5382     for ac_exec_ext in '' $ac_executable_extensions; do
5383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5384     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386     break 2
5387   fi
5388 done
5389   done
5390 IFS=$as_save_IFS
5391
5392 fi
5393 fi
5394 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5395 if test -n "$ac_ct_OBJDUMP"; then
5396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5397 $as_echo "$ac_ct_OBJDUMP" >&6; }
5398 else
5399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400 $as_echo "no" >&6; }
5401 fi
5402
5403   if test "x$ac_ct_OBJDUMP" = x; then
5404     OBJDUMP="false"
5405   else
5406     case $cross_compiling:$ac_tool_warned in
5407 yes:)
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5410 ac_tool_warned=yes ;;
5411 esac
5412     OBJDUMP=$ac_ct_OBJDUMP
5413   fi
5414 else
5415   OBJDUMP="$ac_cv_prog_OBJDUMP"
5416 fi
5417
5418 test -z "$OBJDUMP" && OBJDUMP=objdump
5419
5420
5421
5422
5423
5424
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5426 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5427 if ${lt_cv_deplibs_check_method+:} false; then :
5428   $as_echo_n "(cached) " >&6
5429 else
5430   lt_cv_file_magic_cmd='$MAGIC_CMD'
5431 lt_cv_file_magic_test_file=
5432 lt_cv_deplibs_check_method='unknown'
5433 # Need to set the preceding variable on all platforms that support
5434 # interlibrary dependencies.
5435 # 'none' -- dependencies not supported.
5436 # `unknown' -- same as none, but documents that we really don't know.
5437 # 'pass_all' -- all dependencies passed with no checks.
5438 # 'test_compile' -- check by making test program.
5439 # 'file_magic [[regex]]' -- check by looking for files in library path
5440 # which responds to the $file_magic_cmd with a given extended regex.
5441 # If you have `file' or equivalent on your system and you're not sure
5442 # whether `pass_all' will *always* work, you probably want this one.
5443
5444 case $host_os in
5445 aix[4-9]*)
5446   lt_cv_deplibs_check_method=pass_all
5447   ;;
5448
5449 beos*)
5450   lt_cv_deplibs_check_method=pass_all
5451   ;;
5452
5453 bsdi[45]*)
5454   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5455   lt_cv_file_magic_cmd='/usr/bin/file -L'
5456   lt_cv_file_magic_test_file=/shlib/libc.so
5457   ;;
5458
5459 cygwin*)
5460   # func_win32_libid is a shell function defined in ltmain.sh
5461   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5462   lt_cv_file_magic_cmd='func_win32_libid'
5463   ;;
5464
5465 mingw* | pw32*)
5466   # Base MSYS/MinGW do not provide the 'file' command needed by
5467   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5468   # unless we find 'file', for example because we are cross-compiling.
5469   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5470   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5471     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5472     lt_cv_file_magic_cmd='func_win32_libid'
5473   else
5474     # Keep this pattern in sync with the one in func_win32_libid.
5475     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5476     lt_cv_file_magic_cmd='$OBJDUMP -f'
5477   fi
5478   ;;
5479
5480 cegcc*)
5481   # use the weaker test based on 'objdump'. See mingw*.
5482   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5483   lt_cv_file_magic_cmd='$OBJDUMP -f'
5484   ;;
5485
5486 darwin* | rhapsody*)
5487   lt_cv_deplibs_check_method=pass_all
5488   ;;
5489
5490 freebsd* | dragonfly*)
5491   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5492     case $host_cpu in
5493     i*86 )
5494       # Not sure whether the presence of OpenBSD here was a mistake.
5495       # Let's accept both of them until this is cleared up.
5496       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5497       lt_cv_file_magic_cmd=/usr/bin/file
5498       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5499       ;;
5500     esac
5501   else
5502     lt_cv_deplibs_check_method=pass_all
5503   fi
5504   ;;
5505
5506 gnu*)
5507   lt_cv_deplibs_check_method=pass_all
5508   ;;
5509
5510 haiku*)
5511   lt_cv_deplibs_check_method=pass_all
5512   ;;
5513
5514 hpux10.20* | hpux11*)
5515   lt_cv_file_magic_cmd=/usr/bin/file
5516   case $host_cpu in
5517   ia64*)
5518     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5519     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5520     ;;
5521   hppa*64*)
5522     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5523     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5524     ;;
5525   *)
5526     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5527     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5528     ;;
5529   esac
5530   ;;
5531
5532 interix[3-9]*)
5533   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5534   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5535   ;;
5536
5537 irix5* | irix6* | nonstopux*)
5538   case $LD in
5539   *-32|*"-32 ") libmagic=32-bit;;
5540   *-n32|*"-n32 ") libmagic=N32;;
5541   *-64|*"-64 ") libmagic=64-bit;;
5542   *) libmagic=never-match;;
5543   esac
5544   lt_cv_deplibs_check_method=pass_all
5545   ;;
5546
5547 # This must be glibc/ELF.
5548 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5549   lt_cv_deplibs_check_method=pass_all
5550   ;;
5551
5552 netbsd* | netbsdelf*-gnu)
5553   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5554     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5555   else
5556     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5557   fi
5558   ;;
5559
5560 newos6*)
5561   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5562   lt_cv_file_magic_cmd=/usr/bin/file
5563   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5564   ;;
5565
5566 *nto* | *qnx*)
5567   lt_cv_deplibs_check_method=pass_all
5568   ;;
5569
5570 openbsd*)
5571   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5572     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5573   else
5574     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5575   fi
5576   ;;
5577
5578 osf3* | osf4* | osf5*)
5579   lt_cv_deplibs_check_method=pass_all
5580   ;;
5581
5582 rdos*)
5583   lt_cv_deplibs_check_method=pass_all
5584   ;;
5585
5586 solaris*)
5587   lt_cv_deplibs_check_method=pass_all
5588   ;;
5589
5590 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5591   lt_cv_deplibs_check_method=pass_all
5592   ;;
5593
5594 sysv4 | sysv4.3*)
5595   case $host_vendor in
5596   motorola)
5597     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5598     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5599     ;;
5600   ncr)
5601     lt_cv_deplibs_check_method=pass_all
5602     ;;
5603   sequent)
5604     lt_cv_file_magic_cmd='/bin/file'
5605     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5606     ;;
5607   sni)
5608     lt_cv_file_magic_cmd='/bin/file'
5609     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5610     lt_cv_file_magic_test_file=/lib/libc.so
5611     ;;
5612   siemens)
5613     lt_cv_deplibs_check_method=pass_all
5614     ;;
5615   pc)
5616     lt_cv_deplibs_check_method=pass_all
5617     ;;
5618   esac
5619   ;;
5620
5621 tpf*)
5622   lt_cv_deplibs_check_method=pass_all
5623   ;;
5624 esac
5625
5626 fi
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5628 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5629
5630 file_magic_glob=
5631 want_nocaseglob=no
5632 if test "$build" = "$host"; then
5633   case $host_os in
5634   mingw* | pw32*)
5635     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5636       want_nocaseglob=yes
5637     else
5638       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5639     fi
5640     ;;
5641   esac
5642 fi
5643
5644 file_magic_cmd=$lt_cv_file_magic_cmd
5645 deplibs_check_method=$lt_cv_deplibs_check_method
5646 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669 if test -n "$ac_tool_prefix"; then
5670   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5671 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 $as_echo_n "checking for $ac_word... " >&6; }
5674 if ${ac_cv_prog_DLLTOOL+:} false; then :
5675   $as_echo_n "(cached) " >&6
5676 else
5677   if test -n "$DLLTOOL"; then
5678   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5679 else
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH
5682 do
5683   IFS=$as_save_IFS
5684   test -z "$as_dir" && as_dir=.
5685     for ac_exec_ext in '' $ac_executable_extensions; do
5686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5687     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689     break 2
5690   fi
5691 done
5692   done
5693 IFS=$as_save_IFS
5694
5695 fi
5696 fi
5697 DLLTOOL=$ac_cv_prog_DLLTOOL
5698 if test -n "$DLLTOOL"; then
5699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5700 $as_echo "$DLLTOOL" >&6; }
5701 else
5702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5704 fi
5705
5706
5707 fi
5708 if test -z "$ac_cv_prog_DLLTOOL"; then
5709   ac_ct_DLLTOOL=$DLLTOOL
5710   # Extract the first word of "dlltool", so it can be a program name with args.
5711 set dummy dlltool; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5715   $as_echo_n "(cached) " >&6
5716 else
5717   if test -n "$ac_ct_DLLTOOL"; then
5718   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5722 do
5723   IFS=$as_save_IFS
5724   test -z "$as_dir" && as_dir=.
5725     for ac_exec_ext in '' $ac_executable_extensions; do
5726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729     break 2
5730   fi
5731 done
5732   done
5733 IFS=$as_save_IFS
5734
5735 fi
5736 fi
5737 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5738 if test -n "$ac_ct_DLLTOOL"; then
5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5740 $as_echo "$ac_ct_DLLTOOL" >&6; }
5741 else
5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5744 fi
5745
5746   if test "x$ac_ct_DLLTOOL" = x; then
5747     DLLTOOL="false"
5748   else
5749     case $cross_compiling:$ac_tool_warned in
5750 yes:)
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5753 ac_tool_warned=yes ;;
5754 esac
5755     DLLTOOL=$ac_ct_DLLTOOL
5756   fi
5757 else
5758   DLLTOOL="$ac_cv_prog_DLLTOOL"
5759 fi
5760
5761 test -z "$DLLTOOL" && DLLTOOL=dlltool
5762
5763
5764
5765
5766
5767
5768
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5770 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5771 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5772   $as_echo_n "(cached) " >&6
5773 else
5774   lt_cv_sharedlib_from_linklib_cmd='unknown'
5775
5776 case $host_os in
5777 cygwin* | mingw* | pw32* | cegcc*)
5778   # two different shell functions defined in ltmain.sh
5779   # decide which to use based on capabilities of $DLLTOOL
5780   case `$DLLTOOL --help 2>&1` in
5781   *--identify-strict*)
5782     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5783     ;;
5784   *)
5785     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5786     ;;
5787   esac
5788   ;;
5789 *)
5790   # fallback: assume linklib IS sharedlib
5791   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5792   ;;
5793 esac
5794
5795 fi
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5797 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5798 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5799 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5800
5801
5802
5803
5804
5805
5806
5807
5808 if test -n "$ac_tool_prefix"; then
5809   for ac_prog in ar
5810   do
5811     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5812 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_AR+:} false; then :
5816   $as_echo_n "(cached) " >&6
5817 else
5818   if test -n "$AR"; then
5819   ac_cv_prog_AR="$AR" # Let the user override the test.
5820 else
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH
5823 do
5824   IFS=$as_save_IFS
5825   test -z "$as_dir" && as_dir=.
5826     for ac_exec_ext in '' $ac_executable_extensions; do
5827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5830     break 2
5831   fi
5832 done
5833   done
5834 IFS=$as_save_IFS
5835
5836 fi
5837 fi
5838 AR=$ac_cv_prog_AR
5839 if test -n "$AR"; then
5840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5841 $as_echo "$AR" >&6; }
5842 else
5843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5845 fi
5846
5847
5848     test -n "$AR" && break
5849   done
5850 fi
5851 if test -z "$AR"; then
5852   ac_ct_AR=$AR
5853   for ac_prog in ar
5854 do
5855   # Extract the first word of "$ac_prog", so it can be a program name with args.
5856 set dummy $ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5860   $as_echo_n "(cached) " >&6
5861 else
5862   if test -n "$ac_ct_AR"; then
5863   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5867 do
5868   IFS=$as_save_IFS
5869   test -z "$as_dir" && as_dir=.
5870     for ac_exec_ext in '' $ac_executable_extensions; do
5871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872     ac_cv_prog_ac_ct_AR="$ac_prog"
5873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874     break 2
5875   fi
5876 done
5877   done
5878 IFS=$as_save_IFS
5879
5880 fi
5881 fi
5882 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5883 if test -n "$ac_ct_AR"; then
5884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5885 $as_echo "$ac_ct_AR" >&6; }
5886 else
5887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5889 fi
5890
5891
5892   test -n "$ac_ct_AR" && break
5893 done
5894
5895   if test "x$ac_ct_AR" = x; then
5896     AR="false"
5897   else
5898     case $cross_compiling:$ac_tool_warned in
5899 yes:)
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5902 ac_tool_warned=yes ;;
5903 esac
5904     AR=$ac_ct_AR
5905   fi
5906 fi
5907
5908 : ${AR=ar}
5909 : ${AR_FLAGS=cru}
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5922 $as_echo_n "checking for archiver @FILE support... " >&6; }
5923 if ${lt_cv_ar_at_file+:} false; then :
5924   $as_echo_n "(cached) " >&6
5925 else
5926   lt_cv_ar_at_file=no
5927    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h.  */
5929
5930 int
5931 main ()
5932 {
5933
5934   ;
5935   return 0;
5936 }
5937 _ACEOF
5938 if ac_fn_c_try_compile "$LINENO"; then :
5939   echo conftest.$ac_objext > conftest.lst
5940       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5941       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5942   (eval $lt_ar_try) 2>&5
5943   ac_status=$?
5944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5945   test $ac_status = 0; }
5946       if test "$ac_status" -eq 0; then
5947         # Ensure the archiver fails upon bogus file names.
5948         rm -f conftest.$ac_objext libconftest.a
5949         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5950   (eval $lt_ar_try) 2>&5
5951   ac_status=$?
5952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5953   test $ac_status = 0; }
5954         if test "$ac_status" -ne 0; then
5955           lt_cv_ar_at_file=@
5956         fi
5957       fi
5958       rm -f conftest.* libconftest.a
5959
5960 fi
5961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5962
5963 fi
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5965 $as_echo "$lt_cv_ar_at_file" >&6; }
5966
5967 if test "x$lt_cv_ar_at_file" = xno; then
5968   archiver_list_spec=
5969 else
5970   archiver_list_spec=$lt_cv_ar_at_file
5971 fi
5972
5973
5974
5975
5976
5977
5978
5979 if test -n "$ac_tool_prefix"; then
5980   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5981 set dummy ${ac_tool_prefix}strip; ac_word=$2
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983 $as_echo_n "checking for $ac_word... " >&6; }
5984 if ${ac_cv_prog_STRIP+:} false; then :
5985   $as_echo_n "(cached) " >&6
5986 else
5987   if test -n "$STRIP"; then
5988   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5989 else
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 for as_dir in $PATH
5992 do
5993   IFS=$as_save_IFS
5994   test -z "$as_dir" && as_dir=.
5995     for ac_exec_ext in '' $ac_executable_extensions; do
5996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999     break 2
6000   fi
6001 done
6002   done
6003 IFS=$as_save_IFS
6004
6005 fi
6006 fi
6007 STRIP=$ac_cv_prog_STRIP
6008 if test -n "$STRIP"; then
6009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6010 $as_echo "$STRIP" >&6; }
6011 else
6012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6014 fi
6015
6016
6017 fi
6018 if test -z "$ac_cv_prog_STRIP"; then
6019   ac_ct_STRIP=$STRIP
6020   # Extract the first word of "strip", so it can be a program name with args.
6021 set dummy strip; ac_word=$2
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6025   $as_echo_n "(cached) " >&6
6026 else
6027   if test -n "$ac_ct_STRIP"; then
6028   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6029 else
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 for as_dir in $PATH
6032 do
6033   IFS=$as_save_IFS
6034   test -z "$as_dir" && as_dir=.
6035     for ac_exec_ext in '' $ac_executable_extensions; do
6036   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037     ac_cv_prog_ac_ct_STRIP="strip"
6038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039     break 2
6040   fi
6041 done
6042   done
6043 IFS=$as_save_IFS
6044
6045 fi
6046 fi
6047 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6048 if test -n "$ac_ct_STRIP"; then
6049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6050 $as_echo "$ac_ct_STRIP" >&6; }
6051 else
6052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6054 fi
6055
6056   if test "x$ac_ct_STRIP" = x; then
6057     STRIP=":"
6058   else
6059     case $cross_compiling:$ac_tool_warned in
6060 yes:)
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6063 ac_tool_warned=yes ;;
6064 esac
6065     STRIP=$ac_ct_STRIP
6066   fi
6067 else
6068   STRIP="$ac_cv_prog_STRIP"
6069 fi
6070
6071 test -z "$STRIP" && STRIP=:
6072
6073
6074
6075
6076
6077
6078 if test -n "$ac_tool_prefix"; then
6079   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6080 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_RANLIB+:} false; then :
6084   $as_echo_n "(cached) " >&6
6085 else
6086   if test -n "$RANLIB"; then
6087   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6091 do
6092   IFS=$as_save_IFS
6093   test -z "$as_dir" && as_dir=.
6094     for ac_exec_ext in '' $ac_executable_extensions; do
6095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6096     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098     break 2
6099   fi
6100 done
6101   done
6102 IFS=$as_save_IFS
6103
6104 fi
6105 fi
6106 RANLIB=$ac_cv_prog_RANLIB
6107 if test -n "$RANLIB"; then
6108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6109 $as_echo "$RANLIB" >&6; }
6110 else
6111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6113 fi
6114
6115
6116 fi
6117 if test -z "$ac_cv_prog_RANLIB"; then
6118   ac_ct_RANLIB=$RANLIB
6119   # Extract the first word of "ranlib", so it can be a program name with args.
6120 set dummy ranlib; ac_word=$2
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 $as_echo_n "checking for $ac_word... " >&6; }
6123 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6124   $as_echo_n "(cached) " >&6
6125 else
6126   if test -n "$ac_ct_RANLIB"; then
6127   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6128 else
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in $PATH
6131 do
6132   IFS=$as_save_IFS
6133   test -z "$as_dir" && as_dir=.
6134     for ac_exec_ext in '' $ac_executable_extensions; do
6135   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136     ac_cv_prog_ac_ct_RANLIB="ranlib"
6137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138     break 2
6139   fi
6140 done
6141   done
6142 IFS=$as_save_IFS
6143
6144 fi
6145 fi
6146 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6147 if test -n "$ac_ct_RANLIB"; then
6148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6149 $as_echo "$ac_ct_RANLIB" >&6; }
6150 else
6151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 $as_echo "no" >&6; }
6153 fi
6154
6155   if test "x$ac_ct_RANLIB" = x; then
6156     RANLIB=":"
6157   else
6158     case $cross_compiling:$ac_tool_warned in
6159 yes:)
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6162 ac_tool_warned=yes ;;
6163 esac
6164     RANLIB=$ac_ct_RANLIB
6165   fi
6166 else
6167   RANLIB="$ac_cv_prog_RANLIB"
6168 fi
6169
6170 test -z "$RANLIB" && RANLIB=:
6171
6172
6173
6174
6175
6176
6177 # Determine commands to create old-style static archives.
6178 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6179 old_postinstall_cmds='chmod 644 $oldlib'
6180 old_postuninstall_cmds=
6181
6182 if test -n "$RANLIB"; then
6183   case $host_os in
6184   openbsd*)
6185     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6186     ;;
6187   *)
6188     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6189     ;;
6190   esac
6191   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6192 fi
6193
6194 case $host_os in
6195   darwin*)
6196     lock_old_archive_extraction=yes ;;
6197   *)
6198     lock_old_archive_extraction=no ;;
6199 esac
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239 # If no C compiler was specified, use CC.
6240 LTCC=${LTCC-"$CC"}
6241
6242 # If no C compiler flags were specified, use CFLAGS.
6243 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6244
6245 # Allow CC to be a program name with arguments.
6246 compiler=$CC
6247
6248
6249 # Check for command to grab the raw symbol name followed by C symbol from nm.
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6251 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6252 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6253   $as_echo_n "(cached) " >&6
6254 else
6255
6256 # These are sane defaults that work on at least a few old systems.
6257 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6258
6259 # Character class describing NM global symbol codes.
6260 symcode='[BCDEGRST]'
6261
6262 # Regexp to match symbols that can be accessed directly from C.
6263 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6264
6265 # Define system-specific variables.
6266 case $host_os in
6267 aix*)
6268   symcode='[BCDT]'
6269   ;;
6270 cygwin* | mingw* | pw32* | cegcc*)
6271   symcode='[ABCDGISTW]'
6272   ;;
6273 hpux*)
6274   if test "$host_cpu" = ia64; then
6275     symcode='[ABCDEGRST]'
6276   fi
6277   ;;
6278 irix* | nonstopux*)
6279   symcode='[BCDEGRST]'
6280   ;;
6281 osf*)
6282   symcode='[BCDEGQRST]'
6283   ;;
6284 solaris*)
6285   symcode='[BDRT]'
6286   ;;
6287 sco3.2v5*)
6288   symcode='[DT]'
6289   ;;
6290 sysv4.2uw2*)
6291   symcode='[DT]'
6292   ;;
6293 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6294   symcode='[ABDT]'
6295   ;;
6296 sysv4)
6297   symcode='[DFNSTU]'
6298   ;;
6299 esac
6300
6301 # If we're using GNU nm, then use its standard symbol codes.
6302 case `$NM -V 2>&1` in
6303 *GNU* | *'with BFD'*)
6304   symcode='[ABCDGIRSTW]' ;;
6305 esac
6306
6307 # Transform an extracted symbol line into a proper C declaration.
6308 # Some systems (esp. on ia64) link data and code symbols differently,
6309 # so use this general approach.
6310 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6311
6312 # Transform an extracted symbol line into symbol name and symbol address
6313 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6314 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6315
6316 # Handle CRLF in mingw tool chain
6317 opt_cr=
6318 case $build_os in
6319 mingw*)
6320   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6321   ;;
6322 esac
6323
6324 # Try without a prefix underscore, then with it.
6325 for ac_symprfx in "" "_"; do
6326
6327   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6328   symxfrm="\\1 $ac_symprfx\\2 \\2"
6329
6330   # Write the raw and C identifiers.
6331   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6332     # Fake it for dumpbin and say T for any non-static function
6333     # and D for any global variable.
6334     # Also find C++ and __fastcall symbols from MSVC++,
6335     # which start with @ or ?.
6336     lt_cv_sys_global_symbol_pipe="$AWK '"\
6337 "     {last_section=section; section=\$ 3};"\
6338 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6339 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6340 "     \$ 0!~/External *\|/{next};"\
6341 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6342 "     {if(hide[section]) next};"\
6343 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6344 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6345 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6346 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6347 "     ' prfx=^$ac_symprfx"
6348   else
6349     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6350   fi
6351   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6352
6353   # Check to see that the pipe works correctly.
6354   pipe_works=no
6355
6356   rm -f conftest*
6357   cat > conftest.$ac_ext <<_LT_EOF
6358 #ifdef __cplusplus
6359 extern "C" {
6360 #endif
6361 char nm_test_var;
6362 void nm_test_func(void);
6363 void nm_test_func(void){}
6364 #ifdef __cplusplus
6365 }
6366 #endif
6367 int main(){nm_test_var='a';nm_test_func();return(0);}
6368 _LT_EOF
6369
6370   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6371   (eval $ac_compile) 2>&5
6372   ac_status=$?
6373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6374   test $ac_status = 0; }; then
6375     # Now try to grab the symbols.
6376     nlist=conftest.nm
6377     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6378   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6379   ac_status=$?
6380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6381   test $ac_status = 0; } && test -s "$nlist"; then
6382       # Try sorting and uniquifying the output.
6383       if sort "$nlist" | uniq > "$nlist"T; then
6384         mv -f "$nlist"T "$nlist"
6385       else
6386         rm -f "$nlist"T
6387       fi
6388
6389       # Make sure that we snagged all the symbols we need.
6390       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6391         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6392           cat <<_LT_EOF > conftest.$ac_ext
6393 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6394 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6395 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6396    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6397 # define LT_DLSYM_CONST
6398 #elif defined(__osf__)
6399 /* This system does not cope well with relocations in const data.  */
6400 # define LT_DLSYM_CONST
6401 #else
6402 # define LT_DLSYM_CONST const
6403 #endif
6404
6405 #ifdef __cplusplus
6406 extern "C" {
6407 #endif
6408
6409 _LT_EOF
6410           # Now generate the symbol file.
6411           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6412
6413           cat <<_LT_EOF >> conftest.$ac_ext
6414
6415 /* The mapping between symbol names and symbols.  */
6416 LT_DLSYM_CONST struct {
6417   const char *name;
6418   void       *address;
6419 }
6420 lt__PROGRAM__LTX_preloaded_symbols[] =
6421 {
6422   { "@PROGRAM@", (void *) 0 },
6423 _LT_EOF
6424           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6425           cat <<\_LT_EOF >> conftest.$ac_ext
6426   {0, (void *) 0}
6427 };
6428
6429 /* This works around a problem in FreeBSD linker */
6430 #ifdef FREEBSD_WORKAROUND
6431 static const void *lt_preloaded_setup() {
6432   return lt__PROGRAM__LTX_preloaded_symbols;
6433 }
6434 #endif
6435
6436 #ifdef __cplusplus
6437 }
6438 #endif
6439 _LT_EOF
6440           # Now try linking the two files.
6441           mv conftest.$ac_objext conftstm.$ac_objext
6442           lt_globsym_save_LIBS=$LIBS
6443           lt_globsym_save_CFLAGS=$CFLAGS
6444           LIBS="conftstm.$ac_objext"
6445           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6446           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6447   (eval $ac_link) 2>&5
6448   ac_status=$?
6449   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6450   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6451             pipe_works=yes
6452           fi
6453           LIBS=$lt_globsym_save_LIBS
6454           CFLAGS=$lt_globsym_save_CFLAGS
6455         else
6456           echo "cannot find nm_test_func in $nlist" >&5
6457         fi
6458       else
6459         echo "cannot find nm_test_var in $nlist" >&5
6460       fi
6461     else
6462       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6463     fi
6464   else
6465     echo "$progname: failed program was:" >&5
6466     cat conftest.$ac_ext >&5
6467   fi
6468   rm -rf conftest* conftst*
6469
6470   # Do not use the global_symbol_pipe unless it works.
6471   if test "$pipe_works" = yes; then
6472     break
6473   else
6474     lt_cv_sys_global_symbol_pipe=
6475   fi
6476 done
6477
6478 fi
6479
6480 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6481   lt_cv_sys_global_symbol_to_cdecl=
6482 fi
6483 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6485 $as_echo "failed" >&6; }
6486 else
6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6488 $as_echo "ok" >&6; }
6489 fi
6490
6491 # Response file support.
6492 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6493   nm_file_list_spec='@'
6494 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6495   nm_file_list_spec='@'
6496 fi
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6525 $as_echo_n "checking for sysroot... " >&6; }
6526
6527 # Check whether --with-sysroot was given.
6528 if test "${with_sysroot+set}" = set; then :
6529   withval=$with_sysroot;
6530 else
6531   with_sysroot=no
6532 fi
6533
6534
6535 lt_sysroot=
6536 case ${with_sysroot} in #(
6537  yes)
6538    if test "$GCC" = yes; then
6539      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6540    fi
6541    ;; #(
6542  /*)
6543    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6544    ;; #(
6545  no|'')
6546    ;; #(
6547  *)
6548    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6549 $as_echo "${with_sysroot}" >&6; }
6550    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6551    ;;
6552 esac
6553
6554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6555 $as_echo "${lt_sysroot:-no}" >&6; }
6556
6557
6558
6559
6560
6561 # Check whether --enable-libtool-lock was given.
6562 if test "${enable_libtool_lock+set}" = set; then :
6563   enableval=$enable_libtool_lock;
6564 fi
6565
6566 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6567
6568 # Some flags need to be propagated to the compiler or linker for good
6569 # libtool support.
6570 case $host in
6571 ia64-*-hpux*)
6572   # Find out which ABI we are using.
6573   echo 'int i;' > conftest.$ac_ext
6574   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6575   (eval $ac_compile) 2>&5
6576   ac_status=$?
6577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6578   test $ac_status = 0; }; then
6579     case `/usr/bin/file conftest.$ac_objext` in
6580       *ELF-32*)
6581         HPUX_IA64_MODE="32"
6582         ;;
6583       *ELF-64*)
6584         HPUX_IA64_MODE="64"
6585         ;;
6586     esac
6587   fi
6588   rm -rf conftest*
6589   ;;
6590 *-*-irix6*)
6591   # Find out which ABI we are using.
6592   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6593   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6594   (eval $ac_compile) 2>&5
6595   ac_status=$?
6596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6597   test $ac_status = 0; }; then
6598     if test "$lt_cv_prog_gnu_ld" = yes; then
6599       case `/usr/bin/file conftest.$ac_objext` in
6600         *32-bit*)
6601           LD="${LD-ld} -melf32bsmip"
6602           ;;
6603         *N32*)
6604           LD="${LD-ld} -melf32bmipn32"
6605           ;;
6606         *64-bit*)
6607           LD="${LD-ld} -melf64bmip"
6608         ;;
6609       esac
6610     else
6611       case `/usr/bin/file conftest.$ac_objext` in
6612         *32-bit*)
6613           LD="${LD-ld} -32"
6614           ;;
6615         *N32*)
6616           LD="${LD-ld} -n32"
6617           ;;
6618         *64-bit*)
6619           LD="${LD-ld} -64"
6620           ;;
6621       esac
6622     fi
6623   fi
6624   rm -rf conftest*
6625   ;;
6626
6627 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6628 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6629   # Find out which ABI we are using.
6630   echo 'int i;' > conftest.$ac_ext
6631   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6632   (eval $ac_compile) 2>&5
6633   ac_status=$?
6634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6635   test $ac_status = 0; }; then
6636     case `/usr/bin/file conftest.o` in
6637       *32-bit*)
6638         case $host in
6639           x86_64-*kfreebsd*-gnu)
6640             LD="${LD-ld} -m elf_i386_fbsd"
6641             ;;
6642           x86_64-*linux*)
6643             LD="${LD-ld} -m elf_i386"
6644             ;;
6645           ppc64-*linux*|powerpc64-*linux*)
6646             LD="${LD-ld} -m elf32ppclinux"
6647             ;;
6648           s390x-*linux*)
6649             LD="${LD-ld} -m elf_s390"
6650             ;;
6651           sparc64-*linux*)
6652             LD="${LD-ld} -m elf32_sparc"
6653             ;;
6654         esac
6655         ;;
6656       *64-bit*)
6657         case $host in
6658           x86_64-*kfreebsd*-gnu)
6659             LD="${LD-ld} -m elf_x86_64_fbsd"
6660             ;;
6661           x86_64-*linux*)
6662             LD="${LD-ld} -m elf_x86_64"
6663             ;;
6664           ppc*-*linux*|powerpc*-*linux*)
6665             LD="${LD-ld} -m elf64ppc"
6666             ;;
6667           s390*-*linux*|s390*-*tpf*)
6668             LD="${LD-ld} -m elf64_s390"
6669             ;;
6670           sparc*-*linux*)
6671             LD="${LD-ld} -m elf64_sparc"
6672             ;;
6673         esac
6674         ;;
6675     esac
6676   fi
6677   rm -rf conftest*
6678   ;;
6679
6680 *-*-sco3.2v5*)
6681   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6682   SAVE_CFLAGS="$CFLAGS"
6683   CFLAGS="$CFLAGS -belf"
6684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6685 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6686 if ${lt_cv_cc_needs_belf+:} false; then :
6687   $as_echo_n "(cached) " >&6
6688 else
6689   ac_ext=c
6690 ac_cpp='$CPP $CPPFLAGS'
6691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6694
6695      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h.  */
6697
6698 int
6699 main ()
6700 {
6701
6702   ;
6703   return 0;
6704 }
6705 _ACEOF
6706 if ac_fn_c_try_link "$LINENO"; then :
6707   lt_cv_cc_needs_belf=yes
6708 else
6709   lt_cv_cc_needs_belf=no
6710 fi
6711 rm -f core conftest.err conftest.$ac_objext \
6712     conftest$ac_exeext conftest.$ac_ext
6713      ac_ext=c
6714 ac_cpp='$CPP $CPPFLAGS'
6715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6718
6719 fi
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6721 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6722   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6723     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6724     CFLAGS="$SAVE_CFLAGS"
6725   fi
6726   ;;
6727 *-*solaris*)
6728   # Find out which ABI we are using.
6729   echo 'int i;' > conftest.$ac_ext
6730   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6731   (eval $ac_compile) 2>&5
6732   ac_status=$?
6733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6734   test $ac_status = 0; }; then
6735     case `/usr/bin/file conftest.o` in
6736     *64-bit*)
6737       case $lt_cv_prog_gnu_ld in
6738       yes*)
6739         case $host in
6740         i?86-*-solaris*)
6741           LD="${LD-ld} -m elf_x86_64"
6742           ;;
6743         sparc*-*-solaris*)
6744           LD="${LD-ld} -m elf64_sparc"
6745           ;;
6746         esac
6747         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6748         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6749           LD="${LD-ld}_sol2"
6750         fi
6751         ;;
6752       *)
6753         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6754           LD="${LD-ld} -64"
6755         fi
6756         ;;
6757       esac
6758       ;;
6759     esac
6760   fi
6761   rm -rf conftest*
6762   ;;
6763 esac
6764
6765 need_locks="$enable_libtool_lock"
6766
6767 if test -n "$ac_tool_prefix"; then
6768   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6769 set dummy ${ac_tool_prefix}mt; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6773   $as_echo_n "(cached) " >&6
6774 else
6775   if test -n "$MANIFEST_TOOL"; then
6776   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6777 else
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 for as_dir in $PATH
6780 do
6781   IFS=$as_save_IFS
6782   test -z "$as_dir" && as_dir=.
6783     for ac_exec_ext in '' $ac_executable_extensions; do
6784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6785     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6787     break 2
6788   fi
6789 done
6790   done
6791 IFS=$as_save_IFS
6792
6793 fi
6794 fi
6795 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6796 if test -n "$MANIFEST_TOOL"; then
6797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6798 $as_echo "$MANIFEST_TOOL" >&6; }
6799 else
6800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 $as_echo "no" >&6; }
6802 fi
6803
6804
6805 fi
6806 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6807   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6808   # Extract the first word of "mt", so it can be a program name with args.
6809 set dummy mt; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 $as_echo_n "checking for $ac_word... " >&6; }
6812 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6813   $as_echo_n "(cached) " >&6
6814 else
6815   if test -n "$ac_ct_MANIFEST_TOOL"; then
6816   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6817 else
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6819 for as_dir in $PATH
6820 do
6821   IFS=$as_save_IFS
6822   test -z "$as_dir" && as_dir=.
6823     for ac_exec_ext in '' $ac_executable_extensions; do
6824   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6825     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6827     break 2
6828   fi
6829 done
6830   done
6831 IFS=$as_save_IFS
6832
6833 fi
6834 fi
6835 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6836 if test -n "$ac_ct_MANIFEST_TOOL"; then
6837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6838 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6839 else
6840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 $as_echo "no" >&6; }
6842 fi
6843
6844   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6845     MANIFEST_TOOL=":"
6846   else
6847     case $cross_compiling:$ac_tool_warned in
6848 yes:)
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6851 ac_tool_warned=yes ;;
6852 esac
6853     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6854   fi
6855 else
6856   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6857 fi
6858
6859 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6861 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6862 if ${lt_cv_path_mainfest_tool+:} false; then :
6863   $as_echo_n "(cached) " >&6
6864 else
6865   lt_cv_path_mainfest_tool=no
6866   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6867   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6868   cat conftest.err >&5
6869   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6870     lt_cv_path_mainfest_tool=yes
6871   fi
6872   rm -f conftest*
6873 fi
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6875 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6876 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6877   MANIFEST_TOOL=:
6878 fi
6879
6880
6881
6882
6883
6884
6885   case $host_os in
6886     rhapsody* | darwin*)
6887     if test -n "$ac_tool_prefix"; then
6888   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6889 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 $as_echo_n "checking for $ac_word... " >&6; }
6892 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6893   $as_echo_n "(cached) " >&6
6894 else
6895   if test -n "$DSYMUTIL"; then
6896   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6897 else
6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899 for as_dir in $PATH
6900 do
6901   IFS=$as_save_IFS
6902   test -z "$as_dir" && as_dir=.
6903     for ac_exec_ext in '' $ac_executable_extensions; do
6904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6905     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6907     break 2
6908   fi
6909 done
6910   done
6911 IFS=$as_save_IFS
6912
6913 fi
6914 fi
6915 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6916 if test -n "$DSYMUTIL"; then
6917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6918 $as_echo "$DSYMUTIL" >&6; }
6919 else
6920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921 $as_echo "no" >&6; }
6922 fi
6923
6924
6925 fi
6926 if test -z "$ac_cv_prog_DSYMUTIL"; then
6927   ac_ct_DSYMUTIL=$DSYMUTIL
6928   # Extract the first word of "dsymutil", so it can be a program name with args.
6929 set dummy dsymutil; ac_word=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931 $as_echo_n "checking for $ac_word... " >&6; }
6932 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6933   $as_echo_n "(cached) " >&6
6934 else
6935   if test -n "$ac_ct_DSYMUTIL"; then
6936   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6937 else
6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939 for as_dir in $PATH
6940 do
6941   IFS=$as_save_IFS
6942   test -z "$as_dir" && as_dir=.
6943     for ac_exec_ext in '' $ac_executable_extensions; do
6944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6945     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6947     break 2
6948   fi
6949 done
6950   done
6951 IFS=$as_save_IFS
6952
6953 fi
6954 fi
6955 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6956 if test -n "$ac_ct_DSYMUTIL"; then
6957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6958 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6959 else
6960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6961 $as_echo "no" >&6; }
6962 fi
6963
6964   if test "x$ac_ct_DSYMUTIL" = x; then
6965     DSYMUTIL=":"
6966   else
6967     case $cross_compiling:$ac_tool_warned in
6968 yes:)
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6971 ac_tool_warned=yes ;;
6972 esac
6973     DSYMUTIL=$ac_ct_DSYMUTIL
6974   fi
6975 else
6976   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6977 fi
6978
6979     if test -n "$ac_tool_prefix"; then
6980   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6981 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6983 $as_echo_n "checking for $ac_word... " >&6; }
6984 if ${ac_cv_prog_NMEDIT+:} false; then :
6985   $as_echo_n "(cached) " >&6
6986 else
6987   if test -n "$NMEDIT"; then
6988   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6989 else
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 for as_dir in $PATH
6992 do
6993   IFS=$as_save_IFS
6994   test -z "$as_dir" && as_dir=.
6995     for ac_exec_ext in '' $ac_executable_extensions; do
6996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6997     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6999     break 2
7000   fi
7001 done
7002   done
7003 IFS=$as_save_IFS
7004
7005 fi
7006 fi
7007 NMEDIT=$ac_cv_prog_NMEDIT
7008 if test -n "$NMEDIT"; then
7009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7010 $as_echo "$NMEDIT" >&6; }
7011 else
7012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7013 $as_echo "no" >&6; }
7014 fi
7015
7016
7017 fi
7018 if test -z "$ac_cv_prog_NMEDIT"; then
7019   ac_ct_NMEDIT=$NMEDIT
7020   # Extract the first word of "nmedit", so it can be a program name with args.
7021 set dummy nmedit; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7025   $as_echo_n "(cached) " >&6
7026 else
7027   if test -n "$ac_ct_NMEDIT"; then
7028   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7029 else
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031 for as_dir in $PATH
7032 do
7033   IFS=$as_save_IFS
7034   test -z "$as_dir" && as_dir=.
7035     for ac_exec_ext in '' $ac_executable_extensions; do
7036   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7037     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7039     break 2
7040   fi
7041 done
7042   done
7043 IFS=$as_save_IFS
7044
7045 fi
7046 fi
7047 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7048 if test -n "$ac_ct_NMEDIT"; then
7049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7050 $as_echo "$ac_ct_NMEDIT" >&6; }
7051 else
7052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7054 fi
7055
7056   if test "x$ac_ct_NMEDIT" = x; then
7057     NMEDIT=":"
7058   else
7059     case $cross_compiling:$ac_tool_warned in
7060 yes:)
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063 ac_tool_warned=yes ;;
7064 esac
7065     NMEDIT=$ac_ct_NMEDIT
7066   fi
7067 else
7068   NMEDIT="$ac_cv_prog_NMEDIT"
7069 fi
7070
7071     if test -n "$ac_tool_prefix"; then
7072   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7073 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7075 $as_echo_n "checking for $ac_word... " >&6; }
7076 if ${ac_cv_prog_LIPO+:} false; then :
7077   $as_echo_n "(cached) " >&6
7078 else
7079   if test -n "$LIPO"; then
7080   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7081 else
7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083 for as_dir in $PATH
7084 do
7085   IFS=$as_save_IFS
7086   test -z "$as_dir" && as_dir=.
7087     for ac_exec_ext in '' $ac_executable_extensions; do
7088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7089     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7091     break 2
7092   fi
7093 done
7094   done
7095 IFS=$as_save_IFS
7096
7097 fi
7098 fi
7099 LIPO=$ac_cv_prog_LIPO
7100 if test -n "$LIPO"; then
7101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7102 $as_echo "$LIPO" >&6; }
7103 else
7104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 $as_echo "no" >&6; }
7106 fi
7107
7108
7109 fi
7110 if test -z "$ac_cv_prog_LIPO"; then
7111   ac_ct_LIPO=$LIPO
7112   # Extract the first word of "lipo", so it can be a program name with args.
7113 set dummy lipo; ac_word=$2
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7115 $as_echo_n "checking for $ac_word... " >&6; }
7116 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7117   $as_echo_n "(cached) " >&6
7118 else
7119   if test -n "$ac_ct_LIPO"; then
7120   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7121 else
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 for as_dir in $PATH
7124 do
7125   IFS=$as_save_IFS
7126   test -z "$as_dir" && as_dir=.
7127     for ac_exec_ext in '' $ac_executable_extensions; do
7128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7129     ac_cv_prog_ac_ct_LIPO="lipo"
7130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131     break 2
7132   fi
7133 done
7134   done
7135 IFS=$as_save_IFS
7136
7137 fi
7138 fi
7139 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7140 if test -n "$ac_ct_LIPO"; then
7141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7142 $as_echo "$ac_ct_LIPO" >&6; }
7143 else
7144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 $as_echo "no" >&6; }
7146 fi
7147
7148   if test "x$ac_ct_LIPO" = x; then
7149     LIPO=":"
7150   else
7151     case $cross_compiling:$ac_tool_warned in
7152 yes:)
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7155 ac_tool_warned=yes ;;
7156 esac
7157     LIPO=$ac_ct_LIPO
7158   fi
7159 else
7160   LIPO="$ac_cv_prog_LIPO"
7161 fi
7162
7163     if test -n "$ac_tool_prefix"; then
7164   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7165 set dummy ${ac_tool_prefix}otool; ac_word=$2
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 $as_echo_n "checking for $ac_word... " >&6; }
7168 if ${ac_cv_prog_OTOOL+:} false; then :
7169   $as_echo_n "(cached) " >&6
7170 else
7171   if test -n "$OTOOL"; then
7172   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7173 else
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 for as_dir in $PATH
7176 do
7177   IFS=$as_save_IFS
7178   test -z "$as_dir" && as_dir=.
7179     for ac_exec_ext in '' $ac_executable_extensions; do
7180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7181     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7183     break 2
7184   fi
7185 done
7186   done
7187 IFS=$as_save_IFS
7188
7189 fi
7190 fi
7191 OTOOL=$ac_cv_prog_OTOOL
7192 if test -n "$OTOOL"; then
7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7194 $as_echo "$OTOOL" >&6; }
7195 else
7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 $as_echo "no" >&6; }
7198 fi
7199
7200
7201 fi
7202 if test -z "$ac_cv_prog_OTOOL"; then
7203   ac_ct_OTOOL=$OTOOL
7204   # Extract the first word of "otool", so it can be a program name with args.
7205 set dummy otool; ac_word=$2
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7207 $as_echo_n "checking for $ac_word... " >&6; }
7208 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7209   $as_echo_n "(cached) " >&6
7210 else
7211   if test -n "$ac_ct_OTOOL"; then
7212   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7213 else
7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215 for as_dir in $PATH
7216 do
7217   IFS=$as_save_IFS
7218   test -z "$as_dir" && as_dir=.
7219     for ac_exec_ext in '' $ac_executable_extensions; do
7220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7221     ac_cv_prog_ac_ct_OTOOL="otool"
7222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223     break 2
7224   fi
7225 done
7226   done
7227 IFS=$as_save_IFS
7228
7229 fi
7230 fi
7231 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7232 if test -n "$ac_ct_OTOOL"; then
7233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7234 $as_echo "$ac_ct_OTOOL" >&6; }
7235 else
7236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 $as_echo "no" >&6; }
7238 fi
7239
7240   if test "x$ac_ct_OTOOL" = x; then
7241     OTOOL=":"
7242   else
7243     case $cross_compiling:$ac_tool_warned in
7244 yes:)
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7247 ac_tool_warned=yes ;;
7248 esac
7249     OTOOL=$ac_ct_OTOOL
7250   fi
7251 else
7252   OTOOL="$ac_cv_prog_OTOOL"
7253 fi
7254
7255     if test -n "$ac_tool_prefix"; then
7256   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7257 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259 $as_echo_n "checking for $ac_word... " >&6; }
7260 if ${ac_cv_prog_OTOOL64+:} false; then :
7261   $as_echo_n "(cached) " >&6
7262 else
7263   if test -n "$OTOOL64"; then
7264   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7265 else
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 for as_dir in $PATH
7268 do
7269   IFS=$as_save_IFS
7270   test -z "$as_dir" && as_dir=.
7271     for ac_exec_ext in '' $ac_executable_extensions; do
7272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7273     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275     break 2
7276   fi
7277 done
7278   done
7279 IFS=$as_save_IFS
7280
7281 fi
7282 fi
7283 OTOOL64=$ac_cv_prog_OTOOL64
7284 if test -n "$OTOOL64"; then
7285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7286 $as_echo "$OTOOL64" >&6; }
7287 else
7288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289 $as_echo "no" >&6; }
7290 fi
7291
7292
7293 fi
7294 if test -z "$ac_cv_prog_OTOOL64"; then
7295   ac_ct_OTOOL64=$OTOOL64
7296   # Extract the first word of "otool64", so it can be a program name with args.
7297 set dummy otool64; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299 $as_echo_n "checking for $ac_word... " >&6; }
7300 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7301   $as_echo_n "(cached) " >&6
7302 else
7303   if test -n "$ac_ct_OTOOL64"; then
7304   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7305 else
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 for as_dir in $PATH
7308 do
7309   IFS=$as_save_IFS
7310   test -z "$as_dir" && as_dir=.
7311     for ac_exec_ext in '' $ac_executable_extensions; do
7312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7313     ac_cv_prog_ac_ct_OTOOL64="otool64"
7314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315     break 2
7316   fi
7317 done
7318   done
7319 IFS=$as_save_IFS
7320
7321 fi
7322 fi
7323 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7324 if test -n "$ac_ct_OTOOL64"; then
7325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7326 $as_echo "$ac_ct_OTOOL64" >&6; }
7327 else
7328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 $as_echo "no" >&6; }
7330 fi
7331
7332   if test "x$ac_ct_OTOOL64" = x; then
7333     OTOOL64=":"
7334   else
7335     case $cross_compiling:$ac_tool_warned in
7336 yes:)
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7339 ac_tool_warned=yes ;;
7340 esac
7341     OTOOL64=$ac_ct_OTOOL64
7342   fi
7343 else
7344   OTOOL64="$ac_cv_prog_OTOOL64"
7345 fi
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7374 $as_echo_n "checking for -single_module linker flag... " >&6; }
7375 if ${lt_cv_apple_cc_single_mod+:} false; then :
7376   $as_echo_n "(cached) " >&6
7377 else
7378   lt_cv_apple_cc_single_mod=no
7379       if test -z "${LT_MULTI_MODULE}"; then
7380         # By default we will add the -single_module flag. You can override
7381         # by either setting the environment variable LT_MULTI_MODULE
7382         # non-empty at configure time, or by adding -multi_module to the
7383         # link flags.
7384         rm -rf libconftest.dylib*
7385         echo "int foo(void){return 1;}" > conftest.c
7386         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7387 -dynamiclib -Wl,-single_module conftest.c" >&5
7388         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7389           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7390         _lt_result=$?
7391         # If there is a non-empty error log, and "single_module"
7392         # appears in it, assume the flag caused a linker warning
7393         if test -s conftest.err && $GREP single_module conftest.err; then
7394           cat conftest.err >&5
7395         # Otherwise, if the output was created with a 0 exit code from
7396         # the compiler, it worked.
7397         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7398           lt_cv_apple_cc_single_mod=yes
7399         else
7400           cat conftest.err >&5
7401         fi
7402         rm -rf libconftest.dylib*
7403         rm -f conftest.*
7404       fi
7405 fi
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7407 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7408
7409     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7410 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7411 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7412   $as_echo_n "(cached) " >&6
7413 else
7414   lt_cv_ld_exported_symbols_list=no
7415       save_LDFLAGS=$LDFLAGS
7416       echo "_main" > conftest.sym
7417       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7419 /* end confdefs.h.  */
7420
7421 int
7422 main ()
7423 {
7424
7425   ;
7426   return 0;
7427 }
7428 _ACEOF
7429 if ac_fn_c_try_link "$LINENO"; then :
7430   lt_cv_ld_exported_symbols_list=yes
7431 else
7432   lt_cv_ld_exported_symbols_list=no
7433 fi
7434 rm -f core conftest.err conftest.$ac_objext \
7435     conftest$ac_exeext conftest.$ac_ext
7436         LDFLAGS="$save_LDFLAGS"
7437
7438 fi
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7440 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7441
7442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7443 $as_echo_n "checking for -force_load linker flag... " >&6; }
7444 if ${lt_cv_ld_force_load+:} false; then :
7445   $as_echo_n "(cached) " >&6
7446 else
7447   lt_cv_ld_force_load=no
7448       cat > conftest.c << _LT_EOF
7449 int forced_loaded() { return 2;}
7450 _LT_EOF
7451       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7452       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7453       echo "$AR cru libconftest.a conftest.o" >&5
7454       $AR cru libconftest.a conftest.o 2>&5
7455       echo "$RANLIB libconftest.a" >&5
7456       $RANLIB libconftest.a 2>&5
7457       cat > conftest.c << _LT_EOF
7458 int main() { return 0;}
7459 _LT_EOF
7460       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7461       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7462       _lt_result=$?
7463       if test -s conftest.err && $GREP force_load conftest.err; then
7464         cat conftest.err >&5
7465       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7466         lt_cv_ld_force_load=yes
7467       else
7468         cat conftest.err >&5
7469       fi
7470         rm -f conftest.err libconftest.a conftest conftest.c
7471         rm -rf conftest.dSYM
7472
7473 fi
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7475 $as_echo "$lt_cv_ld_force_load" >&6; }
7476     case $host_os in
7477     rhapsody* | darwin1.[012])
7478       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7479     darwin1.*)
7480       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7481     darwin*) # darwin 5.x on
7482       # if running on 10.5 or later, the deployment target defaults
7483       # to the OS version, if on x86, and 10.4, the deployment
7484       # target defaults to 10.4. Don't you love it?
7485       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7486         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7487           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7488         10.[012]*)
7489           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7490         10.*)
7491           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7492       esac
7493     ;;
7494   esac
7495     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7496       _lt_dar_single_mod='$single_module'
7497     fi
7498     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7499       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7500     else
7501       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7502     fi
7503     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7504       _lt_dsymutil='~$DSYMUTIL $lib || :'
7505     else
7506       _lt_dsymutil=
7507     fi
7508     ;;
7509   esac
7510
7511 ac_ext=c
7512 ac_cpp='$CPP $CPPFLAGS'
7513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7517 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7518 # On Suns, sometimes $CPP names a directory.
7519 if test -n "$CPP" && test -d "$CPP"; then
7520   CPP=
7521 fi
7522 if test -z "$CPP"; then
7523   if ${ac_cv_prog_CPP+:} false; then :
7524   $as_echo_n "(cached) " >&6
7525 else
7526       # Double quotes because CPP needs to be expanded
7527     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7528     do
7529       ac_preproc_ok=false
7530 for ac_c_preproc_warn_flag in '' yes
7531 do
7532   # Use a header file that comes with gcc, so configuring glibc
7533   # with a fresh cross-compiler works.
7534   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7535   # <limits.h> exists even on freestanding compilers.
7536   # On the NeXT, cc -E runs the code through the compiler's parser,
7537   # not just through cpp. "Syntax error" is here to catch this case.
7538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h.  */
7540 #ifdef __STDC__
7541 # include <limits.h>
7542 #else
7543 # include <assert.h>
7544 #endif
7545                      Syntax error
7546 _ACEOF
7547 if ac_fn_c_try_cpp "$LINENO"; then :
7548
7549 else
7550   # Broken: fails on valid input.
7551 continue
7552 fi
7553 rm -f conftest.err conftest.i conftest.$ac_ext
7554
7555   # OK, works on sane cases.  Now check whether nonexistent headers
7556   # can be detected and how.
7557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h.  */
7559 #include <ac_nonexistent.h>
7560 _ACEOF
7561 if ac_fn_c_try_cpp "$LINENO"; then :
7562   # Broken: success on invalid input.
7563 continue
7564 else
7565   # Passes both tests.
7566 ac_preproc_ok=:
7567 break
7568 fi
7569 rm -f conftest.err conftest.i conftest.$ac_ext
7570
7571 done
7572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7573 rm -f conftest.i conftest.err conftest.$ac_ext
7574 if $ac_preproc_ok; then :
7575   break
7576 fi
7577
7578     done
7579     ac_cv_prog_CPP=$CPP
7580
7581 fi
7582   CPP=$ac_cv_prog_CPP
7583 else
7584   ac_cv_prog_CPP=$CPP
7585 fi
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7587 $as_echo "$CPP" >&6; }
7588 ac_preproc_ok=false
7589 for ac_c_preproc_warn_flag in '' yes
7590 do
7591   # Use a header file that comes with gcc, so configuring glibc
7592   # with a fresh cross-compiler works.
7593   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7594   # <limits.h> exists even on freestanding compilers.
7595   # On the NeXT, cc -E runs the code through the compiler's parser,
7596   # not just through cpp. "Syntax error" is here to catch this case.
7597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h.  */
7599 #ifdef __STDC__
7600 # include <limits.h>
7601 #else
7602 # include <assert.h>
7603 #endif
7604                      Syntax error
7605 _ACEOF
7606 if ac_fn_c_try_cpp "$LINENO"; then :
7607
7608 else
7609   # Broken: fails on valid input.
7610 continue
7611 fi
7612 rm -f conftest.err conftest.i conftest.$ac_ext
7613
7614   # OK, works on sane cases.  Now check whether nonexistent headers
7615   # can be detected and how.
7616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h.  */
7618 #include <ac_nonexistent.h>
7619 _ACEOF
7620 if ac_fn_c_try_cpp "$LINENO"; then :
7621   # Broken: success on invalid input.
7622 continue
7623 else
7624   # Passes both tests.
7625 ac_preproc_ok=:
7626 break
7627 fi
7628 rm -f conftest.err conftest.i conftest.$ac_ext
7629
7630 done
7631 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7632 rm -f conftest.i conftest.err conftest.$ac_ext
7633 if $ac_preproc_ok; then :
7634
7635 else
7636   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7638 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7639 See \`config.log' for more details" "$LINENO" 5; }
7640 fi
7641
7642 ac_ext=c
7643 ac_cpp='$CPP $CPPFLAGS'
7644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7647
7648
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7650 $as_echo_n "checking for ANSI C header files... " >&6; }
7651 if ${ac_cv_header_stdc+:} false; then :
7652   $as_echo_n "(cached) " >&6
7653 else
7654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7655 /* end confdefs.h.  */
7656 #include <stdlib.h>
7657 #include <stdarg.h>
7658 #include <string.h>
7659 #include <float.h>
7660
7661 int
7662 main ()
7663 {
7664
7665   ;
7666   return 0;
7667 }
7668 _ACEOF
7669 if ac_fn_c_try_compile "$LINENO"; then :
7670   ac_cv_header_stdc=yes
7671 else
7672   ac_cv_header_stdc=no
7673 fi
7674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7675
7676 if test $ac_cv_header_stdc = yes; then
7677   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h.  */
7680 #include <string.h>
7681
7682 _ACEOF
7683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7684   $EGREP "memchr" >/dev/null 2>&1; then :
7685
7686 else
7687   ac_cv_header_stdc=no
7688 fi
7689 rm -f conftest*
7690
7691 fi
7692
7693 if test $ac_cv_header_stdc = yes; then
7694   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h.  */
7697 #include <stdlib.h>
7698
7699 _ACEOF
7700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7701   $EGREP "free" >/dev/null 2>&1; then :
7702
7703 else
7704   ac_cv_header_stdc=no
7705 fi
7706 rm -f conftest*
7707
7708 fi
7709
7710 if test $ac_cv_header_stdc = yes; then
7711   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7712   if test "$cross_compiling" = yes; then :
7713   :
7714 else
7715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716 /* end confdefs.h.  */
7717 #include <ctype.h>
7718 #include <stdlib.h>
7719 #if ((' ' & 0x0FF) == 0x020)
7720 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7721 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7722 #else
7723 # define ISLOWER(c) \
7724                    (('a' <= (c) && (c) <= 'i') \
7725                      || ('j' <= (c) && (c) <= 'r') \
7726                      || ('s' <= (c) && (c) <= 'z'))
7727 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7728 #endif
7729
7730 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7731 int
7732 main ()
7733 {
7734   int i;
7735   for (i = 0; i < 256; i++)
7736     if (XOR (islower (i), ISLOWER (i))
7737         || toupper (i) != TOUPPER (i))
7738       return 2;
7739   return 0;
7740 }
7741 _ACEOF
7742 if ac_fn_c_try_run "$LINENO"; then :
7743
7744 else
7745   ac_cv_header_stdc=no
7746 fi
7747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7748   conftest.$ac_objext conftest.beam conftest.$ac_ext
7749 fi
7750
7751 fi
7752 fi
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7754 $as_echo "$ac_cv_header_stdc" >&6; }
7755 if test $ac_cv_header_stdc = yes; then
7756
7757 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7758
7759 fi
7760
7761 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7762 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7763                   inttypes.h stdint.h unistd.h
7764 do :
7765   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7766 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7767 "
7768 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7769   cat >>confdefs.h <<_ACEOF
7770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7771 _ACEOF
7772
7773 fi
7774
7775 done
7776
7777
7778 for ac_header in dlfcn.h
7779 do :
7780   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7781 "
7782 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7783   cat >>confdefs.h <<_ACEOF
7784 #define HAVE_DLFCN_H 1
7785 _ACEOF
7786
7787 fi
7788
7789 done
7790
7791
7792
7793
7794
7795 # Set options
7796
7797
7798
7799         enable_dlopen=no
7800
7801
7802
7803             # Check whether --enable-shared was given.
7804 if test "${enable_shared+set}" = set; then :
7805   enableval=$enable_shared; p=${PACKAGE-default}
7806     case $enableval in
7807     yes) enable_shared=yes ;;
7808     no) enable_shared=no ;;
7809     *)
7810       enable_shared=no
7811       # Look at the argument we got.  We use all the common list separators.
7812       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7813       for pkg in $enableval; do
7814         IFS="$lt_save_ifs"
7815         if test "X$pkg" = "X$p"; then
7816           enable_shared=yes
7817         fi
7818       done
7819       IFS="$lt_save_ifs"
7820       ;;
7821     esac
7822 else
7823   enable_shared=yes
7824 fi
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834   # Check whether --enable-static was given.
7835 if test "${enable_static+set}" = set; then :
7836   enableval=$enable_static; p=${PACKAGE-default}
7837     case $enableval in
7838     yes) enable_static=yes ;;
7839     no) enable_static=no ;;
7840     *)
7841      enable_static=no
7842       # Look at the argument we got.  We use all the common list separators.
7843       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7844       for pkg in $enableval; do
7845         IFS="$lt_save_ifs"
7846         if test "X$pkg" = "X$p"; then
7847           enable_static=yes
7848         fi
7849       done
7850       IFS="$lt_save_ifs"
7851       ;;
7852     esac
7853 else
7854   enable_static=yes
7855 fi
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866 # Check whether --with-pic was given.
7867 if test "${with_pic+set}" = set; then :
7868   withval=$with_pic; lt_p=${PACKAGE-default}
7869     case $withval in
7870     yes|no) pic_mode=$withval ;;
7871     *)
7872       pic_mode=default
7873       # Look at the argument we got.  We use all the common list separators.
7874       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7875       for lt_pkg in $withval; do
7876         IFS="$lt_save_ifs"
7877         if test "X$lt_pkg" = "X$lt_p"; then
7878           pic_mode=yes
7879         fi
7880       done
7881       IFS="$lt_save_ifs"
7882       ;;
7883     esac
7884 else
7885   pic_mode=default
7886 fi
7887
7888
7889 test -z "$pic_mode" && pic_mode=default
7890
7891
7892
7893
7894
7895
7896
7897   # Check whether --enable-fast-install was given.
7898 if test "${enable_fast_install+set}" = set; then :
7899   enableval=$enable_fast_install; p=${PACKAGE-default}
7900     case $enableval in
7901     yes) enable_fast_install=yes ;;
7902     no) enable_fast_install=no ;;
7903     *)
7904       enable_fast_install=no
7905       # Look at the argument we got.  We use all the common list separators.
7906       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7907       for pkg in $enableval; do
7908         IFS="$lt_save_ifs"
7909         if test "X$pkg" = "X$p"; then
7910           enable_fast_install=yes
7911         fi
7912       done
7913       IFS="$lt_save_ifs"
7914       ;;
7915     esac
7916 else
7917   enable_fast_install=yes
7918 fi
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930 # This can be used to rebuild libtool when needed
7931 LIBTOOL_DEPS="$ltmain"
7932
7933 # Always use our own libtool.
7934 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965 test -z "$LN_S" && LN_S="ln -s"
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980 if test -n "${ZSH_VERSION+set}" ; then
7981    setopt NO_GLOB_SUBST
7982 fi
7983
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7985 $as_echo_n "checking for objdir... " >&6; }
7986 if ${lt_cv_objdir+:} false; then :
7987   $as_echo_n "(cached) " >&6
7988 else
7989   rm -f .libs 2>/dev/null
7990 mkdir .libs 2>/dev/null
7991 if test -d .libs; then
7992   lt_cv_objdir=.libs
7993 else
7994   # MS-DOS does not allow filenames that begin with a dot.
7995   lt_cv_objdir=_libs
7996 fi
7997 rmdir .libs 2>/dev/null
7998 fi
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8000 $as_echo "$lt_cv_objdir" >&6; }
8001 objdir=$lt_cv_objdir
8002
8003
8004
8005
8006
8007 cat >>confdefs.h <<_ACEOF
8008 #define LT_OBJDIR "$lt_cv_objdir/"
8009 _ACEOF
8010
8011
8012
8013
8014 case $host_os in
8015 aix3*)
8016   # AIX sometimes has problems with the GCC collect2 program.  For some
8017   # reason, if we set the COLLECT_NAMES environment variable, the problems
8018   # vanish in a puff of smoke.
8019   if test "X${COLLECT_NAMES+set}" != Xset; then
8020     COLLECT_NAMES=
8021     export COLLECT_NAMES
8022   fi
8023   ;;
8024 esac
8025
8026 # Global variables:
8027 ofile=libtool
8028 can_build_shared=yes
8029
8030 # All known linkers require a `.a' archive for static linking (except MSVC,
8031 # which needs '.lib').
8032 libext=a
8033
8034 with_gnu_ld="$lt_cv_prog_gnu_ld"
8035
8036 old_CC="$CC"
8037 old_CFLAGS="$CFLAGS"
8038
8039 # Set sane defaults for various variables
8040 test -z "$CC" && CC=cc
8041 test -z "$LTCC" && LTCC=$CC
8042 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8043 test -z "$LD" && LD=ld
8044 test -z "$ac_objext" && ac_objext=o
8045
8046 for cc_temp in $compiler""; do
8047   case $cc_temp in
8048     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8049     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8050     \-*) ;;
8051     *) break;;
8052   esac
8053 done
8054 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8055
8056
8057 # Only perform the check for file, if the check method requires it
8058 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8059 case $deplibs_check_method in
8060 file_magic*)
8061   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8062     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8063 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8064 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8065   $as_echo_n "(cached) " >&6
8066 else
8067   case $MAGIC_CMD in
8068 [\\/*] |  ?:[\\/]*)
8069   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8070   ;;
8071 *)
8072   lt_save_MAGIC_CMD="$MAGIC_CMD"
8073   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8074   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8075   for ac_dir in $ac_dummy; do
8076     IFS="$lt_save_ifs"
8077     test -z "$ac_dir" && ac_dir=.
8078     if test -f $ac_dir/${ac_tool_prefix}file; then
8079       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8080       if test -n "$file_magic_test_file"; then
8081         case $deplibs_check_method in
8082         "file_magic "*)
8083           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8084           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8085           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8086             $EGREP "$file_magic_regex" > /dev/null; then
8087             :
8088           else
8089             cat <<_LT_EOF 1>&2
8090
8091 *** Warning: the command libtool uses to detect shared libraries,
8092 *** $file_magic_cmd, produces output that libtool cannot recognize.
8093 *** The result is that libtool may fail to recognize shared libraries
8094 *** as such.  This will affect the creation of libtool libraries that
8095 *** depend on shared libraries, but programs linked with such libtool
8096 *** libraries will work regardless of this problem.  Nevertheless, you
8097 *** may want to report the problem to your system manager and/or to
8098 *** bug-libtool@gnu.org
8099
8100 _LT_EOF
8101           fi ;;
8102         esac
8103       fi
8104       break
8105     fi
8106   done
8107   IFS="$lt_save_ifs"
8108   MAGIC_CMD="$lt_save_MAGIC_CMD"
8109   ;;
8110 esac
8111 fi
8112
8113 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8114 if test -n "$MAGIC_CMD"; then
8115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8116 $as_echo "$MAGIC_CMD" >&6; }
8117 else
8118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8119 $as_echo "no" >&6; }
8120 fi
8121
8122
8123
8124
8125
8126 if test -z "$lt_cv_path_MAGIC_CMD"; then
8127   if test -n "$ac_tool_prefix"; then
8128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8129 $as_echo_n "checking for file... " >&6; }
8130 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8131   $as_echo_n "(cached) " >&6
8132 else
8133   case $MAGIC_CMD in
8134 [\\/*] |  ?:[\\/]*)
8135   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8136   ;;
8137 *)
8138   lt_save_MAGIC_CMD="$MAGIC_CMD"
8139   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8140   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8141   for ac_dir in $ac_dummy; do
8142     IFS="$lt_save_ifs"
8143     test -z "$ac_dir" && ac_dir=.
8144     if test -f $ac_dir/file; then
8145       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8146       if test -n "$file_magic_test_file"; then
8147         case $deplibs_check_method in
8148         "file_magic "*)
8149           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8150           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8151           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8152             $EGREP "$file_magic_regex" > /dev/null; then
8153             :
8154           else
8155             cat <<_LT_EOF 1>&2
8156
8157 *** Warning: the command libtool uses to detect shared libraries,
8158 *** $file_magic_cmd, produces output that libtool cannot recognize.
8159 *** The result is that libtool may fail to recognize shared libraries
8160 *** as such.  This will affect the creation of libtool libraries that
8161 *** depend on shared libraries, but programs linked with such libtool
8162 *** libraries will work regardless of this problem.  Nevertheless, you
8163 *** may want to report the problem to your system manager and/or to
8164 *** bug-libtool@gnu.org
8165
8166 _LT_EOF
8167           fi ;;
8168         esac
8169       fi
8170       break
8171     fi
8172   done
8173   IFS="$lt_save_ifs"
8174   MAGIC_CMD="$lt_save_MAGIC_CMD"
8175   ;;
8176 esac
8177 fi
8178
8179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8180 if test -n "$MAGIC_CMD"; then
8181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8182 $as_echo "$MAGIC_CMD" >&6; }
8183 else
8184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8186 fi
8187
8188
8189   else
8190     MAGIC_CMD=:
8191   fi
8192 fi
8193
8194   fi
8195   ;;
8196 esac
8197
8198 # Use C for the default configuration in the libtool script
8199
8200 lt_save_CC="$CC"
8201 ac_ext=c
8202 ac_cpp='$CPP $CPPFLAGS'
8203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8206
8207
8208 # Source file extension for C test sources.
8209 ac_ext=c
8210
8211 # Object file extension for compiled C test sources.
8212 objext=o
8213 objext=$objext
8214
8215 # Code to be used in simple compile tests
8216 lt_simple_compile_test_code="int some_variable = 0;"
8217
8218 # Code to be used in simple link tests
8219 lt_simple_link_test_code='int main(){return(0);}'
8220
8221
8222
8223
8224
8225
8226
8227 # If no C compiler was specified, use CC.
8228 LTCC=${LTCC-"$CC"}
8229
8230 # If no C compiler flags were specified, use CFLAGS.
8231 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8232
8233 # Allow CC to be a program name with arguments.
8234 compiler=$CC
8235
8236 # Save the default compiler, since it gets overwritten when the other
8237 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8238 compiler_DEFAULT=$CC
8239
8240 # save warnings/boilerplate of simple test code
8241 ac_outfile=conftest.$ac_objext
8242 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8243 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8244 _lt_compiler_boilerplate=`cat conftest.err`
8245 $RM conftest*
8246
8247 ac_outfile=conftest.$ac_objext
8248 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8249 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8250 _lt_linker_boilerplate=`cat conftest.err`
8251 $RM -r conftest*
8252
8253
8254 ## CAVEAT EMPTOR:
8255 ## There is no encapsulation within the following macros, do not change
8256 ## the running order or otherwise move them around unless you know exactly
8257 ## what you are doing...
8258 if test -n "$compiler"; then
8259
8260 lt_prog_compiler_no_builtin_flag=
8261
8262 if test "$GCC" = yes; then
8263   case $cc_basename in
8264   nvcc*)
8265     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8266   *)
8267     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8268   esac
8269
8270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8271 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8272 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8273   $as_echo_n "(cached) " >&6
8274 else
8275   lt_cv_prog_compiler_rtti_exceptions=no
8276    ac_outfile=conftest.$ac_objext
8277    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8278    lt_compiler_flag="-fno-rtti -fno-exceptions"
8279    # Insert the option either (1) after the last *FLAGS variable, or
8280    # (2) before a word containing "conftest.", or (3) at the end.
8281    # Note that $ac_compile itself does not contain backslashes and begins
8282    # with a dollar sign (not a hyphen), so the echo should work correctly.
8283    # The option is referenced via a variable to avoid confusing sed.
8284    lt_compile=`echo "$ac_compile" | $SED \
8285    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8286    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8287    -e 's:$: $lt_compiler_flag:'`
8288    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8289    (eval "$lt_compile" 2>conftest.err)
8290    ac_status=$?
8291    cat conftest.err >&5
8292    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293    if (exit $ac_status) && test -s "$ac_outfile"; then
8294      # The compiler can only warn and ignore the option if not recognized
8295      # So say no if there are warnings other than the usual output.
8296      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8297      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8298      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8299        lt_cv_prog_compiler_rtti_exceptions=yes
8300      fi
8301    fi
8302    $RM conftest*
8303
8304 fi
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8306 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8307
8308 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8309     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8310 else
8311     :
8312 fi
8313
8314 fi
8315
8316
8317
8318
8319
8320
8321   lt_prog_compiler_wl=
8322 lt_prog_compiler_pic=
8323 lt_prog_compiler_static=
8324
8325
8326   if test "$GCC" = yes; then
8327     lt_prog_compiler_wl='-Wl,'
8328     lt_prog_compiler_static='-static'
8329
8330     case $host_os in
8331       aix*)
8332       # All AIX code is PIC.
8333       if test "$host_cpu" = ia64; then
8334         # AIX 5 now supports IA64 processor
8335         lt_prog_compiler_static='-Bstatic'
8336       fi
8337       ;;
8338
8339     amigaos*)
8340       case $host_cpu in
8341       powerpc)
8342             # see comment about AmigaOS4 .so support
8343             lt_prog_compiler_pic='-fPIC'
8344         ;;
8345       m68k)
8346             # FIXME: we need at least 68020 code to build shared libraries, but
8347             # adding the `-m68020' flag to GCC prevents building anything better,
8348             # like `-m68040'.
8349             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8350         ;;
8351       esac
8352       ;;
8353
8354     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8355       # PIC is the default for these OSes.
8356       ;;
8357
8358     mingw* | cygwin* | pw32* | os2* | cegcc*)
8359       # This hack is so that the source file can tell whether it is being
8360       # built for inclusion in a dll (and should export symbols for example).
8361       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8362       # (--disable-auto-import) libraries
8363       lt_prog_compiler_pic='-DDLL_EXPORT'
8364       ;;
8365
8366     darwin* | rhapsody*)
8367       # PIC is the default on this platform
8368       # Common symbols not allowed in MH_DYLIB files
8369       lt_prog_compiler_pic='-fno-common'
8370       ;;
8371
8372     haiku*)
8373       # PIC is the default for Haiku.
8374       # The "-static" flag exists, but is broken.
8375       lt_prog_compiler_static=
8376       ;;
8377
8378     hpux*)
8379       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8380       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8381       # sets the default TLS model and affects inlining.
8382       case $host_cpu in
8383       hppa*64*)
8384         # +Z the default
8385         ;;
8386       *)
8387         lt_prog_compiler_pic='-fPIC'
8388         ;;
8389       esac
8390       ;;
8391
8392     interix[3-9]*)
8393       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8394       # Instead, we relocate shared libraries at runtime.
8395       ;;
8396
8397     msdosdjgpp*)
8398       # Just because we use GCC doesn't mean we suddenly get shared libraries
8399       # on systems that don't support them.
8400       lt_prog_compiler_can_build_shared=no
8401       enable_shared=no
8402       ;;
8403
8404     *nto* | *qnx*)
8405       # QNX uses GNU C++, but need to define -shared option too, otherwise
8406       # it will coredump.
8407       lt_prog_compiler_pic='-fPIC -shared'
8408       ;;
8409
8410     sysv4*MP*)
8411       if test -d /usr/nec; then
8412         lt_prog_compiler_pic=-Kconform_pic
8413       fi
8414       ;;
8415
8416     *)
8417       lt_prog_compiler_pic='-fPIC'
8418       ;;
8419     esac
8420
8421     case $cc_basename in
8422     nvcc*) # Cuda Compiler Driver 2.2
8423       lt_prog_compiler_wl='-Xlinker '
8424       if test -n "$lt_prog_compiler_pic"; then
8425         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8426       fi
8427       ;;
8428     esac
8429   else
8430     # PORTME Check for flag to pass linker flags through the system compiler.
8431     case $host_os in
8432     aix*)
8433       lt_prog_compiler_wl='-Wl,'
8434       if test "$host_cpu" = ia64; then
8435         # AIX 5 now supports IA64 processor
8436         lt_prog_compiler_static='-Bstatic'
8437       else
8438         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8439       fi
8440       ;;
8441
8442     mingw* | cygwin* | pw32* | os2* | cegcc*)
8443       # This hack is so that the source file can tell whether it is being
8444       # built for inclusion in a dll (and should export symbols for example).
8445       lt_prog_compiler_pic='-DDLL_EXPORT'
8446       ;;
8447
8448     hpux9* | hpux10* | hpux11*)
8449       lt_prog_compiler_wl='-Wl,'
8450       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8451       # not for PA HP-UX.
8452       case $host_cpu in
8453       hppa*64*|ia64*)
8454         # +Z the default
8455         ;;
8456       *)
8457         lt_prog_compiler_pic='+Z'
8458         ;;
8459       esac
8460       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8461       lt_prog_compiler_static='${wl}-a ${wl}archive'
8462       ;;
8463
8464     irix5* | irix6* | nonstopux*)
8465       lt_prog_compiler_wl='-Wl,'
8466       # PIC (with -KPIC) is the default.
8467       lt_prog_compiler_static='-non_shared'
8468       ;;
8469
8470     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8471       case $cc_basename in
8472       # old Intel for x86_64 which still supported -KPIC.
8473       ecc*)
8474         lt_prog_compiler_wl='-Wl,'
8475         lt_prog_compiler_pic='-KPIC'
8476         lt_prog_compiler_static='-static'
8477         ;;
8478       # icc used to be incompatible with GCC.
8479       # ICC 10 doesn't accept -KPIC any more.
8480       icc* | ifort*)
8481         lt_prog_compiler_wl='-Wl,'
8482         lt_prog_compiler_pic='-fPIC'
8483         lt_prog_compiler_static='-static'
8484         ;;
8485       # Lahey Fortran 8.1.
8486       lf95*)
8487         lt_prog_compiler_wl='-Wl,'
8488         lt_prog_compiler_pic='--shared'
8489         lt_prog_compiler_static='--static'
8490         ;;
8491       nagfor*)
8492         # NAG Fortran compiler
8493         lt_prog_compiler_wl='-Wl,-Wl,,'
8494         lt_prog_compiler_pic='-PIC'
8495         lt_prog_compiler_static='-Bstatic'
8496         ;;
8497       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8498         # Portland Group compilers (*not* the Pentium gcc compiler,
8499         # which looks to be a dead project)
8500         lt_prog_compiler_wl='-Wl,'
8501         lt_prog_compiler_pic='-fpic'
8502         lt_prog_compiler_static='-Bstatic'
8503         ;;
8504       ccc*)
8505         lt_prog_compiler_wl='-Wl,'
8506         # All Alpha code is PIC.
8507         lt_prog_compiler_static='-non_shared'
8508         ;;
8509       xl* | bgxl* | bgf* | mpixl*)
8510         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8511         lt_prog_compiler_wl='-Wl,'
8512         lt_prog_compiler_pic='-qpic'
8513         lt_prog_compiler_static='-qstaticlink'
8514         ;;
8515       *)
8516         case `$CC -V 2>&1 | sed 5q` in
8517         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8518           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8519           lt_prog_compiler_pic='-KPIC'
8520           lt_prog_compiler_static='-Bstatic'
8521           lt_prog_compiler_wl=''
8522           ;;
8523         *Sun\ F* | *Sun*Fortran*)
8524           lt_prog_compiler_pic='-KPIC'
8525           lt_prog_compiler_static='-Bstatic'
8526           lt_prog_compiler_wl='-Qoption ld '
8527           ;;
8528         *Sun\ C*)
8529           # Sun C 5.9
8530           lt_prog_compiler_pic='-KPIC'
8531           lt_prog_compiler_static='-Bstatic'
8532           lt_prog_compiler_wl='-Wl,'
8533           ;;
8534         *Intel*\ [CF]*Compiler*)
8535           lt_prog_compiler_wl='-Wl,'
8536           lt_prog_compiler_pic='-fPIC'
8537           lt_prog_compiler_static='-static'
8538           ;;
8539         *Portland\ Group*)
8540           lt_prog_compiler_wl='-Wl,'
8541           lt_prog_compiler_pic='-fpic'
8542           lt_prog_compiler_static='-Bstatic'
8543           ;;
8544         esac
8545         ;;
8546       esac
8547       ;;
8548
8549     newsos6)
8550       lt_prog_compiler_pic='-KPIC'
8551       lt_prog_compiler_static='-Bstatic'
8552       ;;
8553
8554     *nto* | *qnx*)
8555       # QNX uses GNU C++, but need to define -shared option too, otherwise
8556       # it will coredump.
8557       lt_prog_compiler_pic='-fPIC -shared'
8558       ;;
8559
8560     osf3* | osf4* | osf5*)
8561       lt_prog_compiler_wl='-Wl,'
8562       # All OSF/1 code is PIC.
8563       lt_prog_compiler_static='-non_shared'
8564       ;;
8565
8566     rdos*)
8567       lt_prog_compiler_static='-non_shared'
8568       ;;
8569
8570     solaris*)
8571       lt_prog_compiler_pic='-KPIC'
8572       lt_prog_compiler_static='-Bstatic'
8573       case $cc_basename in
8574       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8575         lt_prog_compiler_wl='-Qoption ld ';;
8576       *)
8577         lt_prog_compiler_wl='-Wl,';;
8578       esac
8579       ;;
8580
8581     sunos4*)
8582       lt_prog_compiler_wl='-Qoption ld '
8583       lt_prog_compiler_pic='-PIC'
8584       lt_prog_compiler_static='-Bstatic'
8585       ;;
8586
8587     sysv4 | sysv4.2uw2* | sysv4.3*)
8588       lt_prog_compiler_wl='-Wl,'
8589       lt_prog_compiler_pic='-KPIC'
8590       lt_prog_compiler_static='-Bstatic'
8591       ;;
8592
8593     sysv4*MP*)
8594       if test -d /usr/nec ;then
8595         lt_prog_compiler_pic='-Kconform_pic'
8596         lt_prog_compiler_static='-Bstatic'
8597       fi
8598       ;;
8599
8600     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8601       lt_prog_compiler_wl='-Wl,'
8602       lt_prog_compiler_pic='-KPIC'
8603       lt_prog_compiler_static='-Bstatic'
8604       ;;
8605
8606     unicos*)
8607       lt_prog_compiler_wl='-Wl,'
8608       lt_prog_compiler_can_build_shared=no
8609       ;;
8610
8611     uts4*)
8612       lt_prog_compiler_pic='-pic'
8613       lt_prog_compiler_static='-Bstatic'
8614       ;;
8615
8616     *)
8617       lt_prog_compiler_can_build_shared=no
8618       ;;
8619     esac
8620   fi
8621
8622 case $host_os in
8623   # For platforms which do not support PIC, -DPIC is meaningless:
8624   *djgpp*)
8625     lt_prog_compiler_pic=
8626     ;;
8627   *)
8628     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8629     ;;
8630 esac
8631
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8633 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8634 if ${lt_cv_prog_compiler_pic+:} false; then :
8635   $as_echo_n "(cached) " >&6
8636 else
8637   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8638 fi
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8640 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8641 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8642
8643 #
8644 # Check to make sure the PIC flag actually works.
8645 #
8646 if test -n "$lt_prog_compiler_pic"; then
8647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8648 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8649 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8650   $as_echo_n "(cached) " >&6
8651 else
8652   lt_cv_prog_compiler_pic_works=no
8653    ac_outfile=conftest.$ac_objext
8654    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8655    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8656    # Insert the option either (1) after the last *FLAGS variable, or
8657    # (2) before a word containing "conftest.", or (3) at the end.
8658    # Note that $ac_compile itself does not contain backslashes and begins
8659    # with a dollar sign (not a hyphen), so the echo should work correctly.
8660    # The option is referenced via a variable to avoid confusing sed.
8661    lt_compile=`echo "$ac_compile" | $SED \
8662    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8663    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8664    -e 's:$: $lt_compiler_flag:'`
8665    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8666    (eval "$lt_compile" 2>conftest.err)
8667    ac_status=$?
8668    cat conftest.err >&5
8669    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670    if (exit $ac_status) && test -s "$ac_outfile"; then
8671      # The compiler can only warn and ignore the option if not recognized
8672      # So say no if there are warnings other than the usual output.
8673      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8674      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8675      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8676        lt_cv_prog_compiler_pic_works=yes
8677      fi
8678    fi
8679    $RM conftest*
8680
8681 fi
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8683 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8684
8685 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8686     case $lt_prog_compiler_pic in
8687      "" | " "*) ;;
8688      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8689      esac
8690 else
8691     lt_prog_compiler_pic=
8692      lt_prog_compiler_can_build_shared=no
8693 fi
8694
8695 fi
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707 #
8708 # Check to make sure the static flag actually works.
8709 #
8710 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8712 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8713 if ${lt_cv_prog_compiler_static_works+:} false; then :
8714   $as_echo_n "(cached) " >&6
8715 else
8716   lt_cv_prog_compiler_static_works=no
8717    save_LDFLAGS="$LDFLAGS"
8718    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8719    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8720    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8721      # The linker can only warn and ignore the option if not recognized
8722      # So say no if there are warnings
8723      if test -s conftest.err; then
8724        # Append any errors to the config.log.
8725        cat conftest.err 1>&5
8726        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8727        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8728        if diff conftest.exp conftest.er2 >/dev/null; then
8729          lt_cv_prog_compiler_static_works=yes
8730        fi
8731      else
8732        lt_cv_prog_compiler_static_works=yes
8733      fi
8734    fi
8735    $RM -r conftest*
8736    LDFLAGS="$save_LDFLAGS"
8737
8738 fi
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8740 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8741
8742 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8743     :
8744 else
8745     lt_prog_compiler_static=
8746 fi
8747
8748
8749
8750
8751
8752
8753
8754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8756 if ${lt_cv_prog_compiler_c_o+:} false; then :
8757   $as_echo_n "(cached) " >&6
8758 else
8759   lt_cv_prog_compiler_c_o=no
8760    $RM -r conftest 2>/dev/null
8761    mkdir conftest
8762    cd conftest
8763    mkdir out
8764    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8765
8766    lt_compiler_flag="-o out/conftest2.$ac_objext"
8767    # Insert the option either (1) after the last *FLAGS variable, or
8768    # (2) before a word containing "conftest.", or (3) at the end.
8769    # Note that $ac_compile itself does not contain backslashes and begins
8770    # with a dollar sign (not a hyphen), so the echo should work correctly.
8771    lt_compile=`echo "$ac_compile" | $SED \
8772    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8773    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8774    -e 's:$: $lt_compiler_flag:'`
8775    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8776    (eval "$lt_compile" 2>out/conftest.err)
8777    ac_status=$?
8778    cat out/conftest.err >&5
8779    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8781    then
8782      # The compiler can only warn and ignore the option if not recognized
8783      # So say no if there are warnings
8784      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8785      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8786      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8787        lt_cv_prog_compiler_c_o=yes
8788      fi
8789    fi
8790    chmod u+w . 2>&5
8791    $RM conftest*
8792    # SGI C++ compiler will create directory out/ii_files/ for
8793    # template instantiation
8794    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8795    $RM out/* && rmdir out
8796    cd ..
8797    $RM -r conftest
8798    $RM conftest*
8799
8800 fi
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8802 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8803
8804
8805
8806
8807
8808
8809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8811 if ${lt_cv_prog_compiler_c_o+:} false; then :
8812   $as_echo_n "(cached) " >&6
8813 else
8814   lt_cv_prog_compiler_c_o=no
8815    $RM -r conftest 2>/dev/null
8816    mkdir conftest
8817    cd conftest
8818    mkdir out
8819    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8820
8821    lt_compiler_flag="-o out/conftest2.$ac_objext"
8822    # Insert the option either (1) after the last *FLAGS variable, or
8823    # (2) before a word containing "conftest.", or (3) at the end.
8824    # Note that $ac_compile itself does not contain backslashes and begins
8825    # with a dollar sign (not a hyphen), so the echo should work correctly.
8826    lt_compile=`echo "$ac_compile" | $SED \
8827    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8828    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8829    -e 's:$: $lt_compiler_flag:'`
8830    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8831    (eval "$lt_compile" 2>out/conftest.err)
8832    ac_status=$?
8833    cat out/conftest.err >&5
8834    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8836    then
8837      # The compiler can only warn and ignore the option if not recognized
8838      # So say no if there are warnings
8839      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8840      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8841      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8842        lt_cv_prog_compiler_c_o=yes
8843      fi
8844    fi
8845    chmod u+w . 2>&5
8846    $RM conftest*
8847    # SGI C++ compiler will create directory out/ii_files/ for
8848    # template instantiation
8849    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8850    $RM out/* && rmdir out
8851    cd ..
8852    $RM -r conftest
8853    $RM conftest*
8854
8855 fi
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8857 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8858
8859
8860
8861
8862 hard_links="nottested"
8863 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8864   # do not overwrite the value of need_locks provided by the user
8865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8866 $as_echo_n "checking if we can lock with hard links... " >&6; }
8867   hard_links=yes
8868   $RM conftest*
8869   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8870   touch conftest.a
8871   ln conftest.a conftest.b 2>&5 || hard_links=no
8872   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8874 $as_echo "$hard_links" >&6; }
8875   if test "$hard_links" = no; then
8876     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8877 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8878     need_locks=warn
8879   fi
8880 else
8881   need_locks=no
8882 fi
8883
8884
8885
8886
8887
8888
8889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8890 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8891
8892   runpath_var=
8893   allow_undefined_flag=
8894   always_export_symbols=no
8895   archive_cmds=
8896   archive_expsym_cmds=
8897   compiler_needs_object=no
8898   enable_shared_with_static_runtimes=no
8899   export_dynamic_flag_spec=
8900   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8901   hardcode_automatic=no
8902   hardcode_direct=no
8903   hardcode_direct_absolute=no
8904   hardcode_libdir_flag_spec=
8905   hardcode_libdir_separator=
8906   hardcode_minus_L=no
8907   hardcode_shlibpath_var=unsupported
8908   inherit_rpath=no
8909   link_all_deplibs=unknown
8910   module_cmds=
8911   module_expsym_cmds=
8912   old_archive_from_new_cmds=
8913   old_archive_from_expsyms_cmds=
8914   thread_safe_flag_spec=
8915   whole_archive_flag_spec=
8916   # include_expsyms should be a list of space-separated symbols to be *always*
8917   # included in the symbol list
8918   include_expsyms=
8919   # exclude_expsyms can be an extended regexp of symbols to exclude
8920   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8921   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8922   # as well as any symbol that contains `d'.
8923   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8924   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8925   # platforms (ab)use it in PIC code, but their linkers get confused if
8926   # the symbol is explicitly referenced.  Since portable code cannot
8927   # rely on this symbol name, it's probably fine to never include it in
8928   # preloaded symbol tables.
8929   # Exclude shared library initialization/finalization symbols.
8930   extract_expsyms_cmds=
8931
8932   case $host_os in
8933   cygwin* | mingw* | pw32* | cegcc*)
8934     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8935     # When not using gcc, we currently assume that we are using
8936     # Microsoft Visual C++.
8937     if test "$GCC" != yes; then
8938       with_gnu_ld=no
8939     fi
8940     ;;
8941   interix*)
8942     # we just hope/assume this is gcc and not c89 (= MSVC++)
8943     with_gnu_ld=yes
8944     ;;
8945   openbsd*)
8946     with_gnu_ld=no
8947     ;;
8948   linux* | k*bsd*-gnu | gnu*)
8949     link_all_deplibs=no
8950     ;;
8951   esac
8952
8953   ld_shlibs=yes
8954
8955   # On some targets, GNU ld is compatible enough with the native linker
8956   # that we're better off using the native interface for both.
8957   lt_use_gnu_ld_interface=no
8958   if test "$with_gnu_ld" = yes; then
8959     case $host_os in
8960       aix*)
8961         # The AIX port of GNU ld has always aspired to compatibility
8962         # with the native linker.  However, as the warning in the GNU ld
8963         # block says, versions before 2.19.5* couldn't really create working
8964         # shared libraries, regardless of the interface used.
8965         case `$LD -v 2>&1` in
8966           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8967           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8968           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8969           *)
8970             lt_use_gnu_ld_interface=yes
8971             ;;
8972         esac
8973         ;;
8974       *)
8975         lt_use_gnu_ld_interface=yes
8976         ;;
8977     esac
8978   fi
8979
8980   if test "$lt_use_gnu_ld_interface" = yes; then
8981     # If archive_cmds runs LD, not CC, wlarc should be empty
8982     wlarc='${wl}'
8983
8984     # Set some defaults for GNU ld with shared library support. These
8985     # are reset later if shared libraries are not supported. Putting them
8986     # here allows them to be overridden if necessary.
8987     runpath_var=LD_RUN_PATH
8988     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8989     export_dynamic_flag_spec='${wl}--export-dynamic'
8990     # ancient GNU ld didn't support --whole-archive et. al.
8991     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8992       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8993     else
8994       whole_archive_flag_spec=
8995     fi
8996     supports_anon_versioning=no
8997     case `$LD -v 2>&1` in
8998       *GNU\ gold*) supports_anon_versioning=yes ;;
8999       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9000       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9001       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9002       *\ 2.11.*) ;; # other 2.11 versions
9003       *) supports_anon_versioning=yes ;;
9004     esac
9005
9006     # See if GNU ld supports shared libraries.
9007     case $host_os in
9008     aix[3-9]*)
9009       # On AIX/PPC, the GNU linker is very broken
9010       if test "$host_cpu" != ia64; then
9011         ld_shlibs=no
9012         cat <<_LT_EOF 1>&2
9013
9014 *** Warning: the GNU linker, at least up to release 2.19, is reported
9015 *** to be unable to reliably create shared libraries on AIX.
9016 *** Therefore, libtool is disabling shared libraries support.  If you
9017 *** really care for shared libraries, you may want to install binutils
9018 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9019 *** You will then need to restart the configuration process.
9020
9021 _LT_EOF
9022       fi
9023       ;;
9024
9025     amigaos*)
9026       case $host_cpu in
9027       powerpc)
9028             # see comment about AmigaOS4 .so support
9029             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9030             archive_expsym_cmds=''
9031         ;;
9032       m68k)
9033             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)'
9034             hardcode_libdir_flag_spec='-L$libdir'
9035             hardcode_minus_L=yes
9036         ;;
9037       esac
9038       ;;
9039
9040     beos*)
9041       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9042         allow_undefined_flag=unsupported
9043         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9044         # support --undefined.  This deserves some investigation.  FIXME
9045         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9046       else
9047         ld_shlibs=no
9048       fi
9049       ;;
9050
9051     cygwin* | mingw* | pw32* | cegcc*)
9052       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9053       # as there is no search path for DLLs.
9054       hardcode_libdir_flag_spec='-L$libdir'
9055       export_dynamic_flag_spec='${wl}--export-all-symbols'
9056       allow_undefined_flag=unsupported
9057       always_export_symbols=no
9058       enable_shared_with_static_runtimes=yes
9059       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'
9060       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9061
9062       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9063         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9064         # If the export-symbols file already is a .def file (1st line
9065         # is EXPORTS), use it as is; otherwise, prepend...
9066         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9067           cp $export_symbols $output_objdir/$soname.def;
9068         else
9069           echo EXPORTS > $output_objdir/$soname.def;
9070           cat $export_symbols >> $output_objdir/$soname.def;
9071         fi~
9072         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9073       else
9074         ld_shlibs=no
9075       fi
9076       ;;
9077
9078     haiku*)
9079       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9080       link_all_deplibs=yes
9081       ;;
9082
9083     interix[3-9]*)
9084       hardcode_direct=no
9085       hardcode_shlibpath_var=no
9086       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9087       export_dynamic_flag_spec='${wl}-E'
9088       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9089       # Instead, shared libraries are loaded at an image base (0x10000000 by
9090       # default) and relocated if they conflict, which is a slow very memory
9091       # consuming and fragmenting process.  To avoid this, we pick a random,
9092       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9093       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9094       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9095       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'
9096       ;;
9097
9098     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9099       tmp_diet=no
9100       if test "$host_os" = linux-dietlibc; then
9101         case $cc_basename in
9102           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9103         esac
9104       fi
9105       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9106          && test "$tmp_diet" = no
9107       then
9108         tmp_addflag=' $pic_flag'
9109         tmp_sharedflag='-shared'
9110         case $cc_basename,$host_cpu in
9111         pgcc*)                          # Portland Group C compiler
9112           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'
9113           tmp_addflag=' $pic_flag'
9114           ;;
9115         pgf77* | pgf90* | pgf95* | pgfortran*)
9116                                         # Portland Group f77 and f90 compilers
9117           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'
9118           tmp_addflag=' $pic_flag -Mnomain' ;;
9119         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9120           tmp_addflag=' -i_dynamic' ;;
9121         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9122           tmp_addflag=' -i_dynamic -nofor_main' ;;
9123         ifc* | ifort*)                  # Intel Fortran compiler
9124           tmp_addflag=' -nofor_main' ;;
9125         lf95*)                          # Lahey Fortran 8.1
9126           whole_archive_flag_spec=
9127           tmp_sharedflag='--shared' ;;
9128         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9129           tmp_sharedflag='-qmkshrobj'
9130           tmp_addflag= ;;
9131         nvcc*)  # Cuda Compiler Driver 2.2
9132           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'
9133           compiler_needs_object=yes
9134           ;;
9135         esac
9136         case `$CC -V 2>&1 | sed 5q` in
9137         *Sun\ C*)                       # Sun C 5.9
9138           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'
9139           compiler_needs_object=yes
9140           tmp_sharedflag='-G' ;;
9141         *Sun\ F*)                       # Sun Fortran 8.3
9142           tmp_sharedflag='-G' ;;
9143         esac
9144         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9145
9146         if test "x$supports_anon_versioning" = xyes; then
9147           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9148             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9149             echo "local: *; };" >> $output_objdir/$libname.ver~
9150             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9151         fi
9152
9153         case $cc_basename in
9154         xlf* | bgf* | bgxlf* | mpixlf*)
9155           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9156           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9157           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9158           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9159           if test "x$supports_anon_versioning" = xyes; then
9160             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9161               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9162               echo "local: *; };" >> $output_objdir/$libname.ver~
9163               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9164           fi
9165           ;;
9166         esac
9167       else
9168         ld_shlibs=no
9169       fi
9170       ;;
9171
9172     netbsd* | netbsdelf*-gnu)
9173       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9174         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9175         wlarc=
9176       else
9177         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9179       fi
9180       ;;
9181
9182     solaris*)
9183       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9184         ld_shlibs=no
9185         cat <<_LT_EOF 1>&2
9186
9187 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9188 *** create shared libraries on Solaris systems.  Therefore, libtool
9189 *** is disabling shared libraries support.  We urge you to upgrade GNU
9190 *** binutils to release 2.9.1 or newer.  Another option is to modify
9191 *** your PATH or compiler configuration so that the native linker is
9192 *** used, and then restart.
9193
9194 _LT_EOF
9195       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9196         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9197         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9198       else
9199         ld_shlibs=no
9200       fi
9201       ;;
9202
9203     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9204       case `$LD -v 2>&1` in
9205         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9206         ld_shlibs=no
9207         cat <<_LT_EOF 1>&2
9208
9209 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9210 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9211 *** is disabling shared libraries support.  We urge you to upgrade GNU
9212 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9213 *** your PATH or compiler configuration so that the native linker is
9214 *** used, and then restart.
9215
9216 _LT_EOF
9217         ;;
9218         *)
9219           # For security reasons, it is highly recommended that you always
9220           # use absolute paths for naming shared libraries, and exclude the
9221           # DT_RUNPATH tag from executables and libraries.  But doing so
9222           # requires that you compile everything twice, which is a pain.
9223           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9224             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9225             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9227           else
9228             ld_shlibs=no
9229           fi
9230         ;;
9231       esac
9232       ;;
9233
9234     sunos4*)
9235       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9236       wlarc=
9237       hardcode_direct=yes
9238       hardcode_shlibpath_var=no
9239       ;;
9240
9241     *)
9242       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9243         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9244         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9245       else
9246         ld_shlibs=no
9247       fi
9248       ;;
9249     esac
9250
9251     if test "$ld_shlibs" = no; then
9252       runpath_var=
9253       hardcode_libdir_flag_spec=
9254       export_dynamic_flag_spec=
9255       whole_archive_flag_spec=
9256     fi
9257   else
9258     # PORTME fill in a description of your system's linker (not GNU ld)
9259     case $host_os in
9260     aix3*)
9261       allow_undefined_flag=unsupported
9262       always_export_symbols=yes
9263       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'
9264       # Note: this linker hardcodes the directories in LIBPATH if there
9265       # are no directories specified by -L.
9266       hardcode_minus_L=yes
9267       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9268         # Neither direct hardcoding nor static linking is supported with a
9269         # broken collect2.
9270         hardcode_direct=unsupported
9271       fi
9272       ;;
9273
9274     aix[4-9]*)
9275       if test "$host_cpu" = ia64; then
9276         # On IA64, the linker does run time linking by default, so we don't
9277         # have to do anything special.
9278         aix_use_runtimelinking=no
9279         exp_sym_flag='-Bexport'
9280         no_entry_flag=""
9281       else
9282         # If we're using GNU nm, then we don't want the "-C" option.
9283         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9284         # Also, AIX nm treats weak defined symbols like other global
9285         # defined symbols, whereas GNU nm marks them as "W".
9286         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9287           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'
9288         else
9289           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'
9290         fi
9291         aix_use_runtimelinking=no
9292
9293         # Test if we are trying to use run time linking or normal
9294         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9295         # need to do runtime linking.
9296         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9297           for ld_flag in $LDFLAGS; do
9298           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9299             aix_use_runtimelinking=yes
9300             break
9301           fi
9302           done
9303           ;;
9304         esac
9305
9306         exp_sym_flag='-bexport'
9307         no_entry_flag='-bnoentry'
9308       fi
9309
9310       # When large executables or shared objects are built, AIX ld can
9311       # have problems creating the table of contents.  If linking a library
9312       # or program results in "error TOC overflow" add -mminimal-toc to
9313       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9314       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9315
9316       archive_cmds=''
9317       hardcode_direct=yes
9318       hardcode_direct_absolute=yes
9319       hardcode_libdir_separator=':'
9320       link_all_deplibs=yes
9321       file_list_spec='${wl}-f,'
9322
9323       if test "$GCC" = yes; then
9324         case $host_os in aix4.[012]|aix4.[012].*)
9325         # We only want to do this on AIX 4.2 and lower, the check
9326         # below for broken collect2 doesn't work under 4.3+
9327           collect2name=`${CC} -print-prog-name=collect2`
9328           if test -f "$collect2name" &&
9329            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9330           then
9331           # We have reworked collect2
9332           :
9333           else
9334           # We have old collect2
9335           hardcode_direct=unsupported
9336           # It fails to find uninstalled libraries when the uninstalled
9337           # path is not listed in the libpath.  Setting hardcode_minus_L
9338           # to unsupported forces relinking
9339           hardcode_minus_L=yes
9340           hardcode_libdir_flag_spec='-L$libdir'
9341           hardcode_libdir_separator=
9342           fi
9343           ;;
9344         esac
9345         shared_flag='-shared'
9346         if test "$aix_use_runtimelinking" = yes; then
9347           shared_flag="$shared_flag "'${wl}-G'
9348         fi
9349         link_all_deplibs=no
9350       else
9351         # not using gcc
9352         if test "$host_cpu" = ia64; then
9353         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9354         # chokes on -Wl,-G. The following line is correct:
9355           shared_flag='-G'
9356         else
9357           if test "$aix_use_runtimelinking" = yes; then
9358             shared_flag='${wl}-G'
9359           else
9360             shared_flag='${wl}-bM:SRE'
9361           fi
9362         fi
9363       fi
9364
9365       export_dynamic_flag_spec='${wl}-bexpall'
9366       # It seems that -bexpall does not export symbols beginning with
9367       # underscore (_), so it is better to generate a list of symbols to export.
9368       always_export_symbols=yes
9369       if test "$aix_use_runtimelinking" = yes; then
9370         # Warning - without using the other runtime loading flags (-brtl),
9371         # -berok will link without error, but may produce a broken library.
9372         allow_undefined_flag='-berok'
9373         # Determine the default libpath from the value encoded in an
9374         # empty executable.
9375         if test "${lt_cv_aix_libpath+set}" = set; then
9376   aix_libpath=$lt_cv_aix_libpath
9377 else
9378   if ${lt_cv_aix_libpath_+:} false; then :
9379   $as_echo_n "(cached) " >&6
9380 else
9381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h.  */
9383
9384 int
9385 main ()
9386 {
9387
9388   ;
9389   return 0;
9390 }
9391 _ACEOF
9392 if ac_fn_c_try_link "$LINENO"; then :
9393
9394   lt_aix_libpath_sed='
9395       /Import File Strings/,/^$/ {
9396           /^0/ {
9397               s/^0  *\([^ ]*\) *$/\1/
9398               p
9399           }
9400       }'
9401   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9402   # Check for a 64-bit object if we didn't find anything.
9403   if test -z "$lt_cv_aix_libpath_"; then
9404     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9405   fi
9406 fi
9407 rm -f core conftest.err conftest.$ac_objext \
9408     conftest$ac_exeext conftest.$ac_ext
9409   if test -z "$lt_cv_aix_libpath_"; then
9410     lt_cv_aix_libpath_="/usr/lib:/lib"
9411   fi
9412
9413 fi
9414
9415   aix_libpath=$lt_cv_aix_libpath_
9416 fi
9417
9418         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9419         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"
9420       else
9421         if test "$host_cpu" = ia64; then
9422           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9423           allow_undefined_flag="-z nodefs"
9424           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"
9425         else
9426          # Determine the default libpath from the value encoded in an
9427          # empty executable.
9428          if test "${lt_cv_aix_libpath+set}" = set; then
9429   aix_libpath=$lt_cv_aix_libpath
9430 else
9431   if ${lt_cv_aix_libpath_+:} false; then :
9432   $as_echo_n "(cached) " >&6
9433 else
9434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9435 /* end confdefs.h.  */
9436
9437 int
9438 main ()
9439 {
9440
9441   ;
9442   return 0;
9443 }
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446
9447   lt_aix_libpath_sed='
9448       /Import File Strings/,/^$/ {
9449           /^0/ {
9450               s/^0  *\([^ ]*\) *$/\1/
9451               p
9452           }
9453       }'
9454   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9455   # Check for a 64-bit object if we didn't find anything.
9456   if test -z "$lt_cv_aix_libpath_"; then
9457     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9458   fi
9459 fi
9460 rm -f core conftest.err conftest.$ac_objext \
9461     conftest$ac_exeext conftest.$ac_ext
9462   if test -z "$lt_cv_aix_libpath_"; then
9463     lt_cv_aix_libpath_="/usr/lib:/lib"
9464   fi
9465
9466 fi
9467
9468   aix_libpath=$lt_cv_aix_libpath_
9469 fi
9470
9471          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9472           # Warning - without using the other run time loading flags,
9473           # -berok will link without error, but may produce a broken library.
9474           no_undefined_flag=' ${wl}-bernotok'
9475           allow_undefined_flag=' ${wl}-berok'
9476           if test "$with_gnu_ld" = yes; then
9477             # We only use this code for GNU lds that support --whole-archive.
9478             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9479           else
9480             # Exported symbols can be pulled into shared objects from archives
9481             whole_archive_flag_spec='$convenience'
9482           fi
9483           archive_cmds_need_lc=yes
9484           # This is similar to how AIX traditionally builds its shared libraries.
9485           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'
9486         fi
9487       fi
9488       ;;
9489
9490     amigaos*)
9491       case $host_cpu in
9492       powerpc)
9493             # see comment about AmigaOS4 .so support
9494             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9495             archive_expsym_cmds=''
9496         ;;
9497       m68k)
9498             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)'
9499             hardcode_libdir_flag_spec='-L$libdir'
9500             hardcode_minus_L=yes
9501         ;;
9502       esac
9503       ;;
9504
9505     bsdi[45]*)
9506       export_dynamic_flag_spec=-rdynamic
9507       ;;
9508
9509     cygwin* | mingw* | pw32* | cegcc*)
9510       # When not using gcc, we currently assume that we are using
9511       # Microsoft Visual C++.
9512       # hardcode_libdir_flag_spec is actually meaningless, as there is
9513       # no search path for DLLs.
9514       case $cc_basename in
9515       cl*)
9516         # Native MSVC
9517         hardcode_libdir_flag_spec=' '
9518         allow_undefined_flag=unsupported
9519         always_export_symbols=yes
9520         file_list_spec='@'
9521         # Tell ltmain to make .lib files, not .a files.
9522         libext=lib
9523         # Tell ltmain to make .dll files, not .so files.
9524         shrext_cmds=".dll"
9525         # FIXME: Setting linknames here is a bad hack.
9526         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9527         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9528             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9529           else
9530             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9531           fi~
9532           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9533           linknames='
9534         # The linker will not automatically build a static lib if we build a DLL.
9535         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9536         enable_shared_with_static_runtimes=yes
9537         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9538         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9539         # Don't use ranlib
9540         old_postinstall_cmds='chmod 644 $oldlib'
9541         postlink_cmds='lt_outputfile="@OUTPUT@"~
9542           lt_tool_outputfile="@TOOL_OUTPUT@"~
9543           case $lt_outputfile in
9544             *.exe|*.EXE) ;;
9545             *)
9546               lt_outputfile="$lt_outputfile.exe"
9547               lt_tool_outputfile="$lt_tool_outputfile.exe"
9548               ;;
9549           esac~
9550           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9551             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9552             $RM "$lt_outputfile.manifest";
9553           fi'
9554         ;;
9555       *)
9556         # Assume MSVC wrapper
9557         hardcode_libdir_flag_spec=' '
9558         allow_undefined_flag=unsupported
9559         # Tell ltmain to make .lib files, not .a files.
9560         libext=lib
9561         # Tell ltmain to make .dll files, not .so files.
9562         shrext_cmds=".dll"
9563         # FIXME: Setting linknames here is a bad hack.
9564         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9565         # The linker will automatically build a .lib file if we build a DLL.
9566         old_archive_from_new_cmds='true'
9567         # FIXME: Should let the user specify the lib program.
9568         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9569         enable_shared_with_static_runtimes=yes
9570         ;;
9571       esac
9572       ;;
9573
9574     darwin* | rhapsody*)
9575
9576
9577   archive_cmds_need_lc=no
9578   hardcode_direct=no
9579   hardcode_automatic=yes
9580   hardcode_shlibpath_var=unsupported
9581   if test "$lt_cv_ld_force_load" = "yes"; then
9582     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\"`'
9583
9584   else
9585     whole_archive_flag_spec=''
9586   fi
9587   link_all_deplibs=yes
9588   allow_undefined_flag="$_lt_dar_allow_undefined"
9589   case $cc_basename in
9590      ifort*) _lt_dar_can_shared=yes ;;
9591      *) _lt_dar_can_shared=$GCC ;;
9592   esac
9593   if test "$_lt_dar_can_shared" = "yes"; then
9594     output_verbose_link_cmd=func_echo_all
9595     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9596     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9597     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}"
9598     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}"
9599
9600   else
9601   ld_shlibs=no
9602   fi
9603
9604       ;;
9605
9606     dgux*)
9607       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9608       hardcode_libdir_flag_spec='-L$libdir'
9609       hardcode_shlibpath_var=no
9610       ;;
9611
9612     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9613     # support.  Future versions do this automatically, but an explicit c++rt0.o
9614     # does not break anything, and helps significantly (at the cost of a little
9615     # extra space).
9616     freebsd2.2*)
9617       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9618       hardcode_libdir_flag_spec='-R$libdir'
9619       hardcode_direct=yes
9620       hardcode_shlibpath_var=no
9621       ;;
9622
9623     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9624     freebsd2.*)
9625       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9626       hardcode_direct=yes
9627       hardcode_minus_L=yes
9628       hardcode_shlibpath_var=no
9629       ;;
9630
9631     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9632     freebsd* | dragonfly*)
9633       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9634       hardcode_libdir_flag_spec='-R$libdir'
9635       hardcode_direct=yes
9636       hardcode_shlibpath_var=no
9637       ;;
9638
9639     hpux9*)
9640       if test "$GCC" = yes; then
9641         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'
9642       else
9643         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'
9644       fi
9645       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9646       hardcode_libdir_separator=:
9647       hardcode_direct=yes
9648
9649       # hardcode_minus_L: Not really in the search PATH,
9650       # but as the default location of the library.
9651       hardcode_minus_L=yes
9652       export_dynamic_flag_spec='${wl}-E'
9653       ;;
9654
9655     hpux10*)
9656       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9657         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9658       else
9659         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9660       fi
9661       if test "$with_gnu_ld" = no; then
9662         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9663         hardcode_libdir_separator=:
9664         hardcode_direct=yes
9665         hardcode_direct_absolute=yes
9666         export_dynamic_flag_spec='${wl}-E'
9667         # hardcode_minus_L: Not really in the search PATH,
9668         # but as the default location of the library.
9669         hardcode_minus_L=yes
9670       fi
9671       ;;
9672
9673     hpux11*)
9674       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9675         case $host_cpu in
9676         hppa*64*)
9677           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9678           ;;
9679         ia64*)
9680           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9681           ;;
9682         *)
9683           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9684           ;;
9685         esac
9686       else
9687         case $host_cpu in
9688         hppa*64*)
9689           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9690           ;;
9691         ia64*)
9692           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9693           ;;
9694         *)
9695
9696           # Older versions of the 11.00 compiler do not understand -b yet
9697           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9698           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9699 $as_echo_n "checking if $CC understands -b... " >&6; }
9700 if ${lt_cv_prog_compiler__b+:} false; then :
9701   $as_echo_n "(cached) " >&6
9702 else
9703   lt_cv_prog_compiler__b=no
9704    save_LDFLAGS="$LDFLAGS"
9705    LDFLAGS="$LDFLAGS -b"
9706    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9707    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9708      # The linker can only warn and ignore the option if not recognized
9709      # So say no if there are warnings
9710      if test -s conftest.err; then
9711        # Append any errors to the config.log.
9712        cat conftest.err 1>&5
9713        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9714        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9715        if diff conftest.exp conftest.er2 >/dev/null; then
9716          lt_cv_prog_compiler__b=yes
9717        fi
9718      else
9719        lt_cv_prog_compiler__b=yes
9720      fi
9721    fi
9722    $RM -r conftest*
9723    LDFLAGS="$save_LDFLAGS"
9724
9725 fi
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9727 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9728
9729 if test x"$lt_cv_prog_compiler__b" = xyes; then
9730     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9731 else
9732     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9733 fi
9734
9735           ;;
9736         esac
9737       fi
9738       if test "$with_gnu_ld" = no; then
9739         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9740         hardcode_libdir_separator=:
9741
9742         case $host_cpu in
9743         hppa*64*|ia64*)
9744           hardcode_direct=no
9745           hardcode_shlibpath_var=no
9746           ;;
9747         *)
9748           hardcode_direct=yes
9749           hardcode_direct_absolute=yes
9750           export_dynamic_flag_spec='${wl}-E'
9751
9752           # hardcode_minus_L: Not really in the search PATH,
9753           # but as the default location of the library.
9754           hardcode_minus_L=yes
9755           ;;
9756         esac
9757       fi
9758       ;;
9759
9760     irix5* | irix6* | nonstopux*)
9761       if test "$GCC" = yes; then
9762         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'
9763         # Try to use the -exported_symbol ld option, if it does not
9764         # work, assume that -exports_file does not work either and
9765         # implicitly export all symbols.
9766         # This should be the same for all languages, so no per-tag cache variable.
9767         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9768 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9769 if ${lt_cv_irix_exported_symbol+:} false; then :
9770   $as_echo_n "(cached) " >&6
9771 else
9772   save_LDFLAGS="$LDFLAGS"
9773            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9774            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h.  */
9776 int foo (void) { return 0; }
9777 _ACEOF
9778 if ac_fn_c_try_link "$LINENO"; then :
9779   lt_cv_irix_exported_symbol=yes
9780 else
9781   lt_cv_irix_exported_symbol=no
9782 fi
9783 rm -f core conftest.err conftest.$ac_objext \
9784     conftest$ac_exeext conftest.$ac_ext
9785            LDFLAGS="$save_LDFLAGS"
9786 fi
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9788 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9789         if test "$lt_cv_irix_exported_symbol" = yes; then
9790           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'
9791         fi
9792       else
9793         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'
9794         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'
9795       fi
9796       archive_cmds_need_lc='no'
9797       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9798       hardcode_libdir_separator=:
9799       inherit_rpath=yes
9800       link_all_deplibs=yes
9801       ;;
9802
9803     netbsd* | netbsdelf*-gnu)
9804       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9805         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9806       else
9807         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9808       fi
9809       hardcode_libdir_flag_spec='-R$libdir'
9810       hardcode_direct=yes
9811       hardcode_shlibpath_var=no
9812       ;;
9813
9814     newsos6)
9815       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9816       hardcode_direct=yes
9817       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9818       hardcode_libdir_separator=:
9819       hardcode_shlibpath_var=no
9820       ;;
9821
9822     *nto* | *qnx*)
9823       ;;
9824
9825     openbsd*)
9826       if test -f /usr/libexec/ld.so; then
9827         hardcode_direct=yes
9828         hardcode_shlibpath_var=no
9829         hardcode_direct_absolute=yes
9830         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9831           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9832           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9833           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9834           export_dynamic_flag_spec='${wl}-E'
9835         else
9836           case $host_os in
9837            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9838              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9839              hardcode_libdir_flag_spec='-R$libdir'
9840              ;;
9841            *)
9842              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9843              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9844              ;;
9845           esac
9846         fi
9847       else
9848         ld_shlibs=no
9849       fi
9850       ;;
9851
9852     os2*)
9853       hardcode_libdir_flag_spec='-L$libdir'
9854       hardcode_minus_L=yes
9855       allow_undefined_flag=unsupported
9856       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'
9857       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9858       ;;
9859
9860     osf3*)
9861       if test "$GCC" = yes; then
9862         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9863         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'
9864       else
9865         allow_undefined_flag=' -expect_unresolved \*'
9866         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'
9867       fi
9868       archive_cmds_need_lc='no'
9869       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870       hardcode_libdir_separator=:
9871       ;;
9872
9873     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9874       if test "$GCC" = yes; then
9875         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9876         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'
9877         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9878       else
9879         allow_undefined_flag=' -expect_unresolved \*'
9880         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'
9881         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~
9882         $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'
9883
9884         # Both c and cxx compiler support -rpath directly
9885         hardcode_libdir_flag_spec='-rpath $libdir'
9886       fi
9887       archive_cmds_need_lc='no'
9888       hardcode_libdir_separator=:
9889       ;;
9890
9891     solaris*)
9892       no_undefined_flag=' -z defs'
9893       if test "$GCC" = yes; then
9894         wlarc='${wl}'
9895         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9896         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9897           $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'
9898       else
9899         case `$CC -V 2>&1` in
9900         *"Compilers 5.0"*)
9901           wlarc=''
9902           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9903           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9904           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9905           ;;
9906         *)
9907           wlarc='${wl}'
9908           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9909           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9910           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9911           ;;
9912         esac
9913       fi
9914       hardcode_libdir_flag_spec='-R$libdir'
9915       hardcode_shlibpath_var=no
9916       case $host_os in
9917       solaris2.[0-5] | solaris2.[0-5].*) ;;
9918       *)
9919         # The compiler driver will combine and reorder linker options,
9920         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9921         # but is careful enough not to reorder.
9922         # Supported since Solaris 2.6 (maybe 2.5.1?)
9923         if test "$GCC" = yes; then
9924           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9925         else
9926           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9927         fi
9928         ;;
9929       esac
9930       link_all_deplibs=yes
9931       ;;
9932
9933     sunos4*)
9934       if test "x$host_vendor" = xsequent; then
9935         # Use $CC to link under sequent, because it throws in some extra .o
9936         # files that make .init and .fini sections work.
9937         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9938       else
9939         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9940       fi
9941       hardcode_libdir_flag_spec='-L$libdir'
9942       hardcode_direct=yes
9943       hardcode_minus_L=yes
9944       hardcode_shlibpath_var=no
9945       ;;
9946
9947     sysv4)
9948       case $host_vendor in
9949         sni)
9950           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9951           hardcode_direct=yes # is this really true???
9952         ;;
9953         siemens)
9954           ## LD is ld it makes a PLAMLIB
9955           ## CC just makes a GrossModule.
9956           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9957           reload_cmds='$CC -r -o $output$reload_objs'
9958           hardcode_direct=no
9959         ;;
9960         motorola)
9961           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9962           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9963         ;;
9964       esac
9965       runpath_var='LD_RUN_PATH'
9966       hardcode_shlibpath_var=no
9967       ;;
9968
9969     sysv4.3*)
9970       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9971       hardcode_shlibpath_var=no
9972       export_dynamic_flag_spec='-Bexport'
9973       ;;
9974
9975     sysv4*MP*)
9976       if test -d /usr/nec; then
9977         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9978         hardcode_shlibpath_var=no
9979         runpath_var=LD_RUN_PATH
9980         hardcode_runpath_var=yes
9981         ld_shlibs=yes
9982       fi
9983       ;;
9984
9985     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9986       no_undefined_flag='${wl}-z,text'
9987       archive_cmds_need_lc=no
9988       hardcode_shlibpath_var=no
9989       runpath_var='LD_RUN_PATH'
9990
9991       if test "$GCC" = yes; then
9992         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9993         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9994       else
9995         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9996         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9997       fi
9998       ;;
9999
10000     sysv5* | sco3.2v5* | sco5v6*)
10001       # Note: We can NOT use -z defs as we might desire, because we do not
10002       # link with -lc, and that would cause any symbols used from libc to
10003       # always be unresolved, which means just about no library would
10004       # ever link correctly.  If we're not using GNU ld we use -z text
10005       # though, which does catch some bad symbols but isn't as heavy-handed
10006       # as -z defs.
10007       no_undefined_flag='${wl}-z,text'
10008       allow_undefined_flag='${wl}-z,nodefs'
10009       archive_cmds_need_lc=no
10010       hardcode_shlibpath_var=no
10011       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10012       hardcode_libdir_separator=':'
10013       link_all_deplibs=yes
10014       export_dynamic_flag_spec='${wl}-Bexport'
10015       runpath_var='LD_RUN_PATH'
10016
10017       if test "$GCC" = yes; then
10018         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10019         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10020       else
10021         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10022         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10023       fi
10024       ;;
10025
10026     uts4*)
10027       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028       hardcode_libdir_flag_spec='-L$libdir'
10029       hardcode_shlibpath_var=no
10030       ;;
10031
10032     *)
10033       ld_shlibs=no
10034       ;;
10035     esac
10036
10037     if test x$host_vendor = xsni; then
10038       case $host in
10039       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10040         export_dynamic_flag_spec='${wl}-Blargedynsym'
10041         ;;
10042       esac
10043     fi
10044   fi
10045
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10047 $as_echo "$ld_shlibs" >&6; }
10048 test "$ld_shlibs" = no && can_build_shared=no
10049
10050 with_gnu_ld=$with_gnu_ld
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066 #
10067 # Do we need to explicitly link libc?
10068 #
10069 case "x$archive_cmds_need_lc" in
10070 x|xyes)
10071   # Assume -lc should be added
10072   archive_cmds_need_lc=yes
10073
10074   if test "$enable_shared" = yes && test "$GCC" = yes; then
10075     case $archive_cmds in
10076     *'~'*)
10077       # FIXME: we may have to deal with multi-command sequences.
10078       ;;
10079     '$CC '*)
10080       # Test whether the compiler implicitly links with -lc since on some
10081       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10082       # to ld, don't add -lc before -lgcc.
10083       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10084 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10085 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10086   $as_echo_n "(cached) " >&6
10087 else
10088   $RM conftest*
10089         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10090
10091         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10092   (eval $ac_compile) 2>&5
10093   ac_status=$?
10094   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10095   test $ac_status = 0; } 2>conftest.err; then
10096           soname=conftest
10097           lib=conftest
10098           libobjs=conftest.$ac_objext
10099           deplibs=
10100           wl=$lt_prog_compiler_wl
10101           pic_flag=$lt_prog_compiler_pic
10102           compiler_flags=-v
10103           linker_flags=-v
10104           verstring=
10105           output_objdir=.
10106           libname=conftest
10107           lt_save_allow_undefined_flag=$allow_undefined_flag
10108           allow_undefined_flag=
10109           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10110   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10111   ac_status=$?
10112   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10113   test $ac_status = 0; }
10114           then
10115             lt_cv_archive_cmds_need_lc=no
10116           else
10117             lt_cv_archive_cmds_need_lc=yes
10118           fi
10119           allow_undefined_flag=$lt_save_allow_undefined_flag
10120         else
10121           cat conftest.err 1>&5
10122         fi
10123         $RM conftest*
10124
10125 fi
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10127 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10128       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10129       ;;
10130     esac
10131   fi
10132   ;;
10133 esac
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10287 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10288
10289 if test "$GCC" = yes; then
10290   case $host_os in
10291     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10292     *) lt_awk_arg="/^libraries:/" ;;
10293   esac
10294   case $host_os in
10295     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10296     *) lt_sed_strip_eq="s,=/,/,g" ;;
10297   esac
10298   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10299   case $lt_search_path_spec in
10300   *\;*)
10301     # if the path contains ";" then we assume it to be the separator
10302     # otherwise default to the standard path separator (i.e. ":") - it is
10303     # assumed that no part of a normal pathname contains ";" but that should
10304     # okay in the real world where ";" in dirpaths is itself problematic.
10305     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10306     ;;
10307   *)
10308     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10309     ;;
10310   esac
10311   # Ok, now we have the path, separated by spaces, we can step through it
10312   # and add multilib dir if necessary.
10313   lt_tmp_lt_search_path_spec=
10314   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10315   for lt_sys_path in $lt_search_path_spec; do
10316     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10317       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10318     else
10319       test -d "$lt_sys_path" && \
10320         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10321     fi
10322   done
10323   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10324 BEGIN {RS=" "; FS="/|\n";} {
10325   lt_foo="";
10326   lt_count=0;
10327   for (lt_i = NF; lt_i > 0; lt_i--) {
10328     if ($lt_i != "" && $lt_i != ".") {
10329       if ($lt_i == "..") {
10330         lt_count++;
10331       } else {
10332         if (lt_count == 0) {
10333           lt_foo="/" $lt_i lt_foo;
10334         } else {
10335           lt_count--;
10336         }
10337       }
10338     }
10339   }
10340   if (lt_foo != "") { lt_freq[lt_foo]++; }
10341   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10342 }'`
10343   # AWK program above erroneously prepends '/' to C:/dos/paths
10344   # for these hosts.
10345   case $host_os in
10346     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10347       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10348   esac
10349   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10350 else
10351   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10352 fi
10353 library_names_spec=
10354 libname_spec='lib$name'
10355 soname_spec=
10356 shrext_cmds=".so"
10357 postinstall_cmds=
10358 postuninstall_cmds=
10359 finish_cmds=
10360 finish_eval=
10361 shlibpath_var=
10362 shlibpath_overrides_runpath=unknown
10363 version_type=none
10364 dynamic_linker="$host_os ld.so"
10365 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10366 need_lib_prefix=unknown
10367 hardcode_into_libs=no
10368
10369 # when you set need_version to no, make sure it does not cause -set_version
10370 # flags to be left without arguments
10371 need_version=unknown
10372
10373 case $host_os in
10374 aix3*)
10375   version_type=linux # correct to gnu/linux during the next big refactor
10376   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10377   shlibpath_var=LIBPATH
10378
10379   # AIX 3 has no versioning support, so we append a major version to the name.
10380   soname_spec='${libname}${release}${shared_ext}$major'
10381   ;;
10382
10383 aix[4-9]*)
10384   version_type=linux # correct to gnu/linux during the next big refactor
10385   need_lib_prefix=no
10386   need_version=no
10387   hardcode_into_libs=yes
10388   if test "$host_cpu" = ia64; then
10389     # AIX 5 supports IA64
10390     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10391     shlibpath_var=LD_LIBRARY_PATH
10392   else
10393     # With GCC up to 2.95.x, collect2 would create an import file
10394     # for dependence libraries.  The import file would start with
10395     # the line `#! .'.  This would cause the generated library to
10396     # depend on `.', always an invalid library.  This was fixed in
10397     # development snapshots of GCC prior to 3.0.
10398     case $host_os in
10399       aix4 | aix4.[01] | aix4.[01].*)
10400       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10401            echo ' yes '
10402            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10403         :
10404       else
10405         can_build_shared=no
10406       fi
10407       ;;
10408     esac
10409     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10410     # soname into executable. Probably we can add versioning support to
10411     # collect2, so additional links can be useful in future.
10412     if test "$aix_use_runtimelinking" = yes; then
10413       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10414       # instead of lib<name>.a to let people know that these are not
10415       # typical AIX shared libraries.
10416       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10417     else
10418       # We preserve .a as extension for shared libraries through AIX4.2
10419       # and later when we are not doing run time linking.
10420       library_names_spec='${libname}${release}.a $libname.a'
10421       soname_spec='${libname}${release}${shared_ext}$major'
10422     fi
10423     shlibpath_var=LIBPATH
10424   fi
10425   ;;
10426
10427 amigaos*)
10428   case $host_cpu in
10429   powerpc)
10430     # Since July 2007 AmigaOS4 officially supports .so libraries.
10431     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10432     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10433     ;;
10434   m68k)
10435     library_names_spec='$libname.ixlibrary $libname.a'
10436     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10437     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'
10438     ;;
10439   esac
10440   ;;
10441
10442 beos*)
10443   library_names_spec='${libname}${shared_ext}'
10444   dynamic_linker="$host_os ld.so"
10445   shlibpath_var=LIBRARY_PATH
10446   ;;
10447
10448 bsdi[45]*)
10449   version_type=linux # correct to gnu/linux during the next big refactor
10450   need_version=no
10451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10452   soname_spec='${libname}${release}${shared_ext}$major'
10453   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10454   shlibpath_var=LD_LIBRARY_PATH
10455   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10456   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10457   # the default ld.so.conf also contains /usr/contrib/lib and
10458   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10459   # libtool to hard-code these into programs
10460   ;;
10461
10462 cygwin* | mingw* | pw32* | cegcc*)
10463   version_type=windows
10464   shrext_cmds=".dll"
10465   need_version=no
10466   need_lib_prefix=no
10467
10468   case $GCC,$cc_basename in
10469   yes,*)
10470     # gcc
10471     library_names_spec='$libname.dll.a'
10472     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10473     postinstall_cmds='base_file=`basename \${file}`~
10474       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10475       dldir=$destdir/`dirname \$dlpath`~
10476       test -d \$dldir || mkdir -p \$dldir~
10477       $install_prog $dir/$dlname \$dldir/$dlname~
10478       chmod a+x \$dldir/$dlname~
10479       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10480         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10481       fi'
10482     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10483       dlpath=$dir/\$dldll~
10484        $RM \$dlpath'
10485     shlibpath_overrides_runpath=yes
10486
10487     case $host_os in
10488     cygwin*)
10489       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10490       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10491
10492       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10493       ;;
10494     mingw* | cegcc*)
10495       # MinGW DLLs use traditional 'lib' prefix
10496       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10497       ;;
10498     pw32*)
10499       # pw32 DLLs use 'pw' prefix rather than 'lib'
10500       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10501       ;;
10502     esac
10503     dynamic_linker='Win32 ld.exe'
10504     ;;
10505
10506   *,cl*)
10507     # Native MSVC
10508     libname_spec='$name'
10509     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10510     library_names_spec='${libname}.dll.lib'
10511
10512     case $build_os in
10513     mingw*)
10514       sys_lib_search_path_spec=
10515       lt_save_ifs=$IFS
10516       IFS=';'
10517       for lt_path in $LIB
10518       do
10519         IFS=$lt_save_ifs
10520         # Let DOS variable expansion print the short 8.3 style file name.
10521         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10522         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10523       done
10524       IFS=$lt_save_ifs
10525       # Convert to MSYS style.
10526       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10527       ;;
10528     cygwin*)
10529       # Convert to unix form, then to dos form, then back to unix form
10530       # but this time dos style (no spaces!) so that the unix form looks
10531       # like /cygdrive/c/PROGRA~1:/cygdr...
10532       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10533       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10534       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10535       ;;
10536     *)
10537       sys_lib_search_path_spec="$LIB"
10538       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10539         # It is most probably a Windows format PATH.
10540         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10541       else
10542         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10543       fi
10544       # FIXME: find the short name or the path components, as spaces are
10545       # common. (e.g. "Program Files" -> "PROGRA~1")
10546       ;;
10547     esac
10548
10549     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10550     postinstall_cmds='base_file=`basename \${file}`~
10551       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10552       dldir=$destdir/`dirname \$dlpath`~
10553       test -d \$dldir || mkdir -p \$dldir~
10554       $install_prog $dir/$dlname \$dldir/$dlname'
10555     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10556       dlpath=$dir/\$dldll~
10557        $RM \$dlpath'
10558     shlibpath_overrides_runpath=yes
10559     dynamic_linker='Win32 link.exe'
10560     ;;
10561
10562   *)
10563     # Assume MSVC wrapper
10564     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10565     dynamic_linker='Win32 ld.exe'
10566     ;;
10567   esac
10568   # FIXME: first we should search . and the directory the executable is in
10569   shlibpath_var=PATH
10570   ;;
10571
10572 darwin* | rhapsody*)
10573   dynamic_linker="$host_os dyld"
10574   version_type=darwin
10575   need_lib_prefix=no
10576   need_version=no
10577   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10578   soname_spec='${libname}${release}${major}$shared_ext'
10579   shlibpath_overrides_runpath=yes
10580   shlibpath_var=DYLD_LIBRARY_PATH
10581   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10582
10583   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10584   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10585   ;;
10586
10587 dgux*)
10588   version_type=linux # correct to gnu/linux during the next big refactor
10589   need_lib_prefix=no
10590   need_version=no
10591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10592   soname_spec='${libname}${release}${shared_ext}$major'
10593   shlibpath_var=LD_LIBRARY_PATH
10594   ;;
10595
10596 freebsd* | dragonfly*)
10597   # DragonFly does not have aout.  When/if they implement a new
10598   # versioning mechanism, adjust this.
10599   if test -x /usr/bin/objformat; then
10600     objformat=`/usr/bin/objformat`
10601   else
10602     case $host_os in
10603     freebsd[23].*) objformat=aout ;;
10604     *) objformat=elf ;;
10605     esac
10606   fi
10607   version_type=freebsd-$objformat
10608   case $version_type in
10609     freebsd-elf*)
10610       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10611       need_version=no
10612       need_lib_prefix=no
10613       ;;
10614     freebsd-*)
10615       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10616       need_version=yes
10617       ;;
10618   esac
10619   shlibpath_var=LD_LIBRARY_PATH
10620   case $host_os in
10621   freebsd2.*)
10622     shlibpath_overrides_runpath=yes
10623     ;;
10624   freebsd3.[01]* | freebsdelf3.[01]*)
10625     shlibpath_overrides_runpath=yes
10626     hardcode_into_libs=yes
10627     ;;
10628   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10629   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10630     shlibpath_overrides_runpath=no
10631     hardcode_into_libs=yes
10632     ;;
10633   *) # from 4.6 on, and DragonFly
10634     shlibpath_overrides_runpath=yes
10635     hardcode_into_libs=yes
10636     ;;
10637   esac
10638   ;;
10639
10640 gnu*)
10641   version_type=linux # correct to gnu/linux during the next big refactor
10642   need_lib_prefix=no
10643   need_version=no
10644   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10645   soname_spec='${libname}${release}${shared_ext}$major'
10646   shlibpath_var=LD_LIBRARY_PATH
10647   shlibpath_overrides_runpath=no
10648   hardcode_into_libs=yes
10649   ;;
10650
10651 haiku*)
10652   version_type=linux # correct to gnu/linux during the next big refactor
10653   need_lib_prefix=no
10654   need_version=no
10655   dynamic_linker="$host_os runtime_loader"
10656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10657   soname_spec='${libname}${release}${shared_ext}$major'
10658   shlibpath_var=LIBRARY_PATH
10659   shlibpath_overrides_runpath=yes
10660   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10661   hardcode_into_libs=yes
10662   ;;
10663
10664 hpux9* | hpux10* | hpux11*)
10665   # Give a soname corresponding to the major version so that dld.sl refuses to
10666   # link against other versions.
10667   version_type=sunos
10668   need_lib_prefix=no
10669   need_version=no
10670   case $host_cpu in
10671   ia64*)
10672     shrext_cmds='.so'
10673     hardcode_into_libs=yes
10674     dynamic_linker="$host_os dld.so"
10675     shlibpath_var=LD_LIBRARY_PATH
10676     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10677     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678     soname_spec='${libname}${release}${shared_ext}$major'
10679     if test "X$HPUX_IA64_MODE" = X32; then
10680       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10681     else
10682       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10683     fi
10684     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10685     ;;
10686   hppa*64*)
10687     shrext_cmds='.sl'
10688     hardcode_into_libs=yes
10689     dynamic_linker="$host_os dld.sl"
10690     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10691     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10692     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10693     soname_spec='${libname}${release}${shared_ext}$major'
10694     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10695     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10696     ;;
10697   *)
10698     shrext_cmds='.sl'
10699     dynamic_linker="$host_os dld.sl"
10700     shlibpath_var=SHLIB_PATH
10701     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10702     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10703     soname_spec='${libname}${release}${shared_ext}$major'
10704     ;;
10705   esac
10706   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10707   postinstall_cmds='chmod 555 $lib'
10708   # or fails outright, so override atomically:
10709   install_override_mode=555
10710   ;;
10711
10712 interix[3-9]*)
10713   version_type=linux # correct to gnu/linux during the next big refactor
10714   need_lib_prefix=no
10715   need_version=no
10716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10717   soname_spec='${libname}${release}${shared_ext}$major'
10718   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10719   shlibpath_var=LD_LIBRARY_PATH
10720   shlibpath_overrides_runpath=no
10721   hardcode_into_libs=yes
10722   ;;
10723
10724 irix5* | irix6* | nonstopux*)
10725   case $host_os in
10726     nonstopux*) version_type=nonstopux ;;
10727     *)
10728         if test "$lt_cv_prog_gnu_ld" = yes; then
10729                 version_type=linux # correct to gnu/linux during the next big refactor
10730         else
10731                 version_type=irix
10732         fi ;;
10733   esac
10734   need_lib_prefix=no
10735   need_version=no
10736   soname_spec='${libname}${release}${shared_ext}$major'
10737   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10738   case $host_os in
10739   irix5* | nonstopux*)
10740     libsuff= shlibsuff=
10741     ;;
10742   *)
10743     case $LD in # libtool.m4 will add one of these switches to LD
10744     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10745       libsuff= shlibsuff= libmagic=32-bit;;
10746     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10747       libsuff=32 shlibsuff=N32 libmagic=N32;;
10748     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10749       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10750     *) libsuff= shlibsuff= libmagic=never-match;;
10751     esac
10752     ;;
10753   esac
10754   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10755   shlibpath_overrides_runpath=no
10756   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10757   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10758   hardcode_into_libs=yes
10759   ;;
10760
10761 # No shared lib support for Linux oldld, aout, or coff.
10762 linux*oldld* | linux*aout* | linux*coff*)
10763   dynamic_linker=no
10764   ;;
10765
10766 # This must be glibc/ELF.
10767 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10768   version_type=linux # correct to gnu/linux during the next big refactor
10769   need_lib_prefix=no
10770   need_version=no
10771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772   soname_spec='${libname}${release}${shared_ext}$major'
10773   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10774   shlibpath_var=LD_LIBRARY_PATH
10775   shlibpath_overrides_runpath=no
10776
10777   # Some binutils ld are patched to set DT_RUNPATH
10778   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10779   $as_echo_n "(cached) " >&6
10780 else
10781   lt_cv_shlibpath_overrides_runpath=no
10782     save_LDFLAGS=$LDFLAGS
10783     save_libdir=$libdir
10784     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10785          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10786     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h.  */
10788
10789 int
10790 main ()
10791 {
10792
10793   ;
10794   return 0;
10795 }
10796 _ACEOF
10797 if ac_fn_c_try_link "$LINENO"; then :
10798   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10799   lt_cv_shlibpath_overrides_runpath=yes
10800 fi
10801 fi
10802 rm -f core conftest.err conftest.$ac_objext \
10803     conftest$ac_exeext conftest.$ac_ext
10804     LDFLAGS=$save_LDFLAGS
10805     libdir=$save_libdir
10806
10807 fi
10808
10809   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10810
10811   # This implies no fast_install, which is unacceptable.
10812   # Some rework will be needed to allow for fast_install
10813   # before this can be enabled.
10814   hardcode_into_libs=yes
10815
10816   # Append ld.so.conf contents to the search path
10817   if test -f /etc/ld.so.conf; then
10818     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' ' '`
10819     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10820   fi
10821
10822   # We used to test for /lib/ld.so.1 and disable shared libraries on
10823   # powerpc, because MkLinux only supported shared libraries with the
10824   # GNU dynamic linker.  Since this was broken with cross compilers,
10825   # most powerpc-linux boxes support dynamic linking these days and
10826   # people can always --disable-shared, the test was removed, and we
10827   # assume the GNU/Linux dynamic linker is in use.
10828   dynamic_linker='GNU/Linux ld.so'
10829   ;;
10830
10831 netbsdelf*-gnu)
10832   version_type=linux
10833   need_lib_prefix=no
10834   need_version=no
10835   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10836   soname_spec='${libname}${release}${shared_ext}$major'
10837   shlibpath_var=LD_LIBRARY_PATH
10838   shlibpath_overrides_runpath=no
10839   hardcode_into_libs=yes
10840   dynamic_linker='NetBSD ld.elf_so'
10841   ;;
10842
10843 netbsd*)
10844   version_type=sunos
10845   need_lib_prefix=no
10846   need_version=no
10847   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10848     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10849     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10850     dynamic_linker='NetBSD (a.out) ld.so'
10851   else
10852     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10853     soname_spec='${libname}${release}${shared_ext}$major'
10854     dynamic_linker='NetBSD ld.elf_so'
10855   fi
10856   shlibpath_var=LD_LIBRARY_PATH
10857   shlibpath_overrides_runpath=yes
10858   hardcode_into_libs=yes
10859   ;;
10860
10861 newsos6)
10862   version_type=linux # correct to gnu/linux during the next big refactor
10863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864   shlibpath_var=LD_LIBRARY_PATH
10865   shlibpath_overrides_runpath=yes
10866   ;;
10867
10868 *nto* | *qnx*)
10869   version_type=qnx
10870   need_lib_prefix=no
10871   need_version=no
10872   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873   soname_spec='${libname}${release}${shared_ext}$major'
10874   shlibpath_var=LD_LIBRARY_PATH
10875   shlibpath_overrides_runpath=no
10876   hardcode_into_libs=yes
10877   dynamic_linker='ldqnx.so'
10878   ;;
10879
10880 openbsd*)
10881   version_type=sunos
10882   sys_lib_dlsearch_path_spec="/usr/lib"
10883   need_lib_prefix=no
10884   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10885   case $host_os in
10886     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10887     *)                          need_version=no  ;;
10888   esac
10889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10890   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10891   shlibpath_var=LD_LIBRARY_PATH
10892   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10893     case $host_os in
10894       openbsd2.[89] | openbsd2.[89].*)
10895         shlibpath_overrides_runpath=no
10896         ;;
10897       *)
10898         shlibpath_overrides_runpath=yes
10899         ;;
10900       esac
10901   else
10902     shlibpath_overrides_runpath=yes
10903   fi
10904   ;;
10905
10906 os2*)
10907   libname_spec='$name'
10908   shrext_cmds=".dll"
10909   need_lib_prefix=no
10910   library_names_spec='$libname${shared_ext} $libname.a'
10911   dynamic_linker='OS/2 ld.exe'
10912   shlibpath_var=LIBPATH
10913   ;;
10914
10915 osf3* | osf4* | osf5*)
10916   version_type=osf
10917   need_lib_prefix=no
10918   need_version=no
10919   soname_spec='${libname}${release}${shared_ext}$major'
10920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10921   shlibpath_var=LD_LIBRARY_PATH
10922   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10923   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10924   ;;
10925
10926 rdos*)
10927   dynamic_linker=no
10928   ;;
10929
10930 solaris*)
10931   version_type=linux # correct to gnu/linux during the next big refactor
10932   need_lib_prefix=no
10933   need_version=no
10934   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935   soname_spec='${libname}${release}${shared_ext}$major'
10936   shlibpath_var=LD_LIBRARY_PATH
10937   shlibpath_overrides_runpath=yes
10938   hardcode_into_libs=yes
10939   # ldd complains unless libraries are executable
10940   postinstall_cmds='chmod +x $lib'
10941   ;;
10942
10943 sunos4*)
10944   version_type=sunos
10945   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10946   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10947   shlibpath_var=LD_LIBRARY_PATH
10948   shlibpath_overrides_runpath=yes
10949   if test "$with_gnu_ld" = yes; then
10950     need_lib_prefix=no
10951   fi
10952   need_version=yes
10953   ;;
10954
10955 sysv4 | sysv4.3*)
10956   version_type=linux # correct to gnu/linux during the next big refactor
10957   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10958   soname_spec='${libname}${release}${shared_ext}$major'
10959   shlibpath_var=LD_LIBRARY_PATH
10960   case $host_vendor in
10961     sni)
10962       shlibpath_overrides_runpath=no
10963       need_lib_prefix=no
10964       runpath_var=LD_RUN_PATH
10965       ;;
10966     siemens)
10967       need_lib_prefix=no
10968       ;;
10969     motorola)
10970       need_lib_prefix=no
10971       need_version=no
10972       shlibpath_overrides_runpath=no
10973       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10974       ;;
10975   esac
10976   ;;
10977
10978 sysv4*MP*)
10979   if test -d /usr/nec ;then
10980     version_type=linux # correct to gnu/linux during the next big refactor
10981     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10982     soname_spec='$libname${shared_ext}.$major'
10983     shlibpath_var=LD_LIBRARY_PATH
10984   fi
10985   ;;
10986
10987 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10988   version_type=freebsd-elf
10989   need_lib_prefix=no
10990   need_version=no
10991   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10992   soname_spec='${libname}${release}${shared_ext}$major'
10993   shlibpath_var=LD_LIBRARY_PATH
10994   shlibpath_overrides_runpath=yes
10995   hardcode_into_libs=yes
10996   if test "$with_gnu_ld" = yes; then
10997     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10998   else
10999     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11000     case $host_os in
11001       sco3.2v5*)
11002         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11003         ;;
11004     esac
11005   fi
11006   sys_lib_dlsearch_path_spec='/usr/lib'
11007   ;;
11008
11009 tpf*)
11010   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11011   version_type=linux # correct to gnu/linux during the next big refactor
11012   need_lib_prefix=no
11013   need_version=no
11014   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11015   shlibpath_var=LD_LIBRARY_PATH
11016   shlibpath_overrides_runpath=no
11017   hardcode_into_libs=yes
11018   ;;
11019
11020 uts4*)
11021   version_type=linux # correct to gnu/linux during the next big refactor
11022   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023   soname_spec='${libname}${release}${shared_ext}$major'
11024   shlibpath_var=LD_LIBRARY_PATH
11025   ;;
11026
11027 *)
11028   dynamic_linker=no
11029   ;;
11030 esac
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11032 $as_echo "$dynamic_linker" >&6; }
11033 test "$dynamic_linker" = no && can_build_shared=no
11034
11035 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11036 if test "$GCC" = yes; then
11037   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11038 fi
11039
11040 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11041   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11042 fi
11043 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11044   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11045 fi
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11139 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11140 hardcode_action=
11141 if test -n "$hardcode_libdir_flag_spec" ||
11142    test -n "$runpath_var" ||
11143    test "X$hardcode_automatic" = "Xyes" ; then
11144
11145   # We can hardcode non-existent directories.
11146   if test "$hardcode_direct" != no &&
11147      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11148      # have to relink, otherwise we might link with an installed library
11149      # when we should be linking with a yet-to-be-installed one
11150      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11151      test "$hardcode_minus_L" != no; then
11152     # Linking always hardcodes the temporary library directory.
11153     hardcode_action=relink
11154   else
11155     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11156     hardcode_action=immediate
11157   fi
11158 else
11159   # We cannot hardcode anything, or else we can only hardcode existing
11160   # directories.
11161   hardcode_action=unsupported
11162 fi
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11164 $as_echo "$hardcode_action" >&6; }
11165
11166 if test "$hardcode_action" = relink ||
11167    test "$inherit_rpath" = yes; then
11168   # Fast installation is not supported
11169   enable_fast_install=no
11170 elif test "$shlibpath_overrides_runpath" = yes ||
11171      test "$enable_shared" = no; then
11172   # Fast installation is not necessary
11173   enable_fast_install=needless
11174 fi
11175
11176
11177
11178
11179
11180
11181   if test "x$enable_dlopen" != xyes; then
11182   enable_dlopen=unknown
11183   enable_dlopen_self=unknown
11184   enable_dlopen_self_static=unknown
11185 else
11186   lt_cv_dlopen=no
11187   lt_cv_dlopen_libs=
11188
11189   case $host_os in
11190   beos*)
11191     lt_cv_dlopen="load_add_on"
11192     lt_cv_dlopen_libs=
11193     lt_cv_dlopen_self=yes
11194     ;;
11195
11196   mingw* | pw32* | cegcc*)
11197     lt_cv_dlopen="LoadLibrary"
11198     lt_cv_dlopen_libs=
11199     ;;
11200
11201   cygwin*)
11202     lt_cv_dlopen="dlopen"
11203     lt_cv_dlopen_libs=
11204     ;;
11205
11206   darwin*)
11207   # if libdl is installed we need to link against it
11208     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11209 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11210 if ${ac_cv_lib_dl_dlopen+:} false; then :
11211   $as_echo_n "(cached) " >&6
11212 else
11213   ac_check_lib_save_LIBS=$LIBS
11214 LIBS="-ldl  $LIBS"
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h.  */
11217
11218 /* Override any GCC internal prototype to avoid an error.
11219    Use char because int might match the return type of a GCC
11220    builtin and then its argument prototype would still apply.  */
11221 #ifdef __cplusplus
11222 extern "C"
11223 #endif
11224 char dlopen ();
11225 int
11226 main ()
11227 {
11228 return dlopen ();
11229   ;
11230   return 0;
11231 }
11232 _ACEOF
11233 if ac_fn_c_try_link "$LINENO"; then :
11234   ac_cv_lib_dl_dlopen=yes
11235 else
11236   ac_cv_lib_dl_dlopen=no
11237 fi
11238 rm -f core conftest.err conftest.$ac_objext \
11239     conftest$ac_exeext conftest.$ac_ext
11240 LIBS=$ac_check_lib_save_LIBS
11241 fi
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11243 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11244 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11245   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11246 else
11247
11248     lt_cv_dlopen="dyld"
11249     lt_cv_dlopen_libs=
11250     lt_cv_dlopen_self=yes
11251
11252 fi
11253
11254     ;;
11255
11256   *)
11257     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11258 if test "x$ac_cv_func_shl_load" = xyes; then :
11259   lt_cv_dlopen="shl_load"
11260 else
11261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11262 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11263 if ${ac_cv_lib_dld_shl_load+:} false; then :
11264   $as_echo_n "(cached) " >&6
11265 else
11266   ac_check_lib_save_LIBS=$LIBS
11267 LIBS="-ldld  $LIBS"
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h.  */
11270
11271 /* Override any GCC internal prototype to avoid an error.
11272    Use char because int might match the return type of a GCC
11273    builtin and then its argument prototype would still apply.  */
11274 #ifdef __cplusplus
11275 extern "C"
11276 #endif
11277 char shl_load ();
11278 int
11279 main ()
11280 {
11281 return shl_load ();
11282   ;
11283   return 0;
11284 }
11285 _ACEOF
11286 if ac_fn_c_try_link "$LINENO"; then :
11287   ac_cv_lib_dld_shl_load=yes
11288 else
11289   ac_cv_lib_dld_shl_load=no
11290 fi
11291 rm -f core conftest.err conftest.$ac_objext \
11292     conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_lib_save_LIBS
11294 fi
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11296 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11297 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11298   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11299 else
11300   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11301 if test "x$ac_cv_func_dlopen" = xyes; then :
11302   lt_cv_dlopen="dlopen"
11303 else
11304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11305 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11306 if ${ac_cv_lib_dl_dlopen+:} false; then :
11307   $as_echo_n "(cached) " >&6
11308 else
11309   ac_check_lib_save_LIBS=$LIBS
11310 LIBS="-ldl  $LIBS"
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h.  */
11313
11314 /* Override any GCC internal prototype to avoid an error.
11315    Use char because int might match the return type of a GCC
11316    builtin and then its argument prototype would still apply.  */
11317 #ifdef __cplusplus
11318 extern "C"
11319 #endif
11320 char dlopen ();
11321 int
11322 main ()
11323 {
11324 return dlopen ();
11325   ;
11326   return 0;
11327 }
11328 _ACEOF
11329 if ac_fn_c_try_link "$LINENO"; then :
11330   ac_cv_lib_dl_dlopen=yes
11331 else
11332   ac_cv_lib_dl_dlopen=no
11333 fi
11334 rm -f core conftest.err conftest.$ac_objext \
11335     conftest$ac_exeext conftest.$ac_ext
11336 LIBS=$ac_check_lib_save_LIBS
11337 fi
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11339 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11340 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11341   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11342 else
11343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11344 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11345 if ${ac_cv_lib_svld_dlopen+:} false; then :
11346   $as_echo_n "(cached) " >&6
11347 else
11348   ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-lsvld  $LIBS"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h.  */
11352
11353 /* Override any GCC internal prototype to avoid an error.
11354    Use char because int might match the return type of a GCC
11355    builtin and then its argument prototype would still apply.  */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char dlopen ();
11360 int
11361 main ()
11362 {
11363 return dlopen ();
11364   ;
11365   return 0;
11366 }
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"; then :
11369   ac_cv_lib_svld_dlopen=yes
11370 else
11371   ac_cv_lib_svld_dlopen=no
11372 fi
11373 rm -f core conftest.err conftest.$ac_objext \
11374     conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_lib_save_LIBS
11376 fi
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11378 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11379 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11380   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11381 else
11382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11383 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11384 if ${ac_cv_lib_dld_dld_link+:} false; then :
11385   $as_echo_n "(cached) " >&6
11386 else
11387   ac_check_lib_save_LIBS=$LIBS
11388 LIBS="-ldld  $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h.  */
11391
11392 /* Override any GCC internal prototype to avoid an error.
11393    Use char because int might match the return type of a GCC
11394    builtin and then its argument prototype would still apply.  */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char dld_link ();
11399 int
11400 main ()
11401 {
11402 return dld_link ();
11403   ;
11404   return 0;
11405 }
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408   ac_cv_lib_dld_dld_link=yes
11409 else
11410   ac_cv_lib_dld_dld_link=no
11411 fi
11412 rm -f core conftest.err conftest.$ac_objext \
11413     conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
11415 fi
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11417 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11418 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11419   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11420 fi
11421
11422
11423 fi
11424
11425
11426 fi
11427
11428
11429 fi
11430
11431
11432 fi
11433
11434
11435 fi
11436
11437     ;;
11438   esac
11439
11440   if test "x$lt_cv_dlopen" != xno; then
11441     enable_dlopen=yes
11442   else
11443     enable_dlopen=no
11444   fi
11445
11446   case $lt_cv_dlopen in
11447   dlopen)
11448     save_CPPFLAGS="$CPPFLAGS"
11449     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11450
11451     save_LDFLAGS="$LDFLAGS"
11452     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11453
11454     save_LIBS="$LIBS"
11455     LIBS="$lt_cv_dlopen_libs $LIBS"
11456
11457     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11458 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11459 if ${lt_cv_dlopen_self+:} false; then :
11460   $as_echo_n "(cached) " >&6
11461 else
11462           if test "$cross_compiling" = yes; then :
11463   lt_cv_dlopen_self=cross
11464 else
11465   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11466   lt_status=$lt_dlunknown
11467   cat > conftest.$ac_ext <<_LT_EOF
11468 #line $LINENO "configure"
11469 #include "confdefs.h"
11470
11471 #if HAVE_DLFCN_H
11472 #include <dlfcn.h>
11473 #endif
11474
11475 #include <stdio.h>
11476
11477 #ifdef RTLD_GLOBAL
11478 #  define LT_DLGLOBAL           RTLD_GLOBAL
11479 #else
11480 #  ifdef DL_GLOBAL
11481 #    define LT_DLGLOBAL         DL_GLOBAL
11482 #  else
11483 #    define LT_DLGLOBAL         0
11484 #  endif
11485 #endif
11486
11487 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11488    find out it does not work in some platform. */
11489 #ifndef LT_DLLAZY_OR_NOW
11490 #  ifdef RTLD_LAZY
11491 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11492 #  else
11493 #    ifdef DL_LAZY
11494 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11495 #    else
11496 #      ifdef RTLD_NOW
11497 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11498 #      else
11499 #        ifdef DL_NOW
11500 #          define LT_DLLAZY_OR_NOW      DL_NOW
11501 #        else
11502 #          define LT_DLLAZY_OR_NOW      0
11503 #        endif
11504 #      endif
11505 #    endif
11506 #  endif
11507 #endif
11508
11509 /* When -fvisbility=hidden is used, assume the code has been annotated
11510    correspondingly for the symbols needed.  */
11511 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11512 int fnord () __attribute__((visibility("default")));
11513 #endif
11514
11515 int fnord () { return 42; }
11516 int main ()
11517 {
11518   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11519   int status = $lt_dlunknown;
11520
11521   if (self)
11522     {
11523       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11524       else
11525         {
11526           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11527           else puts (dlerror ());
11528         }
11529       /* dlclose (self); */
11530     }
11531   else
11532     puts (dlerror ());
11533
11534   return status;
11535 }
11536 _LT_EOF
11537   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11538   (eval $ac_link) 2>&5
11539   ac_status=$?
11540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11541   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11542     (./conftest; exit; ) >&5 2>/dev/null
11543     lt_status=$?
11544     case x$lt_status in
11545       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11546       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11547       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11548     esac
11549   else :
11550     # compilation failed
11551     lt_cv_dlopen_self=no
11552   fi
11553 fi
11554 rm -fr conftest*
11555
11556
11557 fi
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11559 $as_echo "$lt_cv_dlopen_self" >&6; }
11560
11561     if test "x$lt_cv_dlopen_self" = xyes; then
11562       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11563       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11564 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11565 if ${lt_cv_dlopen_self_static+:} false; then :
11566   $as_echo_n "(cached) " >&6
11567 else
11568           if test "$cross_compiling" = yes; then :
11569   lt_cv_dlopen_self_static=cross
11570 else
11571   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11572   lt_status=$lt_dlunknown
11573   cat > conftest.$ac_ext <<_LT_EOF
11574 #line $LINENO "configure"
11575 #include "confdefs.h"
11576
11577 #if HAVE_DLFCN_H
11578 #include <dlfcn.h>
11579 #endif
11580
11581 #include <stdio.h>
11582
11583 #ifdef RTLD_GLOBAL
11584 #  define LT_DLGLOBAL           RTLD_GLOBAL
11585 #else
11586 #  ifdef DL_GLOBAL
11587 #    define LT_DLGLOBAL         DL_GLOBAL
11588 #  else
11589 #    define LT_DLGLOBAL         0
11590 #  endif
11591 #endif
11592
11593 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11594    find out it does not work in some platform. */
11595 #ifndef LT_DLLAZY_OR_NOW
11596 #  ifdef RTLD_LAZY
11597 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11598 #  else
11599 #    ifdef DL_LAZY
11600 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11601 #    else
11602 #      ifdef RTLD_NOW
11603 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11604 #      else
11605 #        ifdef DL_NOW
11606 #          define LT_DLLAZY_OR_NOW      DL_NOW
11607 #        else
11608 #          define LT_DLLAZY_OR_NOW      0
11609 #        endif
11610 #      endif
11611 #    endif
11612 #  endif
11613 #endif
11614
11615 /* When -fvisbility=hidden is used, assume the code has been annotated
11616    correspondingly for the symbols needed.  */
11617 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11618 int fnord () __attribute__((visibility("default")));
11619 #endif
11620
11621 int fnord () { return 42; }
11622 int main ()
11623 {
11624   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11625   int status = $lt_dlunknown;
11626
11627   if (self)
11628     {
11629       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11630       else
11631         {
11632           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11633           else puts (dlerror ());
11634         }
11635       /* dlclose (self); */
11636     }
11637   else
11638     puts (dlerror ());
11639
11640   return status;
11641 }
11642 _LT_EOF
11643   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11644   (eval $ac_link) 2>&5
11645   ac_status=$?
11646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11647   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11648     (./conftest; exit; ) >&5 2>/dev/null
11649     lt_status=$?
11650     case x$lt_status in
11651       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11652       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11653       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11654     esac
11655   else :
11656     # compilation failed
11657     lt_cv_dlopen_self_static=no
11658   fi
11659 fi
11660 rm -fr conftest*
11661
11662
11663 fi
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11665 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11666     fi
11667
11668     CPPFLAGS="$save_CPPFLAGS"
11669     LDFLAGS="$save_LDFLAGS"
11670     LIBS="$save_LIBS"
11671     ;;
11672   esac
11673
11674   case $lt_cv_dlopen_self in
11675   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11676   *) enable_dlopen_self=unknown ;;
11677   esac
11678
11679   case $lt_cv_dlopen_self_static in
11680   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11681   *) enable_dlopen_self_static=unknown ;;
11682   esac
11683 fi
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701 striplib=
11702 old_striplib=
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11704 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11705 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11706   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11707   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11709 $as_echo "yes" >&6; }
11710 else
11711 # FIXME - insert some real tests, host_os isn't really good enough
11712   case $host_os in
11713   darwin*)
11714     if test -n "$STRIP" ; then
11715       striplib="$STRIP -x"
11716       old_striplib="$STRIP -S"
11717       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11718 $as_echo "yes" >&6; }
11719     else
11720       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721 $as_echo "no" >&6; }
11722     fi
11723     ;;
11724   *)
11725     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11726 $as_echo "no" >&6; }
11727     ;;
11728   esac
11729 fi
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742   # Report which library types will actually be built
11743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11744 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11746 $as_echo "$can_build_shared" >&6; }
11747
11748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11749 $as_echo_n "checking whether to build shared libraries... " >&6; }
11750   test "$can_build_shared" = "no" && enable_shared=no
11751
11752   # On AIX, shared libraries and static libraries use the same namespace, and
11753   # are all built from PIC.
11754   case $host_os in
11755   aix3*)
11756     test "$enable_shared" = yes && enable_static=no
11757     if test -n "$RANLIB"; then
11758       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11759       postinstall_cmds='$RANLIB $lib'
11760     fi
11761     ;;
11762
11763   aix[4-9]*)
11764     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11765       test "$enable_shared" = yes && enable_static=no
11766     fi
11767     ;;
11768   esac
11769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11770 $as_echo "$enable_shared" >&6; }
11771
11772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11773 $as_echo_n "checking whether to build static libraries... " >&6; }
11774   # Make sure either enable_shared or enable_static is yes.
11775   test "$enable_shared" = yes || enable_static=yes
11776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11777 $as_echo "$enable_static" >&6; }
11778
11779
11780
11781
11782 fi
11783 ac_ext=c
11784 ac_cpp='$CPP $CPPFLAGS'
11785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11788
11789 CC="$lt_save_CC"
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805         ac_config_commands="$ac_config_commands libtool"
11806
11807
11808
11809
11810 # Only expand once:
11811
11812
11813
11814 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11815 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11816
11817
11818
11819 cat >>confdefs.h <<_ACEOF
11820 #define VMAJ 1
11821 _ACEOF
11822
11823
11824 cat >>confdefs.h <<_ACEOF
11825 #define VMIN 7
11826 _ACEOF
11827
11828
11829 cat >>confdefs.h <<_ACEOF
11830 #define VMIC 5
11831 _ACEOF
11832
11833
11834 cat >>confdefs.h <<_ACEOF
11835 #define VREV 0
11836 _ACEOF
11837
11838 version_info="8:5:7"
11839 release_info=""
11840
11841
11842 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11843 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11844 VMAJ=1
11845
11846
11847 ### Needed information
11848
11849
11850
11851
11852 want_ebluez="yes"
11853 want_econnman0_7x="yes"
11854 want_ehal="yes"
11855 want_enotify="yes"
11856 want_eofono="yes"
11857 want_eukit="yes"
11858
11859 case "$host_os" in
11860    mingw*)
11861       want_ebluez="no"
11862       want_econnman0_7x="no"
11863       want_ehal="no"
11864       want_enotify="no"
11865       want_eofono="no"
11866       want_eukit="no"
11867       ;;
11868 esac
11869
11870 requirement_ebluez="edbus >= 1.7.5"
11871 requirement_econnman0_7x="edbus >= 1.7.5"
11872 requirement_edbus="ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62"
11873 requirement_ehal="edbus >= 1.7.5"
11874 requirement_enotify="edbus >= 1.7.5"
11875 requirement_eofono="edbus >= 1.7.5"
11876 requirement_eukit="edbus >= 1.7.5"
11877
11878 ### Additional options to configure
11879
11880
11881 # Check whether --enable-ebluez was given.
11882 if test "${enable_ebluez+set}" = set; then :
11883   enableval=$enable_ebluez; enable_ebluez=$enableval
11884 else
11885   enable_ebluez="${want_ebluez}"
11886 fi
11887
11888
11889 # Check whether --enable-econnman0_7x was given.
11890 if test "${enable_econnman0_7x+set}" = set; then :
11891   enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
11892 else
11893   enable_econnman0_7x="${want_econnman0_7x}"
11894 fi
11895
11896
11897 # Check whether --enable-ehal was given.
11898 if test "${enable_ehal+set}" = set; then :
11899   enableval=$enable_ehal; enable_ehal=$enableval
11900 else
11901   enable_ehal="${want_ehal}"
11902 fi
11903
11904
11905 # Check whether --enable-enotify was given.
11906 if test "${enable_enotify+set}" = set; then :
11907   enableval=$enable_enotify; enable_enotify=$enableval
11908 else
11909   enable_enotify="${want_enotify}"
11910 fi
11911
11912
11913 # Check whether --enable-eofono was given.
11914 if test "${enable_eofono+set}" = set; then :
11915   enableval=$enable_eofono; enable_eofono=$enableval
11916 else
11917   enable_eofono="${want_eofono}"
11918 fi
11919
11920
11921 # Check whether --enable-eukit was given.
11922 if test "${enable_eukit+set}" = set; then :
11923   enableval=$enable_eukit; enable_eukit=$enableval
11924 else
11925   enable_eukit="${want_eukit}"
11926 fi
11927
11928
11929 ### Checks for programs
11930
11931 ac_ext=c
11932 ac_cpp='$CPP $CPPFLAGS'
11933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11936 if test -n "$ac_tool_prefix"; then
11937   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11938 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11940 $as_echo_n "checking for $ac_word... " >&6; }
11941 if ${ac_cv_prog_CC+:} false; then :
11942   $as_echo_n "(cached) " >&6
11943 else
11944   if test -n "$CC"; then
11945   ac_cv_prog_CC="$CC" # Let the user override the test.
11946 else
11947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11948 for as_dir in $PATH
11949 do
11950   IFS=$as_save_IFS
11951   test -z "$as_dir" && as_dir=.
11952     for ac_exec_ext in '' $ac_executable_extensions; do
11953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11954     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11956     break 2
11957   fi
11958 done
11959   done
11960 IFS=$as_save_IFS
11961
11962 fi
11963 fi
11964 CC=$ac_cv_prog_CC
11965 if test -n "$CC"; then
11966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11967 $as_echo "$CC" >&6; }
11968 else
11969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11970 $as_echo "no" >&6; }
11971 fi
11972
11973
11974 fi
11975 if test -z "$ac_cv_prog_CC"; then
11976   ac_ct_CC=$CC
11977   # Extract the first word of "gcc", so it can be a program name with args.
11978 set dummy gcc; ac_word=$2
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11980 $as_echo_n "checking for $ac_word... " >&6; }
11981 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11982   $as_echo_n "(cached) " >&6
11983 else
11984   if test -n "$ac_ct_CC"; then
11985   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11986 else
11987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11988 for as_dir in $PATH
11989 do
11990   IFS=$as_save_IFS
11991   test -z "$as_dir" && as_dir=.
11992     for ac_exec_ext in '' $ac_executable_extensions; do
11993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11994     ac_cv_prog_ac_ct_CC="gcc"
11995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11996     break 2
11997   fi
11998 done
11999   done
12000 IFS=$as_save_IFS
12001
12002 fi
12003 fi
12004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12005 if test -n "$ac_ct_CC"; then
12006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12007 $as_echo "$ac_ct_CC" >&6; }
12008 else
12009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12010 $as_echo "no" >&6; }
12011 fi
12012
12013   if test "x$ac_ct_CC" = x; then
12014     CC=""
12015   else
12016     case $cross_compiling:$ac_tool_warned in
12017 yes:)
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12020 ac_tool_warned=yes ;;
12021 esac
12022     CC=$ac_ct_CC
12023   fi
12024 else
12025   CC="$ac_cv_prog_CC"
12026 fi
12027
12028 if test -z "$CC"; then
12029           if test -n "$ac_tool_prefix"; then
12030     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12031 set dummy ${ac_tool_prefix}cc; ac_word=$2
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12033 $as_echo_n "checking for $ac_word... " >&6; }
12034 if ${ac_cv_prog_CC+:} false; then :
12035   $as_echo_n "(cached) " >&6
12036 else
12037   if test -n "$CC"; then
12038   ac_cv_prog_CC="$CC" # Let the user override the test.
12039 else
12040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12041 for as_dir in $PATH
12042 do
12043   IFS=$as_save_IFS
12044   test -z "$as_dir" && as_dir=.
12045     for ac_exec_ext in '' $ac_executable_extensions; do
12046   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12047     ac_cv_prog_CC="${ac_tool_prefix}cc"
12048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12049     break 2
12050   fi
12051 done
12052   done
12053 IFS=$as_save_IFS
12054
12055 fi
12056 fi
12057 CC=$ac_cv_prog_CC
12058 if test -n "$CC"; then
12059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12060 $as_echo "$CC" >&6; }
12061 else
12062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12063 $as_echo "no" >&6; }
12064 fi
12065
12066
12067   fi
12068 fi
12069 if test -z "$CC"; then
12070   # Extract the first word of "cc", so it can be a program name with args.
12071 set dummy cc; ac_word=$2
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12073 $as_echo_n "checking for $ac_word... " >&6; }
12074 if ${ac_cv_prog_CC+:} false; then :
12075   $as_echo_n "(cached) " >&6
12076 else
12077   if test -n "$CC"; then
12078   ac_cv_prog_CC="$CC" # Let the user override the test.
12079 else
12080   ac_prog_rejected=no
12081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082 for as_dir in $PATH
12083 do
12084   IFS=$as_save_IFS
12085   test -z "$as_dir" && as_dir=.
12086     for ac_exec_ext in '' $ac_executable_extensions; do
12087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12088     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12089        ac_prog_rejected=yes
12090        continue
12091      fi
12092     ac_cv_prog_CC="cc"
12093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12094     break 2
12095   fi
12096 done
12097   done
12098 IFS=$as_save_IFS
12099
12100 if test $ac_prog_rejected = yes; then
12101   # We found a bogon in the path, so make sure we never use it.
12102   set dummy $ac_cv_prog_CC
12103   shift
12104   if test $# != 0; then
12105     # We chose a different compiler from the bogus one.
12106     # However, it has the same basename, so the bogon will be chosen
12107     # first if we set CC to just the basename; use the full file name.
12108     shift
12109     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12110   fi
12111 fi
12112 fi
12113 fi
12114 CC=$ac_cv_prog_CC
12115 if test -n "$CC"; then
12116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12117 $as_echo "$CC" >&6; }
12118 else
12119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12120 $as_echo "no" >&6; }
12121 fi
12122
12123
12124 fi
12125 if test -z "$CC"; then
12126   if test -n "$ac_tool_prefix"; then
12127   for ac_prog in cl.exe
12128   do
12129     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12132 $as_echo_n "checking for $ac_word... " >&6; }
12133 if ${ac_cv_prog_CC+:} false; then :
12134   $as_echo_n "(cached) " >&6
12135 else
12136   if test -n "$CC"; then
12137   ac_cv_prog_CC="$CC" # Let the user override the test.
12138 else
12139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12140 for as_dir in $PATH
12141 do
12142   IFS=$as_save_IFS
12143   test -z "$as_dir" && as_dir=.
12144     for ac_exec_ext in '' $ac_executable_extensions; do
12145   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12146     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12148     break 2
12149   fi
12150 done
12151   done
12152 IFS=$as_save_IFS
12153
12154 fi
12155 fi
12156 CC=$ac_cv_prog_CC
12157 if test -n "$CC"; then
12158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12159 $as_echo "$CC" >&6; }
12160 else
12161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12162 $as_echo "no" >&6; }
12163 fi
12164
12165
12166     test -n "$CC" && break
12167   done
12168 fi
12169 if test -z "$CC"; then
12170   ac_ct_CC=$CC
12171   for ac_prog in cl.exe
12172 do
12173   # Extract the first word of "$ac_prog", so it can be a program name with args.
12174 set dummy $ac_prog; ac_word=$2
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12176 $as_echo_n "checking for $ac_word... " >&6; }
12177 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12178   $as_echo_n "(cached) " >&6
12179 else
12180   if test -n "$ac_ct_CC"; then
12181   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12182 else
12183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12184 for as_dir in $PATH
12185 do
12186   IFS=$as_save_IFS
12187   test -z "$as_dir" && as_dir=.
12188     for ac_exec_ext in '' $ac_executable_extensions; do
12189   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12190     ac_cv_prog_ac_ct_CC="$ac_prog"
12191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12192     break 2
12193   fi
12194 done
12195   done
12196 IFS=$as_save_IFS
12197
12198 fi
12199 fi
12200 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12201 if test -n "$ac_ct_CC"; then
12202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12203 $as_echo "$ac_ct_CC" >&6; }
12204 else
12205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12206 $as_echo "no" >&6; }
12207 fi
12208
12209
12210   test -n "$ac_ct_CC" && break
12211 done
12212
12213   if test "x$ac_ct_CC" = x; then
12214     CC=""
12215   else
12216     case $cross_compiling:$ac_tool_warned in
12217 yes:)
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12220 ac_tool_warned=yes ;;
12221 esac
12222     CC=$ac_ct_CC
12223   fi
12224 fi
12225
12226 fi
12227
12228
12229 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12231 as_fn_error $? "no acceptable C compiler found in \$PATH
12232 See \`config.log' for more details" "$LINENO" 5; }
12233
12234 # Provide some information about the compiler.
12235 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12236 set X $ac_compile
12237 ac_compiler=$2
12238 for ac_option in --version -v -V -qversion; do
12239   { { ac_try="$ac_compiler $ac_option >&5"
12240 case "(($ac_try" in
12241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12242   *) ac_try_echo=$ac_try;;
12243 esac
12244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12245 $as_echo "$ac_try_echo"; } >&5
12246   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12247   ac_status=$?
12248   if test -s conftest.err; then
12249     sed '10a\
12250 ... rest of stderr output deleted ...
12251          10q' conftest.err >conftest.er1
12252     cat conftest.er1 >&5
12253   fi
12254   rm -f conftest.er1 conftest.err
12255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12256   test $ac_status = 0; }
12257 done
12258
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12260 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12261 if ${ac_cv_c_compiler_gnu+:} false; then :
12262   $as_echo_n "(cached) " >&6
12263 else
12264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h.  */
12266
12267 int
12268 main ()
12269 {
12270 #ifndef __GNUC__
12271        choke me
12272 #endif
12273
12274   ;
12275   return 0;
12276 }
12277 _ACEOF
12278 if ac_fn_c_try_compile "$LINENO"; then :
12279   ac_compiler_gnu=yes
12280 else
12281   ac_compiler_gnu=no
12282 fi
12283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12284 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12285
12286 fi
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12288 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12289 if test $ac_compiler_gnu = yes; then
12290   GCC=yes
12291 else
12292   GCC=
12293 fi
12294 ac_test_CFLAGS=${CFLAGS+set}
12295 ac_save_CFLAGS=$CFLAGS
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12297 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12298 if ${ac_cv_prog_cc_g+:} false; then :
12299   $as_echo_n "(cached) " >&6
12300 else
12301   ac_save_c_werror_flag=$ac_c_werror_flag
12302    ac_c_werror_flag=yes
12303    ac_cv_prog_cc_g=no
12304    CFLAGS="-g"
12305    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12306 /* end confdefs.h.  */
12307
12308 int
12309 main ()
12310 {
12311
12312   ;
12313   return 0;
12314 }
12315 _ACEOF
12316 if ac_fn_c_try_compile "$LINENO"; then :
12317   ac_cv_prog_cc_g=yes
12318 else
12319   CFLAGS=""
12320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h.  */
12322
12323 int
12324 main ()
12325 {
12326
12327   ;
12328   return 0;
12329 }
12330 _ACEOF
12331 if ac_fn_c_try_compile "$LINENO"; then :
12332
12333 else
12334   ac_c_werror_flag=$ac_save_c_werror_flag
12335          CFLAGS="-g"
12336          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h.  */
12338
12339 int
12340 main ()
12341 {
12342
12343   ;
12344   return 0;
12345 }
12346 _ACEOF
12347 if ac_fn_c_try_compile "$LINENO"; then :
12348   ac_cv_prog_cc_g=yes
12349 fi
12350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12351 fi
12352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12353 fi
12354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12355    ac_c_werror_flag=$ac_save_c_werror_flag
12356 fi
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12358 $as_echo "$ac_cv_prog_cc_g" >&6; }
12359 if test "$ac_test_CFLAGS" = set; then
12360   CFLAGS=$ac_save_CFLAGS
12361 elif test $ac_cv_prog_cc_g = yes; then
12362   if test "$GCC" = yes; then
12363     CFLAGS="-g -O2"
12364   else
12365     CFLAGS="-g"
12366   fi
12367 else
12368   if test "$GCC" = yes; then
12369     CFLAGS="-O2"
12370   else
12371     CFLAGS=
12372   fi
12373 fi
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12375 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12376 if ${ac_cv_prog_cc_c89+:} false; then :
12377   $as_echo_n "(cached) " >&6
12378 else
12379   ac_cv_prog_cc_c89=no
12380 ac_save_CC=$CC
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h.  */
12383 #include <stdarg.h>
12384 #include <stdio.h>
12385 #include <sys/types.h>
12386 #include <sys/stat.h>
12387 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12388 struct buf { int x; };
12389 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12390 static char *e (p, i)
12391      char **p;
12392      int i;
12393 {
12394   return p[i];
12395 }
12396 static char *f (char * (*g) (char **, int), char **p, ...)
12397 {
12398   char *s;
12399   va_list v;
12400   va_start (v,p);
12401   s = g (p, va_arg (v,int));
12402   va_end (v);
12403   return s;
12404 }
12405
12406 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12407    function prototypes and stuff, but not '\xHH' hex character constants.
12408    These don't provoke an error unfortunately, instead are silently treated
12409    as 'x'.  The following induces an error, until -std is added to get
12410    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12411    array size at least.  It's necessary to write '\x00'==0 to get something
12412    that's true only with -std.  */
12413 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12414
12415 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12416    inside strings and character constants.  */
12417 #define FOO(x) 'x'
12418 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12419
12420 int test (int i, double x);
12421 struct s1 {int (*f) (int a);};
12422 struct s2 {int (*f) (double a);};
12423 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12424 int argc;
12425 char **argv;
12426 int
12427 main ()
12428 {
12429 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12430   ;
12431   return 0;
12432 }
12433 _ACEOF
12434 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12435         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12436 do
12437   CC="$ac_save_CC $ac_arg"
12438   if ac_fn_c_try_compile "$LINENO"; then :
12439   ac_cv_prog_cc_c89=$ac_arg
12440 fi
12441 rm -f core conftest.err conftest.$ac_objext
12442   test "x$ac_cv_prog_cc_c89" != "xno" && break
12443 done
12444 rm -f conftest.$ac_ext
12445 CC=$ac_save_CC
12446
12447 fi
12448 # AC_CACHE_VAL
12449 case "x$ac_cv_prog_cc_c89" in
12450   x)
12451     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12452 $as_echo "none needed" >&6; } ;;
12453   xno)
12454     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12455 $as_echo "unsupported" >&6; } ;;
12456   *)
12457     CC="$CC $ac_cv_prog_cc_c89"
12458     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12459 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12460 esac
12461 if test "x$ac_cv_prog_cc_c89" != xno; then :
12462
12463 fi
12464
12465 ac_ext=c
12466 ac_cpp='$CPP $CPPFLAGS'
12467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12470
12471 depcc="$CC"   am_compiler_list=
12472
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12474 $as_echo_n "checking dependency style of $depcc... " >&6; }
12475 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12476   $as_echo_n "(cached) " >&6
12477 else
12478   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12479   # We make a subdir and do the tests there.  Otherwise we can end up
12480   # making bogus files that we don't know about and never remove.  For
12481   # instance it was reported that on HP-UX the gcc test will end up
12482   # making a dummy file named `D' -- because `-MD' means `put the output
12483   # in D'.
12484   rm -rf conftest.dir
12485   mkdir conftest.dir
12486   # Copy depcomp to subdir because otherwise we won't find it if we're
12487   # using a relative directory.
12488   cp "$am_depcomp" conftest.dir
12489   cd conftest.dir
12490   # We will build objects and dependencies in a subdirectory because
12491   # it helps to detect inapplicable dependency modes.  For instance
12492   # both Tru64's cc and ICC support -MD to output dependencies as a
12493   # side effect of compilation, but ICC will put the dependencies in
12494   # the current directory while Tru64 will put them in the object
12495   # directory.
12496   mkdir sub
12497
12498   am_cv_CC_dependencies_compiler_type=none
12499   if test "$am_compiler_list" = ""; then
12500      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12501   fi
12502   am__universal=false
12503   case " $depcc " in #(
12504      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12505      esac
12506
12507   for depmode in $am_compiler_list; do
12508     # Setup a source with many dependencies, because some compilers
12509     # like to wrap large dependency lists on column 80 (with \), and
12510     # we should not choose a depcomp mode which is confused by this.
12511     #
12512     # We need to recreate these files for each test, as the compiler may
12513     # overwrite some of them when testing with obscure command lines.
12514     # This happens at least with the AIX C compiler.
12515     : > sub/conftest.c
12516     for i in 1 2 3 4 5 6; do
12517       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12518       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12519       # Solaris 8's {/usr,}/bin/sh.
12520       touch sub/conftst$i.h
12521     done
12522     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12523
12524     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12525     # mode.  It turns out that the SunPro C++ compiler does not properly
12526     # handle `-M -o', and we need to detect this.  Also, some Intel
12527     # versions had trouble with output in subdirs
12528     am__obj=sub/conftest.${OBJEXT-o}
12529     am__minus_obj="-o $am__obj"
12530     case $depmode in
12531     gcc)
12532       # This depmode causes a compiler race in universal mode.
12533       test "$am__universal" = false || continue
12534       ;;
12535     nosideeffect)
12536       # after this tag, mechanisms are not by side-effect, so they'll
12537       # only be used when explicitly requested
12538       if test "x$enable_dependency_tracking" = xyes; then
12539         continue
12540       else
12541         break
12542       fi
12543       ;;
12544     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12545       # This compiler won't grok `-c -o', but also, the minuso test has
12546       # not run yet.  These depmodes are late enough in the game, and
12547       # so weak that their functioning should not be impacted.
12548       am__obj=conftest.${OBJEXT-o}
12549       am__minus_obj=
12550       ;;
12551     none) break ;;
12552     esac
12553     if depmode=$depmode \
12554        source=sub/conftest.c object=$am__obj \
12555        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12556        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12557          >/dev/null 2>conftest.err &&
12558        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12559        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12560        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12561        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12562       # icc doesn't choke on unknown options, it will just issue warnings
12563       # or remarks (even with -Werror).  So we grep stderr for any message
12564       # that says an option was ignored or not supported.
12565       # When given -MP, icc 7.0 and 7.1 complain thusly:
12566       #   icc: Command line warning: ignoring option '-M'; no argument required
12567       # The diagnosis changed in icc 8.0:
12568       #   icc: Command line remark: option '-MP' not supported
12569       if (grep 'ignoring option' conftest.err ||
12570           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12571         am_cv_CC_dependencies_compiler_type=$depmode
12572         break
12573       fi
12574     fi
12575   done
12576
12577   cd ..
12578   rm -rf conftest.dir
12579 else
12580   am_cv_CC_dependencies_compiler_type=none
12581 fi
12582
12583 fi
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12585 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12586 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12587
12588  if
12589   test "x$enable_dependency_tracking" != xno \
12590   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12591   am__fastdepCC_TRUE=
12592   am__fastdepCC_FALSE='#'
12593 else
12594   am__fastdepCC_TRUE='#'
12595   am__fastdepCC_FALSE=
12596 fi
12597
12598
12599 if test "x$CC" != xcc; then
12600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12601 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12602 else
12603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12604 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12605 fi
12606 set dummy $CC; ac_cc=`$as_echo "$2" |
12607                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12608 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12609   $as_echo_n "(cached) " >&6
12610 else
12611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h.  */
12613
12614 int
12615 main ()
12616 {
12617
12618   ;
12619   return 0;
12620 }
12621 _ACEOF
12622 # Make sure it works both with $CC and with simple cc.
12623 # We do the test twice because some compilers refuse to overwrite an
12624 # existing .o file with -o, though they will create one.
12625 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12626 rm -f conftest2.*
12627 if { { case "(($ac_try" in
12628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12629   *) ac_try_echo=$ac_try;;
12630 esac
12631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12632 $as_echo "$ac_try_echo"; } >&5
12633   (eval "$ac_try") 2>&5
12634   ac_status=$?
12635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12636   test $ac_status = 0; } &&
12637    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12639   *) ac_try_echo=$ac_try;;
12640 esac
12641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12642 $as_echo "$ac_try_echo"; } >&5
12643   (eval "$ac_try") 2>&5
12644   ac_status=$?
12645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12646   test $ac_status = 0; };
12647 then
12648   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12649   if test "x$CC" != xcc; then
12650     # Test first that cc exists at all.
12651     if { ac_try='cc -c conftest.$ac_ext >&5'
12652   { { case "(($ac_try" in
12653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12654   *) ac_try_echo=$ac_try;;
12655 esac
12656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12657 $as_echo "$ac_try_echo"; } >&5
12658   (eval "$ac_try") 2>&5
12659   ac_status=$?
12660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12661   test $ac_status = 0; }; }; then
12662       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12663       rm -f conftest2.*
12664       if { { case "(($ac_try" in
12665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12666   *) ac_try_echo=$ac_try;;
12667 esac
12668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12669 $as_echo "$ac_try_echo"; } >&5
12670   (eval "$ac_try") 2>&5
12671   ac_status=$?
12672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12673   test $ac_status = 0; } &&
12674          test -f conftest2.$ac_objext && { { case "(($ac_try" in
12675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12676   *) ac_try_echo=$ac_try;;
12677 esac
12678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12679 $as_echo "$ac_try_echo"; } >&5
12680   (eval "$ac_try") 2>&5
12681   ac_status=$?
12682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12683   test $ac_status = 0; };
12684       then
12685         # cc works too.
12686         :
12687       else
12688         # cc exists but doesn't like -o.
12689         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12690       fi
12691     fi
12692   fi
12693 else
12694   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12695 fi
12696 rm -f core conftest*
12697
12698 fi
12699 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12701 $as_echo "yes" >&6; }
12702 else
12703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704 $as_echo "no" >&6; }
12705
12706 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12707
12708 fi
12709
12710 # FIXME: we rely on the cache variable name because
12711 # there is no other way.
12712 set dummy $CC
12713 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12714 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12715 if test "$am_t" != yes; then
12716    # Losing compiler, so override with the script.
12717    # FIXME: It is wrong to rewrite CC.
12718    # But if we don't then we get into trouble of one sort or another.
12719    # A longer-term fix would be to have automake use am__CC in this case,
12720    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12721    CC="$am_aux_dir/compile $CC"
12722 fi
12723
12724
12725
12726 # pkg-config
12727
12728
12729
12730
12731
12732
12733
12734 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12735         if test -n "$ac_tool_prefix"; then
12736   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12737 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12739 $as_echo_n "checking for $ac_word... " >&6; }
12740 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12741   $as_echo_n "(cached) " >&6
12742 else
12743   case $PKG_CONFIG in
12744   [\\/]* | ?:[\\/]*)
12745   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12746   ;;
12747   *)
12748   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12749 for as_dir in $PATH
12750 do
12751   IFS=$as_save_IFS
12752   test -z "$as_dir" && as_dir=.
12753     for ac_exec_ext in '' $ac_executable_extensions; do
12754   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12755     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12757     break 2
12758   fi
12759 done
12760   done
12761 IFS=$as_save_IFS
12762
12763   ;;
12764 esac
12765 fi
12766 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12767 if test -n "$PKG_CONFIG"; then
12768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12769 $as_echo "$PKG_CONFIG" >&6; }
12770 else
12771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12772 $as_echo "no" >&6; }
12773 fi
12774
12775
12776 fi
12777 if test -z "$ac_cv_path_PKG_CONFIG"; then
12778   ac_pt_PKG_CONFIG=$PKG_CONFIG
12779   # Extract the first word of "pkg-config", so it can be a program name with args.
12780 set dummy pkg-config; ac_word=$2
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12782 $as_echo_n "checking for $ac_word... " >&6; }
12783 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12784   $as_echo_n "(cached) " >&6
12785 else
12786   case $ac_pt_PKG_CONFIG in
12787   [\\/]* | ?:[\\/]*)
12788   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12789   ;;
12790   *)
12791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12792 for as_dir in $PATH
12793 do
12794   IFS=$as_save_IFS
12795   test -z "$as_dir" && as_dir=.
12796     for ac_exec_ext in '' $ac_executable_extensions; do
12797   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12798     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12800     break 2
12801   fi
12802 done
12803   done
12804 IFS=$as_save_IFS
12805
12806   ;;
12807 esac
12808 fi
12809 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12810 if test -n "$ac_pt_PKG_CONFIG"; then
12811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12812 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12813 else
12814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12815 $as_echo "no" >&6; }
12816 fi
12817
12818   if test "x$ac_pt_PKG_CONFIG" = x; then
12819     PKG_CONFIG=""
12820   else
12821     case $cross_compiling:$ac_tool_warned in
12822 yes:)
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12825 ac_tool_warned=yes ;;
12826 esac
12827     PKG_CONFIG=$ac_pt_PKG_CONFIG
12828   fi
12829 else
12830   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12831 fi
12832
12833 fi
12834 if test -n "$PKG_CONFIG"; then
12835         _pkg_min_version=0.9.0
12836         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12837 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12838         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12839                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12840 $as_echo "yes" >&6; }
12841         else
12842                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12843 $as_echo "no" >&6; }
12844                 PKG_CONFIG=""
12845         fi
12846 fi
12847
12848 # Check whether pkg-config supports Requires.private
12849 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
12850    pkgconfig_requires_private="Requires.private"
12851 else
12852    pkgconfig_requires_private="Requires"
12853 fi
12854
12855
12856 # doxygen program for documentation building
12857
12858
12859 # Check whether --enable-doc was given.
12860 if test "${enable_doc+set}" = set; then :
12861   enableval=$enable_doc;
12862     if test "x${enableval}" = "xyes" ; then
12863        efl_enable_doc="yes"
12864     else
12865        efl_enable_doc="no"
12866     fi
12867
12868 else
12869   efl_enable_doc="yes"
12870 fi
12871
12872
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12874 $as_echo_n "checking whether to build documentation... " >&6; }
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12876 $as_echo "${efl_enable_doc}" >&6; }
12877
12878 if test "x${efl_enable_doc}" = "xyes" ; then
12879
12880
12881    efl_doxygen="doxygen"
12882
12883
12884 # Check whether --with-doxygen was given.
12885 if test "${with_doxygen+set}" = set; then :
12886   withval=$with_doxygen;
12887       efl_doxygen=${withval}
12888        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12889 set dummy ${efl_doxygen}; ac_word=$2
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12891 $as_echo_n "checking for $ac_word... " >&6; }
12892 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12893   $as_echo_n "(cached) " >&6
12894 else
12895   if test -n "$efl_have_doxygen"; then
12896   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12897 else
12898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12899 for as_dir in $PATH
12900 do
12901   IFS=$as_save_IFS
12902   test -z "$as_dir" && as_dir=.
12903     for ac_exec_ext in '' $ac_executable_extensions; do
12904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12905     ac_cv_prog_efl_have_doxygen="yes"
12906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12907     break 2
12908   fi
12909 done
12910   done
12911 IFS=$as_save_IFS
12912
12913   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12914 fi
12915 fi
12916 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12917 if test -n "$efl_have_doxygen"; then
12918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12919 $as_echo "$efl_have_doxygen" >&6; }
12920 else
12921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12922 $as_echo "no" >&6; }
12923 fi
12924
12925
12926        if test "x${efl_have_doxygen}" = "xno" ; then
12927           echo "WARNING:"
12928           echo "The doxygen program you specified:"
12929           echo "${efl_doxygen}"
12930           echo "was not found.  Please check the path and make sure "
12931           echo "the program exists and is executable."
12932           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12933 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12934        fi
12935
12936 else
12937   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12938 set dummy ${efl_doxygen}; ac_word=$2
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12940 $as_echo_n "checking for $ac_word... " >&6; }
12941 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12942   $as_echo_n "(cached) " >&6
12943 else
12944   if test -n "$efl_have_doxygen"; then
12945   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12946 else
12947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12948 for as_dir in $PATH
12949 do
12950   IFS=$as_save_IFS
12951   test -z "$as_dir" && as_dir=.
12952     for ac_exec_ext in '' $ac_executable_extensions; do
12953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12954     ac_cv_prog_efl_have_doxygen="yes"
12955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12956     break 2
12957   fi
12958 done
12959   done
12960 IFS=$as_save_IFS
12961
12962   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12963 fi
12964 fi
12965 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12966 if test -n "$efl_have_doxygen"; then
12967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12968 $as_echo "$efl_have_doxygen" >&6; }
12969 else
12970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12971 $as_echo "no" >&6; }
12972 fi
12973
12974
12975        if test "x${efl_have_doxygen}" = "xno" ; then
12976           echo "WARNING:"
12977           echo "The doxygen program was not found in your execute path."
12978           echo "You may have doxygen installed somewhere not covered by your path."
12979           echo ""
12980           echo "If this is the case make sure you have the packages installed, AND"
12981           echo "that the doxygen program is in your execute path (see your"
12982           echo "shell manual page on setting the \$PATH environment variable), OR"
12983           echo "alternatively, specify the program to use with --with-doxygen."
12984           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12985 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12986        fi
12987
12988 fi
12989
12990 else
12991    efl_have_doxygen="no"
12992 fi
12993
12994
12995
12996 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12997    efl_enable_doc="no"
12998 fi
12999
13000  if test "x${efl_have_doxygen}" = "xyes"; then
13001   EFL_BUILD_DOC_TRUE=
13002   EFL_BUILD_DOC_FALSE='#'
13003 else
13004   EFL_BUILD_DOC_TRUE='#'
13005   EFL_BUILD_DOC_FALSE=
13006 fi
13007
13008
13009 if test "x$efl_have_doxygen" = "xyes"; then :
13010   build_doc="yes"
13011 else
13012   build_doc="no"
13013 fi
13014
13015
13016
13017 ### Checks for libraries
13018
13019 # Evil library for compilation on Windows
13020
13021 case "$host_os" in
13022    mingw*)
13023       if test -n "$PKG_CONFIG" && \
13024     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.5\""; } >&5
13025   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.5") 2>&5
13026   ac_status=$?
13027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13028   test $ac_status = 0; }; then
13029   :
13030 fi
13031
13032 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13033
13034       requirement_edbus="${requirement_edbus} evil >= 1.7.5"
13035    ;;
13036 esac
13037
13038
13039 pkg_failed=no
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13041 $as_echo_n "checking for DBUS... " >&6; }
13042
13043 if test -n "$DBUS_CFLAGS"; then
13044     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13045  elif test -n "$PKG_CONFIG"; then
13046     if test -n "$PKG_CONFIG" && \
13047     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13048   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13049   ac_status=$?
13050   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13051   test $ac_status = 0; }; then
13052   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
13053                       test "x$?" != "x0" && pkg_failed=yes
13054 else
13055   pkg_failed=yes
13056 fi
13057  else
13058     pkg_failed=untried
13059 fi
13060 if test -n "$DBUS_LIBS"; then
13061     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13062  elif test -n "$PKG_CONFIG"; then
13063     if test -n "$PKG_CONFIG" && \
13064     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13065   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13066   ac_status=$?
13067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13068   test $ac_status = 0; }; then
13069   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
13070                       test "x$?" != "x0" && pkg_failed=yes
13071 else
13072   pkg_failed=yes
13073 fi
13074  else
13075     pkg_failed=untried
13076 fi
13077
13078
13079
13080 if test $pkg_failed = yes; then
13081         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13082 $as_echo "no" >&6; }
13083
13084 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13085         _pkg_short_errors_supported=yes
13086 else
13087         _pkg_short_errors_supported=no
13088 fi
13089         if test $_pkg_short_errors_supported = yes; then
13090                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13091         else
13092                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13093         fi
13094         # Put the nasty error message in config.log where it belongs
13095         echo "$DBUS_PKG_ERRORS" >&5
13096
13097         as_fn_error $? "Package requirements (dbus-1 >= 0.62) were not met:
13098
13099 $DBUS_PKG_ERRORS
13100
13101 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13102 installed software in a non-standard prefix.
13103
13104 Alternatively, you may set the environment variables DBUS_CFLAGS
13105 and DBUS_LIBS to avoid the need to call pkg-config.
13106 See the pkg-config man page for more details." "$LINENO" 5
13107 elif test $pkg_failed = untried; then
13108         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13109 $as_echo "no" >&6; }
13110         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13112 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13113 is in your PATH or set the PKG_CONFIG environment variable to the full
13114 path to pkg-config.
13115
13116 Alternatively, you may set the environment variables DBUS_CFLAGS
13117 and DBUS_LIBS to avoid the need to call pkg-config.
13118 See the pkg-config man page for more details.
13119
13120 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13121 See \`config.log' for more details" "$LINENO" 5; }
13122 else
13123         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13124         DBUS_LIBS=$pkg_cv_DBUS_LIBS
13125         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13126 $as_echo "yes" >&6; }
13127
13128 fi
13129
13130
13131 pkg_failed=no
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13133 $as_echo_n "checking for EDBUS... " >&6; }
13134
13135 if test -n "$EDBUS_CFLAGS"; then
13136     pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13137  elif test -n "$PKG_CONFIG"; then
13138     if test -n "$PKG_CONFIG" && \
13139     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13140   ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13141   ac_status=$?
13142   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13143   test $ac_status = 0; }; then
13144   pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "${requirement_edbus}" 2>/dev/null`
13145                       test "x$?" != "x0" && pkg_failed=yes
13146 else
13147   pkg_failed=yes
13148 fi
13149  else
13150     pkg_failed=untried
13151 fi
13152 if test -n "$EDBUS_LIBS"; then
13153     pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13154  elif test -n "$PKG_CONFIG"; then
13155     if test -n "$PKG_CONFIG" && \
13156     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13157   ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13158   ac_status=$?
13159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13160   test $ac_status = 0; }; then
13161   pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "${requirement_edbus}" 2>/dev/null`
13162                       test "x$?" != "x0" && pkg_failed=yes
13163 else
13164   pkg_failed=yes
13165 fi
13166  else
13167     pkg_failed=untried
13168 fi
13169
13170
13171
13172 if test $pkg_failed = yes; then
13173         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13174 $as_echo "no" >&6; }
13175
13176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13177         _pkg_short_errors_supported=yes
13178 else
13179         _pkg_short_errors_supported=no
13180 fi
13181         if test $_pkg_short_errors_supported = yes; then
13182                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13183         else
13184                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13185         fi
13186         # Put the nasty error message in config.log where it belongs
13187         echo "$EDBUS_PKG_ERRORS" >&5
13188
13189         as_fn_error $? "Package requirements (${requirement_edbus}) were not met:
13190
13191 $EDBUS_PKG_ERRORS
13192
13193 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13194 installed software in a non-standard prefix.
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." "$LINENO" 5
13199 elif test $pkg_failed = untried; then
13200         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13201 $as_echo "no" >&6; }
13202         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13204 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13205 is in your PATH or set the PKG_CONFIG environment variable to the full
13206 path to pkg-config.
13207
13208 Alternatively, you may set the environment variables EDBUS_CFLAGS
13209 and EDBUS_LIBS to avoid the need to call pkg-config.
13210 See the pkg-config man page for more details.
13211
13212 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13213 See \`config.log' for more details" "$LINENO" 5; }
13214 else
13215         EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13216         EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13217         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13218 $as_echo "yes" >&6; }
13219
13220 fi
13221
13222 # Find out the version of DBUS we're using
13223 dbus_version=`pkg-config --modversion dbus-1`
13224 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
13225 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
13226 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
13227
13228 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
13229    DBUS_VERSION_MAJOR="0"
13230 fi
13231
13232 if test "z$DBUS_VERSION_MINOR" = "z" ; then
13233    DBUS_VERSION_MINOR="0"
13234 fi
13235
13236 if test "z$DBUS_VERSION_MICRO" = "z" ; then
13237    DBUS_VERSION_MICRO="0"
13238 fi
13239
13240 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
13241 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
13242 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
13243
13244
13245 # Dependencies for the libraries
13246 if test "x${enable_enotify}" = "xyes" ; then
13247
13248 pkg_failed=no
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
13250 $as_echo_n "checking for EVAS... " >&6; }
13251
13252 if test -n "$EVAS_CFLAGS"; then
13253     pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
13254  elif test -n "$PKG_CONFIG"; then
13255     if test -n "$PKG_CONFIG" && \
13256     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.5\""; } >&5
13257   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.5") 2>&5
13258   ac_status=$?
13259   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260   test $ac_status = 0; }; then
13261   pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.5" 2>/dev/null`
13262                       test "x$?" != "x0" && pkg_failed=yes
13263 else
13264   pkg_failed=yes
13265 fi
13266  else
13267     pkg_failed=untried
13268 fi
13269 if test -n "$EVAS_LIBS"; then
13270     pkg_cv_EVAS_LIBS="$EVAS_LIBS"
13271  elif test -n "$PKG_CONFIG"; then
13272     if test -n "$PKG_CONFIG" && \
13273     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.5\""; } >&5
13274   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.5") 2>&5
13275   ac_status=$?
13276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13277   test $ac_status = 0; }; then
13278   pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.5" 2>/dev/null`
13279                       test "x$?" != "x0" && pkg_failed=yes
13280 else
13281   pkg_failed=yes
13282 fi
13283  else
13284     pkg_failed=untried
13285 fi
13286
13287
13288
13289 if test $pkg_failed = yes; then
13290         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13291 $as_echo "no" >&6; }
13292
13293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13294         _pkg_short_errors_supported=yes
13295 else
13296         _pkg_short_errors_supported=no
13297 fi
13298         if test $_pkg_short_errors_supported = yes; then
13299                 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.7.5" 2>&1`
13300         else
13301                 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.7.5" 2>&1`
13302         fi
13303         # Put the nasty error message in config.log where it belongs
13304         echo "$EVAS_PKG_ERRORS" >&5
13305
13306         enable_enotify="no"
13307 elif test $pkg_failed = untried; then
13308         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13309 $as_echo "no" >&6; }
13310         enable_enotify="no"
13311 else
13312         EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
13313         EVAS_LIBS=$pkg_cv_EVAS_LIBS
13314         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13315 $as_echo "yes" >&6; }
13316         requirement_enotify="evas >= 1.7.5 ${requirement_enotify}"
13317 fi
13318 fi
13319
13320  if test "x${enable_ebluez}"   = "xyes"; then
13321   BUILD_EBLUEZ_TRUE=
13322   BUILD_EBLUEZ_FALSE='#'
13323 else
13324   BUILD_EBLUEZ_TRUE='#'
13325   BUILD_EBLUEZ_FALSE=
13326 fi
13327
13328  if test "x${enable_econnman0_7x}" = "xyes"; then
13329   BUILD_ECONNMAN0_7X_TRUE=
13330   BUILD_ECONNMAN0_7X_FALSE='#'
13331 else
13332   BUILD_ECONNMAN0_7X_TRUE='#'
13333   BUILD_ECONNMAN0_7X_FALSE=
13334 fi
13335
13336  if test "x${enable_ehal}"     = "xyes"; then
13337   BUILD_EHAL_TRUE=
13338   BUILD_EHAL_FALSE='#'
13339 else
13340   BUILD_EHAL_TRUE='#'
13341   BUILD_EHAL_FALSE=
13342 fi
13343
13344  if test "x${enable_enotify}"  = "xyes"; then
13345   BUILD_ENOTIFY_TRUE=
13346   BUILD_ENOTIFY_FALSE='#'
13347 else
13348   BUILD_ENOTIFY_TRUE='#'
13349   BUILD_ENOTIFY_FALSE=
13350 fi
13351
13352  if test "x${enable_eofono}"   = "xyes"; then
13353   BUILD_EOFONO_TRUE=
13354   BUILD_EOFONO_FALSE='#'
13355 else
13356   BUILD_EOFONO_TRUE='#'
13357   BUILD_EOFONO_FALSE=
13358 fi
13359
13360  if test "x${enable_eukit}"    = "xyes"; then
13361   BUILD_EUKIT_TRUE=
13362   BUILD_EUKIT_FALSE='#'
13363 else
13364   BUILD_EUKIT_TRUE='#'
13365   BUILD_EUKIT_FALSE=
13366 fi
13367
13368
13369 # Dependencies for the binaries
13370
13371
13372
13373
13374
13375 # Check whether --enable-edbus-test was given.
13376 if test "${enable_edbus_test+set}" = set; then :
13377   enableval=$enable_edbus_test;
13378     if test "x${enableval}" = "xyes" ; then
13379        have_edbus_test="yes"
13380     else
13381        have_edbus_test="no"
13382     fi
13383
13384 else
13385   have_edbus_test="yes"
13386 fi
13387
13388
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
13390 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
13392 $as_echo "$have_edbus_test" >&6; }
13393
13394 if test "x$have_edbus_test" = "xyes"; then
13395    EDBUS_TEST_PRG=edbus_test${EXEEXT}
13396 fi
13397
13398
13399
13400  if test "x$have_edbus_test" = "xyes"; then
13401   BUILD_EDBUS_TEST_TRUE=
13402   BUILD_EDBUS_TEST_FALSE='#'
13403 else
13404   BUILD_EDBUS_TEST_TRUE='#'
13405   BUILD_EDBUS_TEST_FALSE=
13406 fi
13407
13408
13409 if test "x$have_edbus_test" = "xyes"; then :
13410
13411 fi
13412
13413
13414
13415
13416
13417
13418 # Check whether --enable-edbus-test-client was given.
13419 if test "${enable_edbus_test_client+set}" = set; then :
13420   enableval=$enable_edbus_test_client;
13421     if test "x${enableval}" = "xyes" ; then
13422        have_edbus_test_client="yes"
13423     else
13424        have_edbus_test_client="no"
13425     fi
13426
13427 else
13428   have_edbus_test_client="yes"
13429 fi
13430
13431
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
13433 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
13435 $as_echo "$have_edbus_test_client" >&6; }
13436
13437 if test "x$have_edbus_test_client" = "xyes"; then
13438    EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
13439 fi
13440
13441
13442
13443  if test "x$have_edbus_test_client" = "xyes"; then
13444   BUILD_EDBUS_TEST_CLIENT_TRUE=
13445   BUILD_EDBUS_TEST_CLIENT_FALSE='#'
13446 else
13447   BUILD_EDBUS_TEST_CLIENT_TRUE='#'
13448   BUILD_EDBUS_TEST_CLIENT_FALSE=
13449 fi
13450
13451
13452 if test "x$have_edbus_test_client" = "xyes"; then :
13453
13454 fi
13455
13456
13457
13458
13459
13460
13461 # Check whether --enable-edbus-bluez-test was given.
13462 if test "${enable_edbus_bluez_test+set}" = set; then :
13463   enableval=$enable_edbus_bluez_test;
13464     if test "x${enableval}" = "xyes" ; then
13465        have_edbus_bluez_test="yes"
13466     else
13467        have_edbus_bluez_test="no"
13468     fi
13469
13470 else
13471   have_edbus_bluez_test=${enable_ebluez}
13472 fi
13473
13474
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
13476 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
13478 $as_echo "$have_edbus_bluez_test" >&6; }
13479
13480 if test "x$have_edbus_bluez_test" = "xyes"; then
13481    EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
13482 fi
13483
13484
13485
13486  if test "x$have_edbus_bluez_test" = "xyes"; then
13487   BUILD_EDBUS_BLUEZ_TEST_TRUE=
13488   BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
13489 else
13490   BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
13491   BUILD_EDBUS_BLUEZ_TEST_FALSE=
13492 fi
13493
13494
13495 if test "x$have_edbus_bluez_test" = "xyes"; then :
13496
13497 fi
13498
13499
13500
13501
13502
13503
13504 # Check whether --enable-edbus-connman0_7x-test was given.
13505 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
13506   enableval=$enable_edbus_connman0_7x_test;
13507     if test "x${enableval}" = "xyes" ; then
13508        have_edbus_connman0_7x_test="yes"
13509     else
13510        have_edbus_connman0_7x_test="no"
13511     fi
13512
13513 else
13514   have_edbus_connman0_7x_test=${enable_econnman0_7x}
13515 fi
13516
13517
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
13519 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
13521 $as_echo "$have_edbus_connman0_7x_test" >&6; }
13522
13523 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13524    EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
13525 fi
13526
13527
13528
13529  if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13530   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
13531   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
13532 else
13533   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
13534   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
13535 fi
13536
13537
13538 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
13539
13540 fi
13541
13542
13543
13544
13545
13546
13547 # Check whether --enable-edbus-notification-daemon-test was given.
13548 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
13549   enableval=$enable_edbus_notification_daemon_test;
13550     if test "x${enableval}" = "xyes" ; then
13551        have_edbus_notification_daemon_test="yes"
13552     else
13553        have_edbus_notification_daemon_test="no"
13554     fi
13555
13556 else
13557   have_edbus_notification_daemon_test=${enable_enotify}
13558 fi
13559
13560
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
13562 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
13564 $as_echo "$have_edbus_notification_daemon_test" >&6; }
13565
13566 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13567    EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
13568 fi
13569
13570
13571
13572  if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13573   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
13574   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
13575 else
13576   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
13577   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
13578 fi
13579
13580
13581 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
13582
13583 fi
13584
13585
13586
13587
13588
13589
13590 # Check whether --enable-edbus-notify-send was given.
13591 if test "${enable_edbus_notify_send+set}" = set; then :
13592   enableval=$enable_edbus_notify_send;
13593     if test "x${enableval}" = "xyes" ; then
13594        have_edbus_notify_send="yes"
13595     else
13596        have_edbus_notify_send="no"
13597     fi
13598
13599 else
13600   have_edbus_notify_send=${enable_enotify}
13601 fi
13602
13603
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
13605 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
13607 $as_echo "$have_edbus_notify_send" >&6; }
13608
13609 if test "x$have_edbus_notify_send" = "xyes"; then
13610    EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
13611 fi
13612
13613
13614
13615  if test "x$have_edbus_notify_send" = "xyes"; then
13616   BUILD_EDBUS_NOTIFY_SEND_TRUE=
13617   BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
13618 else
13619   BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
13620   BUILD_EDBUS_NOTIFY_SEND_FALSE=
13621 fi
13622
13623
13624 if test "x$have_edbus_notify_send" = "xyes"; then :
13625
13626 fi
13627
13628
13629
13630
13631
13632
13633 # Check whether --enable-edbus-notify-test was given.
13634 if test "${enable_edbus_notify_test+set}" = set; then :
13635   enableval=$enable_edbus_notify_test;
13636     if test "x${enableval}" = "xyes" ; then
13637        have_edbus_notify_test="yes"
13638     else
13639        have_edbus_notify_test="no"
13640     fi
13641
13642 else
13643   have_edbus_notify_test=${enable_enotify}
13644 fi
13645
13646
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
13648 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
13650 $as_echo "$have_edbus_notify_test" >&6; }
13651
13652 if test "x$have_edbus_notify_test" = "xyes"; then
13653    EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
13654 fi
13655
13656
13657
13658  if test "x$have_edbus_notify_test" = "xyes"; then
13659   BUILD_EDBUS_NOTIFY_TEST_TRUE=
13660   BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
13661 else
13662   BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
13663   BUILD_EDBUS_NOTIFY_TEST_FALSE=
13664 fi
13665
13666
13667 if test "x$have_edbus_notify_test" = "xyes"; then :
13668
13669 fi
13670
13671
13672
13673
13674
13675
13676 # Check whether --enable-edbus-ofono-test was given.
13677 if test "${enable_edbus_ofono_test+set}" = set; then :
13678   enableval=$enable_edbus_ofono_test;
13679     if test "x${enableval}" = "xyes" ; then
13680        have_edbus_ofono_test="yes"
13681     else
13682        have_edbus_ofono_test="no"
13683     fi
13684
13685 else
13686   have_edbus_ofono_test=${enable_eofono}
13687 fi
13688
13689
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
13691 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
13693 $as_echo "$have_edbus_ofono_test" >&6; }
13694
13695 if test "x$have_edbus_ofono_test" = "xyes"; then
13696    EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
13697 fi
13698
13699
13700
13701  if test "x$have_edbus_ofono_test" = "xyes"; then
13702   BUILD_EDBUS_OFONO_TEST_TRUE=
13703   BUILD_EDBUS_OFONO_TEST_FALSE='#'
13704 else
13705   BUILD_EDBUS_OFONO_TEST_TRUE='#'
13706   BUILD_EDBUS_OFONO_TEST_FALSE=
13707 fi
13708
13709
13710 if test "x$have_edbus_ofono_test" = "xyes"; then :
13711
13712 fi
13713
13714
13715
13716
13717
13718
13719 # Check whether --enable-edbus-ukit-test was given.
13720 if test "${enable_edbus_ukit_test+set}" = set; then :
13721   enableval=$enable_edbus_ukit_test;
13722     if test "x${enableval}" = "xyes" ; then
13723        have_edbus_ukit_test="yes"
13724     else
13725        have_edbus_ukit_test="no"
13726     fi
13727
13728 else
13729   have_edbus_ukit_test=${enable_eukit}
13730 fi
13731
13732
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
13734 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
13736 $as_echo "$have_edbus_ukit_test" >&6; }
13737
13738 if test "x$have_edbus_ukit_test" = "xyes"; then
13739    EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
13740 fi
13741
13742
13743
13744  if test "x$have_edbus_ukit_test" = "xyes"; then
13745   BUILD_EDBUS_UKIT_TEST_TRUE=
13746   BUILD_EDBUS_UKIT_TEST_FALSE='#'
13747 else
13748   BUILD_EDBUS_UKIT_TEST_TRUE='#'
13749   BUILD_EDBUS_UKIT_TEST_FALSE=
13750 fi
13751
13752
13753 if test "x$have_edbus_ukit_test" = "xyes"; then :
13754
13755 fi
13756
13757
13758
13759
13760
13761
13762 # Check whether --enable-edbus-performance-test was given.
13763 if test "${enable_edbus_performance_test+set}" = set; then :
13764   enableval=$enable_edbus_performance_test;
13765     if test "x${enableval}" = "xyes" ; then
13766        have_edbus_performance_test="yes"
13767     else
13768        have_edbus_performance_test="no"
13769     fi
13770
13771 else
13772   have_edbus_performance_test="no"
13773 fi
13774
13775
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
13777 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
13779 $as_echo "$have_edbus_performance_test" >&6; }
13780
13781 if test "x$have_edbus_performance_test" = "xyes"; then
13782    EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
13783 fi
13784
13785
13786
13787  if test "x$have_edbus_performance_test" = "xyes"; then
13788   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13789   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13790 else
13791   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13792   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13793 fi
13794
13795
13796 if test "x$have_edbus_performance_test" = "xyes"; then :
13797
13798 fi
13799
13800
13801
13802
13803
13804
13805 # Check whether --enable-edbus-async-test was given.
13806 if test "${enable_edbus_async_test+set}" = set; then :
13807   enableval=$enable_edbus_async_test;
13808     if test "x${enableval}" = "xyes" ; then
13809        have_edbus_async_test="yes"
13810     else
13811        have_edbus_async_test="no"
13812     fi
13813
13814 else
13815   have_edbus_async_test="yes"
13816 fi
13817
13818
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
13820 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
13822 $as_echo "$have_edbus_async_test" >&6; }
13823
13824 if test "x$have_edbus_async_test" = "xyes"; then
13825    EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
13826 fi
13827
13828
13829
13830  if test "x$have_edbus_async_test" = "xyes"; then
13831   BUILD_EDBUS_ASYNC_TEST_TRUE=
13832   BUILD_EDBUS_ASYNC_TEST_FALSE='#'
13833 else
13834   BUILD_EDBUS_ASYNC_TEST_TRUE='#'
13835   BUILD_EDBUS_ASYNC_TEST_FALSE=
13836 fi
13837
13838
13839 if test "x$have_edbus_async_test" = "xyes"; then :
13840
13841 fi
13842
13843
13844
13845 if test "x${have_edbus_test}" = "xyes" ; then
13846
13847 pkg_failed=no
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
13849 $as_echo_n "checking for EDBUS_TEST... " >&6; }
13850
13851 if test -n "$EDBUS_TEST_CFLAGS"; then
13852     pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
13853  elif test -n "$PKG_CONFIG"; then
13854     if test -n "$PKG_CONFIG" && \
13855     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
13856   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
13857   ac_status=$?
13858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13859   test $ac_status = 0; }; then
13860   pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
13861                       test "x$?" != "x0" && pkg_failed=yes
13862 else
13863   pkg_failed=yes
13864 fi
13865  else
13866     pkg_failed=untried
13867 fi
13868 if test -n "$EDBUS_TEST_LIBS"; then
13869     pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
13870  elif test -n "$PKG_CONFIG"; then
13871     if test -n "$PKG_CONFIG" && \
13872     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
13873   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
13874   ac_status=$?
13875   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13876   test $ac_status = 0; }; then
13877   pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
13878                       test "x$?" != "x0" && pkg_failed=yes
13879 else
13880   pkg_failed=yes
13881 fi
13882  else
13883     pkg_failed=untried
13884 fi
13885
13886
13887
13888 if test $pkg_failed = yes; then
13889         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13890 $as_echo "no" >&6; }
13891
13892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13893         _pkg_short_errors_supported=yes
13894 else
13895         _pkg_short_errors_supported=no
13896 fi
13897         if test $_pkg_short_errors_supported = yes; then
13898                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
13899         else
13900                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
13901         fi
13902         # Put the nasty error message in config.log where it belongs
13903         echo "$EDBUS_TEST_PKG_ERRORS" >&5
13904
13905         have_edbus_test="no"
13906 elif test $pkg_failed = untried; then
13907         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13908 $as_echo "no" >&6; }
13909         have_edbus_test="no"
13910 else
13911         EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
13912         EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
13913         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13914 $as_echo "yes" >&6; }
13915         have_edbus_test="yes"
13916 fi
13917 fi
13918
13919 if test "x${have_edbus_test_client}" = "xyes" ; then
13920
13921 pkg_failed=no
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
13923 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
13924
13925 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
13926     pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
13927  elif test -n "$PKG_CONFIG"; then
13928     if test -n "$PKG_CONFIG" && \
13929     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
13930   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
13931   ac_status=$?
13932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13933   test $ac_status = 0; }; then
13934   pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
13935                       test "x$?" != "x0" && pkg_failed=yes
13936 else
13937   pkg_failed=yes
13938 fi
13939  else
13940     pkg_failed=untried
13941 fi
13942 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
13943     pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
13944  elif test -n "$PKG_CONFIG"; then
13945     if test -n "$PKG_CONFIG" && \
13946     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
13947   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
13948   ac_status=$?
13949   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13950   test $ac_status = 0; }; then
13951   pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
13952                       test "x$?" != "x0" && pkg_failed=yes
13953 else
13954   pkg_failed=yes
13955 fi
13956  else
13957     pkg_failed=untried
13958 fi
13959
13960
13961
13962 if test $pkg_failed = yes; then
13963         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13964 $as_echo "no" >&6; }
13965
13966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13967         _pkg_short_errors_supported=yes
13968 else
13969         _pkg_short_errors_supported=no
13970 fi
13971         if test $_pkg_short_errors_supported = yes; then
13972                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
13973         else
13974                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
13975         fi
13976         # Put the nasty error message in config.log where it belongs
13977         echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
13978
13979         have_edbus_test_client="no"
13980 elif test $pkg_failed = untried; then
13981         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13982 $as_echo "no" >&6; }
13983         have_edbus_test_client="no"
13984 else
13985         EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
13986         EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
13987         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13988 $as_echo "yes" >&6; }
13989         have_edbus_test_client="yes"
13990 fi
13991 fi
13992
13993 if test "x${have_edbus_bluez_test}" = "xyes" ; then
13994
13995 pkg_failed=no
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
13997 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
13998
13999 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
14000     pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
14001  elif test -n "$PKG_CONFIG"; then
14002     if test -n "$PKG_CONFIG" && \
14003     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14004   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14005   ac_status=$?
14006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14007   test $ac_status = 0; }; then
14008   pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14009                       test "x$?" != "x0" && pkg_failed=yes
14010 else
14011   pkg_failed=yes
14012 fi
14013  else
14014     pkg_failed=untried
14015 fi
14016 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
14017     pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
14018  elif test -n "$PKG_CONFIG"; then
14019     if test -n "$PKG_CONFIG" && \
14020     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14021   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14022   ac_status=$?
14023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14024   test $ac_status = 0; }; then
14025   pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14026                       test "x$?" != "x0" && pkg_failed=yes
14027 else
14028   pkg_failed=yes
14029 fi
14030  else
14031     pkg_failed=untried
14032 fi
14033
14034
14035
14036 if test $pkg_failed = yes; then
14037         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14038 $as_echo "no" >&6; }
14039
14040 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14041         _pkg_short_errors_supported=yes
14042 else
14043         _pkg_short_errors_supported=no
14044 fi
14045         if test $_pkg_short_errors_supported = yes; then
14046                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14047         else
14048                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14049         fi
14050         # Put the nasty error message in config.log where it belongs
14051         echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
14052
14053         have_edbus_bluez_test="no"
14054 elif test $pkg_failed = untried; then
14055         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14056 $as_echo "no" >&6; }
14057         have_edbus_bluez_test="no"
14058 else
14059         EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
14060         EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
14061         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14062 $as_echo "yes" >&6; }
14063         have_edbus_bluez_test="yes"
14064 fi
14065 fi
14066
14067 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
14068
14069 pkg_failed=no
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
14071 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
14072
14073 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
14074     pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
14075  elif test -n "$PKG_CONFIG"; then
14076     if test -n "$PKG_CONFIG" && \
14077     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14078   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14079   ac_status=$?
14080   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14081   test $ac_status = 0; }; then
14082   pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14083                       test "x$?" != "x0" && pkg_failed=yes
14084 else
14085   pkg_failed=yes
14086 fi
14087  else
14088     pkg_failed=untried
14089 fi
14090 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
14091     pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
14092  elif test -n "$PKG_CONFIG"; then
14093     if test -n "$PKG_CONFIG" && \
14094     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14095   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14096   ac_status=$?
14097   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14098   test $ac_status = 0; }; then
14099   pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14100                       test "x$?" != "x0" && pkg_failed=yes
14101 else
14102   pkg_failed=yes
14103 fi
14104  else
14105     pkg_failed=untried
14106 fi
14107
14108
14109
14110 if test $pkg_failed = yes; then
14111         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14112 $as_echo "no" >&6; }
14113
14114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14115         _pkg_short_errors_supported=yes
14116 else
14117         _pkg_short_errors_supported=no
14118 fi
14119         if test $_pkg_short_errors_supported = yes; then
14120                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14121         else
14122                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14123         fi
14124         # Put the nasty error message in config.log where it belongs
14125         echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
14126
14127         have_edbus_connman0_7x_test="no"
14128 elif test $pkg_failed = untried; then
14129         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14130 $as_echo "no" >&6; }
14131         have_edbus_connman0_7x_test="no"
14132 else
14133         EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
14134         EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
14135         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14136 $as_echo "yes" >&6; }
14137         have_edbus_connman0_7x_test="yes"
14138 fi
14139 fi
14140
14141 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
14142
14143 pkg_failed=no
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
14145 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
14146
14147 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
14148     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
14149  elif test -n "$PKG_CONFIG"; then
14150     if test -n "$PKG_CONFIG" && \
14151     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14152   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14153   ac_status=$?
14154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14155   test $ac_status = 0; }; then
14156   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14157                       test "x$?" != "x0" && pkg_failed=yes
14158 else
14159   pkg_failed=yes
14160 fi
14161  else
14162     pkg_failed=untried
14163 fi
14164 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
14165     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
14166  elif test -n "$PKG_CONFIG"; then
14167     if test -n "$PKG_CONFIG" && \
14168     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14169   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14170   ac_status=$?
14171   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14172   test $ac_status = 0; }; then
14173   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14174                       test "x$?" != "x0" && pkg_failed=yes
14175 else
14176   pkg_failed=yes
14177 fi
14178  else
14179     pkg_failed=untried
14180 fi
14181
14182
14183
14184 if test $pkg_failed = yes; then
14185         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14186 $as_echo "no" >&6; }
14187
14188 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14189         _pkg_short_errors_supported=yes
14190 else
14191         _pkg_short_errors_supported=no
14192 fi
14193         if test $_pkg_short_errors_supported = yes; then
14194                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14195         else
14196                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14197         fi
14198         # Put the nasty error message in config.log where it belongs
14199         echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
14200
14201         have_edbus_notification_daemon_test="no"
14202 elif test $pkg_failed = untried; then
14203         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14204 $as_echo "no" >&6; }
14205         have_edbus_notification_daemon_test="no"
14206 else
14207         EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
14208         EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
14209         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14210 $as_echo "yes" >&6; }
14211         have_edbus_notification_daemon_test="yes"
14212 fi
14213 fi
14214
14215 if test "x${have_edbus_notify_send}" = "xyes" ; then
14216
14217 pkg_failed=no
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
14219 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
14220
14221 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
14222     pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
14223  elif test -n "$PKG_CONFIG"; then
14224     if test -n "$PKG_CONFIG" && \
14225     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14226   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14227   ac_status=$?
14228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14229   test $ac_status = 0; }; then
14230   pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14231                       test "x$?" != "x0" && pkg_failed=yes
14232 else
14233   pkg_failed=yes
14234 fi
14235  else
14236     pkg_failed=untried
14237 fi
14238 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
14239     pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
14240  elif test -n "$PKG_CONFIG"; then
14241     if test -n "$PKG_CONFIG" && \
14242     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14243   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14244   ac_status=$?
14245   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14246   test $ac_status = 0; }; then
14247   pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14248                       test "x$?" != "x0" && pkg_failed=yes
14249 else
14250   pkg_failed=yes
14251 fi
14252  else
14253     pkg_failed=untried
14254 fi
14255
14256
14257
14258 if test $pkg_failed = yes; then
14259         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14260 $as_echo "no" >&6; }
14261
14262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14263         _pkg_short_errors_supported=yes
14264 else
14265         _pkg_short_errors_supported=no
14266 fi
14267         if test $_pkg_short_errors_supported = yes; then
14268                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14269         else
14270                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14271         fi
14272         # Put the nasty error message in config.log where it belongs
14273         echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
14274
14275         have_edbus_notify_send="no"
14276 elif test $pkg_failed = untried; then
14277         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14278 $as_echo "no" >&6; }
14279         have_edbus_notify_send="no"
14280 else
14281         EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
14282         EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
14283         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14284 $as_echo "yes" >&6; }
14285         have_edbus_notify_send="yes"
14286 fi
14287 fi
14288
14289 if test "x${have_edbus_notify_test}" = "xyes" ; then
14290
14291 pkg_failed=no
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
14293 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
14294
14295 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
14296     pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
14297  elif test -n "$PKG_CONFIG"; then
14298     if test -n "$PKG_CONFIG" && \
14299     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14300   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14301   ac_status=$?
14302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14303   test $ac_status = 0; }; then
14304   pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14305                       test "x$?" != "x0" && pkg_failed=yes
14306 else
14307   pkg_failed=yes
14308 fi
14309  else
14310     pkg_failed=untried
14311 fi
14312 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
14313     pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
14314  elif test -n "$PKG_CONFIG"; then
14315     if test -n "$PKG_CONFIG" && \
14316     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14317   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14318   ac_status=$?
14319   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14320   test $ac_status = 0; }; then
14321   pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14322                       test "x$?" != "x0" && pkg_failed=yes
14323 else
14324   pkg_failed=yes
14325 fi
14326  else
14327     pkg_failed=untried
14328 fi
14329
14330
14331
14332 if test $pkg_failed = yes; then
14333         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14334 $as_echo "no" >&6; }
14335
14336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14337         _pkg_short_errors_supported=yes
14338 else
14339         _pkg_short_errors_supported=no
14340 fi
14341         if test $_pkg_short_errors_supported = yes; then
14342                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14343         else
14344                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14345         fi
14346         # Put the nasty error message in config.log where it belongs
14347         echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
14348
14349         have_edbus_notify_test="no"
14350 elif test $pkg_failed = untried; then
14351         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14352 $as_echo "no" >&6; }
14353         have_edbus_notify_test="no"
14354 else
14355         EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
14356         EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
14357         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14358 $as_echo "yes" >&6; }
14359         have_edbus_notify_test="yes"
14360 fi
14361 fi
14362
14363 if test "x${have_edbus_ofono_test}" = "xyes" ; then
14364
14365 pkg_failed=no
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
14367 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
14368
14369 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
14370     pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
14371  elif test -n "$PKG_CONFIG"; then
14372     if test -n "$PKG_CONFIG" && \
14373     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14374   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14375   ac_status=$?
14376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14377   test $ac_status = 0; }; then
14378   pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14379                       test "x$?" != "x0" && pkg_failed=yes
14380 else
14381   pkg_failed=yes
14382 fi
14383  else
14384     pkg_failed=untried
14385 fi
14386 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
14387     pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
14388  elif test -n "$PKG_CONFIG"; then
14389     if test -n "$PKG_CONFIG" && \
14390     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14391   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14392   ac_status=$?
14393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14394   test $ac_status = 0; }; then
14395   pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14396                       test "x$?" != "x0" && pkg_failed=yes
14397 else
14398   pkg_failed=yes
14399 fi
14400  else
14401     pkg_failed=untried
14402 fi
14403
14404
14405
14406 if test $pkg_failed = yes; then
14407         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14408 $as_echo "no" >&6; }
14409
14410 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14411         _pkg_short_errors_supported=yes
14412 else
14413         _pkg_short_errors_supported=no
14414 fi
14415         if test $_pkg_short_errors_supported = yes; then
14416                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14417         else
14418                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14419         fi
14420         # Put the nasty error message in config.log where it belongs
14421         echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
14422
14423         have_edbus_ofono_test="no"
14424 elif test $pkg_failed = untried; then
14425         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14426 $as_echo "no" >&6; }
14427         have_edbus_ofono_test="no"
14428 else
14429         EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
14430         EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
14431         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14432 $as_echo "yes" >&6; }
14433         have_edbus_ofono_test="yes"
14434 fi
14435 fi
14436
14437 if test "x${have_edbus_ukit_test}" = "xyes" ; then
14438
14439 pkg_failed=no
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
14441 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
14442
14443 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
14444     pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
14445  elif test -n "$PKG_CONFIG"; then
14446     if test -n "$PKG_CONFIG" && \
14447     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14448   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14449   ac_status=$?
14450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14451   test $ac_status = 0; }; then
14452   pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14453                       test "x$?" != "x0" && pkg_failed=yes
14454 else
14455   pkg_failed=yes
14456 fi
14457  else
14458     pkg_failed=untried
14459 fi
14460 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
14461     pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
14462  elif test -n "$PKG_CONFIG"; then
14463     if test -n "$PKG_CONFIG" && \
14464     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14465   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14466   ac_status=$?
14467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14468   test $ac_status = 0; }; then
14469   pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14470                       test "x$?" != "x0" && pkg_failed=yes
14471 else
14472   pkg_failed=yes
14473 fi
14474  else
14475     pkg_failed=untried
14476 fi
14477
14478
14479
14480 if test $pkg_failed = yes; then
14481         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14482 $as_echo "no" >&6; }
14483
14484 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14485         _pkg_short_errors_supported=yes
14486 else
14487         _pkg_short_errors_supported=no
14488 fi
14489         if test $_pkg_short_errors_supported = yes; then
14490                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14491         else
14492                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14493         fi
14494         # Put the nasty error message in config.log where it belongs
14495         echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
14496
14497         have_edbus_ukit_test="no"
14498 elif test $pkg_failed = untried; then
14499         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14500 $as_echo "no" >&6; }
14501         have_edbus_ukit_test="no"
14502 else
14503         EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
14504         EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
14505         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14506 $as_echo "yes" >&6; }
14507         have_edbus_ukit_test="yes"
14508 fi
14509 fi
14510
14511 if test "x${have_edbus_performance_test}" = "xyes" ; then
14512
14513 pkg_failed=no
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
14515 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
14516
14517 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
14518     pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
14519  elif test -n "$PKG_CONFIG"; then
14520     if test -n "$PKG_CONFIG" && \
14521     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5\""; } >&5
14522   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5") 2>&5
14523   ac_status=$?
14524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14525   test $ac_status = 0; }; then
14526   pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5" 2>/dev/null`
14527                       test "x$?" != "x0" && pkg_failed=yes
14528 else
14529   pkg_failed=yes
14530 fi
14531  else
14532     pkg_failed=untried
14533 fi
14534 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
14535     pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
14536  elif test -n "$PKG_CONFIG"; then
14537     if test -n "$PKG_CONFIG" && \
14538     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5\""; } >&5
14539   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5") 2>&5
14540   ac_status=$?
14541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14542   test $ac_status = 0; }; then
14543   pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5" 2>/dev/null`
14544                       test "x$?" != "x0" && pkg_failed=yes
14545 else
14546   pkg_failed=yes
14547 fi
14548  else
14549     pkg_failed=untried
14550 fi
14551
14552
14553
14554 if test $pkg_failed = yes; then
14555         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14556 $as_echo "no" >&6; }
14557
14558 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14559         _pkg_short_errors_supported=yes
14560 else
14561         _pkg_short_errors_supported=no
14562 fi
14563         if test $_pkg_short_errors_supported = yes; then
14564                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5" 2>&1`
14565         else
14566                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5" 2>&1`
14567         fi
14568         # Put the nasty error message in config.log where it belongs
14569         echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
14570
14571         have_edbus_performance_test="no"
14572 elif test $pkg_failed = untried; then
14573         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14574 $as_echo "no" >&6; }
14575         have_edbus_performance_test="no"
14576 else
14577         EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
14578         EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
14579         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14580 $as_echo "yes" >&6; }
14581         have_edbus_performance_test="yes"
14582 fi
14583 fi
14584
14585  if test "x${have_edbus_performance_test}" = "xyes"; then
14586   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
14587   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
14588 else
14589   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
14590   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
14591 fi
14592
14593
14594 if test "x${have_edbus_async_test}" = "xyes" ; then
14595
14596 pkg_failed=no
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
14598 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
14599
14600 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
14601     pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
14602  elif test -n "$PKG_CONFIG"; then
14603     if test -n "$PKG_CONFIG" && \
14604     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14605   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
14606   ac_status=$?
14607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14608   test $ac_status = 0; }; then
14609   pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14610                       test "x$?" != "x0" && pkg_failed=yes
14611 else
14612   pkg_failed=yes
14613 fi
14614  else
14615     pkg_failed=untried
14616 fi
14617 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
14618     pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
14619  elif test -n "$PKG_CONFIG"; then
14620     if test -n "$PKG_CONFIG" && \
14621     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14622   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
14623   ac_status=$?
14624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14625   test $ac_status = 0; }; then
14626   pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14627                       test "x$?" != "x0" && pkg_failed=yes
14628 else
14629   pkg_failed=yes
14630 fi
14631  else
14632     pkg_failed=untried
14633 fi
14634
14635
14636
14637 if test $pkg_failed = yes; then
14638         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14639 $as_echo "no" >&6; }
14640
14641 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14642         _pkg_short_errors_supported=yes
14643 else
14644         _pkg_short_errors_supported=no
14645 fi
14646         if test $_pkg_short_errors_supported = yes; then
14647                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14648         else
14649                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14650         fi
14651         # Put the nasty error message in config.log where it belongs
14652         echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
14653
14654         have_edbus_async_test="no"
14655 elif test $pkg_failed = untried; then
14656         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14657 $as_echo "no" >&6; }
14658         have_edbus_async_test="no"
14659 else
14660         EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
14661         EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
14662         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14663 $as_echo "yes" >&6; }
14664         have_edbus_async_test="yes"
14665 fi
14666 fi
14667
14668 ### Checks for header files
14669
14670
14671 ### Checks for types
14672
14673
14674 ### Checks for structures
14675
14676
14677 ### Checks for compiler characteristics
14678
14679 EFL_EDBUS_BUILD=""
14680 case "$host_os" in
14681    mingw*)
14682       EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
14683    ;;
14684 esac
14685
14686
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14688 $as_echo_n "checking for ANSI C header files... " >&6; }
14689 if ${ac_cv_header_stdc+:} false; then :
14690   $as_echo_n "(cached) " >&6
14691 else
14692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14693 /* end confdefs.h.  */
14694 #include <stdlib.h>
14695 #include <stdarg.h>
14696 #include <string.h>
14697 #include <float.h>
14698
14699 int
14700 main ()
14701 {
14702
14703   ;
14704   return 0;
14705 }
14706 _ACEOF
14707 if ac_fn_c_try_compile "$LINENO"; then :
14708   ac_cv_header_stdc=yes
14709 else
14710   ac_cv_header_stdc=no
14711 fi
14712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14713
14714 if test $ac_cv_header_stdc = yes; then
14715   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h.  */
14718 #include <string.h>
14719
14720 _ACEOF
14721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14722   $EGREP "memchr" >/dev/null 2>&1; then :
14723
14724 else
14725   ac_cv_header_stdc=no
14726 fi
14727 rm -f conftest*
14728
14729 fi
14730
14731 if test $ac_cv_header_stdc = yes; then
14732   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14734 /* end confdefs.h.  */
14735 #include <stdlib.h>
14736
14737 _ACEOF
14738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14739   $EGREP "free" >/dev/null 2>&1; then :
14740
14741 else
14742   ac_cv_header_stdc=no
14743 fi
14744 rm -f conftest*
14745
14746 fi
14747
14748 if test $ac_cv_header_stdc = yes; then
14749   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14750   if test "$cross_compiling" = yes; then :
14751   :
14752 else
14753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h.  */
14755 #include <ctype.h>
14756 #include <stdlib.h>
14757 #if ((' ' & 0x0FF) == 0x020)
14758 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14759 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14760 #else
14761 # define ISLOWER(c) \
14762                    (('a' <= (c) && (c) <= 'i') \
14763                      || ('j' <= (c) && (c) <= 'r') \
14764                      || ('s' <= (c) && (c) <= 'z'))
14765 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14766 #endif
14767
14768 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14769 int
14770 main ()
14771 {
14772   int i;
14773   for (i = 0; i < 256; i++)
14774     if (XOR (islower (i), ISLOWER (i))
14775         || toupper (i) != TOUPPER (i))
14776       return 2;
14777   return 0;
14778 }
14779 _ACEOF
14780 if ac_fn_c_try_run "$LINENO"; then :
14781
14782 else
14783   ac_cv_header_stdc=no
14784 fi
14785 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14786   conftest.$ac_objext conftest.beam conftest.$ac_ext
14787 fi
14788
14789 fi
14790 fi
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14792 $as_echo "$ac_cv_header_stdc" >&6; }
14793 if test $ac_cv_header_stdc = yes; then
14794
14795 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14796
14797 fi
14798
14799
14800
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14802 $as_echo_n "checking for __attribute__... " >&6; }
14803
14804 if ${ac_cv___attribute__+:} false; then :
14805   $as_echo_n "(cached) " >&6
14806 else
14807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h.  */
14809
14810 #include <stdlib.h>
14811
14812 int func(int x);
14813 int foo(int x __attribute__ ((unused)))
14814 {
14815    exit(1);
14816 }
14817
14818 int
14819 main ()
14820 {
14821
14822   ;
14823   return 0;
14824 }
14825 _ACEOF
14826 if ac_fn_c_try_compile "$LINENO"; then :
14827   ac_cv___attribute__="yes"
14828 else
14829   ac_cv___attribute__="no"
14830
14831 fi
14832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14833 fi
14834
14835
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14837 $as_echo "$ac_cv___attribute__" >&6; }
14838
14839 if test "x${ac_cv___attribute__}" = "xyes" ; then
14840
14841 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14842
14843
14844 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14845
14846   else
14847
14848 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14849
14850 fi
14851
14852
14853
14854 if ! test "x${VMIC}" = "x" ; then
14855
14856
14857 CFLAGS_save="${CFLAGS}"
14858 CFLAGS="${CFLAGS} -Wall"
14859
14860 ac_ext=c
14861 ac_cpp='$CPP $CPPFLAGS'
14862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14865
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14867 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14868
14869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h.  */
14871
14872 int
14873 main ()
14874 {
14875
14876   ;
14877   return 0;
14878 }
14879 _ACEOF
14880 if ac_fn_c_try_compile "$LINENO"; then :
14881   have_flag="yes"
14882 else
14883   have_flag="no"
14884 fi
14885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14887 $as_echo "${have_flag}" >&6; }
14888
14889 if test "x${have_flag}" = "xno" ; then
14890    CFLAGS="${CFLAGS_save}"
14891 fi
14892 ac_ext=c
14893 ac_cpp='$CPP $CPPFLAGS'
14894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14897
14898
14899
14900
14901
14902 CFLAGS_save="${CFLAGS}"
14903 CFLAGS="${CFLAGS} -W"
14904
14905 ac_ext=c
14906 ac_cpp='$CPP $CPPFLAGS'
14907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14910
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14912 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14913
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h.  */
14916
14917 int
14918 main ()
14919 {
14920
14921   ;
14922   return 0;
14923 }
14924 _ACEOF
14925 if ac_fn_c_try_compile "$LINENO"; then :
14926   have_flag="yes"
14927 else
14928   have_flag="no"
14929 fi
14930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14932 $as_echo "${have_flag}" >&6; }
14933
14934 if test "x${have_flag}" = "xno" ; then
14935    CFLAGS="${CFLAGS_save}"
14936 fi
14937 ac_ext=c
14938 ac_cpp='$CPP $CPPFLAGS'
14939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14942
14943
14944
14945 fi
14946
14947
14948
14949 CFLAGS_save="${CFLAGS}"
14950 CFLAGS="${CFLAGS} -Wshadow"
14951
14952 ac_ext=c
14953 ac_cpp='$CPP $CPPFLAGS'
14954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14957
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
14959 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
14960
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h.  */
14963
14964 int
14965 main ()
14966 {
14967
14968   ;
14969   return 0;
14970 }
14971 _ACEOF
14972 if ac_fn_c_try_compile "$LINENO"; then :
14973   have_flag="yes"
14974 else
14975   have_flag="no"
14976 fi
14977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14979 $as_echo "${have_flag}" >&6; }
14980
14981 if test "x${have_flag}" = "xno" ; then
14982    CFLAGS="${CFLAGS_save}"
14983 fi
14984 ac_ext=c
14985 ac_cpp='$CPP $CPPFLAGS'
14986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14989
14990
14991
14992
14993
14994 ### Checks for linker characteristics
14995
14996 lt_enable_auto_import=""
14997 case "$host_os" in
14998    mingw*)
14999       lt_enable_auto_import="-Wl,--enable-auto-import"
15000    ;;
15001 esac
15002
15003
15004
15005 ### Checks for library functions
15006
15007 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15008 if test "x$ac_cv_type_size_t" = xyes; then :
15009
15010 else
15011
15012 cat >>confdefs.h <<_ACEOF
15013 #define size_t unsigned int
15014 _ACEOF
15015
15016 fi
15017
15018 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15019 # for constant arguments.  Useless!
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15021 $as_echo_n "checking for working alloca.h... " >&6; }
15022 if ${ac_cv_working_alloca_h+:} false; then :
15023   $as_echo_n "(cached) " >&6
15024 else
15025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h.  */
15027 #include <alloca.h>
15028 int
15029 main ()
15030 {
15031 char *p = (char *) alloca (2 * sizeof (int));
15032                           if (p) return 0;
15033   ;
15034   return 0;
15035 }
15036 _ACEOF
15037 if ac_fn_c_try_link "$LINENO"; then :
15038   ac_cv_working_alloca_h=yes
15039 else
15040   ac_cv_working_alloca_h=no
15041 fi
15042 rm -f core conftest.err conftest.$ac_objext \
15043     conftest$ac_exeext conftest.$ac_ext
15044 fi
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15046 $as_echo "$ac_cv_working_alloca_h" >&6; }
15047 if test $ac_cv_working_alloca_h = yes; then
15048
15049 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15050
15051 fi
15052
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15054 $as_echo_n "checking for alloca... " >&6; }
15055 if ${ac_cv_func_alloca_works+:} false; then :
15056   $as_echo_n "(cached) " >&6
15057 else
15058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h.  */
15060 #ifdef __GNUC__
15061 # define alloca __builtin_alloca
15062 #else
15063 # ifdef _MSC_VER
15064 #  include <malloc.h>
15065 #  define alloca _alloca
15066 # else
15067 #  ifdef HAVE_ALLOCA_H
15068 #   include <alloca.h>
15069 #  else
15070 #   ifdef _AIX
15071  #pragma alloca
15072 #   else
15073 #    ifndef alloca /* predefined by HP cc +Olibcalls */
15074 void *alloca (size_t);
15075 #    endif
15076 #   endif
15077 #  endif
15078 # endif
15079 #endif
15080
15081 int
15082 main ()
15083 {
15084 char *p = (char *) alloca (1);
15085                                     if (p) return 0;
15086   ;
15087   return 0;
15088 }
15089 _ACEOF
15090 if ac_fn_c_try_link "$LINENO"; then :
15091   ac_cv_func_alloca_works=yes
15092 else
15093   ac_cv_func_alloca_works=no
15094 fi
15095 rm -f core conftest.err conftest.$ac_objext \
15096     conftest$ac_exeext conftest.$ac_ext
15097 fi
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15099 $as_echo "$ac_cv_func_alloca_works" >&6; }
15100
15101 if test $ac_cv_func_alloca_works = yes; then
15102
15103 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15104
15105 else
15106   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15107 # that cause trouble.  Some versions do not even contain alloca or
15108 # contain a buggy version.  If you still want to use their alloca,
15109 # use ar to extract alloca.o from them instead of compiling alloca.c.
15110
15111 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15112
15113 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15114
15115
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15117 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15118 if ${ac_cv_os_cray+:} false; then :
15119   $as_echo_n "(cached) " >&6
15120 else
15121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h.  */
15123 #if defined CRAY && ! defined CRAY2
15124 webecray
15125 #else
15126 wenotbecray
15127 #endif
15128
15129 _ACEOF
15130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15131   $EGREP "webecray" >/dev/null 2>&1; then :
15132   ac_cv_os_cray=yes
15133 else
15134   ac_cv_os_cray=no
15135 fi
15136 rm -f conftest*
15137
15138 fi
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15140 $as_echo "$ac_cv_os_cray" >&6; }
15141 if test $ac_cv_os_cray = yes; then
15142   for ac_func in _getb67 GETB67 getb67; do
15143     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15145 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15146
15147 cat >>confdefs.h <<_ACEOF
15148 #define CRAY_STACKSEG_END $ac_func
15149 _ACEOF
15150
15151     break
15152 fi
15153
15154   done
15155 fi
15156
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15158 $as_echo_n "checking stack direction for C alloca... " >&6; }
15159 if ${ac_cv_c_stack_direction+:} false; then :
15160   $as_echo_n "(cached) " >&6
15161 else
15162   if test "$cross_compiling" = yes; then :
15163   ac_cv_c_stack_direction=0
15164 else
15165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h.  */
15167 $ac_includes_default
15168 int
15169 find_stack_direction ()
15170 {
15171   static char *addr = 0;
15172   auto char dummy;
15173   if (addr == 0)
15174     {
15175       addr = &dummy;
15176       return find_stack_direction ();
15177     }
15178   else
15179     return (&dummy > addr) ? 1 : -1;
15180 }
15181
15182 int
15183 main ()
15184 {
15185   return find_stack_direction () < 0;
15186 }
15187 _ACEOF
15188 if ac_fn_c_try_run "$LINENO"; then :
15189   ac_cv_c_stack_direction=1
15190 else
15191   ac_cv_c_stack_direction=-1
15192 fi
15193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15194   conftest.$ac_objext conftest.beam conftest.$ac_ext
15195 fi
15196
15197 fi
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15199 $as_echo "$ac_cv_c_stack_direction" >&6; }
15200 cat >>confdefs.h <<_ACEOF
15201 #define STACK_DIRECTION $ac_cv_c_stack_direction
15202 _ACEOF
15203
15204
15205 fi
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217 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"
15218
15219 cat >confcache <<\_ACEOF
15220 # This file is a shell script that caches the results of configure
15221 # tests run on this system so they can be shared between configure
15222 # scripts and configure runs, see configure's option --config-cache.
15223 # It is not useful on other systems.  If it contains results you don't
15224 # want to keep, you may remove or edit it.
15225 #
15226 # config.status only pays attention to the cache file if you give it
15227 # the --recheck option to rerun configure.
15228 #
15229 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15230 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15231 # following values.
15232
15233 _ACEOF
15234
15235 # The following way of writing the cache mishandles newlines in values,
15236 # but we know of no workaround that is simple, portable, and efficient.
15237 # So, we kill variables containing newlines.
15238 # Ultrix sh set writes to stderr and can't be redirected directly,
15239 # and sets the high bit in the cache file unless we assign to the vars.
15240 (
15241   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15242     eval ac_val=\$$ac_var
15243     case $ac_val in #(
15244     *${as_nl}*)
15245       case $ac_var in #(
15246       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15247 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15248       esac
15249       case $ac_var in #(
15250       _ | IFS | as_nl) ;; #(
15251       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15252       *) { eval $ac_var=; unset $ac_var;} ;;
15253       esac ;;
15254     esac
15255   done
15256
15257   (set) 2>&1 |
15258     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15259     *${as_nl}ac_space=\ *)
15260       # `set' does not quote correctly, so add quotes: double-quote
15261       # substitution turns \\\\ into \\, and sed turns \\ into \.
15262       sed -n \
15263         "s/'/'\\\\''/g;
15264           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15265       ;; #(
15266     *)
15267       # `set' quotes correctly as required by POSIX, so do not add quotes.
15268       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15269       ;;
15270     esac |
15271     sort
15272 ) |
15273   sed '
15274      /^ac_cv_env_/b end
15275      t clear
15276      :clear
15277      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15278      t end
15279      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15280      :end' >>confcache
15281 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15282   if test -w "$cache_file"; then
15283     if test "x$cache_file" != "x/dev/null"; then
15284       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15285 $as_echo "$as_me: updating cache $cache_file" >&6;}
15286       if test ! -f "$cache_file" || test -h "$cache_file"; then
15287         cat confcache >"$cache_file"
15288       else
15289         case $cache_file in #(
15290         */* | ?:*)
15291           mv -f confcache "$cache_file"$$ &&
15292           mv -f "$cache_file"$$ "$cache_file" ;; #(
15293         *)
15294           mv -f confcache "$cache_file" ;;
15295         esac
15296       fi
15297     fi
15298   else
15299     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15300 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15301   fi
15302 fi
15303 rm -f confcache
15304
15305 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15306 # Let make expand exec_prefix.
15307 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15308
15309 DEFS=-DHAVE_CONFIG_H
15310
15311 ac_libobjs=
15312 ac_ltlibobjs=
15313 U=
15314 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15315   # 1. Remove the extension, and $U if already installed.
15316   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15317   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15318   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15319   #    will be set to the directory where LIBOBJS objects are built.
15320   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15321   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15322 done
15323 LIBOBJS=$ac_libobjs
15324
15325 LTLIBOBJS=$ac_ltlibobjs
15326
15327
15328  if test -n "$EXEEXT"; then
15329   am__EXEEXT_TRUE=
15330   am__EXEEXT_FALSE='#'
15331 else
15332   am__EXEEXT_TRUE='#'
15333   am__EXEEXT_FALSE=
15334 fi
15335
15336 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15337   as_fn_error $? "conditional \"AMDEP\" was never defined.
15338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15339 fi
15340 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15341   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15343 fi
15344 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15345   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15347 fi
15348 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15349   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15351 fi
15352 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
15353   as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
15354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15355 fi
15356 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
15357   as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
15358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15359 fi
15360 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
15361   as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
15362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15363 fi
15364 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
15365   as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
15366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15367 fi
15368 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
15369   as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
15370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15371 fi
15372 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
15373   as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
15374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15375 fi
15376 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
15377   as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
15378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15379 fi
15380 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
15381   as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
15382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15383 fi
15384 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
15385   as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
15386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15387 fi
15388 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
15389   as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
15390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15391 fi
15392 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
15393   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
15394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15395 fi
15396 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
15397   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
15398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15399 fi
15400 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
15401   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
15402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15403 fi
15404 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
15405   as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
15406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15407 fi
15408 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
15409   as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
15410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15411 fi
15412 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15413   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15415 fi
15416 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
15417   as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
15418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15419 fi
15420 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15421   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15423 fi
15424
15425 : "${CONFIG_STATUS=./config.status}"
15426 ac_write_fail=0
15427 ac_clean_files_save=$ac_clean_files
15428 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15430 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15431 as_write_fail=0
15432 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15433 #! $SHELL
15434 # Generated by $as_me.
15435 # Run this file to recreate the current configuration.
15436 # Compiler output produced by configure, useful for debugging
15437 # configure, is in config.log if it exists.
15438
15439 debug=false
15440 ac_cs_recheck=false
15441 ac_cs_silent=false
15442
15443 SHELL=\${CONFIG_SHELL-$SHELL}
15444 export SHELL
15445 _ASEOF
15446 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15447 ## -------------------- ##
15448 ## M4sh Initialization. ##
15449 ## -------------------- ##
15450
15451 # Be more Bourne compatible
15452 DUALCASE=1; export DUALCASE # for MKS sh
15453 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15454   emulate sh
15455   NULLCMD=:
15456   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15457   # is contrary to our usage.  Disable this feature.
15458   alias -g '${1+"$@"}'='"$@"'
15459   setopt NO_GLOB_SUBST
15460 else
15461   case `(set -o) 2>/dev/null` in #(
15462   *posix*) :
15463     set -o posix ;; #(
15464   *) :
15465      ;;
15466 esac
15467 fi
15468
15469
15470 as_nl='
15471 '
15472 export as_nl
15473 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15474 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15475 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15476 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15477 # Prefer a ksh shell builtin over an external printf program on Solaris,
15478 # but without wasting forks for bash or zsh.
15479 if test -z "$BASH_VERSION$ZSH_VERSION" \
15480     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15481   as_echo='print -r --'
15482   as_echo_n='print -rn --'
15483 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15484   as_echo='printf %s\n'
15485   as_echo_n='printf %s'
15486 else
15487   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15488     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15489     as_echo_n='/usr/ucb/echo -n'
15490   else
15491     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15492     as_echo_n_body='eval
15493       arg=$1;
15494       case $arg in #(
15495       *"$as_nl"*)
15496         expr "X$arg" : "X\\(.*\\)$as_nl";
15497         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15498       esac;
15499       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15500     '
15501     export as_echo_n_body
15502     as_echo_n='sh -c $as_echo_n_body as_echo'
15503   fi
15504   export as_echo_body
15505   as_echo='sh -c $as_echo_body as_echo'
15506 fi
15507
15508 # The user is always right.
15509 if test "${PATH_SEPARATOR+set}" != set; then
15510   PATH_SEPARATOR=:
15511   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15512     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15513       PATH_SEPARATOR=';'
15514   }
15515 fi
15516
15517
15518 # IFS
15519 # We need space, tab and new line, in precisely that order.  Quoting is
15520 # there to prevent editors from complaining about space-tab.
15521 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15522 # splitting by setting IFS to empty value.)
15523 IFS=" ""        $as_nl"
15524
15525 # Find who we are.  Look in the path if we contain no directory separator.
15526 as_myself=
15527 case $0 in #((
15528   *[\\/]* ) as_myself=$0 ;;
15529   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15530 for as_dir in $PATH
15531 do
15532   IFS=$as_save_IFS
15533   test -z "$as_dir" && as_dir=.
15534     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15535   done
15536 IFS=$as_save_IFS
15537
15538      ;;
15539 esac
15540 # We did not find ourselves, most probably we were run as `sh COMMAND'
15541 # in which case we are not to be found in the path.
15542 if test "x$as_myself" = x; then
15543   as_myself=$0
15544 fi
15545 if test ! -f "$as_myself"; then
15546   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15547   exit 1
15548 fi
15549
15550 # Unset variables that we do not need and which cause bugs (e.g. in
15551 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15552 # suppresses any "Segmentation fault" message there.  '((' could
15553 # trigger a bug in pdksh 5.2.14.
15554 for as_var in BASH_ENV ENV MAIL MAILPATH
15555 do eval test x\${$as_var+set} = xset \
15556   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15557 done
15558 PS1='$ '
15559 PS2='> '
15560 PS4='+ '
15561
15562 # NLS nuisances.
15563 LC_ALL=C
15564 export LC_ALL
15565 LANGUAGE=C
15566 export LANGUAGE
15567
15568 # CDPATH.
15569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15570
15571
15572 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15573 # ----------------------------------------
15574 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15575 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15576 # script with STATUS, using 1 if that was 0.
15577 as_fn_error ()
15578 {
15579   as_status=$1; test $as_status -eq 0 && as_status=1
15580   if test "$4"; then
15581     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15582     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15583   fi
15584   $as_echo "$as_me: error: $2" >&2
15585   as_fn_exit $as_status
15586 } # as_fn_error
15587
15588
15589 # as_fn_set_status STATUS
15590 # -----------------------
15591 # Set $? to STATUS, without forking.
15592 as_fn_set_status ()
15593 {
15594   return $1
15595 } # as_fn_set_status
15596
15597 # as_fn_exit STATUS
15598 # -----------------
15599 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15600 as_fn_exit ()
15601 {
15602   set +e
15603   as_fn_set_status $1
15604   exit $1
15605 } # as_fn_exit
15606
15607 # as_fn_unset VAR
15608 # ---------------
15609 # Portably unset VAR.
15610 as_fn_unset ()
15611 {
15612   { eval $1=; unset $1;}
15613 }
15614 as_unset=as_fn_unset
15615 # as_fn_append VAR VALUE
15616 # ----------------------
15617 # Append the text in VALUE to the end of the definition contained in VAR. Take
15618 # advantage of any shell optimizations that allow amortized linear growth over
15619 # repeated appends, instead of the typical quadratic growth present in naive
15620 # implementations.
15621 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15622   eval 'as_fn_append ()
15623   {
15624     eval $1+=\$2
15625   }'
15626 else
15627   as_fn_append ()
15628   {
15629     eval $1=\$$1\$2
15630   }
15631 fi # as_fn_append
15632
15633 # as_fn_arith ARG...
15634 # ------------------
15635 # Perform arithmetic evaluation on the ARGs, and store the result in the
15636 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15637 # must be portable across $(()) and expr.
15638 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15639   eval 'as_fn_arith ()
15640   {
15641     as_val=$(( $* ))
15642   }'
15643 else
15644   as_fn_arith ()
15645   {
15646     as_val=`expr "$@" || test $? -eq 1`
15647   }
15648 fi # as_fn_arith
15649
15650
15651 if expr a : '\(a\)' >/dev/null 2>&1 &&
15652    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15653   as_expr=expr
15654 else
15655   as_expr=false
15656 fi
15657
15658 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15659   as_basename=basename
15660 else
15661   as_basename=false
15662 fi
15663
15664 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15665   as_dirname=dirname
15666 else
15667   as_dirname=false
15668 fi
15669
15670 as_me=`$as_basename -- "$0" ||
15671 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15672          X"$0" : 'X\(//\)$' \| \
15673          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15674 $as_echo X/"$0" |
15675     sed '/^.*\/\([^/][^/]*\)\/*$/{
15676             s//\1/
15677             q
15678           }
15679           /^X\/\(\/\/\)$/{
15680             s//\1/
15681             q
15682           }
15683           /^X\/\(\/\).*/{
15684             s//\1/
15685             q
15686           }
15687           s/.*/./; q'`
15688
15689 # Avoid depending upon Character Ranges.
15690 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15691 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15692 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15693 as_cr_digits='0123456789'
15694 as_cr_alnum=$as_cr_Letters$as_cr_digits
15695
15696 ECHO_C= ECHO_N= ECHO_T=
15697 case `echo -n x` in #(((((
15698 -n*)
15699   case `echo 'xy\c'` in
15700   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15701   xy)  ECHO_C='\c';;
15702   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15703        ECHO_T=' ';;
15704   esac;;
15705 *)
15706   ECHO_N='-n';;
15707 esac
15708
15709 rm -f conf$$ conf$$.exe conf$$.file
15710 if test -d conf$$.dir; then
15711   rm -f conf$$.dir/conf$$.file
15712 else
15713   rm -f conf$$.dir
15714   mkdir conf$$.dir 2>/dev/null
15715 fi
15716 if (echo >conf$$.file) 2>/dev/null; then
15717   if ln -s conf$$.file conf$$ 2>/dev/null; then
15718     as_ln_s='ln -s'
15719     # ... but there are two gotchas:
15720     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15721     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15722     # In both cases, we have to default to `cp -p'.
15723     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15724       as_ln_s='cp -p'
15725   elif ln conf$$.file conf$$ 2>/dev/null; then
15726     as_ln_s=ln
15727   else
15728     as_ln_s='cp -p'
15729   fi
15730 else
15731   as_ln_s='cp -p'
15732 fi
15733 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15734 rmdir conf$$.dir 2>/dev/null
15735
15736
15737 # as_fn_mkdir_p
15738 # -------------
15739 # Create "$as_dir" as a directory, including parents if necessary.
15740 as_fn_mkdir_p ()
15741 {
15742
15743   case $as_dir in #(
15744   -*) as_dir=./$as_dir;;
15745   esac
15746   test -d "$as_dir" || eval $as_mkdir_p || {
15747     as_dirs=
15748     while :; do
15749       case $as_dir in #(
15750       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15751       *) as_qdir=$as_dir;;
15752       esac
15753       as_dirs="'$as_qdir' $as_dirs"
15754       as_dir=`$as_dirname -- "$as_dir" ||
15755 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15756          X"$as_dir" : 'X\(//\)[^/]' \| \
15757          X"$as_dir" : 'X\(//\)$' \| \
15758          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15759 $as_echo X"$as_dir" |
15760     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15761             s//\1/
15762             q
15763           }
15764           /^X\(\/\/\)[^/].*/{
15765             s//\1/
15766             q
15767           }
15768           /^X\(\/\/\)$/{
15769             s//\1/
15770             q
15771           }
15772           /^X\(\/\).*/{
15773             s//\1/
15774             q
15775           }
15776           s/.*/./; q'`
15777       test -d "$as_dir" && break
15778     done
15779     test -z "$as_dirs" || eval "mkdir $as_dirs"
15780   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15781
15782
15783 } # as_fn_mkdir_p
15784 if mkdir -p . 2>/dev/null; then
15785   as_mkdir_p='mkdir -p "$as_dir"'
15786 else
15787   test -d ./-p && rmdir ./-p
15788   as_mkdir_p=false
15789 fi
15790
15791 if test -x / >/dev/null 2>&1; then
15792   as_test_x='test -x'
15793 else
15794   if ls -dL / >/dev/null 2>&1; then
15795     as_ls_L_option=L
15796   else
15797     as_ls_L_option=
15798   fi
15799   as_test_x='
15800     eval sh -c '\''
15801       if test -d "$1"; then
15802         test -d "$1/.";
15803       else
15804         case $1 in #(
15805         -*)set "./$1";;
15806         esac;
15807         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15808         ???[sx]*):;;*)false;;esac;fi
15809     '\'' sh
15810   '
15811 fi
15812 as_executable_p=$as_test_x
15813
15814 # Sed expression to map a string onto a valid CPP name.
15815 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15816
15817 # Sed expression to map a string onto a valid variable name.
15818 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15819
15820
15821 exec 6>&1
15822 ## ----------------------------------- ##
15823 ## Main body of $CONFIG_STATUS script. ##
15824 ## ----------------------------------- ##
15825 _ASEOF
15826 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15827
15828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15829 # Save the log message, to keep $0 and so on meaningful, and to
15830 # report actual input values of CONFIG_FILES etc. instead of their
15831 # values after options handling.
15832 ac_log="
15833 This file was extended by e_dbus $as_me 1.7.5, which was
15834 generated by GNU Autoconf 2.68.  Invocation command line was
15835
15836   CONFIG_FILES    = $CONFIG_FILES
15837   CONFIG_HEADERS  = $CONFIG_HEADERS
15838   CONFIG_LINKS    = $CONFIG_LINKS
15839   CONFIG_COMMANDS = $CONFIG_COMMANDS
15840   $ $0 $@
15841
15842 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15843 "
15844
15845 _ACEOF
15846
15847 case $ac_config_files in *"
15848 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15849 esac
15850
15851 case $ac_config_headers in *"
15852 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15853 esac
15854
15855
15856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15857 # Files that config.status was made for.
15858 config_files="$ac_config_files"
15859 config_headers="$ac_config_headers"
15860 config_commands="$ac_config_commands"
15861
15862 _ACEOF
15863
15864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15865 ac_cs_usage="\
15866 \`$as_me' instantiates files and other configuration actions
15867 from templates according to the current configuration.  Unless the files
15868 and actions are specified as TAGs, all are instantiated by default.
15869
15870 Usage: $0 [OPTION]... [TAG]...
15871
15872   -h, --help       print this help, then exit
15873   -V, --version    print version number and configuration settings, then exit
15874       --config     print configuration, then exit
15875   -q, --quiet, --silent
15876                    do not print progress messages
15877   -d, --debug      don't remove temporary files
15878       --recheck    update $as_me by reconfiguring in the same conditions
15879       --file=FILE[:TEMPLATE]
15880                    instantiate the configuration file FILE
15881       --header=FILE[:TEMPLATE]
15882                    instantiate the configuration header FILE
15883
15884 Configuration files:
15885 $config_files
15886
15887 Configuration headers:
15888 $config_headers
15889
15890 Configuration commands:
15891 $config_commands
15892
15893 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15894
15895 _ACEOF
15896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15897 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15898 ac_cs_version="\\
15899 e_dbus config.status 1.7.5
15900 configured by $0, generated by GNU Autoconf 2.68,
15901   with options \\"\$ac_cs_config\\"
15902
15903 Copyright (C) 2010 Free Software Foundation, Inc.
15904 This config.status script is free software; the Free Software Foundation
15905 gives unlimited permission to copy, distribute and modify it."
15906
15907 ac_pwd='$ac_pwd'
15908 srcdir='$srcdir'
15909 INSTALL='$INSTALL'
15910 MKDIR_P='$MKDIR_P'
15911 AWK='$AWK'
15912 test -n "\$AWK" || AWK=awk
15913 _ACEOF
15914
15915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15916 # The default lists apply if the user does not specify any file.
15917 ac_need_defaults=:
15918 while test $# != 0
15919 do
15920   case $1 in
15921   --*=?*)
15922     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15923     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15924     ac_shift=:
15925     ;;
15926   --*=)
15927     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15928     ac_optarg=
15929     ac_shift=:
15930     ;;
15931   *)
15932     ac_option=$1
15933     ac_optarg=$2
15934     ac_shift=shift
15935     ;;
15936   esac
15937
15938   case $ac_option in
15939   # Handling of the options.
15940   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15941     ac_cs_recheck=: ;;
15942   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15943     $as_echo "$ac_cs_version"; exit ;;
15944   --config | --confi | --conf | --con | --co | --c )
15945     $as_echo "$ac_cs_config"; exit ;;
15946   --debug | --debu | --deb | --de | --d | -d )
15947     debug=: ;;
15948   --file | --fil | --fi | --f )
15949     $ac_shift
15950     case $ac_optarg in
15951     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15952     '') as_fn_error $? "missing file argument" ;;
15953     esac
15954     as_fn_append CONFIG_FILES " '$ac_optarg'"
15955     ac_need_defaults=false;;
15956   --header | --heade | --head | --hea )
15957     $ac_shift
15958     case $ac_optarg in
15959     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15960     esac
15961     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15962     ac_need_defaults=false;;
15963   --he | --h)
15964     # Conflict between --help and --header
15965     as_fn_error $? "ambiguous option: \`$1'
15966 Try \`$0 --help' for more information.";;
15967   --help | --hel | -h )
15968     $as_echo "$ac_cs_usage"; exit ;;
15969   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15970   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15971     ac_cs_silent=: ;;
15972
15973   # This is an error.
15974   -*) as_fn_error $? "unrecognized option: \`$1'
15975 Try \`$0 --help' for more information." ;;
15976
15977   *) as_fn_append ac_config_targets " $1"
15978      ac_need_defaults=false ;;
15979
15980   esac
15981   shift
15982 done
15983
15984 ac_configure_extra_args=
15985
15986 if $ac_cs_silent; then
15987   exec 6>/dev/null
15988   ac_configure_extra_args="$ac_configure_extra_args --silent"
15989 fi
15990
15991 _ACEOF
15992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15993 if \$ac_cs_recheck; then
15994   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15995   shift
15996   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15997   CONFIG_SHELL='$SHELL'
15998   export CONFIG_SHELL
15999   exec "\$@"
16000 fi
16001
16002 _ACEOF
16003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16004 exec 5>>config.log
16005 {
16006   echo
16007   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16008 ## Running $as_me. ##
16009 _ASBOX
16010   $as_echo "$ac_log"
16011 } >&5
16012
16013 _ACEOF
16014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16015 #
16016 # INIT-COMMANDS
16017 #
16018 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16019
16020
16021 # The HP-UX ksh and POSIX shell print the target directory to stdout
16022 # if CDPATH is set.
16023 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16024
16025 sed_quote_subst='$sed_quote_subst'
16026 double_quote_subst='$double_quote_subst'
16027 delay_variable_subst='$delay_variable_subst'
16028 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16029 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16030 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16031 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16032 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16033 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16034 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16035 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16036 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16037 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16038 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16039 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16040 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16041 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16042 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16043 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16044 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16045 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16046 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16047 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16048 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16049 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16050 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16051 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16052 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16053 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16054 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16055 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16056 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16057 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16058 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16059 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16060 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16061 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16062 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16063 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16064 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16065 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16066 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16067 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16068 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16069 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16070 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16071 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16072 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16073 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16074 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16075 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16076 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16077 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16078 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16079 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16080 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16081 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16082 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16083 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16084 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16085 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"`'
16086 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16087 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16088 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16089 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16090 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16091 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16092 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16093 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16094 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16095 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16096 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16097 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16098 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16099 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16100 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16101 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16102 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16103 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16104 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16105 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16106 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16107 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16108 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16109 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16110 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16111 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16112 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16113 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16114 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16115 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16116 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16117 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16118 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16119 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16120 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16121 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16122 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16123 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16124 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16125 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16126 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16127 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16128 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16129 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16130 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16131 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16132 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16133 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16134 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16135 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16136 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16137 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16138 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16139 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16140 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16141 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16142 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16143 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16144 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16145 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16146 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16147 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16148 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16149 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16150 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16151 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16152 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16153 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16154 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16155 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16156 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16157 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16158 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16159
16160 LTCC='$LTCC'
16161 LTCFLAGS='$LTCFLAGS'
16162 compiler='$compiler_DEFAULT'
16163
16164 # A function that is used when there is no print builtin or printf.
16165 func_fallback_echo ()
16166 {
16167   eval 'cat <<_LTECHO_EOF
16168 \$1
16169 _LTECHO_EOF'
16170 }
16171
16172 # Quote evaled strings.
16173 for var in AS \
16174 DLLTOOL \
16175 OBJDUMP \
16176 SHELL \
16177 ECHO \
16178 PATH_SEPARATOR \
16179 SED \
16180 GREP \
16181 EGREP \
16182 FGREP \
16183 LD \
16184 NM \
16185 LN_S \
16186 lt_SP2NL \
16187 lt_NL2SP \
16188 reload_flag \
16189 deplibs_check_method \
16190 file_magic_cmd \
16191 file_magic_glob \
16192 want_nocaseglob \
16193 sharedlib_from_linklib_cmd \
16194 AR \
16195 AR_FLAGS \
16196 archiver_list_spec \
16197 STRIP \
16198 RANLIB \
16199 CC \
16200 CFLAGS \
16201 compiler \
16202 lt_cv_sys_global_symbol_pipe \
16203 lt_cv_sys_global_symbol_to_cdecl \
16204 lt_cv_sys_global_symbol_to_c_name_address \
16205 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16206 nm_file_list_spec \
16207 lt_prog_compiler_no_builtin_flag \
16208 lt_prog_compiler_pic \
16209 lt_prog_compiler_wl \
16210 lt_prog_compiler_static \
16211 lt_cv_prog_compiler_c_o \
16212 need_locks \
16213 MANIFEST_TOOL \
16214 DSYMUTIL \
16215 NMEDIT \
16216 LIPO \
16217 OTOOL \
16218 OTOOL64 \
16219 shrext_cmds \
16220 export_dynamic_flag_spec \
16221 whole_archive_flag_spec \
16222 compiler_needs_object \
16223 with_gnu_ld \
16224 allow_undefined_flag \
16225 no_undefined_flag \
16226 hardcode_libdir_flag_spec \
16227 hardcode_libdir_separator \
16228 exclude_expsyms \
16229 include_expsyms \
16230 file_list_spec \
16231 variables_saved_for_relink \
16232 libname_spec \
16233 library_names_spec \
16234 soname_spec \
16235 install_override_mode \
16236 finish_eval \
16237 old_striplib \
16238 striplib; do
16239     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16240     *[\\\\\\\`\\"\\\$]*)
16241       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16242       ;;
16243     *)
16244       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16245       ;;
16246     esac
16247 done
16248
16249 # Double-quote double-evaled strings.
16250 for var in reload_cmds \
16251 old_postinstall_cmds \
16252 old_postuninstall_cmds \
16253 old_archive_cmds \
16254 extract_expsyms_cmds \
16255 old_archive_from_new_cmds \
16256 old_archive_from_expsyms_cmds \
16257 archive_cmds \
16258 archive_expsym_cmds \
16259 module_cmds \
16260 module_expsym_cmds \
16261 export_symbols_cmds \
16262 prelink_cmds \
16263 postlink_cmds \
16264 postinstall_cmds \
16265 postuninstall_cmds \
16266 finish_cmds \
16267 sys_lib_search_path_spec \
16268 sys_lib_dlsearch_path_spec; do
16269     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16270     *[\\\\\\\`\\"\\\$]*)
16271       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16272       ;;
16273     *)
16274       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16275       ;;
16276     esac
16277 done
16278
16279 ac_aux_dir='$ac_aux_dir'
16280 xsi_shell='$xsi_shell'
16281 lt_shell_append='$lt_shell_append'
16282
16283 # See if we are running on zsh, and set the options which allow our
16284 # commands through without removal of \ escapes INIT.
16285 if test -n "\${ZSH_VERSION+set}" ; then
16286    setopt NO_GLOB_SUBST
16287 fi
16288
16289
16290     PACKAGE='$PACKAGE'
16291     VERSION='$VERSION'
16292     TIMESTAMP='$TIMESTAMP'
16293     RM='$RM'
16294     ofile='$ofile'
16295
16296
16297
16298
16299 _ACEOF
16300
16301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16302
16303 # Handling of arguments.
16304 for ac_config_target in $ac_config_targets
16305 do
16306   case $ac_config_target in
16307     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16308     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16309     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16310     "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
16311     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16312     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16313     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16314     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16315     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16316     "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
16317     "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
16318     "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
16319     "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
16320     "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
16321     "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
16322     "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
16323     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16324     "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
16325     "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
16326     "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
16327     "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
16328     "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
16329     "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
16330     "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
16331
16332   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16333   esac
16334 done
16335
16336
16337 # If the user did not use the arguments to specify the items to instantiate,
16338 # then the envvar interface is used.  Set only those that are not.
16339 # We use the long form for the default assignment because of an extremely
16340 # bizarre bug on SunOS 4.1.3.
16341 if $ac_need_defaults; then
16342   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16343   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16344   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16345 fi
16346
16347 # Have a temporary directory for convenience.  Make it in the build tree
16348 # simply because there is no reason against having it here, and in addition,
16349 # creating and moving files from /tmp can sometimes cause problems.
16350 # Hook for its removal unless debugging.
16351 # Note that there is a small window in which the directory will not be cleaned:
16352 # after its creation but before its name has been assigned to `$tmp'.
16353 $debug ||
16354 {
16355   tmp= ac_tmp=
16356   trap 'exit_status=$?
16357   : "${ac_tmp:=$tmp}"
16358   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16359 ' 0
16360   trap 'as_fn_exit 1' 1 2 13 15
16361 }
16362 # Create a (secure) tmp directory for tmp files.
16363
16364 {
16365   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16366   test -d "$tmp"
16367 }  ||
16368 {
16369   tmp=./conf$$-$RANDOM
16370   (umask 077 && mkdir "$tmp")
16371 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16372 ac_tmp=$tmp
16373
16374 # Set up the scripts for CONFIG_FILES section.
16375 # No need to generate them if there are no CONFIG_FILES.
16376 # This happens for instance with `./config.status config.h'.
16377 if test -n "$CONFIG_FILES"; then
16378
16379
16380 ac_cr=`echo X | tr X '\015'`
16381 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16382 # But we know of no other shell where ac_cr would be empty at this
16383 # point, so we can use a bashism as a fallback.
16384 if test "x$ac_cr" = x; then
16385   eval ac_cr=\$\'\\r\'
16386 fi
16387 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16388 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16389   ac_cs_awk_cr='\\r'
16390 else
16391   ac_cs_awk_cr=$ac_cr
16392 fi
16393
16394 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16395 _ACEOF
16396
16397
16398 {
16399   echo "cat >conf$$subs.awk <<_ACEOF" &&
16400   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16401   echo "_ACEOF"
16402 } >conf$$subs.sh ||
16403   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16404 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16405 ac_delim='%!_!# '
16406 for ac_last_try in false false false false false :; do
16407   . ./conf$$subs.sh ||
16408     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16409
16410   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16411   if test $ac_delim_n = $ac_delim_num; then
16412     break
16413   elif $ac_last_try; then
16414     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16415   else
16416     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16417   fi
16418 done
16419 rm -f conf$$subs.sh
16420
16421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16422 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16423 _ACEOF
16424 sed -n '
16425 h
16426 s/^/S["/; s/!.*/"]=/
16427 p
16428 g
16429 s/^[^!]*!//
16430 :repl
16431 t repl
16432 s/'"$ac_delim"'$//
16433 t delim
16434 :nl
16435 h
16436 s/\(.\{148\}\)..*/\1/
16437 t more1
16438 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16439 p
16440 n
16441 b repl
16442 :more1
16443 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16444 p
16445 g
16446 s/.\{148\}//
16447 t nl
16448 :delim
16449 h
16450 s/\(.\{148\}\)..*/\1/
16451 t more2
16452 s/["\\]/\\&/g; s/^/"/; s/$/"/
16453 p
16454 b
16455 :more2
16456 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16457 p
16458 g
16459 s/.\{148\}//
16460 t delim
16461 ' <conf$$subs.awk | sed '
16462 /^[^""]/{
16463   N
16464   s/\n//
16465 }
16466 ' >>$CONFIG_STATUS || ac_write_fail=1
16467 rm -f conf$$subs.awk
16468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16469 _ACAWK
16470 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16471   for (key in S) S_is_set[key] = 1
16472   FS = "\a"
16473
16474 }
16475 {
16476   line = $ 0
16477   nfields = split(line, field, "@")
16478   substed = 0
16479   len = length(field[1])
16480   for (i = 2; i < nfields; i++) {
16481     key = field[i]
16482     keylen = length(key)
16483     if (S_is_set[key]) {
16484       value = S[key]
16485       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16486       len += length(value) + length(field[++i])
16487       substed = 1
16488     } else
16489       len += 1 + keylen
16490   }
16491
16492   print line
16493 }
16494
16495 _ACAWK
16496 _ACEOF
16497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16498 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16499   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16500 else
16501   cat
16502 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16503   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16504 _ACEOF
16505
16506 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16507 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16508 # trailing colons and then remove the whole line if VPATH becomes empty
16509 # (actually we leave an empty line to preserve line numbers).
16510 if test "x$srcdir" = x.; then
16511   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16512 h
16513 s///
16514 s/^/:/
16515 s/[      ]*$/:/
16516 s/:\$(srcdir):/:/g
16517 s/:\${srcdir}:/:/g
16518 s/:@srcdir@:/:/g
16519 s/^:*//
16520 s/:*$//
16521 x
16522 s/\(=[   ]*\).*/\1/
16523 G
16524 s/\n//
16525 s/^[^=]*=[       ]*$//
16526 }'
16527 fi
16528
16529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16530 fi # test -n "$CONFIG_FILES"
16531
16532 # Set up the scripts for CONFIG_HEADERS section.
16533 # No need to generate them if there are no CONFIG_HEADERS.
16534 # This happens for instance with `./config.status Makefile'.
16535 if test -n "$CONFIG_HEADERS"; then
16536 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16537 BEGIN {
16538 _ACEOF
16539
16540 # Transform confdefs.h into an awk script `defines.awk', embedded as
16541 # here-document in config.status, that substitutes the proper values into
16542 # config.h.in to produce config.h.
16543
16544 # Create a delimiter string that does not exist in confdefs.h, to ease
16545 # handling of long lines.
16546 ac_delim='%!_!# '
16547 for ac_last_try in false false :; do
16548   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16549   if test -z "$ac_tt"; then
16550     break
16551   elif $ac_last_try; then
16552     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16553   else
16554     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16555   fi
16556 done
16557
16558 # For the awk script, D is an array of macro values keyed by name,
16559 # likewise P contains macro parameters if any.  Preserve backslash
16560 # newline sequences.
16561
16562 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16563 sed -n '
16564 s/.\{148\}/&'"$ac_delim"'/g
16565 t rset
16566 :rset
16567 s/^[     ]*#[    ]*define[       ][      ]*/ /
16568 t def
16569 d
16570 :def
16571 s/\\$//
16572 t bsnl
16573 s/["\\]/\\&/g
16574 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16575 D["\1"]=" \3"/p
16576 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16577 d
16578 :bsnl
16579 s/["\\]/\\&/g
16580 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16581 D["\1"]=" \3\\\\\\n"\\/p
16582 t cont
16583 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16584 t cont
16585 d
16586 :cont
16587 n
16588 s/.\{148\}/&'"$ac_delim"'/g
16589 t clear
16590 :clear
16591 s/\\$//
16592 t bsnlc
16593 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16594 d
16595 :bsnlc
16596 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16597 b cont
16598 ' <confdefs.h | sed '
16599 s/'"$ac_delim"'/"\\\
16600 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16601
16602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16603   for (key in D) D_is_set[key] = 1
16604   FS = "\a"
16605 }
16606 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16607   line = \$ 0
16608   split(line, arg, " ")
16609   if (arg[1] == "#") {
16610     defundef = arg[2]
16611     mac1 = arg[3]
16612   } else {
16613     defundef = substr(arg[1], 2)
16614     mac1 = arg[2]
16615   }
16616   split(mac1, mac2, "(") #)
16617   macro = mac2[1]
16618   prefix = substr(line, 1, index(line, defundef) - 1)
16619   if (D_is_set[macro]) {
16620     # Preserve the white space surrounding the "#".
16621     print prefix "define", macro P[macro] D[macro]
16622     next
16623   } else {
16624     # Replace #undef with comments.  This is necessary, for example,
16625     # in the case of _POSIX_SOURCE, which is predefined and required
16626     # on some systems where configure will not decide to define it.
16627     if (defundef == "undef") {
16628       print "/*", prefix defundef, macro, "*/"
16629       next
16630     }
16631   }
16632 }
16633 { print }
16634 _ACAWK
16635 _ACEOF
16636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16637   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16638 fi # test -n "$CONFIG_HEADERS"
16639
16640
16641 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16642 shift
16643 for ac_tag
16644 do
16645   case $ac_tag in
16646   :[FHLC]) ac_mode=$ac_tag; continue;;
16647   esac
16648   case $ac_mode$ac_tag in
16649   :[FHL]*:*);;
16650   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16651   :[FH]-) ac_tag=-:-;;
16652   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16653   esac
16654   ac_save_IFS=$IFS
16655   IFS=:
16656   set x $ac_tag
16657   IFS=$ac_save_IFS
16658   shift
16659   ac_file=$1
16660   shift
16661
16662   case $ac_mode in
16663   :L) ac_source=$1;;
16664   :[FH])
16665     ac_file_inputs=
16666     for ac_f
16667     do
16668       case $ac_f in
16669       -) ac_f="$ac_tmp/stdin";;
16670       *) # Look for the file first in the build tree, then in the source tree
16671          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16672          # because $ac_f cannot contain `:'.
16673          test -f "$ac_f" ||
16674            case $ac_f in
16675            [\\/$]*) false;;
16676            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16677            esac ||
16678            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16679       esac
16680       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16681       as_fn_append ac_file_inputs " '$ac_f'"
16682     done
16683
16684     # Let's still pretend it is `configure' which instantiates (i.e., don't
16685     # use $as_me), people would be surprised to read:
16686     #    /* config.h.  Generated by config.status.  */
16687     configure_input='Generated from '`
16688           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16689         `' by configure.'
16690     if test x"$ac_file" != x-; then
16691       configure_input="$ac_file.  $configure_input"
16692       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16693 $as_echo "$as_me: creating $ac_file" >&6;}
16694     fi
16695     # Neutralize special characters interpreted by sed in replacement strings.
16696     case $configure_input in #(
16697     *\&* | *\|* | *\\* )
16698        ac_sed_conf_input=`$as_echo "$configure_input" |
16699        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16700     *) ac_sed_conf_input=$configure_input;;
16701     esac
16702
16703     case $ac_tag in
16704     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16705       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16706     esac
16707     ;;
16708   esac
16709
16710   ac_dir=`$as_dirname -- "$ac_file" ||
16711 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16712          X"$ac_file" : 'X\(//\)[^/]' \| \
16713          X"$ac_file" : 'X\(//\)$' \| \
16714          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16715 $as_echo X"$ac_file" |
16716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16717             s//\1/
16718             q
16719           }
16720           /^X\(\/\/\)[^/].*/{
16721             s//\1/
16722             q
16723           }
16724           /^X\(\/\/\)$/{
16725             s//\1/
16726             q
16727           }
16728           /^X\(\/\).*/{
16729             s//\1/
16730             q
16731           }
16732           s/.*/./; q'`
16733   as_dir="$ac_dir"; as_fn_mkdir_p
16734   ac_builddir=.
16735
16736 case "$ac_dir" in
16737 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16738 *)
16739   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16740   # A ".." for each directory in $ac_dir_suffix.
16741   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16742   case $ac_top_builddir_sub in
16743   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16744   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16745   esac ;;
16746 esac
16747 ac_abs_top_builddir=$ac_pwd
16748 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16749 # for backward compatibility:
16750 ac_top_builddir=$ac_top_build_prefix
16751
16752 case $srcdir in
16753   .)  # We are building in place.
16754     ac_srcdir=.
16755     ac_top_srcdir=$ac_top_builddir_sub
16756     ac_abs_top_srcdir=$ac_pwd ;;
16757   [\\/]* | ?:[\\/]* )  # Absolute name.
16758     ac_srcdir=$srcdir$ac_dir_suffix;
16759     ac_top_srcdir=$srcdir
16760     ac_abs_top_srcdir=$srcdir ;;
16761   *) # Relative name.
16762     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16763     ac_top_srcdir=$ac_top_build_prefix$srcdir
16764     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16765 esac
16766 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16767
16768
16769   case $ac_mode in
16770   :F)
16771   #
16772   # CONFIG_FILE
16773   #
16774
16775   case $INSTALL in
16776   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16777   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16778   esac
16779   ac_MKDIR_P=$MKDIR_P
16780   case $MKDIR_P in
16781   [\\/$]* | ?:[\\/]* ) ;;
16782   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16783   esac
16784 _ACEOF
16785
16786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16787 # If the template does not know about datarootdir, expand it.
16788 # FIXME: This hack should be removed a few years after 2.60.
16789 ac_datarootdir_hack=; ac_datarootdir_seen=
16790 ac_sed_dataroot='
16791 /datarootdir/ {
16792   p
16793   q
16794 }
16795 /@datadir@/p
16796 /@docdir@/p
16797 /@infodir@/p
16798 /@localedir@/p
16799 /@mandir@/p'
16800 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16801 *datarootdir*) ac_datarootdir_seen=yes;;
16802 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16803   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16804 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16805 _ACEOF
16806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16807   ac_datarootdir_hack='
16808   s&@datadir@&$datadir&g
16809   s&@docdir@&$docdir&g
16810   s&@infodir@&$infodir&g
16811   s&@localedir@&$localedir&g
16812   s&@mandir@&$mandir&g
16813   s&\\\${datarootdir}&$datarootdir&g' ;;
16814 esac
16815 _ACEOF
16816
16817 # Neutralize VPATH when `$srcdir' = `.'.
16818 # Shell code in configure.ac might set extrasub.
16819 # FIXME: do we really want to maintain this feature?
16820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16821 ac_sed_extra="$ac_vpsub
16822 $extrasub
16823 _ACEOF
16824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16825 :t
16826 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16827 s|@configure_input@|$ac_sed_conf_input|;t t
16828 s&@top_builddir@&$ac_top_builddir_sub&;t t
16829 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16830 s&@srcdir@&$ac_srcdir&;t t
16831 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16832 s&@top_srcdir@&$ac_top_srcdir&;t t
16833 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16834 s&@builddir@&$ac_builddir&;t t
16835 s&@abs_builddir@&$ac_abs_builddir&;t t
16836 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16837 s&@INSTALL@&$ac_INSTALL&;t t
16838 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16839 $ac_datarootdir_hack
16840 "
16841 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16842   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16843
16844 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16845   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16846   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16847       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16848   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16849 which seems to be undefined.  Please make sure it is defined" >&5
16850 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16851 which seems to be undefined.  Please make sure it is defined" >&2;}
16852
16853   rm -f "$ac_tmp/stdin"
16854   case $ac_file in
16855   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16856   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16857   esac \
16858   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16859  ;;
16860   :H)
16861   #
16862   # CONFIG_HEADER
16863   #
16864   if test x"$ac_file" != x-; then
16865     {
16866       $as_echo "/* $configure_input  */" \
16867       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16868     } >"$ac_tmp/config.h" \
16869       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16870     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16871       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16872 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16873     else
16874       rm -f "$ac_file"
16875       mv "$ac_tmp/config.h" "$ac_file" \
16876         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16877     fi
16878   else
16879     $as_echo "/* $configure_input  */" \
16880       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16881       || as_fn_error $? "could not create -" "$LINENO" 5
16882   fi
16883 # Compute "$ac_file"'s index in $config_headers.
16884 _am_arg="$ac_file"
16885 _am_stamp_count=1
16886 for _am_header in $config_headers :; do
16887   case $_am_header in
16888     $_am_arg | $_am_arg:* )
16889       break ;;
16890     * )
16891       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16892   esac
16893 done
16894 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16895 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16896          X"$_am_arg" : 'X\(//\)[^/]' \| \
16897          X"$_am_arg" : 'X\(//\)$' \| \
16898          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16899 $as_echo X"$_am_arg" |
16900     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16901             s//\1/
16902             q
16903           }
16904           /^X\(\/\/\)[^/].*/{
16905             s//\1/
16906             q
16907           }
16908           /^X\(\/\/\)$/{
16909             s//\1/
16910             q
16911           }
16912           /^X\(\/\).*/{
16913             s//\1/
16914             q
16915           }
16916           s/.*/./; q'`/stamp-h$_am_stamp_count
16917  ;;
16918
16919   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16920 $as_echo "$as_me: executing $ac_file commands" >&6;}
16921  ;;
16922   esac
16923
16924
16925   case $ac_file$ac_mode in
16926     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16927   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16928   # are listed without --file.  Let's play safe and only enable the eval
16929   # if we detect the quoting.
16930   case $CONFIG_FILES in
16931   *\'*) eval set x "$CONFIG_FILES" ;;
16932   *)   set x $CONFIG_FILES ;;
16933   esac
16934   shift
16935   for mf
16936   do
16937     # Strip MF so we end up with the name of the file.
16938     mf=`echo "$mf" | sed -e 's/:.*$//'`
16939     # Check whether this is an Automake generated Makefile or not.
16940     # We used to match only the files named `Makefile.in', but
16941     # some people rename them; so instead we look at the file content.
16942     # Grep'ing the first line is not enough: some people post-process
16943     # each Makefile.in and add a new line on top of each file to say so.
16944     # Grep'ing the whole file is not good either: AIX grep has a line
16945     # limit of 2048, but all sed's we know have understand at least 4000.
16946     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16947       dirpart=`$as_dirname -- "$mf" ||
16948 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16949          X"$mf" : 'X\(//\)[^/]' \| \
16950          X"$mf" : 'X\(//\)$' \| \
16951          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16952 $as_echo X"$mf" |
16953     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16954             s//\1/
16955             q
16956           }
16957           /^X\(\/\/\)[^/].*/{
16958             s//\1/
16959             q
16960           }
16961           /^X\(\/\/\)$/{
16962             s//\1/
16963             q
16964           }
16965           /^X\(\/\).*/{
16966             s//\1/
16967             q
16968           }
16969           s/.*/./; q'`
16970     else
16971       continue
16972     fi
16973     # Extract the definition of DEPDIR, am__include, and am__quote
16974     # from the Makefile without running `make'.
16975     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16976     test -z "$DEPDIR" && continue
16977     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16978     test -z "am__include" && continue
16979     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16980     # When using ansi2knr, U may be empty or an underscore; expand it
16981     U=`sed -n 's/^U = //p' < "$mf"`
16982     # Find all dependency output files, they are included files with
16983     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16984     # simplest approach to changing $(DEPDIR) to its actual value in the
16985     # expansion.
16986     for file in `sed -n "
16987       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16988          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16989       # Make sure the directory exists.
16990       test -f "$dirpart/$file" && continue
16991       fdir=`$as_dirname -- "$file" ||
16992 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16993          X"$file" : 'X\(//\)[^/]' \| \
16994          X"$file" : 'X\(//\)$' \| \
16995          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16996 $as_echo X"$file" |
16997     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16998             s//\1/
16999             q
17000           }
17001           /^X\(\/\/\)[^/].*/{
17002             s//\1/
17003             q
17004           }
17005           /^X\(\/\/\)$/{
17006             s//\1/
17007             q
17008           }
17009           /^X\(\/\).*/{
17010             s//\1/
17011             q
17012           }
17013           s/.*/./; q'`
17014       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17015       # echo "creating $dirpart/$file"
17016       echo '# dummy' > "$dirpart/$file"
17017     done
17018   done
17019 }
17020  ;;
17021     "libtool":C)
17022
17023     # See if we are running on zsh, and set the options which allow our
17024     # commands through without removal of \ escapes.
17025     if test -n "${ZSH_VERSION+set}" ; then
17026       setopt NO_GLOB_SUBST
17027     fi
17028
17029     cfgfile="${ofile}T"
17030     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17031     $RM "$cfgfile"
17032
17033     cat <<_LT_EOF >> "$cfgfile"
17034 #! $SHELL
17035
17036 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17037 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17038 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17039 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17040 #
17041 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17042 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17043 #                 Foundation, Inc.
17044 #   Written by Gordon Matzigkeit, 1996
17045 #
17046 #   This file is part of GNU Libtool.
17047 #
17048 # GNU Libtool is free software; you can redistribute it and/or
17049 # modify it under the terms of the GNU General Public License as
17050 # published by the Free Software Foundation; either version 2 of
17051 # the License, or (at your option) any later version.
17052 #
17053 # As a special exception to the GNU General Public License,
17054 # if you distribute this file as part of a program or library that
17055 # is built using GNU Libtool, you may include this file under the
17056 # same distribution terms that you use for the rest of that program.
17057 #
17058 # GNU Libtool is distributed in the hope that it will be useful,
17059 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17060 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17061 # GNU General Public License for more details.
17062 #
17063 # You should have received a copy of the GNU General Public License
17064 # along with GNU Libtool; see the file COPYING.  If not, a copy
17065 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17066 # obtained by writing to the Free Software Foundation, Inc.,
17067 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17068
17069
17070 # The names of the tagged configurations supported by this script.
17071 available_tags=""
17072
17073 # ### BEGIN LIBTOOL CONFIG
17074
17075 # Assembler program.
17076 AS=$lt_AS
17077
17078 # DLL creation program.
17079 DLLTOOL=$lt_DLLTOOL
17080
17081 # Object dumper program.
17082 OBJDUMP=$lt_OBJDUMP
17083
17084 # Which release of libtool.m4 was used?
17085 macro_version=$macro_version
17086 macro_revision=$macro_revision
17087
17088 # Whether or not to build shared libraries.
17089 build_libtool_libs=$enable_shared
17090
17091 # Whether or not to build static libraries.
17092 build_old_libs=$enable_static
17093
17094 # What type of objects to build.
17095 pic_mode=$pic_mode
17096
17097 # Whether or not to optimize for fast installation.
17098 fast_install=$enable_fast_install
17099
17100 # Shell to use when invoking shell scripts.
17101 SHELL=$lt_SHELL
17102
17103 # An echo program that protects backslashes.
17104 ECHO=$lt_ECHO
17105
17106 # The PATH separator for the build system.
17107 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17108
17109 # The host system.
17110 host_alias=$host_alias
17111 host=$host
17112 host_os=$host_os
17113
17114 # The build system.
17115 build_alias=$build_alias
17116 build=$build
17117 build_os=$build_os
17118
17119 # A sed program that does not truncate output.
17120 SED=$lt_SED
17121
17122 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17123 Xsed="\$SED -e 1s/^X//"
17124
17125 # A grep program that handles long lines.
17126 GREP=$lt_GREP
17127
17128 # An ERE matcher.
17129 EGREP=$lt_EGREP
17130
17131 # A literal string matcher.
17132 FGREP=$lt_FGREP
17133
17134 # A BSD- or MS-compatible name lister.
17135 NM=$lt_NM
17136
17137 # Whether we need soft or hard links.
17138 LN_S=$lt_LN_S
17139
17140 # What is the maximum length of a command?
17141 max_cmd_len=$max_cmd_len
17142
17143 # Object file suffix (normally "o").
17144 objext=$ac_objext
17145
17146 # Executable file suffix (normally "").
17147 exeext=$exeext
17148
17149 # whether the shell understands "unset".
17150 lt_unset=$lt_unset
17151
17152 # turn spaces into newlines.
17153 SP2NL=$lt_lt_SP2NL
17154
17155 # turn newlines into spaces.
17156 NL2SP=$lt_lt_NL2SP
17157
17158 # convert \$build file names to \$host format.
17159 to_host_file_cmd=$lt_cv_to_host_file_cmd
17160
17161 # convert \$build files to toolchain format.
17162 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17163
17164 # Method to check whether dependent libraries are shared objects.
17165 deplibs_check_method=$lt_deplibs_check_method
17166
17167 # Command to use when deplibs_check_method = "file_magic".
17168 file_magic_cmd=$lt_file_magic_cmd
17169
17170 # How to find potential files when deplibs_check_method = "file_magic".
17171 file_magic_glob=$lt_file_magic_glob
17172
17173 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17174 want_nocaseglob=$lt_want_nocaseglob
17175
17176 # Command to associate shared and link libraries.
17177 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17178
17179 # The archiver.
17180 AR=$lt_AR
17181
17182 # Flags to create an archive.
17183 AR_FLAGS=$lt_AR_FLAGS
17184
17185 # How to feed a file listing to the archiver.
17186 archiver_list_spec=$lt_archiver_list_spec
17187
17188 # A symbol stripping program.
17189 STRIP=$lt_STRIP
17190
17191 # Commands used to install an old-style archive.
17192 RANLIB=$lt_RANLIB
17193 old_postinstall_cmds=$lt_old_postinstall_cmds
17194 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17195
17196 # Whether to use a lock for old archive extraction.
17197 lock_old_archive_extraction=$lock_old_archive_extraction
17198
17199 # A C compiler.
17200 LTCC=$lt_CC
17201
17202 # LTCC compiler flags.
17203 LTCFLAGS=$lt_CFLAGS
17204
17205 # Take the output of nm and produce a listing of raw symbols and C names.
17206 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17207
17208 # Transform the output of nm in a proper C declaration.
17209 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17210
17211 # Transform the output of nm in a C name address pair.
17212 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17213
17214 # Transform the output of nm in a C name address pair when lib prefix is needed.
17215 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17216
17217 # Specify filename containing input files for \$NM.
17218 nm_file_list_spec=$lt_nm_file_list_spec
17219
17220 # The root where to search for dependent libraries,and in which our libraries should be installed.
17221 lt_sysroot=$lt_sysroot
17222
17223 # The name of the directory that contains temporary libtool files.
17224 objdir=$objdir
17225
17226 # Used to examine libraries when file_magic_cmd begins with "file".
17227 MAGIC_CMD=$MAGIC_CMD
17228
17229 # Must we lock files when doing compilation?
17230 need_locks=$lt_need_locks
17231
17232 # Manifest tool.
17233 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17234
17235 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17236 DSYMUTIL=$lt_DSYMUTIL
17237
17238 # Tool to change global to local symbols on Mac OS X.
17239 NMEDIT=$lt_NMEDIT
17240
17241 # Tool to manipulate fat objects and archives on Mac OS X.
17242 LIPO=$lt_LIPO
17243
17244 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17245 OTOOL=$lt_OTOOL
17246
17247 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17248 OTOOL64=$lt_OTOOL64
17249
17250 # Old archive suffix (normally "a").
17251 libext=$libext
17252
17253 # Shared library suffix (normally ".so").
17254 shrext_cmds=$lt_shrext_cmds
17255
17256 # The commands to extract the exported symbol list from a shared archive.
17257 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17258
17259 # Variables whose values should be saved in libtool wrapper scripts and
17260 # restored at link time.
17261 variables_saved_for_relink=$lt_variables_saved_for_relink
17262
17263 # Do we need the "lib" prefix for modules?
17264 need_lib_prefix=$need_lib_prefix
17265
17266 # Do we need a version for libraries?
17267 need_version=$need_version
17268
17269 # Library versioning type.
17270 version_type=$version_type
17271
17272 # Shared library runtime path variable.
17273 runpath_var=$runpath_var
17274
17275 # Shared library path variable.
17276 shlibpath_var=$shlibpath_var
17277
17278 # Is shlibpath searched before the hard-coded library search path?
17279 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17280
17281 # Format of library name prefix.
17282 libname_spec=$lt_libname_spec
17283
17284 # List of archive names.  First name is the real one, the rest are links.
17285 # The last name is the one that the linker finds with -lNAME
17286 library_names_spec=$lt_library_names_spec
17287
17288 # The coded name of the library, if different from the real name.
17289 soname_spec=$lt_soname_spec
17290
17291 # Permission mode override for installation of shared libraries.
17292 install_override_mode=$lt_install_override_mode
17293
17294 # Command to use after installation of a shared archive.
17295 postinstall_cmds=$lt_postinstall_cmds
17296
17297 # Command to use after uninstallation of a shared archive.
17298 postuninstall_cmds=$lt_postuninstall_cmds
17299
17300 # Commands used to finish a libtool library installation in a directory.
17301 finish_cmds=$lt_finish_cmds
17302
17303 # As "finish_cmds", except a single script fragment to be evaled but
17304 # not shown.
17305 finish_eval=$lt_finish_eval
17306
17307 # Whether we should hardcode library paths into libraries.
17308 hardcode_into_libs=$hardcode_into_libs
17309
17310 # Compile-time system search path for libraries.
17311 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17312
17313 # Run-time system search path for libraries.
17314 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17315
17316 # Whether dlopen is supported.
17317 dlopen_support=$enable_dlopen
17318
17319 # Whether dlopen of programs is supported.
17320 dlopen_self=$enable_dlopen_self
17321
17322 # Whether dlopen of statically linked programs is supported.
17323 dlopen_self_static=$enable_dlopen_self_static
17324
17325 # Commands to strip libraries.
17326 old_striplib=$lt_old_striplib
17327 striplib=$lt_striplib
17328
17329
17330 # The linker used to build libraries.
17331 LD=$lt_LD
17332
17333 # How to create reloadable object files.
17334 reload_flag=$lt_reload_flag
17335 reload_cmds=$lt_reload_cmds
17336
17337 # Commands used to build an old-style archive.
17338 old_archive_cmds=$lt_old_archive_cmds
17339
17340 # A language specific compiler.
17341 CC=$lt_compiler
17342
17343 # Is the compiler the GNU compiler?
17344 with_gcc=$GCC
17345
17346 # Compiler flag to turn off builtin functions.
17347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17348
17349 # Additional compiler flags for building library objects.
17350 pic_flag=$lt_lt_prog_compiler_pic
17351
17352 # How to pass a linker flag through the compiler.
17353 wl=$lt_lt_prog_compiler_wl
17354
17355 # Compiler flag to prevent dynamic linking.
17356 link_static_flag=$lt_lt_prog_compiler_static
17357
17358 # Does compiler simultaneously support -c and -o options?
17359 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17360
17361 # Whether or not to add -lc for building shared libraries.
17362 build_libtool_need_lc=$archive_cmds_need_lc
17363
17364 # Whether or not to disallow shared libs when runtime libs are static.
17365 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17366
17367 # Compiler flag to allow reflexive dlopens.
17368 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17369
17370 # Compiler flag to generate shared objects directly from archives.
17371 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17372
17373 # Whether the compiler copes with passing no objects directly.
17374 compiler_needs_object=$lt_compiler_needs_object
17375
17376 # Create an old-style archive from a shared archive.
17377 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17378
17379 # Create a temporary old-style archive to link instead of a shared archive.
17380 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17381
17382 # Commands used to build a shared archive.
17383 archive_cmds=$lt_archive_cmds
17384 archive_expsym_cmds=$lt_archive_expsym_cmds
17385
17386 # Commands used to build a loadable module if different from building
17387 # a shared archive.
17388 module_cmds=$lt_module_cmds
17389 module_expsym_cmds=$lt_module_expsym_cmds
17390
17391 # Whether we are building with GNU ld or not.
17392 with_gnu_ld=$lt_with_gnu_ld
17393
17394 # Flag that allows shared libraries with undefined symbols to be built.
17395 allow_undefined_flag=$lt_allow_undefined_flag
17396
17397 # Flag that enforces no undefined symbols.
17398 no_undefined_flag=$lt_no_undefined_flag
17399
17400 # Flag to hardcode \$libdir into a binary during linking.
17401 # This must work even if \$libdir does not exist
17402 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17403
17404 # Whether we need a single "-rpath" flag with a separated argument.
17405 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17406
17407 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17408 # DIR into the resulting binary.
17409 hardcode_direct=$hardcode_direct
17410
17411 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17412 # DIR into the resulting binary and the resulting library dependency is
17413 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17414 # library is relocated.
17415 hardcode_direct_absolute=$hardcode_direct_absolute
17416
17417 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17418 # into the resulting binary.
17419 hardcode_minus_L=$hardcode_minus_L
17420
17421 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17422 # into the resulting binary.
17423 hardcode_shlibpath_var=$hardcode_shlibpath_var
17424
17425 # Set to "yes" if building a shared library automatically hardcodes DIR
17426 # into the library and all subsequent libraries and executables linked
17427 # against it.
17428 hardcode_automatic=$hardcode_automatic
17429
17430 # Set to yes if linker adds runtime paths of dependent libraries
17431 # to runtime path list.
17432 inherit_rpath=$inherit_rpath
17433
17434 # Whether libtool must link a program against all its dependency libraries.
17435 link_all_deplibs=$link_all_deplibs
17436
17437 # Set to "yes" if exported symbols are required.
17438 always_export_symbols=$always_export_symbols
17439
17440 # The commands to list exported symbols.
17441 export_symbols_cmds=$lt_export_symbols_cmds
17442
17443 # Symbols that should not be listed in the preloaded symbols.
17444 exclude_expsyms=$lt_exclude_expsyms
17445
17446 # Symbols that must always be exported.
17447 include_expsyms=$lt_include_expsyms
17448
17449 # Commands necessary for linking programs (against libraries) with templates.
17450 prelink_cmds=$lt_prelink_cmds
17451
17452 # Commands necessary for finishing linking programs.
17453 postlink_cmds=$lt_postlink_cmds
17454
17455 # Specify filename containing input files.
17456 file_list_spec=$lt_file_list_spec
17457
17458 # How to hardcode a shared library path into an executable.
17459 hardcode_action=$hardcode_action
17460
17461 # ### END LIBTOOL CONFIG
17462
17463 _LT_EOF
17464
17465   case $host_os in
17466   aix3*)
17467     cat <<\_LT_EOF >> "$cfgfile"
17468 # AIX sometimes has problems with the GCC collect2 program.  For some
17469 # reason, if we set the COLLECT_NAMES environment variable, the problems
17470 # vanish in a puff of smoke.
17471 if test "X${COLLECT_NAMES+set}" != Xset; then
17472   COLLECT_NAMES=
17473   export COLLECT_NAMES
17474 fi
17475 _LT_EOF
17476     ;;
17477   esac
17478
17479
17480 ltmain="$ac_aux_dir/ltmain.sh"
17481
17482
17483   # We use sed instead of cat because bash on DJGPP gets confused if
17484   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17485   # text mode, it properly converts lines to CR/LF.  This bash problem
17486   # is reportedly fixed, but why not run on old versions too?
17487   sed '$q' "$ltmain" >> "$cfgfile" \
17488      || (rm -f "$cfgfile"; exit 1)
17489
17490   if test x"$xsi_shell" = xyes; then
17491   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17492 func_dirname ()\
17493 {\
17494 \    case ${1} in\
17495 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17496 \      *  ) func_dirname_result="${3}" ;;\
17497 \    esac\
17498 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17499   && mv -f "$cfgfile.tmp" "$cfgfile" \
17500     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17501 test 0 -eq $? || _lt_function_replace_fail=:
17502
17503
17504   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17505 func_basename ()\
17506 {\
17507 \    func_basename_result="${1##*/}"\
17508 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17509   && mv -f "$cfgfile.tmp" "$cfgfile" \
17510     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17511 test 0 -eq $? || _lt_function_replace_fail=:
17512
17513
17514   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17515 func_dirname_and_basename ()\
17516 {\
17517 \    case ${1} in\
17518 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17519 \      *  ) func_dirname_result="${3}" ;;\
17520 \    esac\
17521 \    func_basename_result="${1##*/}"\
17522 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17523   && mv -f "$cfgfile.tmp" "$cfgfile" \
17524     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17525 test 0 -eq $? || _lt_function_replace_fail=:
17526
17527
17528   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17529 func_stripname ()\
17530 {\
17531 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17532 \    # positional parameters, so assign one to ordinary parameter first.\
17533 \    func_stripname_result=${3}\
17534 \    func_stripname_result=${func_stripname_result#"${1}"}\
17535 \    func_stripname_result=${func_stripname_result%"${2}"}\
17536 } # Extended-shell func_stripname 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_long_opt ()$/,/^} # func_split_long_opt /c\
17543 func_split_long_opt ()\
17544 {\
17545 \    func_split_long_opt_name=${1%%=*}\
17546 \    func_split_long_opt_arg=${1#*=}\
17547 } # Extended-shell func_split_long_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_split_short_opt ()$/,/^} # func_split_short_opt /c\
17554 func_split_short_opt ()\
17555 {\
17556 \    func_split_short_opt_arg=${1#??}\
17557 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17558 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17559   && mv -f "$cfgfile.tmp" "$cfgfile" \
17560     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17561 test 0 -eq $? || _lt_function_replace_fail=:
17562
17563
17564   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17565 func_lo2o ()\
17566 {\
17567 \    case ${1} in\
17568 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17569 \      *)    func_lo2o_result=${1} ;;\
17570 \    esac\
17571 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17572   && mv -f "$cfgfile.tmp" "$cfgfile" \
17573     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17574 test 0 -eq $? || _lt_function_replace_fail=:
17575
17576
17577   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17578 func_xform ()\
17579 {\
17580     func_xform_result=${1%.*}.lo\
17581 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17582   && mv -f "$cfgfile.tmp" "$cfgfile" \
17583     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17584 test 0 -eq $? || _lt_function_replace_fail=:
17585
17586
17587   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17588 func_arith ()\
17589 {\
17590     func_arith_result=$(( $* ))\
17591 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17592   && mv -f "$cfgfile.tmp" "$cfgfile" \
17593     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17594 test 0 -eq $? || _lt_function_replace_fail=:
17595
17596
17597   sed -e '/^func_len ()$/,/^} # func_len /c\
17598 func_len ()\
17599 {\
17600     func_len_result=${#1}\
17601 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17602   && mv -f "$cfgfile.tmp" "$cfgfile" \
17603     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17604 test 0 -eq $? || _lt_function_replace_fail=:
17605
17606 fi
17607
17608 if test x"$lt_shell_append" = xyes; then
17609   sed -e '/^func_append ()$/,/^} # func_append /c\
17610 func_append ()\
17611 {\
17612     eval "${1}+=\\${2}"\
17613 } # Extended-shell func_append 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   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17620 func_append_quoted ()\
17621 {\
17622 \    func_quote_for_eval "${2}"\
17623 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17624 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17625   && mv -f "$cfgfile.tmp" "$cfgfile" \
17626     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17627 test 0 -eq $? || _lt_function_replace_fail=:
17628
17629
17630   # Save a `func_append' function call where possible by direct use of '+='
17631   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17632     && mv -f "$cfgfile.tmp" "$cfgfile" \
17633       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17634   test 0 -eq $? || _lt_function_replace_fail=:
17635 else
17636   # Save a `func_append' function call even when '+=' is not available
17637   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17638     && mv -f "$cfgfile.tmp" "$cfgfile" \
17639       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17640   test 0 -eq $? || _lt_function_replace_fail=:
17641 fi
17642
17643 if test x"$_lt_function_replace_fail" = x":"; then
17644   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17645 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17646 fi
17647
17648
17649    mv -f "$cfgfile" "$ofile" ||
17650     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17651   chmod +x "$ofile"
17652
17653  ;;
17654
17655   esac
17656 done # for ac_tag
17657
17658
17659 as_fn_exit 0
17660 _ACEOF
17661 ac_clean_files=$ac_clean_files_save
17662
17663 test $ac_write_fail = 0 ||
17664   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17665
17666
17667 # configure is writing to config.log, and then calls config.status.
17668 # config.status does its own redirection, appending to config.log.
17669 # Unfortunately, on DOS this fails, as config.log is still kept open
17670 # by configure, so config.status won't be able to write to it; its
17671 # output is simply discarded.  So we exec the FD to /dev/null,
17672 # effectively closing config.log, so it can be properly (re)opened and
17673 # appended to by config.status.  When coming back to configure, we
17674 # need to make the FD available again.
17675 if test "$no_create" != yes; then
17676   ac_cs_success=:
17677   ac_config_status_args=
17678   test "$silent" = yes &&
17679     ac_config_status_args="$ac_config_status_args --quiet"
17680   exec 5>/dev/null
17681   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17682   exec 5>>config.log
17683   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17684   # would make configure fail if this is the last instruction.
17685   $ac_cs_success || as_fn_exit 1
17686 fi
17687 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17688   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17689 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17690 fi
17691
17692
17693
17694 #####################################################################
17695 ## Info
17696
17697 echo
17698 echo
17699 echo
17700 echo "------------------------------------------------------------------------"
17701 echo "$PACKAGE $VERSION"
17702 echo "------------------------------------------------------------------------"
17703 echo
17704 echo "Configuration Options Summary:"
17705 echo
17706 echo "  Modules:"
17707 echo
17708 echo "    EBluez.............: $enable_ebluez"
17709 echo "    EConnman (0.7x)....: $enable_econnman0_7x"
17710 echo "    EHal...............: $enable_ehal"
17711 echo "    ENotify............: $enable_enotify"
17712 echo "    EOfono.............: $enable_eofono"
17713 echo "    EUkit..............: $enable_eukit"
17714 echo
17715 echo "  Binaries:"
17716 echo
17717 echo "    EDbus test.........: $have_edbus_test"
17718 echo "    EDbus client test..: $have_edbus_test_client"
17719 echo "    EDbus async test...: $have_edbus_async_test"
17720 echo "    EDbus performance..: $have_edbus_performance_test"
17721 echo "    EBluez test........: $have_edbus_bluez_test"
17722 echo "    EConnman (0.7x)test: $have_edbus_connman0_7x_test"
17723 echo "    ENotify Daemon test: $have_edbus_notification_daemon_test"
17724 echo "    ENotify send.......: $have_edbus_notify_send"
17725 echo "    ENotify test.......: $have_edbus_notify_test"
17726 echo "    EOfono test........: $have_edbus_ofono_test"
17727 echo "    EUkit test.........: $have_edbus_ukit_test"
17728 echo
17729 echo "Documentation..........: ${build_doc}"
17730 if test "x${build_doc}" = "xyes" ; then
17731 echo "    Installation.......: make install-doc"
17732 fi
17733 echo
17734 echo "Compilation............: make (or gmake)"
17735 echo "  CPPFLAGS.............: $CPPFLAGS"
17736 echo "  CFLAGS...............: $CFLAGS"
17737 echo "  LDFLAGS..............: $LDFLAGS"
17738 echo
17739 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17740 echo "  prefix...............: $prefix"
17741 echo