Imported Upstream version 1.7.8
[platform/upstream/edbus.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for e_dbus 1.7.8.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: enlightenment-devel@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='e_dbus'
592 PACKAGE_TARNAME='e_dbus'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='e_dbus 1.7.8'
595 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
596 PACKAGE_URL=''
597
598 ac_unique_file="configure.ac"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 requirement_eukit
640 requirement_eofono
641 requirement_enotify
642 requirement_ehal
643 requirement_edbus
644 requirement_econnman0_7x
645 requirement_ebluez
646 ALLOCA
647 lt_enable_auto_import
648 EFL_EDBUS_BUILD
649 EDBUS_ASYNC_TEST_LIBS
650 EDBUS_ASYNC_TEST_CFLAGS
651 EDBUS_PERFORMANCE_TEST_LIBS
652 EDBUS_PERFORMANCE_TEST_CFLAGS
653 EDBUS_UKIT_TEST_LIBS
654 EDBUS_UKIT_TEST_CFLAGS
655 EDBUS_OFONO_TEST_LIBS
656 EDBUS_OFONO_TEST_CFLAGS
657 EDBUS_NOTIFY_TEST_LIBS
658 EDBUS_NOTIFY_TEST_CFLAGS
659 EDBUS_NOTIFY_SEND_LIBS
660 EDBUS_NOTIFY_SEND_CFLAGS
661 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
662 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
663 EDBUS_CONNMAN0_7X_TEST_LIBS
664 EDBUS_CONNMAN0_7X_TEST_CFLAGS
665 EDBUS_BLUEZ_TEST_LIBS
666 EDBUS_BLUEZ_TEST_CFLAGS
667 EDBUS_TEST_CLIENT_LIBS
668 EDBUS_TEST_CLIENT_CFLAGS
669 EDBUS_TEST_LIBS
670 EDBUS_TEST_CFLAGS
671 BUILD_EDBUS_ASYNC_TEST_FALSE
672 BUILD_EDBUS_ASYNC_TEST_TRUE
673 EDBUS_ASYNC_TEST_PRG
674 BUILD_EDBUS_PERFORMANCE_TEST_FALSE
675 BUILD_EDBUS_PERFORMANCE_TEST_TRUE
676 EDBUS_PERFORMANCE_TEST_PRG
677 BUILD_EDBUS_UKIT_TEST_FALSE
678 BUILD_EDBUS_UKIT_TEST_TRUE
679 EDBUS_UKIT_TEST_PRG
680 BUILD_EDBUS_OFONO_TEST_FALSE
681 BUILD_EDBUS_OFONO_TEST_TRUE
682 EDBUS_OFONO_TEST_PRG
683 BUILD_EDBUS_NOTIFY_TEST_FALSE
684 BUILD_EDBUS_NOTIFY_TEST_TRUE
685 EDBUS_NOTIFY_TEST_PRG
686 BUILD_EDBUS_NOTIFY_SEND_FALSE
687 BUILD_EDBUS_NOTIFY_SEND_TRUE
688 EDBUS_NOTIFY_SEND_PRG
689 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE
690 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE
691 EDBUS_NOTIFICATION_DAEMON_TEST_PRG
692 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE
693 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE
694 EDBUS_CONNMAN0_7X_TEST_PRG
695 BUILD_EDBUS_BLUEZ_TEST_FALSE
696 BUILD_EDBUS_BLUEZ_TEST_TRUE
697 EDBUS_BLUEZ_TEST_PRG
698 BUILD_EDBUS_TEST_CLIENT_FALSE
699 BUILD_EDBUS_TEST_CLIENT_TRUE
700 EDBUS_TEST_CLIENT_PRG
701 BUILD_EDBUS_TEST_FALSE
702 BUILD_EDBUS_TEST_TRUE
703 EDBUS_TEST_PRG
704 BUILD_EUKIT_FALSE
705 BUILD_EUKIT_TRUE
706 BUILD_EOFONO_FALSE
707 BUILD_EOFONO_TRUE
708 BUILD_ENOTIFY_FALSE
709 BUILD_ENOTIFY_TRUE
710 BUILD_EHAL_FALSE
711 BUILD_EHAL_TRUE
712 BUILD_ECONNMAN0_7X_FALSE
713 BUILD_ECONNMAN0_7X_TRUE
714 BUILD_EBLUEZ_FALSE
715 BUILD_EBLUEZ_TRUE
716 EVAS_LIBS
717 EVAS_CFLAGS
718 DBUS_VERSION_CFLAGS
719 EDBUS_LIBS
720 EDBUS_CFLAGS
721 DBUS_LIBS
722 DBUS_CFLAGS
723 EFL_BUILD_DOC_FALSE
724 EFL_BUILD_DOC_TRUE
725 efl_doxygen
726 efl_have_doxygen
727 pkgconfig_requires_private
728 PKG_CONFIG_LIBDIR
729 PKG_CONFIG_PATH
730 PKG_CONFIG
731 VMAJ
732 release_info
733 version_info
734 CPP
735 OTOOL64
736 OTOOL
737 LIPO
738 NMEDIT
739 DSYMUTIL
740 MANIFEST_TOOL
741 RANLIB
742 ac_ct_AR
743 AR
744 LN_S
745 NM
746 ac_ct_DUMPBIN
747 DUMPBIN
748 LD
749 FGREP
750 EGREP
751 GREP
752 SED
753 am__fastdepCC_FALSE
754 am__fastdepCC_TRUE
755 CCDEPMODE
756 am__nodep
757 AMDEPBACKSLASH
758 AMDEP_FALSE
759 AMDEP_TRUE
760 am__quote
761 am__include
762 DEPDIR
763 OBJEXT
764 EXEEXT
765 ac_ct_CC
766 CPPFLAGS
767 LDFLAGS
768 CFLAGS
769 CC
770 LIBTOOL
771 OBJDUMP
772 DLLTOOL
773 AS
774 host_os
775 host_vendor
776 host_cpu
777 host
778 build_os
779 build_vendor
780 build_cpu
781 build
782 AM_BACKSLASH
783 AM_DEFAULT_VERBOSITY
784 AM_DEFAULT_V
785 AM_V
786 am__untar
787 am__tar
788 AMTAR
789 am__leading_dot
790 SET_MAKE
791 AWK
792 mkdir_p
793 MKDIR_P
794 INSTALL_STRIP_PROGRAM
795 STRIP
796 install_sh
797 MAKEINFO
798 AUTOHEADER
799 AUTOMAKE
800 AUTOCONF
801 ACLOCAL
802 VERSION
803 PACKAGE
804 CYGPATH_W
805 am__isrc
806 INSTALL_DATA
807 INSTALL_SCRIPT
808 INSTALL_PROGRAM
809 target_alias
810 host_alias
811 build_alias
812 LIBS
813 ECHO_T
814 ECHO_N
815 ECHO_C
816 DEFS
817 mandir
818 localedir
819 libdir
820 psdir
821 pdfdir
822 dvidir
823 htmldir
824 infodir
825 docdir
826 oldincludedir
827 includedir
828 localstatedir
829 sharedstatedir
830 sysconfdir
831 datadir
832 datarootdir
833 libexecdir
834 sbindir
835 bindir
836 program_transform_name
837 prefix
838 exec_prefix
839 PACKAGE_URL
840 PACKAGE_BUGREPORT
841 PACKAGE_STRING
842 PACKAGE_VERSION
843 PACKAGE_TARNAME
844 PACKAGE_NAME
845 PATH_SEPARATOR
846 SHELL'
847 ac_subst_files=''
848 ac_user_opts='
849 enable_option_checking
850 enable_silent_rules
851 enable_shared
852 enable_static
853 with_pic
854 enable_fast_install
855 enable_dependency_tracking
856 with_gnu_ld
857 with_sysroot
858 enable_libtool_lock
859 enable_ebluez
860 enable_econnman0_7x
861 enable_ehal
862 enable_enotify
863 enable_eofono
864 enable_eukit
865 enable_doc
866 with_doxygen
867 enable_edbus_test
868 enable_edbus_test_client
869 enable_edbus_bluez_test
870 enable_edbus_connman0_7x_test
871 enable_edbus_notification_daemon_test
872 enable_edbus_notify_send
873 enable_edbus_notify_test
874 enable_edbus_ofono_test
875 enable_edbus_ukit_test
876 enable_edbus_performance_test
877 enable_edbus_async_test
878 '
879       ac_precious_vars='build_alias
880 host_alias
881 target_alias
882 CC
883 CFLAGS
884 LDFLAGS
885 LIBS
886 CPPFLAGS
887 CPP
888 PKG_CONFIG
889 PKG_CONFIG_PATH
890 PKG_CONFIG_LIBDIR
891 DBUS_CFLAGS
892 DBUS_LIBS
893 EDBUS_CFLAGS
894 EDBUS_LIBS
895 EVAS_CFLAGS
896 EVAS_LIBS
897 EDBUS_TEST_CFLAGS
898 EDBUS_TEST_LIBS
899 EDBUS_TEST_CLIENT_CFLAGS
900 EDBUS_TEST_CLIENT_LIBS
901 EDBUS_BLUEZ_TEST_CFLAGS
902 EDBUS_BLUEZ_TEST_LIBS
903 EDBUS_CONNMAN0_7X_TEST_CFLAGS
904 EDBUS_CONNMAN0_7X_TEST_LIBS
905 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
906 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
907 EDBUS_NOTIFY_SEND_CFLAGS
908 EDBUS_NOTIFY_SEND_LIBS
909 EDBUS_NOTIFY_TEST_CFLAGS
910 EDBUS_NOTIFY_TEST_LIBS
911 EDBUS_OFONO_TEST_CFLAGS
912 EDBUS_OFONO_TEST_LIBS
913 EDBUS_UKIT_TEST_CFLAGS
914 EDBUS_UKIT_TEST_LIBS
915 EDBUS_PERFORMANCE_TEST_CFLAGS
916 EDBUS_PERFORMANCE_TEST_LIBS
917 EDBUS_ASYNC_TEST_CFLAGS
918 EDBUS_ASYNC_TEST_LIBS'
919
920
921 # Initialize some variables set by options.
922 ac_init_help=
923 ac_init_version=false
924 ac_unrecognized_opts=
925 ac_unrecognized_sep=
926 # The variables have the same names as the options, with
927 # dashes changed to underlines.
928 cache_file=/dev/null
929 exec_prefix=NONE
930 no_create=
931 no_recursion=
932 prefix=NONE
933 program_prefix=NONE
934 program_suffix=NONE
935 program_transform_name=s,x,x,
936 silent=
937 site=
938 srcdir=
939 verbose=
940 x_includes=NONE
941 x_libraries=NONE
942
943 # Installation directory options.
944 # These are left unexpanded so users can "make install exec_prefix=/foo"
945 # and all the variables that are supposed to be based on exec_prefix
946 # by default will actually change.
947 # Use braces instead of parens because sh, perl, etc. also accept them.
948 # (The list follows the same order as the GNU Coding Standards.)
949 bindir='${exec_prefix}/bin'
950 sbindir='${exec_prefix}/sbin'
951 libexecdir='${exec_prefix}/libexec'
952 datarootdir='${prefix}/share'
953 datadir='${datarootdir}'
954 sysconfdir='${prefix}/etc'
955 sharedstatedir='${prefix}/com'
956 localstatedir='${prefix}/var'
957 includedir='${prefix}/include'
958 oldincludedir='/usr/include'
959 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
960 infodir='${datarootdir}/info'
961 htmldir='${docdir}'
962 dvidir='${docdir}'
963 pdfdir='${docdir}'
964 psdir='${docdir}'
965 libdir='${exec_prefix}/lib'
966 localedir='${datarootdir}/locale'
967 mandir='${datarootdir}/man'
968
969 ac_prev=
970 ac_dashdash=
971 for ac_option
972 do
973   # If the previous option needs an argument, assign it.
974   if test -n "$ac_prev"; then
975     eval $ac_prev=\$ac_option
976     ac_prev=
977     continue
978   fi
979
980   case $ac_option in
981   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
982   *=)   ac_optarg= ;;
983   *)    ac_optarg=yes ;;
984   esac
985
986   # Accept the important Cygnus configure options, so we can diagnose typos.
987
988   case $ac_dashdash$ac_option in
989   --)
990     ac_dashdash=yes ;;
991
992   -bindir | --bindir | --bindi | --bind | --bin | --bi)
993     ac_prev=bindir ;;
994   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
995     bindir=$ac_optarg ;;
996
997   -build | --build | --buil | --bui | --bu)
998     ac_prev=build_alias ;;
999   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1000     build_alias=$ac_optarg ;;
1001
1002   -cache-file | --cache-file | --cache-fil | --cache-fi \
1003   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1004     ac_prev=cache_file ;;
1005   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1006   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1007     cache_file=$ac_optarg ;;
1008
1009   --config-cache | -C)
1010     cache_file=config.cache ;;
1011
1012   -datadir | --datadir | --datadi | --datad)
1013     ac_prev=datadir ;;
1014   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1015     datadir=$ac_optarg ;;
1016
1017   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1018   | --dataroo | --dataro | --datar)
1019     ac_prev=datarootdir ;;
1020   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1021   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1022     datarootdir=$ac_optarg ;;
1023
1024   -disable-* | --disable-*)
1025     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026     # Reject names that are not valid shell variable names.
1027     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028       as_fn_error $? "invalid feature name: $ac_useropt"
1029     ac_useropt_orig=$ac_useropt
1030     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031     case $ac_user_opts in
1032       *"
1033 "enable_$ac_useropt"
1034 "*) ;;
1035       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1036          ac_unrecognized_sep=', ';;
1037     esac
1038     eval enable_$ac_useropt=no ;;
1039
1040   -docdir | --docdir | --docdi | --doc | --do)
1041     ac_prev=docdir ;;
1042   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1043     docdir=$ac_optarg ;;
1044
1045   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1046     ac_prev=dvidir ;;
1047   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1048     dvidir=$ac_optarg ;;
1049
1050   -enable-* | --enable-*)
1051     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1052     # Reject names that are not valid shell variable names.
1053     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054       as_fn_error $? "invalid feature name: $ac_useropt"
1055     ac_useropt_orig=$ac_useropt
1056     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057     case $ac_user_opts in
1058       *"
1059 "enable_$ac_useropt"
1060 "*) ;;
1061       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1062          ac_unrecognized_sep=', ';;
1063     esac
1064     eval enable_$ac_useropt=\$ac_optarg ;;
1065
1066   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1067   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1068   | --exec | --exe | --ex)
1069     ac_prev=exec_prefix ;;
1070   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1071   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1072   | --exec=* | --exe=* | --ex=*)
1073     exec_prefix=$ac_optarg ;;
1074
1075   -gas | --gas | --ga | --g)
1076     # Obsolete; use --with-gas.
1077     with_gas=yes ;;
1078
1079   -help | --help | --hel | --he | -h)
1080     ac_init_help=long ;;
1081   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1082     ac_init_help=recursive ;;
1083   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1084     ac_init_help=short ;;
1085
1086   -host | --host | --hos | --ho)
1087     ac_prev=host_alias ;;
1088   -host=* | --host=* | --hos=* | --ho=*)
1089     host_alias=$ac_optarg ;;
1090
1091   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1092     ac_prev=htmldir ;;
1093   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1094   | --ht=*)
1095     htmldir=$ac_optarg ;;
1096
1097   -includedir | --includedir | --includedi | --included | --include \
1098   | --includ | --inclu | --incl | --inc)
1099     ac_prev=includedir ;;
1100   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1101   | --includ=* | --inclu=* | --incl=* | --inc=*)
1102     includedir=$ac_optarg ;;
1103
1104   -infodir | --infodir | --infodi | --infod | --info | --inf)
1105     ac_prev=infodir ;;
1106   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1107     infodir=$ac_optarg ;;
1108
1109   -libdir | --libdir | --libdi | --libd)
1110     ac_prev=libdir ;;
1111   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1112     libdir=$ac_optarg ;;
1113
1114   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1115   | --libexe | --libex | --libe)
1116     ac_prev=libexecdir ;;
1117   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1118   | --libexe=* | --libex=* | --libe=*)
1119     libexecdir=$ac_optarg ;;
1120
1121   -localedir | --localedir | --localedi | --localed | --locale)
1122     ac_prev=localedir ;;
1123   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1124     localedir=$ac_optarg ;;
1125
1126   -localstatedir | --localstatedir | --localstatedi | --localstated \
1127   | --localstate | --localstat | --localsta | --localst | --locals)
1128     ac_prev=localstatedir ;;
1129   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1130   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1131     localstatedir=$ac_optarg ;;
1132
1133   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1134     ac_prev=mandir ;;
1135   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1136     mandir=$ac_optarg ;;
1137
1138   -nfp | --nfp | --nf)
1139     # Obsolete; use --without-fp.
1140     with_fp=no ;;
1141
1142   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1143   | --no-cr | --no-c | -n)
1144     no_create=yes ;;
1145
1146   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1147   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1148     no_recursion=yes ;;
1149
1150   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1151   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1152   | --oldin | --oldi | --old | --ol | --o)
1153     ac_prev=oldincludedir ;;
1154   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1155   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1156   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1157     oldincludedir=$ac_optarg ;;
1158
1159   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1160     ac_prev=prefix ;;
1161   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1162     prefix=$ac_optarg ;;
1163
1164   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1165   | --program-pre | --program-pr | --program-p)
1166     ac_prev=program_prefix ;;
1167   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1168   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1169     program_prefix=$ac_optarg ;;
1170
1171   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1172   | --program-suf | --program-su | --program-s)
1173     ac_prev=program_suffix ;;
1174   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1175   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1176     program_suffix=$ac_optarg ;;
1177
1178   -program-transform-name | --program-transform-name \
1179   | --program-transform-nam | --program-transform-na \
1180   | --program-transform-n | --program-transform- \
1181   | --program-transform | --program-transfor \
1182   | --program-transfo | --program-transf \
1183   | --program-trans | --program-tran \
1184   | --progr-tra | --program-tr | --program-t)
1185     ac_prev=program_transform_name ;;
1186   -program-transform-name=* | --program-transform-name=* \
1187   | --program-transform-nam=* | --program-transform-na=* \
1188   | --program-transform-n=* | --program-transform-=* \
1189   | --program-transform=* | --program-transfor=* \
1190   | --program-transfo=* | --program-transf=* \
1191   | --program-trans=* | --program-tran=* \
1192   | --progr-tra=* | --program-tr=* | --program-t=*)
1193     program_transform_name=$ac_optarg ;;
1194
1195   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1196     ac_prev=pdfdir ;;
1197   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1198     pdfdir=$ac_optarg ;;
1199
1200   -psdir | --psdir | --psdi | --psd | --ps)
1201     ac_prev=psdir ;;
1202   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1203     psdir=$ac_optarg ;;
1204
1205   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1206   | -silent | --silent | --silen | --sile | --sil)
1207     silent=yes ;;
1208
1209   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1210     ac_prev=sbindir ;;
1211   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1212   | --sbi=* | --sb=*)
1213     sbindir=$ac_optarg ;;
1214
1215   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1216   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1217   | --sharedst | --shareds | --shared | --share | --shar \
1218   | --sha | --sh)
1219     ac_prev=sharedstatedir ;;
1220   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1221   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1222   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1223   | --sha=* | --sh=*)
1224     sharedstatedir=$ac_optarg ;;
1225
1226   -site | --site | --sit)
1227     ac_prev=site ;;
1228   -site=* | --site=* | --sit=*)
1229     site=$ac_optarg ;;
1230
1231   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1232     ac_prev=srcdir ;;
1233   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1234     srcdir=$ac_optarg ;;
1235
1236   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1237   | --syscon | --sysco | --sysc | --sys | --sy)
1238     ac_prev=sysconfdir ;;
1239   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1240   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1241     sysconfdir=$ac_optarg ;;
1242
1243   -target | --target | --targe | --targ | --tar | --ta | --t)
1244     ac_prev=target_alias ;;
1245   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1246     target_alias=$ac_optarg ;;
1247
1248   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1249     verbose=yes ;;
1250
1251   -version | --version | --versio | --versi | --vers | -V)
1252     ac_init_version=: ;;
1253
1254   -with-* | --with-*)
1255     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1256     # Reject names that are not valid shell variable names.
1257     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1258       as_fn_error $? "invalid package name: $ac_useropt"
1259     ac_useropt_orig=$ac_useropt
1260     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261     case $ac_user_opts in
1262       *"
1263 "with_$ac_useropt"
1264 "*) ;;
1265       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1266          ac_unrecognized_sep=', ';;
1267     esac
1268     eval with_$ac_useropt=\$ac_optarg ;;
1269
1270   -without-* | --without-*)
1271     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1272     # Reject names that are not valid shell variable names.
1273     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1274       as_fn_error $? "invalid package name: $ac_useropt"
1275     ac_useropt_orig=$ac_useropt
1276     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277     case $ac_user_opts in
1278       *"
1279 "with_$ac_useropt"
1280 "*) ;;
1281       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1282          ac_unrecognized_sep=', ';;
1283     esac
1284     eval with_$ac_useropt=no ;;
1285
1286   --x)
1287     # Obsolete; use --with-x.
1288     with_x=yes ;;
1289
1290   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1291   | --x-incl | --x-inc | --x-in | --x-i)
1292     ac_prev=x_includes ;;
1293   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1294   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1295     x_includes=$ac_optarg ;;
1296
1297   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1298   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1299     ac_prev=x_libraries ;;
1300   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1301   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1302     x_libraries=$ac_optarg ;;
1303
1304   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1305 Try \`$0 --help' for more information"
1306     ;;
1307
1308   *=*)
1309     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1310     # Reject names that are not valid shell variable names.
1311     case $ac_envvar in #(
1312       '' | [0-9]* | *[!_$as_cr_alnum]* )
1313       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1314     esac
1315     eval $ac_envvar=\$ac_optarg
1316     export $ac_envvar ;;
1317
1318   *)
1319     # FIXME: should be removed in autoconf 3.0.
1320     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1321     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1322       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1323     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1324     ;;
1325
1326   esac
1327 done
1328
1329 if test -n "$ac_prev"; then
1330   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1331   as_fn_error $? "missing argument to $ac_option"
1332 fi
1333
1334 if test -n "$ac_unrecognized_opts"; then
1335   case $enable_option_checking in
1336     no) ;;
1337     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1338     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1339   esac
1340 fi
1341
1342 # Check all directory arguments for consistency.
1343 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1344                 datadir sysconfdir sharedstatedir localstatedir includedir \
1345                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1346                 libdir localedir mandir
1347 do
1348   eval ac_val=\$$ac_var
1349   # Remove trailing slashes.
1350   case $ac_val in
1351     */ )
1352       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1353       eval $ac_var=\$ac_val;;
1354   esac
1355   # Be sure to have absolute directory names.
1356   case $ac_val in
1357     [\\/$]* | ?:[\\/]* )  continue;;
1358     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1359   esac
1360   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1361 done
1362
1363 # There might be people who depend on the old broken behavior: `$host'
1364 # used to hold the argument of --host etc.
1365 # FIXME: To remove some day.
1366 build=$build_alias
1367 host=$host_alias
1368 target=$target_alias
1369
1370 # FIXME: To remove some day.
1371 if test "x$host_alias" != x; then
1372   if test "x$build_alias" = x; then
1373     cross_compiling=maybe
1374   elif test "x$build_alias" != "x$host_alias"; then
1375     cross_compiling=yes
1376   fi
1377 fi
1378
1379 ac_tool_prefix=
1380 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1381
1382 test "$silent" = yes && exec 6>/dev/null
1383
1384
1385 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1386 ac_ls_di=`ls -di .` &&
1387 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1388   as_fn_error $? "working directory cannot be determined"
1389 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1390   as_fn_error $? "pwd does not report name of working directory"
1391
1392
1393 # Find the source files, if location was not specified.
1394 if test -z "$srcdir"; then
1395   ac_srcdir_defaulted=yes
1396   # Try the directory containing this script, then the parent directory.
1397   ac_confdir=`$as_dirname -- "$as_myself" ||
1398 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1399          X"$as_myself" : 'X\(//\)[^/]' \| \
1400          X"$as_myself" : 'X\(//\)$' \| \
1401          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1402 $as_echo X"$as_myself" |
1403     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1404             s//\1/
1405             q
1406           }
1407           /^X\(\/\/\)[^/].*/{
1408             s//\1/
1409             q
1410           }
1411           /^X\(\/\/\)$/{
1412             s//\1/
1413             q
1414           }
1415           /^X\(\/\).*/{
1416             s//\1/
1417             q
1418           }
1419           s/.*/./; q'`
1420   srcdir=$ac_confdir
1421   if test ! -r "$srcdir/$ac_unique_file"; then
1422     srcdir=..
1423   fi
1424 else
1425   ac_srcdir_defaulted=no
1426 fi
1427 if test ! -r "$srcdir/$ac_unique_file"; then
1428   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1429   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1430 fi
1431 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1432 ac_abs_confdir=`(
1433         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1434         pwd)`
1435 # When building in place, set srcdir=.
1436 if test "$ac_abs_confdir" = "$ac_pwd"; then
1437   srcdir=.
1438 fi
1439 # Remove unnecessary trailing slashes from srcdir.
1440 # Double slashes in file names in object file debugging info
1441 # mess up M-x gdb in Emacs.
1442 case $srcdir in
1443 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1444 esac
1445 for ac_var in $ac_precious_vars; do
1446   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1447   eval ac_env_${ac_var}_value=\$${ac_var}
1448   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1449   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1450 done
1451
1452 #
1453 # Report the --help message.
1454 #
1455 if test "$ac_init_help" = "long"; then
1456   # Omit some internal or obsolete options to make the list less imposing.
1457   # This message is too long to be a string in the A/UX 3.1 sh.
1458   cat <<_ACEOF
1459 \`configure' configures e_dbus 1.7.8 to adapt to many kinds of systems.
1460
1461 Usage: $0 [OPTION]... [VAR=VALUE]...
1462
1463 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1464 VAR=VALUE.  See below for descriptions of some of the useful variables.
1465
1466 Defaults for the options are specified in brackets.
1467
1468 Configuration:
1469   -h, --help              display this help and exit
1470       --help=short        display options specific to this package
1471       --help=recursive    display the short help of all the included packages
1472   -V, --version           display version information and exit
1473   -q, --quiet, --silent   do not print \`checking ...' messages
1474       --cache-file=FILE   cache test results in FILE [disabled]
1475   -C, --config-cache      alias for \`--cache-file=config.cache'
1476   -n, --no-create         do not create output files
1477       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1478
1479 Installation directories:
1480   --prefix=PREFIX         install architecture-independent files in PREFIX
1481                           [$ac_default_prefix]
1482   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1483                           [PREFIX]
1484
1485 By default, \`make install' will install all the files in
1486 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1487 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1488 for instance \`--prefix=\$HOME'.
1489
1490 For better control, use the options below.
1491
1492 Fine tuning of the installation directories:
1493   --bindir=DIR            user executables [EPREFIX/bin]
1494   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1495   --libexecdir=DIR        program executables [EPREFIX/libexec]
1496   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1497   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1498   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1499   --libdir=DIR            object code libraries [EPREFIX/lib]
1500   --includedir=DIR        C header files [PREFIX/include]
1501   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1502   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1503   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1504   --infodir=DIR           info documentation [DATAROOTDIR/info]
1505   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1506   --mandir=DIR            man documentation [DATAROOTDIR/man]
1507   --docdir=DIR            documentation root [DATAROOTDIR/doc/e_dbus]
1508   --htmldir=DIR           html documentation [DOCDIR]
1509   --dvidir=DIR            dvi documentation [DOCDIR]
1510   --pdfdir=DIR            pdf documentation [DOCDIR]
1511   --psdir=DIR             ps documentation [DOCDIR]
1512 _ACEOF
1513
1514   cat <<\_ACEOF
1515
1516 Program names:
1517   --program-prefix=PREFIX            prepend PREFIX to installed program names
1518   --program-suffix=SUFFIX            append SUFFIX to installed program names
1519   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1520
1521 System types:
1522   --build=BUILD     configure for building on BUILD [guessed]
1523   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1524 _ACEOF
1525 fi
1526
1527 if test -n "$ac_init_help"; then
1528   case $ac_init_help in
1529      short | recursive ) echo "Configuration of e_dbus 1.7.8:";;
1530    esac
1531   cat <<\_ACEOF
1532
1533 Optional Features:
1534   --disable-option-checking  ignore unrecognized --enable/--with options
1535   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1536   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1537   --enable-silent-rules   less verbose build output (undo: "make V=1")
1538   --disable-silent-rules  verbose build output (undo: "make V=0")
1539   --enable-shared[=PKGS]  build shared libraries [default=yes]
1540   --enable-static[=PKGS]  build static libraries [default=yes]
1541   --enable-fast-install[=PKGS]
1542                           optimize for fast installation [default=yes]
1543   --enable-dependency-tracking
1544                           do not reject slow dependency extractors
1545   --disable-dependency-tracking
1546                           speeds up one-time build
1547   --disable-libtool-lock  avoid locking (might break parallel builds)
1548   --enable-ebluez         Enable ebluez build
1549   --enable-econnman0_7x   Enable econnman 0.7x build
1550   --disable-ehal          Disable ehal build
1551   --disable-enotify       Disable enotify build
1552   --enable-eofono         Enable eofono build
1553   --disable-eukit         Disable eukit build
1554   --disable-doc           Disable documentation build [default=enabled]
1555   --disable-edbus-test    disable building of edbus_test
1556   --disable-edbus-test-client
1557                           disable building of edbus_test_client
1558   --disable-edbus-bluez-test
1559                           disable building of edbus_bluez_test
1560   --disable-edbus-connman0_7x-test
1561                           disable building of edbus_connman0_7x_test
1562   --disable-edbus-notification-daemon-test
1563                           disable building of edbus_notification_daemon_test
1564   --disable-edbus-notify-send
1565                           disable building of edbus_notify_send
1566   --disable-edbus-notify-test
1567                           disable building of edbus_notify_test
1568   --disable-edbus-ofono-test
1569                           disable building of edbus_ofono_test
1570   --disable-edbus-ukit-test
1571                           disable building of edbus_ukit_test
1572   --disable-edbus-performance-test
1573                           disable building of edbus_performance_test
1574   --disable-edbus-async-test
1575                           disable building of edbus_async_test
1576
1577 Optional Packages:
1578   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1579   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1580   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1581                           both]
1582   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1583   --with-sysroot=DIR Search for dependent libraries within DIR
1584                         (or the compiler's sysroot if not specified).
1585   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1586
1587 Some influential environment variables:
1588   CC          C compiler command
1589   CFLAGS      C compiler flags
1590   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1591               nonstandard directory <lib dir>
1592   LIBS        libraries to pass to the linker, e.g. -l<library>
1593   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1594               you have headers in a nonstandard directory <include dir>
1595   CPP         C preprocessor
1596   PKG_CONFIG  path to pkg-config utility
1597   PKG_CONFIG_PATH
1598               directories to add to pkg-config's search path
1599   PKG_CONFIG_LIBDIR
1600               path overriding pkg-config's built-in search path
1601   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1602   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1603   EDBUS_CFLAGS
1604               C compiler flags for EDBUS, overriding pkg-config
1605   EDBUS_LIBS  linker flags for EDBUS, overriding pkg-config
1606   EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1607   EVAS_LIBS   linker flags for EVAS, overriding pkg-config
1608   EDBUS_TEST_CFLAGS
1609               C compiler flags for EDBUS_TEST, overriding pkg-config
1610   EDBUS_TEST_LIBS
1611               linker flags for EDBUS_TEST, overriding pkg-config
1612   EDBUS_TEST_CLIENT_CFLAGS
1613               C compiler flags for EDBUS_TEST_CLIENT, overriding pkg-config
1614   EDBUS_TEST_CLIENT_LIBS
1615               linker flags for EDBUS_TEST_CLIENT, overriding pkg-config
1616   EDBUS_BLUEZ_TEST_CFLAGS
1617               C compiler flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1618   EDBUS_BLUEZ_TEST_LIBS
1619               linker flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1620   EDBUS_CONNMAN0_7X_TEST_CFLAGS
1621               C compiler flags for EDBUS_CONNMAN0_7X_TEST, overriding
1622               pkg-config
1623   EDBUS_CONNMAN0_7X_TEST_LIBS
1624               linker flags for EDBUS_CONNMAN0_7X_TEST, overriding pkg-config
1625   EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1626               C compiler flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1627               pkg-config
1628   EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1629               linker flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1630               pkg-config
1631   EDBUS_NOTIFY_SEND_CFLAGS
1632               C compiler flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1633   EDBUS_NOTIFY_SEND_LIBS
1634               linker flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1635   EDBUS_NOTIFY_TEST_CFLAGS
1636               C compiler flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1637   EDBUS_NOTIFY_TEST_LIBS
1638               linker flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1639   EDBUS_OFONO_TEST_CFLAGS
1640               C compiler flags for EDBUS_OFONO_TEST, overriding pkg-config
1641   EDBUS_OFONO_TEST_LIBS
1642               linker flags for EDBUS_OFONO_TEST, overriding pkg-config
1643   EDBUS_UKIT_TEST_CFLAGS
1644               C compiler flags for EDBUS_UKIT_TEST, overriding pkg-config
1645   EDBUS_UKIT_TEST_LIBS
1646               linker flags for EDBUS_UKIT_TEST, overriding pkg-config
1647   EDBUS_PERFORMANCE_TEST_CFLAGS
1648               C compiler flags for EDBUS_PERFORMANCE_TEST, overriding
1649               pkg-config
1650   EDBUS_PERFORMANCE_TEST_LIBS
1651               linker flags for EDBUS_PERFORMANCE_TEST, overriding pkg-config
1652   EDBUS_ASYNC_TEST_CFLAGS
1653               C compiler flags for EDBUS_ASYNC_TEST, overriding pkg-config
1654   EDBUS_ASYNC_TEST_LIBS
1655               linker flags for EDBUS_ASYNC_TEST, overriding pkg-config
1656
1657 Use these variables to override the choices made by `configure' or to help
1658 it to find libraries and programs with nonstandard names/locations.
1659
1660 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1661 _ACEOF
1662 ac_status=$?
1663 fi
1664
1665 if test "$ac_init_help" = "recursive"; then
1666   # If there are subdirs, report their specific --help.
1667   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1668     test -d "$ac_dir" ||
1669       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1670       continue
1671     ac_builddir=.
1672
1673 case "$ac_dir" in
1674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1675 *)
1676   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1677   # A ".." for each directory in $ac_dir_suffix.
1678   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1679   case $ac_top_builddir_sub in
1680   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1681   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1682   esac ;;
1683 esac
1684 ac_abs_top_builddir=$ac_pwd
1685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1686 # for backward compatibility:
1687 ac_top_builddir=$ac_top_build_prefix
1688
1689 case $srcdir in
1690   .)  # We are building in place.
1691     ac_srcdir=.
1692     ac_top_srcdir=$ac_top_builddir_sub
1693     ac_abs_top_srcdir=$ac_pwd ;;
1694   [\\/]* | ?:[\\/]* )  # Absolute name.
1695     ac_srcdir=$srcdir$ac_dir_suffix;
1696     ac_top_srcdir=$srcdir
1697     ac_abs_top_srcdir=$srcdir ;;
1698   *) # Relative name.
1699     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1700     ac_top_srcdir=$ac_top_build_prefix$srcdir
1701     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1702 esac
1703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1704
1705     cd "$ac_dir" || { ac_status=$?; continue; }
1706     # Check for guested configure.
1707     if test -f "$ac_srcdir/configure.gnu"; then
1708       echo &&
1709       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1710     elif test -f "$ac_srcdir/configure"; then
1711       echo &&
1712       $SHELL "$ac_srcdir/configure" --help=recursive
1713     else
1714       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1715     fi || ac_status=$?
1716     cd "$ac_pwd" || { ac_status=$?; break; }
1717   done
1718 fi
1719
1720 test -n "$ac_init_help" && exit $ac_status
1721 if $ac_init_version; then
1722   cat <<\_ACEOF
1723 e_dbus configure 1.7.8
1724 generated by GNU Autoconf 2.69
1725
1726 Copyright (C) 2012 Free Software Foundation, Inc.
1727 This configure script is free software; the Free Software Foundation
1728 gives unlimited permission to copy, distribute and modify it.
1729 _ACEOF
1730   exit
1731 fi
1732
1733 ## ------------------------ ##
1734 ## Autoconf initialization. ##
1735 ## ------------------------ ##
1736
1737 # ac_fn_c_try_compile LINENO
1738 # --------------------------
1739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1740 ac_fn_c_try_compile ()
1741 {
1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743   rm -f conftest.$ac_objext
1744   if { { ac_try="$ac_compile"
1745 case "(($ac_try" in
1746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747   *) ac_try_echo=$ac_try;;
1748 esac
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751   (eval "$ac_compile") 2>conftest.err
1752   ac_status=$?
1753   if test -s conftest.err; then
1754     grep -v '^ *+' conftest.err >conftest.er1
1755     cat conftest.er1 >&5
1756     mv -f conftest.er1 conftest.err
1757   fi
1758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759   test $ac_status = 0; } && {
1760          test -z "$ac_c_werror_flag" ||
1761          test ! -s conftest.err
1762        } && test -s conftest.$ac_objext; then :
1763   ac_retval=0
1764 else
1765   $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1767
1768         ac_retval=1
1769 fi
1770   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771   as_fn_set_status $ac_retval
1772
1773 } # ac_fn_c_try_compile
1774
1775 # ac_fn_c_try_link LINENO
1776 # -----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded.
1778 ac_fn_c_try_link ()
1779 {
1780   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781   rm -f conftest.$ac_objext conftest$ac_exeext
1782   if { { ac_try="$ac_link"
1783 case "(($ac_try" in
1784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785   *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789   (eval "$ac_link") 2>conftest.err
1790   ac_status=$?
1791   if test -s conftest.err; then
1792     grep -v '^ *+' conftest.err >conftest.er1
1793     cat conftest.er1 >&5
1794     mv -f conftest.er1 conftest.err
1795   fi
1796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797   test $ac_status = 0; } && {
1798          test -z "$ac_c_werror_flag" ||
1799          test ! -s conftest.err
1800        } && test -s conftest$ac_exeext && {
1801          test "$cross_compiling" = yes ||
1802          test -x conftest$ac_exeext
1803        }; then :
1804   ac_retval=0
1805 else
1806   $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1808
1809         ac_retval=1
1810 fi
1811   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1812   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1813   # interfere with the next link command; also delete a directory that is
1814   # left behind by Apple's compiler.  We do this before executing the actions.
1815   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1816   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817   as_fn_set_status $ac_retval
1818
1819 } # ac_fn_c_try_link
1820
1821 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1822 # -------------------------------------------------------
1823 # Tests whether HEADER exists and can be compiled using the include files in
1824 # INCLUDES, setting the cache variable VAR accordingly.
1825 ac_fn_c_check_header_compile ()
1826 {
1827   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 $as_echo_n "checking for $2... " >&6; }
1830 if eval \${$3+:} false; then :
1831   $as_echo_n "(cached) " >&6
1832 else
1833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h.  */
1835 $4
1836 #include <$2>
1837 _ACEOF
1838 if ac_fn_c_try_compile "$LINENO"; then :
1839   eval "$3=yes"
1840 else
1841   eval "$3=no"
1842 fi
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1844 fi
1845 eval ac_res=\$$3
1846                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1848   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849
1850 } # ac_fn_c_check_header_compile
1851
1852 # ac_fn_c_try_cpp LINENO
1853 # ----------------------
1854 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1855 ac_fn_c_try_cpp ()
1856 {
1857   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858   if { { ac_try="$ac_cpp conftest.$ac_ext"
1859 case "(($ac_try" in
1860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1861   *) ac_try_echo=$ac_try;;
1862 esac
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1866   ac_status=$?
1867   if test -s conftest.err; then
1868     grep -v '^ *+' conftest.err >conftest.er1
1869     cat conftest.er1 >&5
1870     mv -f conftest.er1 conftest.err
1871   fi
1872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873   test $ac_status = 0; } > conftest.i && {
1874          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1875          test ! -s conftest.err
1876        }; then :
1877   ac_retval=0
1878 else
1879   $as_echo "$as_me: failed program was:" >&5
1880 sed 's/^/| /' conftest.$ac_ext >&5
1881
1882     ac_retval=1
1883 fi
1884   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885   as_fn_set_status $ac_retval
1886
1887 } # ac_fn_c_try_cpp
1888
1889 # ac_fn_c_try_run LINENO
1890 # ----------------------
1891 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1892 # that executables *can* be run.
1893 ac_fn_c_try_run ()
1894 {
1895   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896   if { { ac_try="$ac_link"
1897 case "(($ac_try" in
1898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899   *) ac_try_echo=$ac_try;;
1900 esac
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903   (eval "$ac_link") 2>&5
1904   ac_status=$?
1905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1907   { { case "(($ac_try" in
1908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1909   *) ac_try_echo=$ac_try;;
1910 esac
1911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1912 $as_echo "$ac_try_echo"; } >&5
1913   (eval "$ac_try") 2>&5
1914   ac_status=$?
1915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916   test $ac_status = 0; }; }; then :
1917   ac_retval=0
1918 else
1919   $as_echo "$as_me: program exited with status $ac_status" >&5
1920        $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1922
1923        ac_retval=$ac_status
1924 fi
1925   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1926   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927   as_fn_set_status $ac_retval
1928
1929 } # ac_fn_c_try_run
1930
1931 # ac_fn_c_check_func LINENO FUNC VAR
1932 # ----------------------------------
1933 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1934 ac_fn_c_check_func ()
1935 {
1936   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1938 $as_echo_n "checking for $2... " >&6; }
1939 if eval \${$3+:} false; then :
1940   $as_echo_n "(cached) " >&6
1941 else
1942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h.  */
1944 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1946 #define $2 innocuous_$2
1947
1948 /* System header to define __stub macros and hopefully few prototypes,
1949     which can conflict with char $2 (); below.
1950     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1951     <limits.h> exists even on freestanding compilers.  */
1952
1953 #ifdef __STDC__
1954 # include <limits.h>
1955 #else
1956 # include <assert.h>
1957 #endif
1958
1959 #undef $2
1960
1961 /* Override any GCC internal prototype to avoid an error.
1962    Use char because int might match the return type of a GCC
1963    builtin and then its argument prototype would still apply.  */
1964 #ifdef __cplusplus
1965 extern "C"
1966 #endif
1967 char $2 ();
1968 /* The GNU C library defines this for functions which it implements
1969     to always fail with ENOSYS.  Some functions are actually named
1970     something starting with __ and the normal name is an alias.  */
1971 #if defined __stub_$2 || defined __stub___$2
1972 choke me
1973 #endif
1974
1975 int
1976 main ()
1977 {
1978 return $2 ();
1979   ;
1980   return 0;
1981 }
1982 _ACEOF
1983 if ac_fn_c_try_link "$LINENO"; then :
1984   eval "$3=yes"
1985 else
1986   eval "$3=no"
1987 fi
1988 rm -f core conftest.err conftest.$ac_objext \
1989     conftest$ac_exeext conftest.$ac_ext
1990 fi
1991 eval ac_res=\$$3
1992                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1993 $as_echo "$ac_res" >&6; }
1994   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995
1996 } # ac_fn_c_check_func
1997
1998 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1999 # -------------------------------------------
2000 # Tests whether TYPE exists after having included INCLUDES, setting cache
2001 # variable VAR accordingly.
2002 ac_fn_c_check_type ()
2003 {
2004   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2006 $as_echo_n "checking for $2... " >&6; }
2007 if eval \${$3+:} false; then :
2008   $as_echo_n "(cached) " >&6
2009 else
2010   eval "$3=no"
2011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h.  */
2013 $4
2014 int
2015 main ()
2016 {
2017 if (sizeof ($2))
2018          return 0;
2019   ;
2020   return 0;
2021 }
2022 _ACEOF
2023 if ac_fn_c_try_compile "$LINENO"; then :
2024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h.  */
2026 $4
2027 int
2028 main ()
2029 {
2030 if (sizeof (($2)))
2031             return 0;
2032   ;
2033   return 0;
2034 }
2035 _ACEOF
2036 if ac_fn_c_try_compile "$LINENO"; then :
2037
2038 else
2039   eval "$3=yes"
2040 fi
2041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2042 fi
2043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2044 fi
2045 eval ac_res=\$$3
2046                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047 $as_echo "$ac_res" >&6; }
2048   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2049
2050 } # ac_fn_c_check_type
2051 cat >config.log <<_ACEOF
2052 This file contains any messages produced by compilers while
2053 running configure, to aid debugging if configure makes a mistake.
2054
2055 It was created by e_dbus $as_me 1.7.8, which was
2056 generated by GNU Autoconf 2.69.  Invocation command line was
2057
2058   $ $0 $@
2059
2060 _ACEOF
2061 exec 5>>config.log
2062 {
2063 cat <<_ASUNAME
2064 ## --------- ##
2065 ## Platform. ##
2066 ## --------- ##
2067
2068 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2069 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2070 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2071 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2072 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2073
2074 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2075 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2076
2077 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2078 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2079 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2080 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2081 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2082 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2083 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2084
2085 _ASUNAME
2086
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088 for as_dir in $PATH
2089 do
2090   IFS=$as_save_IFS
2091   test -z "$as_dir" && as_dir=.
2092     $as_echo "PATH: $as_dir"
2093   done
2094 IFS=$as_save_IFS
2095
2096 } >&5
2097
2098 cat >&5 <<_ACEOF
2099
2100
2101 ## ----------- ##
2102 ## Core tests. ##
2103 ## ----------- ##
2104
2105 _ACEOF
2106
2107
2108 # Keep a trace of the command line.
2109 # Strip out --no-create and --no-recursion so they do not pile up.
2110 # Strip out --silent because we don't want to record it for future runs.
2111 # Also quote any args containing shell meta-characters.
2112 # Make two passes to allow for proper duplicate-argument suppression.
2113 ac_configure_args=
2114 ac_configure_args0=
2115 ac_configure_args1=
2116 ac_must_keep_next=false
2117 for ac_pass in 1 2
2118 do
2119   for ac_arg
2120   do
2121     case $ac_arg in
2122     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2123     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2124     | -silent | --silent | --silen | --sile | --sil)
2125       continue ;;
2126     *\'*)
2127       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2128     esac
2129     case $ac_pass in
2130     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2131     2)
2132       as_fn_append ac_configure_args1 " '$ac_arg'"
2133       if test $ac_must_keep_next = true; then
2134         ac_must_keep_next=false # Got value, back to normal.
2135       else
2136         case $ac_arg in
2137           *=* | --config-cache | -C | -disable-* | --disable-* \
2138           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2139           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2140           | -with-* | --with-* | -without-* | --without-* | --x)
2141             case "$ac_configure_args0 " in
2142               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2143             esac
2144             ;;
2145           -* ) ac_must_keep_next=true ;;
2146         esac
2147       fi
2148       as_fn_append ac_configure_args " '$ac_arg'"
2149       ;;
2150     esac
2151   done
2152 done
2153 { ac_configure_args0=; unset ac_configure_args0;}
2154 { ac_configure_args1=; unset ac_configure_args1;}
2155
2156 # When interrupted or exit'd, cleanup temporary files, and complete
2157 # config.log.  We remove comments because anyway the quotes in there
2158 # would cause problems or look ugly.
2159 # WARNING: Use '\'' to represent an apostrophe within the trap.
2160 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2161 trap 'exit_status=$?
2162   # Save into config.log some information that might help in debugging.
2163   {
2164     echo
2165
2166     $as_echo "## ---------------- ##
2167 ## Cache variables. ##
2168 ## ---------------- ##"
2169     echo
2170     # The following way of writing the cache mishandles newlines in values,
2171 (
2172   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2173     eval ac_val=\$$ac_var
2174     case $ac_val in #(
2175     *${as_nl}*)
2176       case $ac_var in #(
2177       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2178 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2179       esac
2180       case $ac_var in #(
2181       _ | IFS | as_nl) ;; #(
2182       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2183       *) { eval $ac_var=; unset $ac_var;} ;;
2184       esac ;;
2185     esac
2186   done
2187   (set) 2>&1 |
2188     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2189     *${as_nl}ac_space=\ *)
2190       sed -n \
2191         "s/'\''/'\''\\\\'\'''\''/g;
2192           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2193       ;; #(
2194     *)
2195       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2196       ;;
2197     esac |
2198     sort
2199 )
2200     echo
2201
2202     $as_echo "## ----------------- ##
2203 ## Output variables. ##
2204 ## ----------------- ##"
2205     echo
2206     for ac_var in $ac_subst_vars
2207     do
2208       eval ac_val=\$$ac_var
2209       case $ac_val in
2210       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2211       esac
2212       $as_echo "$ac_var='\''$ac_val'\''"
2213     done | sort
2214     echo
2215
2216     if test -n "$ac_subst_files"; then
2217       $as_echo "## ------------------- ##
2218 ## File substitutions. ##
2219 ## ------------------- ##"
2220       echo
2221       for ac_var in $ac_subst_files
2222       do
2223         eval ac_val=\$$ac_var
2224         case $ac_val in
2225         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226         esac
2227         $as_echo "$ac_var='\''$ac_val'\''"
2228       done | sort
2229       echo
2230     fi
2231
2232     if test -s confdefs.h; then
2233       $as_echo "## ----------- ##
2234 ## confdefs.h. ##
2235 ## ----------- ##"
2236       echo
2237       cat confdefs.h
2238       echo
2239     fi
2240     test "$ac_signal" != 0 &&
2241       $as_echo "$as_me: caught signal $ac_signal"
2242     $as_echo "$as_me: exit $exit_status"
2243   } >&5
2244   rm -f core *.core core.conftest.* &&
2245     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2246     exit $exit_status
2247 ' 0
2248 for ac_signal in 1 2 13 15; do
2249   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2250 done
2251 ac_signal=0
2252
2253 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2254 rm -f -r conftest* confdefs.h
2255
2256 $as_echo "/* confdefs.h */" > confdefs.h
2257
2258 # Predefined preprocessor variables.
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_NAME "$PACKAGE_NAME"
2262 _ACEOF
2263
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2266 _ACEOF
2267
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2270 _ACEOF
2271
2272 cat >>confdefs.h <<_ACEOF
2273 #define PACKAGE_STRING "$PACKAGE_STRING"
2274 _ACEOF
2275
2276 cat >>confdefs.h <<_ACEOF
2277 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2278 _ACEOF
2279
2280 cat >>confdefs.h <<_ACEOF
2281 #define PACKAGE_URL "$PACKAGE_URL"
2282 _ACEOF
2283
2284
2285 # Let the site file select an alternate cache file if it wants to.
2286 # Prefer an explicitly selected file to automatically selected ones.
2287 ac_site_file1=NONE
2288 ac_site_file2=NONE
2289 if test -n "$CONFIG_SITE"; then
2290   # We do not want a PATH search for config.site.
2291   case $CONFIG_SITE in #((
2292     -*)  ac_site_file1=./$CONFIG_SITE;;
2293     */*) ac_site_file1=$CONFIG_SITE;;
2294     *)   ac_site_file1=./$CONFIG_SITE;;
2295   esac
2296 elif test "x$prefix" != xNONE; then
2297   ac_site_file1=$prefix/share/config.site
2298   ac_site_file2=$prefix/etc/config.site
2299 else
2300   ac_site_file1=$ac_default_prefix/share/config.site
2301   ac_site_file2=$ac_default_prefix/etc/config.site
2302 fi
2303 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2304 do
2305   test "x$ac_site_file" = xNONE && continue
2306   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2307     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2308 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2309     sed 's/^/| /' "$ac_site_file" >&5
2310     . "$ac_site_file" \
2311       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2313 as_fn_error $? "failed to load site script $ac_site_file
2314 See \`config.log' for more details" "$LINENO" 5; }
2315   fi
2316 done
2317
2318 if test -r "$cache_file"; then
2319   # Some versions of bash will fail to source /dev/null (special files
2320   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2321   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2322     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2323 $as_echo "$as_me: loading cache $cache_file" >&6;}
2324     case $cache_file in
2325       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2326       *)                      . "./$cache_file";;
2327     esac
2328   fi
2329 else
2330   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2331 $as_echo "$as_me: creating cache $cache_file" >&6;}
2332   >$cache_file
2333 fi
2334
2335 # Check that the precious variables saved in the cache have kept the same
2336 # value.
2337 ac_cache_corrupted=false
2338 for ac_var in $ac_precious_vars; do
2339   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2340   eval ac_new_set=\$ac_env_${ac_var}_set
2341   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2342   eval ac_new_val=\$ac_env_${ac_var}_value
2343   case $ac_old_set,$ac_new_set in
2344     set,)
2345       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2346 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2347       ac_cache_corrupted=: ;;
2348     ,set)
2349       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2350 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2351       ac_cache_corrupted=: ;;
2352     ,);;
2353     *)
2354       if test "x$ac_old_val" != "x$ac_new_val"; then
2355         # differences in whitespace do not lead to failure.
2356         ac_old_val_w=`echo x $ac_old_val`
2357         ac_new_val_w=`echo x $ac_new_val`
2358         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2359           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2360 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2361           ac_cache_corrupted=:
2362         else
2363           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2364 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2365           eval $ac_var=\$ac_old_val
2366         fi
2367         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2368 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2369         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2370 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2371       fi;;
2372   esac
2373   # Pass precious variables to config.status.
2374   if test "$ac_new_set" = set; then
2375     case $ac_new_val in
2376     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2377     *) ac_arg=$ac_var=$ac_new_val ;;
2378     esac
2379     case " $ac_configure_args " in
2380       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2381       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2382     esac
2383   fi
2384 done
2385 if $ac_cache_corrupted; then
2386   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2388   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2389 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2390   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2391 fi
2392 ## -------------------- ##
2393 ## Main body of script. ##
2394 ## -------------------- ##
2395
2396 ac_ext=c
2397 ac_cpp='$CPP $CPPFLAGS'
2398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2401
2402
2403
2404
2405
2406
2407 ac_config_headers="$ac_config_headers config.h"
2408
2409
2410
2411
2412 am__api_version='1.13'
2413
2414 ac_aux_dir=
2415 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2416   if test -f "$ac_dir/install-sh"; then
2417     ac_aux_dir=$ac_dir
2418     ac_install_sh="$ac_aux_dir/install-sh -c"
2419     break
2420   elif test -f "$ac_dir/install.sh"; then
2421     ac_aux_dir=$ac_dir
2422     ac_install_sh="$ac_aux_dir/install.sh -c"
2423     break
2424   elif test -f "$ac_dir/shtool"; then
2425     ac_aux_dir=$ac_dir
2426     ac_install_sh="$ac_aux_dir/shtool install -c"
2427     break
2428   fi
2429 done
2430 if test -z "$ac_aux_dir"; then
2431   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2432 fi
2433
2434 # These three variables are undocumented and unsupported,
2435 # and are intended to be withdrawn in a future Autoconf release.
2436 # They can cause serious problems if a builder's source tree is in a directory
2437 # whose full name contains unusual characters.
2438 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2439 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2440 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2441
2442
2443 # Find a good install program.  We prefer a C program (faster),
2444 # so one script is as good as another.  But avoid the broken or
2445 # incompatible versions:
2446 # SysV /etc/install, /usr/sbin/install
2447 # SunOS /usr/etc/install
2448 # IRIX /sbin/install
2449 # AIX /bin/install
2450 # AmigaOS /C/install, which installs bootblocks on floppy discs
2451 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2452 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2453 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2454 # OS/2's system install, which has a completely different semantic
2455 # ./install, which can be erroneously created by make from ./install.sh.
2456 # Reject install programs that cannot install multiple files.
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2458 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2459 if test -z "$INSTALL"; then
2460 if ${ac_cv_path_install+:} false; then :
2461   $as_echo_n "(cached) " >&6
2462 else
2463   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 for as_dir in $PATH
2465 do
2466   IFS=$as_save_IFS
2467   test -z "$as_dir" && as_dir=.
2468     # Account for people who put trailing slashes in PATH elements.
2469 case $as_dir/ in #((
2470   ./ | .// | /[cC]/* | \
2471   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2472   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2473   /usr/ucb/* ) ;;
2474   *)
2475     # OSF1 and SCO ODT 3.0 have their own names for install.
2476     # Don't use installbsd from OSF since it installs stuff as root
2477     # by default.
2478     for ac_prog in ginstall scoinst install; do
2479       for ac_exec_ext in '' $ac_executable_extensions; do
2480         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2481           if test $ac_prog = install &&
2482             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2483             # AIX install.  It has an incompatible calling convention.
2484             :
2485           elif test $ac_prog = install &&
2486             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2487             # program-specific install script used by HP pwplus--don't use.
2488             :
2489           else
2490             rm -rf conftest.one conftest.two conftest.dir
2491             echo one > conftest.one
2492             echo two > conftest.two
2493             mkdir conftest.dir
2494             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2495               test -s conftest.one && test -s conftest.two &&
2496               test -s conftest.dir/conftest.one &&
2497               test -s conftest.dir/conftest.two
2498             then
2499               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2500               break 3
2501             fi
2502           fi
2503         fi
2504       done
2505     done
2506     ;;
2507 esac
2508
2509   done
2510 IFS=$as_save_IFS
2511
2512 rm -rf conftest.one conftest.two conftest.dir
2513
2514 fi
2515   if test "${ac_cv_path_install+set}" = set; then
2516     INSTALL=$ac_cv_path_install
2517   else
2518     # As a last resort, use the slow shell script.  Don't cache a
2519     # value for INSTALL within a source directory, because that will
2520     # break other packages using the cache if that directory is
2521     # removed, or if the value is a relative name.
2522     INSTALL=$ac_install_sh
2523   fi
2524 fi
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2526 $as_echo "$INSTALL" >&6; }
2527
2528 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2529 # It thinks the first close brace ends the variable substitution.
2530 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2531
2532 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2533
2534 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2535
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2537 $as_echo_n "checking whether build environment is sane... " >&6; }
2538 # Reject unsafe characters in $srcdir or the absolute working directory
2539 # name.  Accept space and tab only in the latter.
2540 am_lf='
2541 '
2542 case `pwd` in
2543   *[\\\"\#\$\&\'\`$am_lf]*)
2544     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2545 esac
2546 case $srcdir in
2547   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2548     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2549 esac
2550
2551 # Do 'set' in a subshell so we don't clobber the current shell's
2552 # arguments.  Must try -L first in case configure is actually a
2553 # symlink; some systems play weird games with the mod time of symlinks
2554 # (eg FreeBSD returns the mod time of the symlink's containing
2555 # directory).
2556 if (
2557    am_has_slept=no
2558    for am_try in 1 2; do
2559      echo "timestamp, slept: $am_has_slept" > conftest.file
2560      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2561      if test "$*" = "X"; then
2562         # -L didn't work.
2563         set X `ls -t "$srcdir/configure" conftest.file`
2564      fi
2565      if test "$*" != "X $srcdir/configure conftest.file" \
2566         && test "$*" != "X conftest.file $srcdir/configure"; then
2567
2568         # If neither matched, then we have a broken ls.  This can happen
2569         # if, for instance, CONFIG_SHELL is bash and it inherits a
2570         # broken ls alias from the environment.  This has actually
2571         # happened.  Such a system could not be considered "sane".
2572         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2573   alias in your environment" "$LINENO" 5
2574      fi
2575      if test "$2" = conftest.file || test $am_try -eq 2; then
2576        break
2577      fi
2578      # Just in case.
2579      sleep 1
2580      am_has_slept=yes
2581    done
2582    test "$2" = conftest.file
2583    )
2584 then
2585    # Ok.
2586    :
2587 else
2588    as_fn_error $? "newly created file is older than distributed files!
2589 Check your system clock" "$LINENO" 5
2590 fi
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2592 $as_echo "yes" >&6; }
2593 # If we didn't sleep, we still need to ensure time stamps of config.status and
2594 # generated files are strictly newer.
2595 am_sleep_pid=
2596 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2597   ( sleep 1 ) &
2598   am_sleep_pid=$!
2599 fi
2600
2601 rm -f conftest.file
2602
2603 test "$program_prefix" != NONE &&
2604   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2605 # Use a double $ so make ignores it.
2606 test "$program_suffix" != NONE &&
2607   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2608 # Double any \ or $.
2609 # By default was `s,x,x', remove it if useless.
2610 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2611 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2612
2613 # expand $ac_aux_dir to an absolute path
2614 am_aux_dir=`cd $ac_aux_dir && pwd`
2615
2616 if test x"${MISSING+set}" != xset; then
2617   case $am_aux_dir in
2618   *\ * | *\     *)
2619     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2620   *)
2621     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2622   esac
2623 fi
2624 # Use eval to expand $SHELL
2625 if eval "$MISSING --is-lightweight"; then
2626   am_missing_run="$MISSING "
2627 else
2628   am_missing_run=
2629   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2630 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2631 fi
2632
2633 if test x"${install_sh}" != xset; then
2634   case $am_aux_dir in
2635   *\ * | *\     *)
2636     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2637   *)
2638     install_sh="\${SHELL} $am_aux_dir/install-sh"
2639   esac
2640 fi
2641
2642 # Installed binaries are usually stripped using 'strip' when the user
2643 # run "make install-strip".  However 'strip' might not be the right
2644 # tool to use in cross-compilation environments, therefore Automake
2645 # will honor the 'STRIP' environment variable to overrule this program.
2646 if test "$cross_compiling" != no; then
2647   if test -n "$ac_tool_prefix"; then
2648   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2649 set dummy ${ac_tool_prefix}strip; ac_word=$2
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651 $as_echo_n "checking for $ac_word... " >&6; }
2652 if ${ac_cv_prog_STRIP+:} false; then :
2653   $as_echo_n "(cached) " >&6
2654 else
2655   if test -n "$STRIP"; then
2656   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2657 else
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 for as_dir in $PATH
2660 do
2661   IFS=$as_save_IFS
2662   test -z "$as_dir" && as_dir=.
2663     for ac_exec_ext in '' $ac_executable_extensions; do
2664   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2665     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667     break 2
2668   fi
2669 done
2670   done
2671 IFS=$as_save_IFS
2672
2673 fi
2674 fi
2675 STRIP=$ac_cv_prog_STRIP
2676 if test -n "$STRIP"; then
2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2678 $as_echo "$STRIP" >&6; }
2679 else
2680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2681 $as_echo "no" >&6; }
2682 fi
2683
2684
2685 fi
2686 if test -z "$ac_cv_prog_STRIP"; then
2687   ac_ct_STRIP=$STRIP
2688   # Extract the first word of "strip", so it can be a program name with args.
2689 set dummy strip; ac_word=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2693   $as_echo_n "(cached) " >&6
2694 else
2695   if test -n "$ac_ct_STRIP"; then
2696   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2697 else
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699 for as_dir in $PATH
2700 do
2701   IFS=$as_save_IFS
2702   test -z "$as_dir" && as_dir=.
2703     for ac_exec_ext in '' $ac_executable_extensions; do
2704   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2705     ac_cv_prog_ac_ct_STRIP="strip"
2706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707     break 2
2708   fi
2709 done
2710   done
2711 IFS=$as_save_IFS
2712
2713 fi
2714 fi
2715 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2716 if test -n "$ac_ct_STRIP"; then
2717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2718 $as_echo "$ac_ct_STRIP" >&6; }
2719 else
2720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2722 fi
2723
2724   if test "x$ac_ct_STRIP" = x; then
2725     STRIP=":"
2726   else
2727     case $cross_compiling:$ac_tool_warned in
2728 yes:)
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2731 ac_tool_warned=yes ;;
2732 esac
2733     STRIP=$ac_ct_STRIP
2734   fi
2735 else
2736   STRIP="$ac_cv_prog_STRIP"
2737 fi
2738
2739 fi
2740 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2741
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2743 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2744 if test -z "$MKDIR_P"; then
2745   if ${ac_cv_path_mkdir+:} false; then :
2746   $as_echo_n "(cached) " >&6
2747 else
2748   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2750 do
2751   IFS=$as_save_IFS
2752   test -z "$as_dir" && as_dir=.
2753     for ac_prog in mkdir gmkdir; do
2754          for ac_exec_ext in '' $ac_executable_extensions; do
2755            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2756            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2757              'mkdir (GNU coreutils) '* | \
2758              'mkdir (coreutils) '* | \
2759              'mkdir (fileutils) '4.1*)
2760                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2761                break 3;;
2762            esac
2763          done
2764        done
2765   done
2766 IFS=$as_save_IFS
2767
2768 fi
2769
2770   test -d ./--version && rmdir ./--version
2771   if test "${ac_cv_path_mkdir+set}" = set; then
2772     MKDIR_P="$ac_cv_path_mkdir -p"
2773   else
2774     # As a last resort, use the slow shell script.  Don't cache a
2775     # value for MKDIR_P within a source directory, because that will
2776     # break other packages using the cache if that directory is
2777     # removed, or if the value is a relative name.
2778     MKDIR_P="$ac_install_sh -d"
2779   fi
2780 fi
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2782 $as_echo "$MKDIR_P" >&6; }
2783
2784 for ac_prog in gawk mawk nawk awk
2785 do
2786   # Extract the first word of "$ac_prog", so it can be a program name with args.
2787 set dummy $ac_prog; ac_word=$2
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789 $as_echo_n "checking for $ac_word... " >&6; }
2790 if ${ac_cv_prog_AWK+:} false; then :
2791   $as_echo_n "(cached) " >&6
2792 else
2793   if test -n "$AWK"; then
2794   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2795 else
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 for as_dir in $PATH
2798 do
2799   IFS=$as_save_IFS
2800   test -z "$as_dir" && as_dir=.
2801     for ac_exec_ext in '' $ac_executable_extensions; do
2802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803     ac_cv_prog_AWK="$ac_prog"
2804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805     break 2
2806   fi
2807 done
2808   done
2809 IFS=$as_save_IFS
2810
2811 fi
2812 fi
2813 AWK=$ac_cv_prog_AWK
2814 if test -n "$AWK"; then
2815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2816 $as_echo "$AWK" >&6; }
2817 else
2818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2820 fi
2821
2822
2823   test -n "$AWK" && break
2824 done
2825
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2827 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2828 set x ${MAKE-make}
2829 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2830 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2831   $as_echo_n "(cached) " >&6
2832 else
2833   cat >conftest.make <<\_ACEOF
2834 SHELL = /bin/sh
2835 all:
2836         @echo '@@@%%%=$(MAKE)=@@@%%%'
2837 _ACEOF
2838 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2839 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2840   *@@@%%%=?*=@@@%%%*)
2841     eval ac_cv_prog_make_${ac_make}_set=yes;;
2842   *)
2843     eval ac_cv_prog_make_${ac_make}_set=no;;
2844 esac
2845 rm -f conftest.make
2846 fi
2847 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2849 $as_echo "yes" >&6; }
2850   SET_MAKE=
2851 else
2852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2854   SET_MAKE="MAKE=${MAKE-make}"
2855 fi
2856
2857 rm -rf .tst 2>/dev/null
2858 mkdir .tst 2>/dev/null
2859 if test -d .tst; then
2860   am__leading_dot=.
2861 else
2862   am__leading_dot=_
2863 fi
2864 rmdir .tst 2>/dev/null
2865
2866 # Check whether --enable-silent-rules was given.
2867 if test "${enable_silent_rules+set}" = set; then :
2868   enableval=$enable_silent_rules;
2869 fi
2870
2871 case $enable_silent_rules in # (((
2872   yes) AM_DEFAULT_VERBOSITY=0;;
2873    no) AM_DEFAULT_VERBOSITY=1;;
2874     *) AM_DEFAULT_VERBOSITY=1;;
2875 esac
2876 am_make=${MAKE-make}
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2878 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2879 if ${am_cv_make_support_nested_variables+:} false; then :
2880   $as_echo_n "(cached) " >&6
2881 else
2882   if $as_echo 'TRUE=$(BAR$(V))
2883 BAR0=false
2884 BAR1=true
2885 V=1
2886 am__doit:
2887         @$(TRUE)
2888 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2889   am_cv_make_support_nested_variables=yes
2890 else
2891   am_cv_make_support_nested_variables=no
2892 fi
2893 fi
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2895 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2896 if test $am_cv_make_support_nested_variables = yes; then
2897     AM_V='$(V)'
2898   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2899 else
2900   AM_V=$AM_DEFAULT_VERBOSITY
2901   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2902 fi
2903 AM_BACKSLASH='\'
2904
2905 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2906   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2907   # is not polluted with repeated "-I."
2908   am__isrc=' -I$(srcdir)'
2909   # test to see if srcdir already configured
2910   if test -f $srcdir/config.status; then
2911     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2912   fi
2913 fi
2914
2915 # test whether we have cygpath
2916 if test -z "$CYGPATH_W"; then
2917   if (cygpath --version) >/dev/null 2>/dev/null; then
2918     CYGPATH_W='cygpath -w'
2919   else
2920     CYGPATH_W=echo
2921   fi
2922 fi
2923
2924
2925 # Define the identity of the package.
2926  PACKAGE='e_dbus'
2927  VERSION='1.7.8'
2928
2929
2930 cat >>confdefs.h <<_ACEOF
2931 #define PACKAGE "$PACKAGE"
2932 _ACEOF
2933
2934
2935 cat >>confdefs.h <<_ACEOF
2936 #define VERSION "$VERSION"
2937 _ACEOF
2938
2939 # Some tools Automake needs.
2940
2941 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2942
2943
2944 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2945
2946
2947 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2948
2949
2950 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2951
2952
2953 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2954
2955 # For better backward compatibility.  To be removed once Automake 1.9.x
2956 # dies out for good.  For more background, see:
2957 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2958 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2959 mkdir_p='$(MKDIR_P)'
2960
2961 # We need awk for the "check" target.  The system "awk" is bad on
2962 # some platforms.
2963 # Always define AMTAR for backward compatibility.  Yes, it's still used
2964 # in the wild :-(  We should find a proper way to deprecate it ...
2965 AMTAR='$${TAR-tar}'
2966
2967
2968 # We'll loop over all known methods to create a tar archive until one works.
2969 _am_tools='gnutar  pax cpio none'
2970
2971 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2972
2973
2974
2975
2976
2977
2978 # Check whether --enable-silent-rules was given.
2979 if test "${enable_silent_rules+set}" = set; then :
2980   enableval=$enable_silent_rules;
2981 fi
2982
2983 case $enable_silent_rules in # (((
2984   yes) AM_DEFAULT_VERBOSITY=0;;
2985    no) AM_DEFAULT_VERBOSITY=1;;
2986     *) AM_DEFAULT_VERBOSITY=0;;
2987 esac
2988 am_make=${MAKE-make}
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2990 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2991 if ${am_cv_make_support_nested_variables+:} false; then :
2992   $as_echo_n "(cached) " >&6
2993 else
2994   if $as_echo 'TRUE=$(BAR$(V))
2995 BAR0=false
2996 BAR1=true
2997 V=1
2998 am__doit:
2999         @$(TRUE)
3000 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3001   am_cv_make_support_nested_variables=yes
3002 else
3003   am_cv_make_support_nested_variables=no
3004 fi
3005 fi
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3007 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3008 if test $am_cv_make_support_nested_variables = yes; then
3009     AM_V='$(V)'
3010   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3011 else
3012   AM_V=$AM_DEFAULT_VERBOSITY
3013   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3014 fi
3015 AM_BACKSLASH='\'
3016
3017
3018 # Make sure we can run config.sub.
3019 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3020   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3021
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3023 $as_echo_n "checking build system type... " >&6; }
3024 if ${ac_cv_build+:} false; then :
3025   $as_echo_n "(cached) " >&6
3026 else
3027   ac_build_alias=$build_alias
3028 test "x$ac_build_alias" = x &&
3029   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3030 test "x$ac_build_alias" = x &&
3031   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3032 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3033   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3034
3035 fi
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3037 $as_echo "$ac_cv_build" >&6; }
3038 case $ac_cv_build in
3039 *-*-*) ;;
3040 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3041 esac
3042 build=$ac_cv_build
3043 ac_save_IFS=$IFS; IFS='-'
3044 set x $ac_cv_build
3045 shift
3046 build_cpu=$1
3047 build_vendor=$2
3048 shift; shift
3049 # Remember, the first character of IFS is used to create $*,
3050 # except with old shells:
3051 build_os=$*
3052 IFS=$ac_save_IFS
3053 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3054
3055
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3057 $as_echo_n "checking host system type... " >&6; }
3058 if ${ac_cv_host+:} false; then :
3059   $as_echo_n "(cached) " >&6
3060 else
3061   if test "x$host_alias" = x; then
3062   ac_cv_host=$ac_cv_build
3063 else
3064   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3065     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3066 fi
3067
3068 fi
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3070 $as_echo "$ac_cv_host" >&6; }
3071 case $ac_cv_host in
3072 *-*-*) ;;
3073 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3074 esac
3075 host=$ac_cv_host
3076 ac_save_IFS=$IFS; IFS='-'
3077 set x $ac_cv_host
3078 shift
3079 host_cpu=$1
3080 host_vendor=$2
3081 shift; shift
3082 # Remember, the first character of IFS is used to create $*,
3083 # except with old shells:
3084 host_os=$*
3085 IFS=$ac_save_IFS
3086 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3087
3088
3089 enable_win32_dll=yes
3090
3091 case $host in
3092 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3093   if test -n "$ac_tool_prefix"; then
3094   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3095 set dummy ${ac_tool_prefix}as; ac_word=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if ${ac_cv_prog_AS+:} false; then :
3099   $as_echo_n "(cached) " >&6
3100 else
3101   if test -n "$AS"; then
3102   ac_cv_prog_AS="$AS" # Let the user override the test.
3103 else
3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105 for as_dir in $PATH
3106 do
3107   IFS=$as_save_IFS
3108   test -z "$as_dir" && as_dir=.
3109     for ac_exec_ext in '' $ac_executable_extensions; do
3110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3111     ac_cv_prog_AS="${ac_tool_prefix}as"
3112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113     break 2
3114   fi
3115 done
3116   done
3117 IFS=$as_save_IFS
3118
3119 fi
3120 fi
3121 AS=$ac_cv_prog_AS
3122 if test -n "$AS"; then
3123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3124 $as_echo "$AS" >&6; }
3125 else
3126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3128 fi
3129
3130
3131 fi
3132 if test -z "$ac_cv_prog_AS"; then
3133   ac_ct_AS=$AS
3134   # Extract the first word of "as", so it can be a program name with args.
3135 set dummy as; ac_word=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3139   $as_echo_n "(cached) " >&6
3140 else
3141   if test -n "$ac_ct_AS"; then
3142   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3143 else
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH
3146 do
3147   IFS=$as_save_IFS
3148   test -z "$as_dir" && as_dir=.
3149     for ac_exec_ext in '' $ac_executable_extensions; do
3150   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3151     ac_cv_prog_ac_ct_AS="as"
3152     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153     break 2
3154   fi
3155 done
3156   done
3157 IFS=$as_save_IFS
3158
3159 fi
3160 fi
3161 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3162 if test -n "$ac_ct_AS"; then
3163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3164 $as_echo "$ac_ct_AS" >&6; }
3165 else
3166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3168 fi
3169
3170   if test "x$ac_ct_AS" = x; then
3171     AS="false"
3172   else
3173     case $cross_compiling:$ac_tool_warned in
3174 yes:)
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3177 ac_tool_warned=yes ;;
3178 esac
3179     AS=$ac_ct_AS
3180   fi
3181 else
3182   AS="$ac_cv_prog_AS"
3183 fi
3184
3185   if test -n "$ac_tool_prefix"; then
3186   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3187 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if ${ac_cv_prog_DLLTOOL+:} false; then :
3191   $as_echo_n "(cached) " >&6
3192 else
3193   if test -n "$DLLTOOL"; then
3194   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3195 else
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 for as_dir in $PATH
3198 do
3199   IFS=$as_save_IFS
3200   test -z "$as_dir" && as_dir=.
3201     for ac_exec_ext in '' $ac_executable_extensions; do
3202   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205     break 2
3206   fi
3207 done
3208   done
3209 IFS=$as_save_IFS
3210
3211 fi
3212 fi
3213 DLLTOOL=$ac_cv_prog_DLLTOOL
3214 if test -n "$DLLTOOL"; then
3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3216 $as_echo "$DLLTOOL" >&6; }
3217 else
3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3220 fi
3221
3222
3223 fi
3224 if test -z "$ac_cv_prog_DLLTOOL"; then
3225   ac_ct_DLLTOOL=$DLLTOOL
3226   # Extract the first word of "dlltool", so it can be a program name with args.
3227 set dummy dlltool; ac_word=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3231   $as_echo_n "(cached) " >&6
3232 else
3233   if test -n "$ac_ct_DLLTOOL"; then
3234   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3235 else
3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237 for as_dir in $PATH
3238 do
3239   IFS=$as_save_IFS
3240   test -z "$as_dir" && as_dir=.
3241     for ac_exec_ext in '' $ac_executable_extensions; do
3242   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3243     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3245     break 2
3246   fi
3247 done
3248   done
3249 IFS=$as_save_IFS
3250
3251 fi
3252 fi
3253 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3254 if test -n "$ac_ct_DLLTOOL"; then
3255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3256 $as_echo "$ac_ct_DLLTOOL" >&6; }
3257 else
3258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260 fi
3261
3262   if test "x$ac_ct_DLLTOOL" = x; then
3263     DLLTOOL="false"
3264   else
3265     case $cross_compiling:$ac_tool_warned in
3266 yes:)
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3269 ac_tool_warned=yes ;;
3270 esac
3271     DLLTOOL=$ac_ct_DLLTOOL
3272   fi
3273 else
3274   DLLTOOL="$ac_cv_prog_DLLTOOL"
3275 fi
3276
3277   if test -n "$ac_tool_prefix"; then
3278   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3279 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281 $as_echo_n "checking for $ac_word... " >&6; }
3282 if ${ac_cv_prog_OBJDUMP+:} false; then :
3283   $as_echo_n "(cached) " >&6
3284 else
3285   if test -n "$OBJDUMP"; then
3286   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3287 else
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 for as_dir in $PATH
3290 do
3291   IFS=$as_save_IFS
3292   test -z "$as_dir" && as_dir=.
3293     for ac_exec_ext in '' $ac_executable_extensions; do
3294   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3295     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297     break 2
3298   fi
3299 done
3300   done
3301 IFS=$as_save_IFS
3302
3303 fi
3304 fi
3305 OBJDUMP=$ac_cv_prog_OBJDUMP
3306 if test -n "$OBJDUMP"; then
3307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3308 $as_echo "$OBJDUMP" >&6; }
3309 else
3310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3312 fi
3313
3314
3315 fi
3316 if test -z "$ac_cv_prog_OBJDUMP"; then
3317   ac_ct_OBJDUMP=$OBJDUMP
3318   # Extract the first word of "objdump", so it can be a program name with args.
3319 set dummy objdump; ac_word=$2
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3321 $as_echo_n "checking for $ac_word... " >&6; }
3322 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3323   $as_echo_n "(cached) " >&6
3324 else
3325   if test -n "$ac_ct_OBJDUMP"; then
3326   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3327 else
3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 for as_dir in $PATH
3330 do
3331   IFS=$as_save_IFS
3332   test -z "$as_dir" && as_dir=.
3333     for ac_exec_ext in '' $ac_executable_extensions; do
3334   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3335     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337     break 2
3338   fi
3339 done
3340   done
3341 IFS=$as_save_IFS
3342
3343 fi
3344 fi
3345 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3346 if test -n "$ac_ct_OBJDUMP"; then
3347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3348 $as_echo "$ac_ct_OBJDUMP" >&6; }
3349 else
3350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351 $as_echo "no" >&6; }
3352 fi
3353
3354   if test "x$ac_ct_OBJDUMP" = x; then
3355     OBJDUMP="false"
3356   else
3357     case $cross_compiling:$ac_tool_warned in
3358 yes:)
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3361 ac_tool_warned=yes ;;
3362 esac
3363     OBJDUMP=$ac_ct_OBJDUMP
3364   fi
3365 else
3366   OBJDUMP="$ac_cv_prog_OBJDUMP"
3367 fi
3368
3369   ;;
3370 esac
3371
3372 test -z "$AS" && AS=as
3373
3374
3375
3376
3377
3378 test -z "$DLLTOOL" && DLLTOOL=dlltool
3379
3380
3381
3382
3383
3384 test -z "$OBJDUMP" && OBJDUMP=objdump
3385
3386
3387
3388
3389
3390
3391
3392 case `pwd` in
3393   *\ * | *\     *)
3394     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3395 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3396 esac
3397
3398
3399
3400 macro_version='2.4.2'
3401 macro_revision='1.3337'
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415 ltmain="$ac_aux_dir/ltmain.sh"
3416
3417 # Backslashify metacharacters that are still active within
3418 # double-quoted strings.
3419 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3420
3421 # Same as above, but do not quote variable references.
3422 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3423
3424 # Sed substitution to delay expansion of an escaped shell variable in a
3425 # double_quote_subst'ed string.
3426 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3427
3428 # Sed substitution to delay expansion of an escaped single quote.
3429 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3430
3431 # Sed substitution to avoid accidental globbing in evaled expressions
3432 no_glob_subst='s/\*/\\\*/g'
3433
3434 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3435 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3436 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3437
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3439 $as_echo_n "checking how to print strings... " >&6; }
3440 # Test print first, because it will be a builtin if present.
3441 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3442    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3443   ECHO='print -r --'
3444 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3445   ECHO='printf %s\n'
3446 else
3447   # Use this function as a fallback that always works.
3448   func_fallback_echo ()
3449   {
3450     eval 'cat <<_LTECHO_EOF
3451 $1
3452 _LTECHO_EOF'
3453   }
3454   ECHO='func_fallback_echo'
3455 fi
3456
3457 # func_echo_all arg...
3458 # Invoke $ECHO with all args, space-separated.
3459 func_echo_all ()
3460 {
3461     $ECHO ""
3462 }
3463
3464 case "$ECHO" in
3465   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3466 $as_echo "printf" >&6; } ;;
3467   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3468 $as_echo "print -r" >&6; } ;;
3469   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3470 $as_echo "cat" >&6; } ;;
3471 esac
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486 DEPDIR="${am__leading_dot}deps"
3487
3488 ac_config_commands="$ac_config_commands depfiles"
3489
3490
3491 am_make=${MAKE-make}
3492 cat > confinc << 'END'
3493 am__doit:
3494         @echo this is the am__doit target
3495 .PHONY: am__doit
3496 END
3497 # If we don't find an include directive, just comment out the code.
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3499 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3500 am__include="#"
3501 am__quote=
3502 _am_result=none
3503 # First try GNU make style include.
3504 echo "include confinc" > confmf
3505 # Ignore all kinds of additional output from 'make'.
3506 case `$am_make -s -f confmf 2> /dev/null` in #(
3507 *the\ am__doit\ target*)
3508   am__include=include
3509   am__quote=
3510   _am_result=GNU
3511   ;;
3512 esac
3513 # Now try BSD make style include.
3514 if test "$am__include" = "#"; then
3515    echo '.include "confinc"' > confmf
3516    case `$am_make -s -f confmf 2> /dev/null` in #(
3517    *the\ am__doit\ target*)
3518      am__include=.include
3519      am__quote="\""
3520      _am_result=BSD
3521      ;;
3522    esac
3523 fi
3524
3525
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3527 $as_echo "$_am_result" >&6; }
3528 rm -f confinc confmf
3529
3530 # Check whether --enable-dependency-tracking was given.
3531 if test "${enable_dependency_tracking+set}" = set; then :
3532   enableval=$enable_dependency_tracking;
3533 fi
3534
3535 if test "x$enable_dependency_tracking" != xno; then
3536   am_depcomp="$ac_aux_dir/depcomp"
3537   AMDEPBACKSLASH='\'
3538   am__nodep='_no'
3539 fi
3540  if test "x$enable_dependency_tracking" != xno; then
3541   AMDEP_TRUE=
3542   AMDEP_FALSE='#'
3543 else
3544   AMDEP_TRUE='#'
3545   AMDEP_FALSE=
3546 fi
3547
3548
3549 ac_ext=c
3550 ac_cpp='$CPP $CPPFLAGS'
3551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3554 if test -n "$ac_tool_prefix"; then
3555   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3556 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if ${ac_cv_prog_CC+:} false; then :
3560   $as_echo_n "(cached) " >&6
3561 else
3562   if test -n "$CC"; then
3563   ac_cv_prog_CC="$CC" # Let the user override the test.
3564 else
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 for as_dir in $PATH
3567 do
3568   IFS=$as_save_IFS
3569   test -z "$as_dir" && as_dir=.
3570     for ac_exec_ext in '' $ac_executable_extensions; do
3571   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3572     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3574     break 2
3575   fi
3576 done
3577   done
3578 IFS=$as_save_IFS
3579
3580 fi
3581 fi
3582 CC=$ac_cv_prog_CC
3583 if test -n "$CC"; then
3584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3585 $as_echo "$CC" >&6; }
3586 else
3587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3589 fi
3590
3591
3592 fi
3593 if test -z "$ac_cv_prog_CC"; then
3594   ac_ct_CC=$CC
3595   # Extract the first word of "gcc", so it can be a program name with args.
3596 set dummy gcc; ac_word=$2
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3598 $as_echo_n "checking for $ac_word... " >&6; }
3599 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3600   $as_echo_n "(cached) " >&6
3601 else
3602   if test -n "$ac_ct_CC"; then
3603   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3604 else
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3606 for as_dir in $PATH
3607 do
3608   IFS=$as_save_IFS
3609   test -z "$as_dir" && as_dir=.
3610     for ac_exec_ext in '' $ac_executable_extensions; do
3611   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3612     ac_cv_prog_ac_ct_CC="gcc"
3613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3614     break 2
3615   fi
3616 done
3617   done
3618 IFS=$as_save_IFS
3619
3620 fi
3621 fi
3622 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3623 if test -n "$ac_ct_CC"; then
3624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3625 $as_echo "$ac_ct_CC" >&6; }
3626 else
3627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3629 fi
3630
3631   if test "x$ac_ct_CC" = x; then
3632     CC=""
3633   else
3634     case $cross_compiling:$ac_tool_warned in
3635 yes:)
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3638 ac_tool_warned=yes ;;
3639 esac
3640     CC=$ac_ct_CC
3641   fi
3642 else
3643   CC="$ac_cv_prog_CC"
3644 fi
3645
3646 if test -z "$CC"; then
3647           if test -n "$ac_tool_prefix"; then
3648     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3649 set dummy ${ac_tool_prefix}cc; ac_word=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if ${ac_cv_prog_CC+:} false; then :
3653   $as_echo_n "(cached) " >&6
3654 else
3655   if test -n "$CC"; then
3656   ac_cv_prog_CC="$CC" # Let the user override the test.
3657 else
3658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3659 for as_dir in $PATH
3660 do
3661   IFS=$as_save_IFS
3662   test -z "$as_dir" && as_dir=.
3663     for ac_exec_ext in '' $ac_executable_extensions; do
3664   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3665     ac_cv_prog_CC="${ac_tool_prefix}cc"
3666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667     break 2
3668   fi
3669 done
3670   done
3671 IFS=$as_save_IFS
3672
3673 fi
3674 fi
3675 CC=$ac_cv_prog_CC
3676 if test -n "$CC"; then
3677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3678 $as_echo "$CC" >&6; }
3679 else
3680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3681 $as_echo "no" >&6; }
3682 fi
3683
3684
3685   fi
3686 fi
3687 if test -z "$CC"; then
3688   # Extract the first word of "cc", so it can be a program name with args.
3689 set dummy cc; ac_word=$2
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3691 $as_echo_n "checking for $ac_word... " >&6; }
3692 if ${ac_cv_prog_CC+:} false; then :
3693   $as_echo_n "(cached) " >&6
3694 else
3695   if test -n "$CC"; then
3696   ac_cv_prog_CC="$CC" # Let the user override the test.
3697 else
3698   ac_prog_rejected=no
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700 for as_dir in $PATH
3701 do
3702   IFS=$as_save_IFS
3703   test -z "$as_dir" && as_dir=.
3704     for ac_exec_ext in '' $ac_executable_extensions; do
3705   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3706     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3707        ac_prog_rejected=yes
3708        continue
3709      fi
3710     ac_cv_prog_CC="cc"
3711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3712     break 2
3713   fi
3714 done
3715   done
3716 IFS=$as_save_IFS
3717
3718 if test $ac_prog_rejected = yes; then
3719   # We found a bogon in the path, so make sure we never use it.
3720   set dummy $ac_cv_prog_CC
3721   shift
3722   if test $# != 0; then
3723     # We chose a different compiler from the bogus one.
3724     # However, it has the same basename, so the bogon will be chosen
3725     # first if we set CC to just the basename; use the full file name.
3726     shift
3727     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3728   fi
3729 fi
3730 fi
3731 fi
3732 CC=$ac_cv_prog_CC
3733 if test -n "$CC"; then
3734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3736 else
3737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3739 fi
3740
3741
3742 fi
3743 if test -z "$CC"; then
3744   if test -n "$ac_tool_prefix"; then
3745   for ac_prog in cl.exe
3746   do
3747     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_CC+:} false; then :
3752   $as_echo_n "(cached) " >&6
3753 else
3754   if test -n "$CC"; then
3755   ac_cv_prog_CC="$CC" # Let the user override the test.
3756 else
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3758 for as_dir in $PATH
3759 do
3760   IFS=$as_save_IFS
3761   test -z "$as_dir" && as_dir=.
3762     for ac_exec_ext in '' $ac_executable_extensions; do
3763   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766     break 2
3767   fi
3768 done
3769   done
3770 IFS=$as_save_IFS
3771
3772 fi
3773 fi
3774 CC=$ac_cv_prog_CC
3775 if test -n "$CC"; then
3776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3777 $as_echo "$CC" >&6; }
3778 else
3779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3781 fi
3782
3783
3784     test -n "$CC" && break
3785   done
3786 fi
3787 if test -z "$CC"; then
3788   ac_ct_CC=$CC
3789   for ac_prog in cl.exe
3790 do
3791   # Extract the first word of "$ac_prog", so it can be a program name with args.
3792 set dummy $ac_prog; ac_word=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3796   $as_echo_n "(cached) " >&6
3797 else
3798   if test -n "$ac_ct_CC"; then
3799   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3800 else
3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802 for as_dir in $PATH
3803 do
3804   IFS=$as_save_IFS
3805   test -z "$as_dir" && as_dir=.
3806     for ac_exec_ext in '' $ac_executable_extensions; do
3807   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3808     ac_cv_prog_ac_ct_CC="$ac_prog"
3809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3810     break 2
3811   fi
3812 done
3813   done
3814 IFS=$as_save_IFS
3815
3816 fi
3817 fi
3818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3819 if test -n "$ac_ct_CC"; then
3820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3821 $as_echo "$ac_ct_CC" >&6; }
3822 else
3823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3825 fi
3826
3827
3828   test -n "$ac_ct_CC" && break
3829 done
3830
3831   if test "x$ac_ct_CC" = x; then
3832     CC=""
3833   else
3834     case $cross_compiling:$ac_tool_warned in
3835 yes:)
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3838 ac_tool_warned=yes ;;
3839 esac
3840     CC=$ac_ct_CC
3841   fi
3842 fi
3843
3844 fi
3845
3846
3847 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3849 as_fn_error $? "no acceptable C compiler found in \$PATH
3850 See \`config.log' for more details" "$LINENO" 5; }
3851
3852 # Provide some information about the compiler.
3853 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3854 set X $ac_compile
3855 ac_compiler=$2
3856 for ac_option in --version -v -V -qversion; do
3857   { { ac_try="$ac_compiler $ac_option >&5"
3858 case "(($ac_try" in
3859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860   *) ac_try_echo=$ac_try;;
3861 esac
3862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
3864   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3865   ac_status=$?
3866   if test -s conftest.err; then
3867     sed '10a\
3868 ... rest of stderr output deleted ...
3869          10q' conftest.err >conftest.er1
3870     cat conftest.er1 >&5
3871   fi
3872   rm -f conftest.er1 conftest.err
3873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874   test $ac_status = 0; }
3875 done
3876
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h.  */
3879
3880 int
3881 main ()
3882 {
3883
3884   ;
3885   return 0;
3886 }
3887 _ACEOF
3888 ac_clean_files_save=$ac_clean_files
3889 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3890 # Try to create an executable without -o first, disregard a.out.
3891 # It will help us diagnose broken compilers, and finding out an intuition
3892 # of exeext.
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3894 $as_echo_n "checking whether the C compiler works... " >&6; }
3895 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3896
3897 # The possible output files:
3898 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3899
3900 ac_rmfiles=
3901 for ac_file in $ac_files
3902 do
3903   case $ac_file in
3904     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3905     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3906   esac
3907 done
3908 rm -f $ac_rmfiles
3909
3910 if { { ac_try="$ac_link_default"
3911 case "(($ac_try" in
3912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3913   *) ac_try_echo=$ac_try;;
3914 esac
3915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3916 $as_echo "$ac_try_echo"; } >&5
3917   (eval "$ac_link_default") 2>&5
3918   ac_status=$?
3919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3920   test $ac_status = 0; }; then :
3921   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3922 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3923 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3924 # so that the user can short-circuit this test for compilers unknown to
3925 # Autoconf.
3926 for ac_file in $ac_files ''
3927 do
3928   test -f "$ac_file" || continue
3929   case $ac_file in
3930     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3931         ;;
3932     [ab].out )
3933         # We found the default executable, but exeext='' is most
3934         # certainly right.
3935         break;;
3936     *.* )
3937         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3938         then :; else
3939            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3940         fi
3941         # We set ac_cv_exeext here because the later test for it is not
3942         # safe: cross compilers may not add the suffix if given an `-o'
3943         # argument, so we may need to know it at that point already.
3944         # Even if this section looks crufty: it has the advantage of
3945         # actually working.
3946         break;;
3947     * )
3948         break;;
3949   esac
3950 done
3951 test "$ac_cv_exeext" = no && ac_cv_exeext=
3952
3953 else
3954   ac_file=''
3955 fi
3956 if test -z "$ac_file"; then :
3957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3959 $as_echo "$as_me: failed program was:" >&5
3960 sed 's/^/| /' conftest.$ac_ext >&5
3961
3962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3964 as_fn_error 77 "C compiler cannot create executables
3965 See \`config.log' for more details" "$LINENO" 5; }
3966 else
3967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3968 $as_echo "yes" >&6; }
3969 fi
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3971 $as_echo_n "checking for C compiler default output file name... " >&6; }
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3973 $as_echo "$ac_file" >&6; }
3974 ac_exeext=$ac_cv_exeext
3975
3976 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3977 ac_clean_files=$ac_clean_files_save
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3979 $as_echo_n "checking for suffix of executables... " >&6; }
3980 if { { ac_try="$ac_link"
3981 case "(($ac_try" in
3982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3983   *) ac_try_echo=$ac_try;;
3984 esac
3985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3986 $as_echo "$ac_try_echo"; } >&5
3987   (eval "$ac_link") 2>&5
3988   ac_status=$?
3989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3990   test $ac_status = 0; }; then :
3991   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3992 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3993 # work properly (i.e., refer to `conftest.exe'), while it won't with
3994 # `rm'.
3995 for ac_file in conftest.exe conftest conftest.*; do
3996   test -f "$ac_file" || continue
3997   case $ac_file in
3998     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3999     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4000           break;;
4001     * ) break;;
4002   esac
4003 done
4004 else
4005   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4008 See \`config.log' for more details" "$LINENO" 5; }
4009 fi
4010 rm -f conftest conftest$ac_cv_exeext
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4012 $as_echo "$ac_cv_exeext" >&6; }
4013
4014 rm -f conftest.$ac_ext
4015 EXEEXT=$ac_cv_exeext
4016 ac_exeext=$EXEEXT
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h.  */
4019 #include <stdio.h>
4020 int
4021 main ()
4022 {
4023 FILE *f = fopen ("conftest.out", "w");
4024  return ferror (f) || fclose (f) != 0;
4025
4026   ;
4027   return 0;
4028 }
4029 _ACEOF
4030 ac_clean_files="$ac_clean_files conftest.out"
4031 # Check that the compiler produces executables we can run.  If not, either
4032 # the compiler is broken, or we cross compile.
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4034 $as_echo_n "checking whether we are cross compiling... " >&6; }
4035 if test "$cross_compiling" != yes; then
4036   { { ac_try="$ac_link"
4037 case "(($ac_try" in
4038   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039   *) ac_try_echo=$ac_try;;
4040 esac
4041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042 $as_echo "$ac_try_echo"; } >&5
4043   (eval "$ac_link") 2>&5
4044   ac_status=$?
4045   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046   test $ac_status = 0; }
4047   if { ac_try='./conftest$ac_cv_exeext'
4048   { { case "(($ac_try" in
4049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4050   *) ac_try_echo=$ac_try;;
4051 esac
4052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4053 $as_echo "$ac_try_echo"; } >&5
4054   (eval "$ac_try") 2>&5
4055   ac_status=$?
4056   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4057   test $ac_status = 0; }; }; then
4058     cross_compiling=no
4059   else
4060     if test "$cross_compiling" = maybe; then
4061         cross_compiling=yes
4062     else
4063         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4065 as_fn_error $? "cannot run C compiled programs.
4066 If you meant to cross compile, use \`--host'.
4067 See \`config.log' for more details" "$LINENO" 5; }
4068     fi
4069   fi
4070 fi
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4072 $as_echo "$cross_compiling" >&6; }
4073
4074 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4075 ac_clean_files=$ac_clean_files_save
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4077 $as_echo_n "checking for suffix of object files... " >&6; }
4078 if ${ac_cv_objext+:} false; then :
4079   $as_echo_n "(cached) " >&6
4080 else
4081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h.  */
4083
4084 int
4085 main ()
4086 {
4087
4088   ;
4089   return 0;
4090 }
4091 _ACEOF
4092 rm -f conftest.o conftest.obj
4093 if { { ac_try="$ac_compile"
4094 case "(($ac_try" in
4095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096   *) ac_try_echo=$ac_try;;
4097 esac
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100   (eval "$ac_compile") 2>&5
4101   ac_status=$?
4102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103   test $ac_status = 0; }; then :
4104   for ac_file in conftest.o conftest.obj conftest.*; do
4105   test -f "$ac_file" || continue;
4106   case $ac_file in
4107     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4108     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4109        break;;
4110   esac
4111 done
4112 else
4113   $as_echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4115
4116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4118 as_fn_error $? "cannot compute suffix of object files: cannot compile
4119 See \`config.log' for more details" "$LINENO" 5; }
4120 fi
4121 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4122 fi
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4124 $as_echo "$ac_cv_objext" >&6; }
4125 OBJEXT=$ac_cv_objext
4126 ac_objext=$OBJEXT
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4128 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4129 if ${ac_cv_c_compiler_gnu+:} false; then :
4130   $as_echo_n "(cached) " >&6
4131 else
4132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h.  */
4134
4135 int
4136 main ()
4137 {
4138 #ifndef __GNUC__
4139        choke me
4140 #endif
4141
4142   ;
4143   return 0;
4144 }
4145 _ACEOF
4146 if ac_fn_c_try_compile "$LINENO"; then :
4147   ac_compiler_gnu=yes
4148 else
4149   ac_compiler_gnu=no
4150 fi
4151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4152 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4153
4154 fi
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4156 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4157 if test $ac_compiler_gnu = yes; then
4158   GCC=yes
4159 else
4160   GCC=
4161 fi
4162 ac_test_CFLAGS=${CFLAGS+set}
4163 ac_save_CFLAGS=$CFLAGS
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4165 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4166 if ${ac_cv_prog_cc_g+:} false; then :
4167   $as_echo_n "(cached) " >&6
4168 else
4169   ac_save_c_werror_flag=$ac_c_werror_flag
4170    ac_c_werror_flag=yes
4171    ac_cv_prog_cc_g=no
4172    CFLAGS="-g"
4173    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h.  */
4175
4176 int
4177 main ()
4178 {
4179
4180   ;
4181   return 0;
4182 }
4183 _ACEOF
4184 if ac_fn_c_try_compile "$LINENO"; then :
4185   ac_cv_prog_cc_g=yes
4186 else
4187   CFLAGS=""
4188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h.  */
4190
4191 int
4192 main ()
4193 {
4194
4195   ;
4196   return 0;
4197 }
4198 _ACEOF
4199 if ac_fn_c_try_compile "$LINENO"; then :
4200
4201 else
4202   ac_c_werror_flag=$ac_save_c_werror_flag
4203          CFLAGS="-g"
4204          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h.  */
4206
4207 int
4208 main ()
4209 {
4210
4211   ;
4212   return 0;
4213 }
4214 _ACEOF
4215 if ac_fn_c_try_compile "$LINENO"; then :
4216   ac_cv_prog_cc_g=yes
4217 fi
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 fi
4220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 fi
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223    ac_c_werror_flag=$ac_save_c_werror_flag
4224 fi
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4226 $as_echo "$ac_cv_prog_cc_g" >&6; }
4227 if test "$ac_test_CFLAGS" = set; then
4228   CFLAGS=$ac_save_CFLAGS
4229 elif test $ac_cv_prog_cc_g = yes; then
4230   if test "$GCC" = yes; then
4231     CFLAGS="-g -O2"
4232   else
4233     CFLAGS="-g"
4234   fi
4235 else
4236   if test "$GCC" = yes; then
4237     CFLAGS="-O2"
4238   else
4239     CFLAGS=
4240   fi
4241 fi
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4243 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4244 if ${ac_cv_prog_cc_c89+:} false; then :
4245   $as_echo_n "(cached) " >&6
4246 else
4247   ac_cv_prog_cc_c89=no
4248 ac_save_CC=$CC
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h.  */
4251 #include <stdarg.h>
4252 #include <stdio.h>
4253 struct stat;
4254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4255 struct buf { int x; };
4256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4257 static char *e (p, i)
4258      char **p;
4259      int i;
4260 {
4261   return p[i];
4262 }
4263 static char *f (char * (*g) (char **, int), char **p, ...)
4264 {
4265   char *s;
4266   va_list v;
4267   va_start (v,p);
4268   s = g (p, va_arg (v,int));
4269   va_end (v);
4270   return s;
4271 }
4272
4273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4274    function prototypes and stuff, but not '\xHH' hex character constants.
4275    These don't provoke an error unfortunately, instead are silently treated
4276    as 'x'.  The following induces an error, until -std is added to get
4277    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4278    array size at least.  It's necessary to write '\x00'==0 to get something
4279    that's true only with -std.  */
4280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4281
4282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4283    inside strings and character constants.  */
4284 #define FOO(x) 'x'
4285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4286
4287 int test (int i, double x);
4288 struct s1 {int (*f) (int a);};
4289 struct s2 {int (*f) (double a);};
4290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 int argc;
4292 char **argv;
4293 int
4294 main ()
4295 {
4296 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4297   ;
4298   return 0;
4299 }
4300 _ACEOF
4301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4302         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4303 do
4304   CC="$ac_save_CC $ac_arg"
4305   if ac_fn_c_try_compile "$LINENO"; then :
4306   ac_cv_prog_cc_c89=$ac_arg
4307 fi
4308 rm -f core conftest.err conftest.$ac_objext
4309   test "x$ac_cv_prog_cc_c89" != "xno" && break
4310 done
4311 rm -f conftest.$ac_ext
4312 CC=$ac_save_CC
4313
4314 fi
4315 # AC_CACHE_VAL
4316 case "x$ac_cv_prog_cc_c89" in
4317   x)
4318     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4319 $as_echo "none needed" >&6; } ;;
4320   xno)
4321     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4322 $as_echo "unsupported" >&6; } ;;
4323   *)
4324     CC="$CC $ac_cv_prog_cc_c89"
4325     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4327 esac
4328 if test "x$ac_cv_prog_cc_c89" != xno; then :
4329
4330 fi
4331
4332 ac_ext=c
4333 ac_cpp='$CPP $CPPFLAGS'
4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4337
4338 depcc="$CC"   am_compiler_list=
4339
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4341 $as_echo_n "checking dependency style of $depcc... " >&6; }
4342 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4343   $as_echo_n "(cached) " >&6
4344 else
4345   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4346   # We make a subdir and do the tests there.  Otherwise we can end up
4347   # making bogus files that we don't know about and never remove.  For
4348   # instance it was reported that on HP-UX the gcc test will end up
4349   # making a dummy file named 'D' -- because '-MD' means "put the output
4350   # in D".
4351   rm -rf conftest.dir
4352   mkdir conftest.dir
4353   # Copy depcomp to subdir because otherwise we won't find it if we're
4354   # using a relative directory.
4355   cp "$am_depcomp" conftest.dir
4356   cd conftest.dir
4357   # We will build objects and dependencies in a subdirectory because
4358   # it helps to detect inapplicable dependency modes.  For instance
4359   # both Tru64's cc and ICC support -MD to output dependencies as a
4360   # side effect of compilation, but ICC will put the dependencies in
4361   # the current directory while Tru64 will put them in the object
4362   # directory.
4363   mkdir sub
4364
4365   am_cv_CC_dependencies_compiler_type=none
4366   if test "$am_compiler_list" = ""; then
4367      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4368   fi
4369   am__universal=false
4370   case " $depcc " in #(
4371      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4372      esac
4373
4374   for depmode in $am_compiler_list; do
4375     # Setup a source with many dependencies, because some compilers
4376     # like to wrap large dependency lists on column 80 (with \), and
4377     # we should not choose a depcomp mode which is confused by this.
4378     #
4379     # We need to recreate these files for each test, as the compiler may
4380     # overwrite some of them when testing with obscure command lines.
4381     # This happens at least with the AIX C compiler.
4382     : > sub/conftest.c
4383     for i in 1 2 3 4 5 6; do
4384       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4385       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4386       # Solaris 10 /bin/sh.
4387       echo '/* dummy */' > sub/conftst$i.h
4388     done
4389     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4390
4391     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4392     # mode.  It turns out that the SunPro C++ compiler does not properly
4393     # handle '-M -o', and we need to detect this.  Also, some Intel
4394     # versions had trouble with output in subdirs.
4395     am__obj=sub/conftest.${OBJEXT-o}
4396     am__minus_obj="-o $am__obj"
4397     case $depmode in
4398     gcc)
4399       # This depmode causes a compiler race in universal mode.
4400       test "$am__universal" = false || continue
4401       ;;
4402     nosideeffect)
4403       # After this tag, mechanisms are not by side-effect, so they'll
4404       # only be used when explicitly requested.
4405       if test "x$enable_dependency_tracking" = xyes; then
4406         continue
4407       else
4408         break
4409       fi
4410       ;;
4411     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4412       # This compiler won't grok '-c -o', but also, the minuso test has
4413       # not run yet.  These depmodes are late enough in the game, and
4414       # so weak that their functioning should not be impacted.
4415       am__obj=conftest.${OBJEXT-o}
4416       am__minus_obj=
4417       ;;
4418     none) break ;;
4419     esac
4420     if depmode=$depmode \
4421        source=sub/conftest.c object=$am__obj \
4422        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4423        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4424          >/dev/null 2>conftest.err &&
4425        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4426        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4427        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4428        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4429       # icc doesn't choke on unknown options, it will just issue warnings
4430       # or remarks (even with -Werror).  So we grep stderr for any message
4431       # that says an option was ignored or not supported.
4432       # When given -MP, icc 7.0 and 7.1 complain thusly:
4433       #   icc: Command line warning: ignoring option '-M'; no argument required
4434       # The diagnosis changed in icc 8.0:
4435       #   icc: Command line remark: option '-MP' not supported
4436       if (grep 'ignoring option' conftest.err ||
4437           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4438         am_cv_CC_dependencies_compiler_type=$depmode
4439         break
4440       fi
4441     fi
4442   done
4443
4444   cd ..
4445   rm -rf conftest.dir
4446 else
4447   am_cv_CC_dependencies_compiler_type=none
4448 fi
4449
4450 fi
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4452 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4453 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4454
4455  if
4456   test "x$enable_dependency_tracking" != xno \
4457   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4458   am__fastdepCC_TRUE=
4459   am__fastdepCC_FALSE='#'
4460 else
4461   am__fastdepCC_TRUE='#'
4462   am__fastdepCC_FALSE=
4463 fi
4464
4465
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4467 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4468 if ${ac_cv_path_SED+:} false; then :
4469   $as_echo_n "(cached) " >&6
4470 else
4471             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4472      for ac_i in 1 2 3 4 5 6 7; do
4473        ac_script="$ac_script$as_nl$ac_script"
4474      done
4475      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4476      { ac_script=; unset ac_script;}
4477      if test -z "$SED"; then
4478   ac_path_SED_found=false
4479   # Loop through the user's path and test for each of PROGNAME-LIST
4480   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4482 do
4483   IFS=$as_save_IFS
4484   test -z "$as_dir" && as_dir=.
4485     for ac_prog in sed gsed; do
4486     for ac_exec_ext in '' $ac_executable_extensions; do
4487       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4488       as_fn_executable_p "$ac_path_SED" || continue
4489 # Check for GNU ac_path_SED and select it if it is found.
4490   # Check for GNU $ac_path_SED
4491 case `"$ac_path_SED" --version 2>&1` in
4492 *GNU*)
4493   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4494 *)
4495   ac_count=0
4496   $as_echo_n 0123456789 >"conftest.in"
4497   while :
4498   do
4499     cat "conftest.in" "conftest.in" >"conftest.tmp"
4500     mv "conftest.tmp" "conftest.in"
4501     cp "conftest.in" "conftest.nl"
4502     $as_echo '' >> "conftest.nl"
4503     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4504     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4505     as_fn_arith $ac_count + 1 && ac_count=$as_val
4506     if test $ac_count -gt ${ac_path_SED_max-0}; then
4507       # Best one so far, save it but keep looking for a better one
4508       ac_cv_path_SED="$ac_path_SED"
4509       ac_path_SED_max=$ac_count
4510     fi
4511     # 10*(2^10) chars as input seems more than enough
4512     test $ac_count -gt 10 && break
4513   done
4514   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4515 esac
4516
4517       $ac_path_SED_found && break 3
4518     done
4519   done
4520   done
4521 IFS=$as_save_IFS
4522   if test -z "$ac_cv_path_SED"; then
4523     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4524   fi
4525 else
4526   ac_cv_path_SED=$SED
4527 fi
4528
4529 fi
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4531 $as_echo "$ac_cv_path_SED" >&6; }
4532  SED="$ac_cv_path_SED"
4533   rm -f conftest.sed
4534
4535 test -z "$SED" && SED=sed
4536 Xsed="$SED -e 1s/^X//"
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4549 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4550 if ${ac_cv_path_GREP+:} false; then :
4551   $as_echo_n "(cached) " >&6
4552 else
4553   if test -z "$GREP"; then
4554   ac_path_GREP_found=false
4555   # Loop through the user's path and test for each of PROGNAME-LIST
4556   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4558 do
4559   IFS=$as_save_IFS
4560   test -z "$as_dir" && as_dir=.
4561     for ac_prog in grep ggrep; do
4562     for ac_exec_ext in '' $ac_executable_extensions; do
4563       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4564       as_fn_executable_p "$ac_path_GREP" || continue
4565 # Check for GNU ac_path_GREP and select it if it is found.
4566   # Check for GNU $ac_path_GREP
4567 case `"$ac_path_GREP" --version 2>&1` in
4568 *GNU*)
4569   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4570 *)
4571   ac_count=0
4572   $as_echo_n 0123456789 >"conftest.in"
4573   while :
4574   do
4575     cat "conftest.in" "conftest.in" >"conftest.tmp"
4576     mv "conftest.tmp" "conftest.in"
4577     cp "conftest.in" "conftest.nl"
4578     $as_echo 'GREP' >> "conftest.nl"
4579     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4580     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4581     as_fn_arith $ac_count + 1 && ac_count=$as_val
4582     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4583       # Best one so far, save it but keep looking for a better one
4584       ac_cv_path_GREP="$ac_path_GREP"
4585       ac_path_GREP_max=$ac_count
4586     fi
4587     # 10*(2^10) chars as input seems more than enough
4588     test $ac_count -gt 10 && break
4589   done
4590   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4591 esac
4592
4593       $ac_path_GREP_found && break 3
4594     done
4595   done
4596   done
4597 IFS=$as_save_IFS
4598   if test -z "$ac_cv_path_GREP"; then
4599     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4600   fi
4601 else
4602   ac_cv_path_GREP=$GREP
4603 fi
4604
4605 fi
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4607 $as_echo "$ac_cv_path_GREP" >&6; }
4608  GREP="$ac_cv_path_GREP"
4609
4610
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4612 $as_echo_n "checking for egrep... " >&6; }
4613 if ${ac_cv_path_EGREP+:} false; then :
4614   $as_echo_n "(cached) " >&6
4615 else
4616   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4617    then ac_cv_path_EGREP="$GREP -E"
4618    else
4619      if test -z "$EGREP"; then
4620   ac_path_EGREP_found=false
4621   # Loop through the user's path and test for each of PROGNAME-LIST
4622   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4623 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4624 do
4625   IFS=$as_save_IFS
4626   test -z "$as_dir" && as_dir=.
4627     for ac_prog in egrep; do
4628     for ac_exec_ext in '' $ac_executable_extensions; do
4629       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4630       as_fn_executable_p "$ac_path_EGREP" || continue
4631 # Check for GNU ac_path_EGREP and select it if it is found.
4632   # Check for GNU $ac_path_EGREP
4633 case `"$ac_path_EGREP" --version 2>&1` in
4634 *GNU*)
4635   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4636 *)
4637   ac_count=0
4638   $as_echo_n 0123456789 >"conftest.in"
4639   while :
4640   do
4641     cat "conftest.in" "conftest.in" >"conftest.tmp"
4642     mv "conftest.tmp" "conftest.in"
4643     cp "conftest.in" "conftest.nl"
4644     $as_echo 'EGREP' >> "conftest.nl"
4645     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4646     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4647     as_fn_arith $ac_count + 1 && ac_count=$as_val
4648     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4649       # Best one so far, save it but keep looking for a better one
4650       ac_cv_path_EGREP="$ac_path_EGREP"
4651       ac_path_EGREP_max=$ac_count
4652     fi
4653     # 10*(2^10) chars as input seems more than enough
4654     test $ac_count -gt 10 && break
4655   done
4656   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4657 esac
4658
4659       $ac_path_EGREP_found && break 3
4660     done
4661   done
4662   done
4663 IFS=$as_save_IFS
4664   if test -z "$ac_cv_path_EGREP"; then
4665     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4666   fi
4667 else
4668   ac_cv_path_EGREP=$EGREP
4669 fi
4670
4671    fi
4672 fi
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4674 $as_echo "$ac_cv_path_EGREP" >&6; }
4675  EGREP="$ac_cv_path_EGREP"
4676
4677
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4679 $as_echo_n "checking for fgrep... " >&6; }
4680 if ${ac_cv_path_FGREP+:} false; then :
4681   $as_echo_n "(cached) " >&6
4682 else
4683   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4684    then ac_cv_path_FGREP="$GREP -F"
4685    else
4686      if test -z "$FGREP"; then
4687   ac_path_FGREP_found=false
4688   # Loop through the user's path and test for each of PROGNAME-LIST
4689   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4691 do
4692   IFS=$as_save_IFS
4693   test -z "$as_dir" && as_dir=.
4694     for ac_prog in fgrep; do
4695     for ac_exec_ext in '' $ac_executable_extensions; do
4696       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4697       as_fn_executable_p "$ac_path_FGREP" || continue
4698 # Check for GNU ac_path_FGREP and select it if it is found.
4699   # Check for GNU $ac_path_FGREP
4700 case `"$ac_path_FGREP" --version 2>&1` in
4701 *GNU*)
4702   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4703 *)
4704   ac_count=0
4705   $as_echo_n 0123456789 >"conftest.in"
4706   while :
4707   do
4708     cat "conftest.in" "conftest.in" >"conftest.tmp"
4709     mv "conftest.tmp" "conftest.in"
4710     cp "conftest.in" "conftest.nl"
4711     $as_echo 'FGREP' >> "conftest.nl"
4712     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4713     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4714     as_fn_arith $ac_count + 1 && ac_count=$as_val
4715     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4716       # Best one so far, save it but keep looking for a better one
4717       ac_cv_path_FGREP="$ac_path_FGREP"
4718       ac_path_FGREP_max=$ac_count
4719     fi
4720     # 10*(2^10) chars as input seems more than enough
4721     test $ac_count -gt 10 && break
4722   done
4723   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4724 esac
4725
4726       $ac_path_FGREP_found && break 3
4727     done
4728   done
4729   done
4730 IFS=$as_save_IFS
4731   if test -z "$ac_cv_path_FGREP"; then
4732     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4733   fi
4734 else
4735   ac_cv_path_FGREP=$FGREP
4736 fi
4737
4738    fi
4739 fi
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4741 $as_echo "$ac_cv_path_FGREP" >&6; }
4742  FGREP="$ac_cv_path_FGREP"
4743
4744
4745 test -z "$GREP" && GREP=grep
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765 # Check whether --with-gnu-ld was given.
4766 if test "${with_gnu_ld+set}" = set; then :
4767   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4768 else
4769   with_gnu_ld=no
4770 fi
4771
4772 ac_prog=ld
4773 if test "$GCC" = yes; then
4774   # Check if gcc -print-prog-name=ld gives a path.
4775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4776 $as_echo_n "checking for ld used by $CC... " >&6; }
4777   case $host in
4778   *-*-mingw*)
4779     # gcc leaves a trailing carriage return which upsets mingw
4780     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4781   *)
4782     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4783   esac
4784   case $ac_prog in
4785     # Accept absolute paths.
4786     [\\/]* | ?:[\\/]*)
4787       re_direlt='/[^/][^/]*/\.\./'
4788       # Canonicalize the pathname of ld
4789       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4790       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4791         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4792       done
4793       test -z "$LD" && LD="$ac_prog"
4794       ;;
4795   "")
4796     # If it fails, then pretend we aren't using GCC.
4797     ac_prog=ld
4798     ;;
4799   *)
4800     # If it is relative, then search for the first ld in PATH.
4801     with_gnu_ld=unknown
4802     ;;
4803   esac
4804 elif test "$with_gnu_ld" = yes; then
4805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4806 $as_echo_n "checking for GNU ld... " >&6; }
4807 else
4808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4809 $as_echo_n "checking for non-GNU ld... " >&6; }
4810 fi
4811 if ${lt_cv_path_LD+:} false; then :
4812   $as_echo_n "(cached) " >&6
4813 else
4814   if test -z "$LD"; then
4815   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4816   for ac_dir in $PATH; do
4817     IFS="$lt_save_ifs"
4818     test -z "$ac_dir" && ac_dir=.
4819     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4820       lt_cv_path_LD="$ac_dir/$ac_prog"
4821       # Check to see if the program is GNU ld.  I'd rather use --version,
4822       # but apparently some variants of GNU ld only accept -v.
4823       # Break only if it was the GNU/non-GNU ld that we prefer.
4824       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4825       *GNU* | *'with BFD'*)
4826         test "$with_gnu_ld" != no && break
4827         ;;
4828       *)
4829         test "$with_gnu_ld" != yes && break
4830         ;;
4831       esac
4832     fi
4833   done
4834   IFS="$lt_save_ifs"
4835 else
4836   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4837 fi
4838 fi
4839
4840 LD="$lt_cv_path_LD"
4841 if test -n "$LD"; then
4842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4843 $as_echo "$LD" >&6; }
4844 else
4845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4847 fi
4848 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4850 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4851 if ${lt_cv_prog_gnu_ld+:} false; then :
4852   $as_echo_n "(cached) " >&6
4853 else
4854   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4855 case `$LD -v 2>&1 </dev/null` in
4856 *GNU* | *'with BFD'*)
4857   lt_cv_prog_gnu_ld=yes
4858   ;;
4859 *)
4860   lt_cv_prog_gnu_ld=no
4861   ;;
4862 esac
4863 fi
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4865 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4866 with_gnu_ld=$lt_cv_prog_gnu_ld
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4877 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4878 if ${lt_cv_path_NM+:} false; then :
4879   $as_echo_n "(cached) " >&6
4880 else
4881   if test -n "$NM"; then
4882   # Let the user override the test.
4883   lt_cv_path_NM="$NM"
4884 else
4885   lt_nm_to_check="${ac_tool_prefix}nm"
4886   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4887     lt_nm_to_check="$lt_nm_to_check nm"
4888   fi
4889   for lt_tmp_nm in $lt_nm_to_check; do
4890     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4891     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4892       IFS="$lt_save_ifs"
4893       test -z "$ac_dir" && ac_dir=.
4894       tmp_nm="$ac_dir/$lt_tmp_nm"
4895       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4896         # Check to see if the nm accepts a BSD-compat flag.
4897         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4898         #   nm: unknown option "B" ignored
4899         # Tru64's nm complains that /dev/null is an invalid object file
4900         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4901         */dev/null* | *'Invalid file or object type'*)
4902           lt_cv_path_NM="$tmp_nm -B"
4903           break
4904           ;;
4905         *)
4906           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4907           */dev/null*)
4908             lt_cv_path_NM="$tmp_nm -p"
4909             break
4910             ;;
4911           *)
4912             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4913             continue # so that we can try to find one that supports BSD flags
4914             ;;
4915           esac
4916           ;;
4917         esac
4918       fi
4919     done
4920     IFS="$lt_save_ifs"
4921   done
4922   : ${lt_cv_path_NM=no}
4923 fi
4924 fi
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4926 $as_echo "$lt_cv_path_NM" >&6; }
4927 if test "$lt_cv_path_NM" != "no"; then
4928   NM="$lt_cv_path_NM"
4929 else
4930   # Didn't find any BSD compatible name lister, look for dumpbin.
4931   if test -n "$DUMPBIN"; then :
4932     # Let the user override the test.
4933   else
4934     if test -n "$ac_tool_prefix"; then
4935   for ac_prog in dumpbin "link -dump"
4936   do
4937     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4938 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_DUMPBIN+:} false; then :
4942   $as_echo_n "(cached) " >&6
4943 else
4944   if test -n "$DUMPBIN"; then
4945   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4946 else
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 for as_dir in $PATH
4949 do
4950   IFS=$as_save_IFS
4951   test -z "$as_dir" && as_dir=.
4952     for ac_exec_ext in '' $ac_executable_extensions; do
4953   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4956     break 2
4957   fi
4958 done
4959   done
4960 IFS=$as_save_IFS
4961
4962 fi
4963 fi
4964 DUMPBIN=$ac_cv_prog_DUMPBIN
4965 if test -n "$DUMPBIN"; then
4966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4967 $as_echo "$DUMPBIN" >&6; }
4968 else
4969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4971 fi
4972
4973
4974     test -n "$DUMPBIN" && break
4975   done
4976 fi
4977 if test -z "$DUMPBIN"; then
4978   ac_ct_DUMPBIN=$DUMPBIN
4979   for ac_prog in dumpbin "link -dump"
4980 do
4981   # Extract the first word of "$ac_prog", so it can be a program name with args.
4982 set dummy $ac_prog; ac_word=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4986   $as_echo_n "(cached) " >&6
4987 else
4988   if test -n "$ac_ct_DUMPBIN"; then
4989   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4990 else
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 for as_dir in $PATH
4993 do
4994   IFS=$as_save_IFS
4995   test -z "$as_dir" && as_dir=.
4996     for ac_exec_ext in '' $ac_executable_extensions; do
4997   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4999     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5000     break 2
5001   fi
5002 done
5003   done
5004 IFS=$as_save_IFS
5005
5006 fi
5007 fi
5008 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5009 if test -n "$ac_ct_DUMPBIN"; then
5010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5011 $as_echo "$ac_ct_DUMPBIN" >&6; }
5012 else
5013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5015 fi
5016
5017
5018   test -n "$ac_ct_DUMPBIN" && break
5019 done
5020
5021   if test "x$ac_ct_DUMPBIN" = x; then
5022     DUMPBIN=":"
5023   else
5024     case $cross_compiling:$ac_tool_warned in
5025 yes:)
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5028 ac_tool_warned=yes ;;
5029 esac
5030     DUMPBIN=$ac_ct_DUMPBIN
5031   fi
5032 fi
5033
5034     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5035     *COFF*)
5036       DUMPBIN="$DUMPBIN -symbols"
5037       ;;
5038     *)
5039       DUMPBIN=:
5040       ;;
5041     esac
5042   fi
5043
5044   if test "$DUMPBIN" != ":"; then
5045     NM="$DUMPBIN"
5046   fi
5047 fi
5048 test -z "$NM" && NM=nm
5049
5050
5051
5052
5053
5054
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5056 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5057 if ${lt_cv_nm_interface+:} false; then :
5058   $as_echo_n "(cached) " >&6
5059 else
5060   lt_cv_nm_interface="BSD nm"
5061   echo "int some_variable = 0;" > conftest.$ac_ext
5062   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5063   (eval "$ac_compile" 2>conftest.err)
5064   cat conftest.err >&5
5065   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5066   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5067   cat conftest.err >&5
5068   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5069   cat conftest.out >&5
5070   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5071     lt_cv_nm_interface="MS dumpbin"
5072   fi
5073   rm -f conftest*
5074 fi
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5076 $as_echo "$lt_cv_nm_interface" >&6; }
5077
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5079 $as_echo_n "checking whether ln -s works... " >&6; }
5080 LN_S=$as_ln_s
5081 if test "$LN_S" = "ln -s"; then
5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5083 $as_echo "yes" >&6; }
5084 else
5085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5086 $as_echo "no, using $LN_S" >&6; }
5087 fi
5088
5089 # find the maximum length of command line arguments
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5091 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5092 if ${lt_cv_sys_max_cmd_len+:} false; then :
5093   $as_echo_n "(cached) " >&6
5094 else
5095     i=0
5096   teststring="ABCD"
5097
5098   case $build_os in
5099   msdosdjgpp*)
5100     # On DJGPP, this test can blow up pretty badly due to problems in libc
5101     # (any single argument exceeding 2000 bytes causes a buffer overrun
5102     # during glob expansion).  Even if it were fixed, the result of this
5103     # check would be larger than it should be.
5104     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5105     ;;
5106
5107   gnu*)
5108     # Under GNU Hurd, this test is not required because there is
5109     # no limit to the length of command line arguments.
5110     # Libtool will interpret -1 as no limit whatsoever
5111     lt_cv_sys_max_cmd_len=-1;
5112     ;;
5113
5114   cygwin* | mingw* | cegcc*)
5115     # On Win9x/ME, this test blows up -- it succeeds, but takes
5116     # about 5 minutes as the teststring grows exponentially.
5117     # Worse, since 9x/ME are not pre-emptively multitasking,
5118     # you end up with a "frozen" computer, even though with patience
5119     # the test eventually succeeds (with a max line length of 256k).
5120     # Instead, let's just punt: use the minimum linelength reported by
5121     # all of the supported platforms: 8192 (on NT/2K/XP).
5122     lt_cv_sys_max_cmd_len=8192;
5123     ;;
5124
5125   mint*)
5126     # On MiNT this can take a long time and run out of memory.
5127     lt_cv_sys_max_cmd_len=8192;
5128     ;;
5129
5130   amigaos*)
5131     # On AmigaOS with pdksh, this test takes hours, literally.
5132     # So we just punt and use a minimum line length of 8192.
5133     lt_cv_sys_max_cmd_len=8192;
5134     ;;
5135
5136   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5137     # This has been around since 386BSD, at least.  Likely further.
5138     if test -x /sbin/sysctl; then
5139       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5140     elif test -x /usr/sbin/sysctl; then
5141       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5142     else
5143       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5144     fi
5145     # And add a safety zone
5146     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5147     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5148     ;;
5149
5150   interix*)
5151     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5152     lt_cv_sys_max_cmd_len=196608
5153     ;;
5154
5155   os2*)
5156     # The test takes a long time on OS/2.
5157     lt_cv_sys_max_cmd_len=8192
5158     ;;
5159
5160   osf*)
5161     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5162     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5163     # nice to cause kernel panics so lets avoid the loop below.
5164     # First set a reasonable default.
5165     lt_cv_sys_max_cmd_len=16384
5166     #
5167     if test -x /sbin/sysconfig; then
5168       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5169         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5170       esac
5171     fi
5172     ;;
5173   sco3.2v5*)
5174     lt_cv_sys_max_cmd_len=102400
5175     ;;
5176   sysv5* | sco5v6* | sysv4.2uw2*)
5177     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5178     if test -n "$kargmax"; then
5179       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5180     else
5181       lt_cv_sys_max_cmd_len=32768
5182     fi
5183     ;;
5184   *)
5185     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5186     if test -n "$lt_cv_sys_max_cmd_len"; then
5187       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5188       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5189     else
5190       # Make teststring a little bigger before we do anything with it.
5191       # a 1K string should be a reasonable start.
5192       for i in 1 2 3 4 5 6 7 8 ; do
5193         teststring=$teststring$teststring
5194       done
5195       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5196       # If test is not a shell built-in, we'll probably end up computing a
5197       # maximum length that is only half of the actual maximum length, but
5198       # we can't tell.
5199       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5200                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5201               test $i != 17 # 1/2 MB should be enough
5202       do
5203         i=`expr $i + 1`
5204         teststring=$teststring$teststring
5205       done
5206       # Only check the string length outside the loop.
5207       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5208       teststring=
5209       # Add a significant safety factor because C++ compilers can tack on
5210       # massive amounts of additional arguments before passing them to the
5211       # linker.  It appears as though 1/2 is a usable value.
5212       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5213     fi
5214     ;;
5215   esac
5216
5217 fi
5218
5219 if test -n $lt_cv_sys_max_cmd_len ; then
5220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5221 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5222 else
5223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5224 $as_echo "none" >&6; }
5225 fi
5226 max_cmd_len=$lt_cv_sys_max_cmd_len
5227
5228
5229
5230
5231
5232
5233 : ${CP="cp -f"}
5234 : ${MV="mv -f"}
5235 : ${RM="rm -f"}
5236
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5238 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5239 # Try some XSI features
5240 xsi_shell=no
5241 ( _lt_dummy="a/b/c"
5242   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5243       = c,a/b,b/c, \
5244     && eval 'test $(( 1 + 1 )) -eq 2 \
5245     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5246   && xsi_shell=yes
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5248 $as_echo "$xsi_shell" >&6; }
5249
5250
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5252 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5253 lt_shell_append=no
5254 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5255     >/dev/null 2>&1 \
5256   && lt_shell_append=yes
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5258 $as_echo "$lt_shell_append" >&6; }
5259
5260
5261 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5262   lt_unset=unset
5263 else
5264   lt_unset=false
5265 fi
5266
5267
5268
5269
5270
5271 # test EBCDIC or ASCII
5272 case `echo X|tr X '\101'` in
5273  A) # ASCII based system
5274     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5275   lt_SP2NL='tr \040 \012'
5276   lt_NL2SP='tr \015\012 \040\040'
5277   ;;
5278  *) # EBCDIC based system
5279   lt_SP2NL='tr \100 \n'
5280   lt_NL2SP='tr \r\n \100\100'
5281   ;;
5282 esac
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5293 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5294 if ${lt_cv_to_host_file_cmd+:} false; then :
5295   $as_echo_n "(cached) " >&6
5296 else
5297   case $host in
5298   *-*-mingw* )
5299     case $build in
5300       *-*-mingw* ) # actually msys
5301         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5302         ;;
5303       *-*-cygwin* )
5304         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5305         ;;
5306       * ) # otherwise, assume *nix
5307         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5308         ;;
5309     esac
5310     ;;
5311   *-*-cygwin* )
5312     case $build in
5313       *-*-mingw* ) # actually msys
5314         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5315         ;;
5316       *-*-cygwin* )
5317         lt_cv_to_host_file_cmd=func_convert_file_noop
5318         ;;
5319       * ) # otherwise, assume *nix
5320         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5321         ;;
5322     esac
5323     ;;
5324   * ) # unhandled hosts (and "normal" native builds)
5325     lt_cv_to_host_file_cmd=func_convert_file_noop
5326     ;;
5327 esac
5328
5329 fi
5330
5331 to_host_file_cmd=$lt_cv_to_host_file_cmd
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5333 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5334
5335
5336
5337
5338
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5340 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5341 if ${lt_cv_to_tool_file_cmd+:} false; then :
5342   $as_echo_n "(cached) " >&6
5343 else
5344   #assume ordinary cross tools, or native build.
5345 lt_cv_to_tool_file_cmd=func_convert_file_noop
5346 case $host in
5347   *-*-mingw* )
5348     case $build in
5349       *-*-mingw* ) # actually msys
5350         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5351         ;;
5352     esac
5353     ;;
5354 esac
5355
5356 fi
5357
5358 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5360 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5361
5362
5363
5364
5365
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5367 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5368 if ${lt_cv_ld_reload_flag+:} false; then :
5369   $as_echo_n "(cached) " >&6
5370 else
5371   lt_cv_ld_reload_flag='-r'
5372 fi
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5374 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5375 reload_flag=$lt_cv_ld_reload_flag
5376 case $reload_flag in
5377 "" | " "*) ;;
5378 *) reload_flag=" $reload_flag" ;;
5379 esac
5380 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5381 case $host_os in
5382   cygwin* | mingw* | pw32* | cegcc*)
5383     if test "$GCC" != yes; then
5384       reload_cmds=false
5385     fi
5386     ;;
5387   darwin*)
5388     if test "$GCC" = yes; then
5389       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5390     else
5391       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5392     fi
5393     ;;
5394 esac
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404 if test -n "$ac_tool_prefix"; then
5405   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5406 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_OBJDUMP+:} false; then :
5410   $as_echo_n "(cached) " >&6
5411 else
5412   if test -n "$OBJDUMP"; then
5413   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5414 else
5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416 for as_dir in $PATH
5417 do
5418   IFS=$as_save_IFS
5419   test -z "$as_dir" && as_dir=.
5420     for ac_exec_ext in '' $ac_executable_extensions; do
5421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5422     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424     break 2
5425   fi
5426 done
5427   done
5428 IFS=$as_save_IFS
5429
5430 fi
5431 fi
5432 OBJDUMP=$ac_cv_prog_OBJDUMP
5433 if test -n "$OBJDUMP"; then
5434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5435 $as_echo "$OBJDUMP" >&6; }
5436 else
5437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5439 fi
5440
5441
5442 fi
5443 if test -z "$ac_cv_prog_OBJDUMP"; then
5444   ac_ct_OBJDUMP=$OBJDUMP
5445   # Extract the first word of "objdump", so it can be a program name with args.
5446 set dummy objdump; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5450   $as_echo_n "(cached) " >&6
5451 else
5452   if test -n "$ac_ct_OBJDUMP"; then
5453   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5454 else
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 for as_dir in $PATH
5457 do
5458   IFS=$as_save_IFS
5459   test -z "$as_dir" && as_dir=.
5460     for ac_exec_ext in '' $ac_executable_extensions; do
5461   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5462     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464     break 2
5465   fi
5466 done
5467   done
5468 IFS=$as_save_IFS
5469
5470 fi
5471 fi
5472 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5473 if test -n "$ac_ct_OBJDUMP"; then
5474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5475 $as_echo "$ac_ct_OBJDUMP" >&6; }
5476 else
5477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5479 fi
5480
5481   if test "x$ac_ct_OBJDUMP" = x; then
5482     OBJDUMP="false"
5483   else
5484     case $cross_compiling:$ac_tool_warned in
5485 yes:)
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5488 ac_tool_warned=yes ;;
5489 esac
5490     OBJDUMP=$ac_ct_OBJDUMP
5491   fi
5492 else
5493   OBJDUMP="$ac_cv_prog_OBJDUMP"
5494 fi
5495
5496 test -z "$OBJDUMP" && OBJDUMP=objdump
5497
5498
5499
5500
5501
5502
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5504 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5505 if ${lt_cv_deplibs_check_method+:} false; then :
5506   $as_echo_n "(cached) " >&6
5507 else
5508   lt_cv_file_magic_cmd='$MAGIC_CMD'
5509 lt_cv_file_magic_test_file=
5510 lt_cv_deplibs_check_method='unknown'
5511 # Need to set the preceding variable on all platforms that support
5512 # interlibrary dependencies.
5513 # 'none' -- dependencies not supported.
5514 # `unknown' -- same as none, but documents that we really don't know.
5515 # 'pass_all' -- all dependencies passed with no checks.
5516 # 'test_compile' -- check by making test program.
5517 # 'file_magic [[regex]]' -- check by looking for files in library path
5518 # which responds to the $file_magic_cmd with a given extended regex.
5519 # If you have `file' or equivalent on your system and you're not sure
5520 # whether `pass_all' will *always* work, you probably want this one.
5521
5522 case $host_os in
5523 aix[4-9]*)
5524   lt_cv_deplibs_check_method=pass_all
5525   ;;
5526
5527 beos*)
5528   lt_cv_deplibs_check_method=pass_all
5529   ;;
5530
5531 bsdi[45]*)
5532   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5533   lt_cv_file_magic_cmd='/usr/bin/file -L'
5534   lt_cv_file_magic_test_file=/shlib/libc.so
5535   ;;
5536
5537 cygwin*)
5538   # func_win32_libid is a shell function defined in ltmain.sh
5539   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5540   lt_cv_file_magic_cmd='func_win32_libid'
5541   ;;
5542
5543 mingw* | pw32*)
5544   # Base MSYS/MinGW do not provide the 'file' command needed by
5545   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5546   # unless we find 'file', for example because we are cross-compiling.
5547   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5548   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5549     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5550     lt_cv_file_magic_cmd='func_win32_libid'
5551   else
5552     # Keep this pattern in sync with the one in func_win32_libid.
5553     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5554     lt_cv_file_magic_cmd='$OBJDUMP -f'
5555   fi
5556   ;;
5557
5558 cegcc*)
5559   # use the weaker test based on 'objdump'. See mingw*.
5560   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5561   lt_cv_file_magic_cmd='$OBJDUMP -f'
5562   ;;
5563
5564 darwin* | rhapsody*)
5565   lt_cv_deplibs_check_method=pass_all
5566   ;;
5567
5568 freebsd* | dragonfly*)
5569   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5570     case $host_cpu in
5571     i*86 )
5572       # Not sure whether the presence of OpenBSD here was a mistake.
5573       # Let's accept both of them until this is cleared up.
5574       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5575       lt_cv_file_magic_cmd=/usr/bin/file
5576       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5577       ;;
5578     esac
5579   else
5580     lt_cv_deplibs_check_method=pass_all
5581   fi
5582   ;;
5583
5584 gnu*)
5585   lt_cv_deplibs_check_method=pass_all
5586   ;;
5587
5588 haiku*)
5589   lt_cv_deplibs_check_method=pass_all
5590   ;;
5591
5592 hpux10.20* | hpux11*)
5593   lt_cv_file_magic_cmd=/usr/bin/file
5594   case $host_cpu in
5595   ia64*)
5596     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5597     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5598     ;;
5599   hppa*64*)
5600     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]'
5601     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5602     ;;
5603   *)
5604     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5605     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5606     ;;
5607   esac
5608   ;;
5609
5610 interix[3-9]*)
5611   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5612   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5613   ;;
5614
5615 irix5* | irix6* | nonstopux*)
5616   case $LD in
5617   *-32|*"-32 ") libmagic=32-bit;;
5618   *-n32|*"-n32 ") libmagic=N32;;
5619   *-64|*"-64 ") libmagic=64-bit;;
5620   *) libmagic=never-match;;
5621   esac
5622   lt_cv_deplibs_check_method=pass_all
5623   ;;
5624
5625 # This must be glibc/ELF.
5626 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5627   lt_cv_deplibs_check_method=pass_all
5628   ;;
5629
5630 netbsd*)
5631   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5632     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5633   else
5634     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5635   fi
5636   ;;
5637
5638 newos6*)
5639   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5640   lt_cv_file_magic_cmd=/usr/bin/file
5641   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5642   ;;
5643
5644 *nto* | *qnx*)
5645   lt_cv_deplibs_check_method=pass_all
5646   ;;
5647
5648 openbsd*)
5649   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5650     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5651   else
5652     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5653   fi
5654   ;;
5655
5656 osf3* | osf4* | osf5*)
5657   lt_cv_deplibs_check_method=pass_all
5658   ;;
5659
5660 rdos*)
5661   lt_cv_deplibs_check_method=pass_all
5662   ;;
5663
5664 solaris*)
5665   lt_cv_deplibs_check_method=pass_all
5666   ;;
5667
5668 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5669   lt_cv_deplibs_check_method=pass_all
5670   ;;
5671
5672 sysv4 | sysv4.3*)
5673   case $host_vendor in
5674   motorola)
5675     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]'
5676     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5677     ;;
5678   ncr)
5679     lt_cv_deplibs_check_method=pass_all
5680     ;;
5681   sequent)
5682     lt_cv_file_magic_cmd='/bin/file'
5683     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5684     ;;
5685   sni)
5686     lt_cv_file_magic_cmd='/bin/file'
5687     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5688     lt_cv_file_magic_test_file=/lib/libc.so
5689     ;;
5690   siemens)
5691     lt_cv_deplibs_check_method=pass_all
5692     ;;
5693   pc)
5694     lt_cv_deplibs_check_method=pass_all
5695     ;;
5696   esac
5697   ;;
5698
5699 tpf*)
5700   lt_cv_deplibs_check_method=pass_all
5701   ;;
5702 esac
5703
5704 fi
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5706 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5707
5708 file_magic_glob=
5709 want_nocaseglob=no
5710 if test "$build" = "$host"; then
5711   case $host_os in
5712   mingw* | pw32*)
5713     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5714       want_nocaseglob=yes
5715     else
5716       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5717     fi
5718     ;;
5719   esac
5720 fi
5721
5722 file_magic_cmd=$lt_cv_file_magic_cmd
5723 deplibs_check_method=$lt_cv_deplibs_check_method
5724 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747 if test -n "$ac_tool_prefix"; then
5748   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5749 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_DLLTOOL+:} false; then :
5753   $as_echo_n "(cached) " >&6
5754 else
5755   if test -n "$DLLTOOL"; then
5756   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5757 else
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 for as_dir in $PATH
5760 do
5761   IFS=$as_save_IFS
5762   test -z "$as_dir" && as_dir=.
5763     for ac_exec_ext in '' $ac_executable_extensions; do
5764   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767     break 2
5768   fi
5769 done
5770   done
5771 IFS=$as_save_IFS
5772
5773 fi
5774 fi
5775 DLLTOOL=$ac_cv_prog_DLLTOOL
5776 if test -n "$DLLTOOL"; then
5777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5778 $as_echo "$DLLTOOL" >&6; }
5779 else
5780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5782 fi
5783
5784
5785 fi
5786 if test -z "$ac_cv_prog_DLLTOOL"; then
5787   ac_ct_DLLTOOL=$DLLTOOL
5788   # Extract the first word of "dlltool", so it can be a program name with args.
5789 set dummy dlltool; ac_word=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5793   $as_echo_n "(cached) " >&6
5794 else
5795   if test -n "$ac_ct_DLLTOOL"; then
5796   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5797 else
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 for as_dir in $PATH
5800 do
5801   IFS=$as_save_IFS
5802   test -z "$as_dir" && as_dir=.
5803     for ac_exec_ext in '' $ac_executable_extensions; do
5804   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5805     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5807     break 2
5808   fi
5809 done
5810   done
5811 IFS=$as_save_IFS
5812
5813 fi
5814 fi
5815 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5816 if test -n "$ac_ct_DLLTOOL"; then
5817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5818 $as_echo "$ac_ct_DLLTOOL" >&6; }
5819 else
5820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5822 fi
5823
5824   if test "x$ac_ct_DLLTOOL" = x; then
5825     DLLTOOL="false"
5826   else
5827     case $cross_compiling:$ac_tool_warned in
5828 yes:)
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5831 ac_tool_warned=yes ;;
5832 esac
5833     DLLTOOL=$ac_ct_DLLTOOL
5834   fi
5835 else
5836   DLLTOOL="$ac_cv_prog_DLLTOOL"
5837 fi
5838
5839 test -z "$DLLTOOL" && DLLTOOL=dlltool
5840
5841
5842
5843
5844
5845
5846
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5848 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5849 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5850   $as_echo_n "(cached) " >&6
5851 else
5852   lt_cv_sharedlib_from_linklib_cmd='unknown'
5853
5854 case $host_os in
5855 cygwin* | mingw* | pw32* | cegcc*)
5856   # two different shell functions defined in ltmain.sh
5857   # decide which to use based on capabilities of $DLLTOOL
5858   case `$DLLTOOL --help 2>&1` in
5859   *--identify-strict*)
5860     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5861     ;;
5862   *)
5863     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5864     ;;
5865   esac
5866   ;;
5867 *)
5868   # fallback: assume linklib IS sharedlib
5869   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5870   ;;
5871 esac
5872
5873 fi
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5875 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5876 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5877 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5878
5879
5880
5881
5882
5883
5884
5885
5886 if test -n "$ac_tool_prefix"; then
5887   for ac_prog in ar
5888   do
5889     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5890 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892 $as_echo_n "checking for $ac_word... " >&6; }
5893 if ${ac_cv_prog_AR+:} false; then :
5894   $as_echo_n "(cached) " >&6
5895 else
5896   if test -n "$AR"; then
5897   ac_cv_prog_AR="$AR" # Let the user override the test.
5898 else
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 for as_dir in $PATH
5901 do
5902   IFS=$as_save_IFS
5903   test -z "$as_dir" && as_dir=.
5904     for ac_exec_ext in '' $ac_executable_extensions; do
5905   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5908     break 2
5909   fi
5910 done
5911   done
5912 IFS=$as_save_IFS
5913
5914 fi
5915 fi
5916 AR=$ac_cv_prog_AR
5917 if test -n "$AR"; then
5918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5919 $as_echo "$AR" >&6; }
5920 else
5921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 $as_echo "no" >&6; }
5923 fi
5924
5925
5926     test -n "$AR" && break
5927   done
5928 fi
5929 if test -z "$AR"; then
5930   ac_ct_AR=$AR
5931   for ac_prog in ar
5932 do
5933   # Extract the first word of "$ac_prog", so it can be a program name with args.
5934 set dummy $ac_prog; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5938   $as_echo_n "(cached) " >&6
5939 else
5940   if test -n "$ac_ct_AR"; then
5941   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5945 do
5946   IFS=$as_save_IFS
5947   test -z "$as_dir" && as_dir=.
5948     for ac_exec_ext in '' $ac_executable_extensions; do
5949   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950     ac_cv_prog_ac_ct_AR="$ac_prog"
5951     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952     break 2
5953   fi
5954 done
5955   done
5956 IFS=$as_save_IFS
5957
5958 fi
5959 fi
5960 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5961 if test -n "$ac_ct_AR"; then
5962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5963 $as_echo "$ac_ct_AR" >&6; }
5964 else
5965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5967 fi
5968
5969
5970   test -n "$ac_ct_AR" && break
5971 done
5972
5973   if test "x$ac_ct_AR" = x; then
5974     AR="false"
5975   else
5976     case $cross_compiling:$ac_tool_warned in
5977 yes:)
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5980 ac_tool_warned=yes ;;
5981 esac
5982     AR=$ac_ct_AR
5983   fi
5984 fi
5985
5986 : ${AR=ar}
5987 : ${AR_FLAGS=cru}
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6000 $as_echo_n "checking for archiver @FILE support... " >&6; }
6001 if ${lt_cv_ar_at_file+:} false; then :
6002   $as_echo_n "(cached) " >&6
6003 else
6004   lt_cv_ar_at_file=no
6005    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h.  */
6007
6008 int
6009 main ()
6010 {
6011
6012   ;
6013   return 0;
6014 }
6015 _ACEOF
6016 if ac_fn_c_try_compile "$LINENO"; then :
6017   echo conftest.$ac_objext > conftest.lst
6018       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6019       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6020   (eval $lt_ar_try) 2>&5
6021   ac_status=$?
6022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6023   test $ac_status = 0; }
6024       if test "$ac_status" -eq 0; then
6025         # Ensure the archiver fails upon bogus file names.
6026         rm -f conftest.$ac_objext libconftest.a
6027         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6028   (eval $lt_ar_try) 2>&5
6029   ac_status=$?
6030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6031   test $ac_status = 0; }
6032         if test "$ac_status" -ne 0; then
6033           lt_cv_ar_at_file=@
6034         fi
6035       fi
6036       rm -f conftest.* libconftest.a
6037
6038 fi
6039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6040
6041 fi
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6043 $as_echo "$lt_cv_ar_at_file" >&6; }
6044
6045 if test "x$lt_cv_ar_at_file" = xno; then
6046   archiver_list_spec=
6047 else
6048   archiver_list_spec=$lt_cv_ar_at_file
6049 fi
6050
6051
6052
6053
6054
6055
6056
6057 if test -n "$ac_tool_prefix"; then
6058   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6059 set dummy ${ac_tool_prefix}strip; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_STRIP+:} false; then :
6063   $as_echo_n "(cached) " >&6
6064 else
6065   if test -n "$STRIP"; then
6066   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6070 do
6071   IFS=$as_save_IFS
6072   test -z "$as_dir" && as_dir=.
6073     for ac_exec_ext in '' $ac_executable_extensions; do
6074   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077     break 2
6078   fi
6079 done
6080   done
6081 IFS=$as_save_IFS
6082
6083 fi
6084 fi
6085 STRIP=$ac_cv_prog_STRIP
6086 if test -n "$STRIP"; then
6087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6088 $as_echo "$STRIP" >&6; }
6089 else
6090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6092 fi
6093
6094
6095 fi
6096 if test -z "$ac_cv_prog_STRIP"; then
6097   ac_ct_STRIP=$STRIP
6098   # Extract the first word of "strip", so it can be a program name with args.
6099 set dummy strip; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6103   $as_echo_n "(cached) " >&6
6104 else
6105   if test -n "$ac_ct_STRIP"; then
6106   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6110 do
6111   IFS=$as_save_IFS
6112   test -z "$as_dir" && as_dir=.
6113     for ac_exec_ext in '' $ac_executable_extensions; do
6114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115     ac_cv_prog_ac_ct_STRIP="strip"
6116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117     break 2
6118   fi
6119 done
6120   done
6121 IFS=$as_save_IFS
6122
6123 fi
6124 fi
6125 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6126 if test -n "$ac_ct_STRIP"; then
6127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6128 $as_echo "$ac_ct_STRIP" >&6; }
6129 else
6130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6132 fi
6133
6134   if test "x$ac_ct_STRIP" = x; then
6135     STRIP=":"
6136   else
6137     case $cross_compiling:$ac_tool_warned in
6138 yes:)
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6141 ac_tool_warned=yes ;;
6142 esac
6143     STRIP=$ac_ct_STRIP
6144   fi
6145 else
6146   STRIP="$ac_cv_prog_STRIP"
6147 fi
6148
6149 test -z "$STRIP" && STRIP=:
6150
6151
6152
6153
6154
6155
6156 if test -n "$ac_tool_prefix"; then
6157   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6158 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 $as_echo_n "checking for $ac_word... " >&6; }
6161 if ${ac_cv_prog_RANLIB+:} false; then :
6162   $as_echo_n "(cached) " >&6
6163 else
6164   if test -n "$RANLIB"; then
6165   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6166 else
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 for as_dir in $PATH
6169 do
6170   IFS=$as_save_IFS
6171   test -z "$as_dir" && as_dir=.
6172     for ac_exec_ext in '' $ac_executable_extensions; do
6173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6174     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176     break 2
6177   fi
6178 done
6179   done
6180 IFS=$as_save_IFS
6181
6182 fi
6183 fi
6184 RANLIB=$ac_cv_prog_RANLIB
6185 if test -n "$RANLIB"; then
6186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6187 $as_echo "$RANLIB" >&6; }
6188 else
6189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6191 fi
6192
6193
6194 fi
6195 if test -z "$ac_cv_prog_RANLIB"; then
6196   ac_ct_RANLIB=$RANLIB
6197   # Extract the first word of "ranlib", so it can be a program name with args.
6198 set dummy ranlib; ac_word=$2
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6200 $as_echo_n "checking for $ac_word... " >&6; }
6201 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6202   $as_echo_n "(cached) " >&6
6203 else
6204   if test -n "$ac_ct_RANLIB"; then
6205   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6206 else
6207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208 for as_dir in $PATH
6209 do
6210   IFS=$as_save_IFS
6211   test -z "$as_dir" && as_dir=.
6212     for ac_exec_ext in '' $ac_executable_extensions; do
6213   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6214     ac_cv_prog_ac_ct_RANLIB="ranlib"
6215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6216     break 2
6217   fi
6218 done
6219   done
6220 IFS=$as_save_IFS
6221
6222 fi
6223 fi
6224 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6225 if test -n "$ac_ct_RANLIB"; then
6226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6227 $as_echo "$ac_ct_RANLIB" >&6; }
6228 else
6229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230 $as_echo "no" >&6; }
6231 fi
6232
6233   if test "x$ac_ct_RANLIB" = x; then
6234     RANLIB=":"
6235   else
6236     case $cross_compiling:$ac_tool_warned in
6237 yes:)
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6240 ac_tool_warned=yes ;;
6241 esac
6242     RANLIB=$ac_ct_RANLIB
6243   fi
6244 else
6245   RANLIB="$ac_cv_prog_RANLIB"
6246 fi
6247
6248 test -z "$RANLIB" && RANLIB=:
6249
6250
6251
6252
6253
6254
6255 # Determine commands to create old-style static archives.
6256 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6257 old_postinstall_cmds='chmod 644 $oldlib'
6258 old_postuninstall_cmds=
6259
6260 if test -n "$RANLIB"; then
6261   case $host_os in
6262   openbsd*)
6263     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6264     ;;
6265   *)
6266     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6267     ;;
6268   esac
6269   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6270 fi
6271
6272 case $host_os in
6273   darwin*)
6274     lock_old_archive_extraction=yes ;;
6275   *)
6276     lock_old_archive_extraction=no ;;
6277 esac
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317 # If no C compiler was specified, use CC.
6318 LTCC=${LTCC-"$CC"}
6319
6320 # If no C compiler flags were specified, use CFLAGS.
6321 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6322
6323 # Allow CC to be a program name with arguments.
6324 compiler=$CC
6325
6326
6327 # Check for command to grab the raw symbol name followed by C symbol from nm.
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6329 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6330 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6331   $as_echo_n "(cached) " >&6
6332 else
6333
6334 # These are sane defaults that work on at least a few old systems.
6335 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6336
6337 # Character class describing NM global symbol codes.
6338 symcode='[BCDEGRST]'
6339
6340 # Regexp to match symbols that can be accessed directly from C.
6341 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6342
6343 # Define system-specific variables.
6344 case $host_os in
6345 aix*)
6346   symcode='[BCDT]'
6347   ;;
6348 cygwin* | mingw* | pw32* | cegcc*)
6349   symcode='[ABCDGISTW]'
6350   ;;
6351 hpux*)
6352   if test "$host_cpu" = ia64; then
6353     symcode='[ABCDEGRST]'
6354   fi
6355   ;;
6356 irix* | nonstopux*)
6357   symcode='[BCDEGRST]'
6358   ;;
6359 osf*)
6360   symcode='[BCDEGQRST]'
6361   ;;
6362 solaris*)
6363   symcode='[BDRT]'
6364   ;;
6365 sco3.2v5*)
6366   symcode='[DT]'
6367   ;;
6368 sysv4.2uw2*)
6369   symcode='[DT]'
6370   ;;
6371 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6372   symcode='[ABDT]'
6373   ;;
6374 sysv4)
6375   symcode='[DFNSTU]'
6376   ;;
6377 esac
6378
6379 # If we're using GNU nm, then use its standard symbol codes.
6380 case `$NM -V 2>&1` in
6381 *GNU* | *'with BFD'*)
6382   symcode='[ABCDGIRSTW]' ;;
6383 esac
6384
6385 # Transform an extracted symbol line into a proper C declaration.
6386 # Some systems (esp. on ia64) link data and code symbols differently,
6387 # so use this general approach.
6388 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6389
6390 # Transform an extracted symbol line into symbol name and symbol address
6391 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6392 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'"
6393
6394 # Handle CRLF in mingw tool chain
6395 opt_cr=
6396 case $build_os in
6397 mingw*)
6398   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6399   ;;
6400 esac
6401
6402 # Try without a prefix underscore, then with it.
6403 for ac_symprfx in "" "_"; do
6404
6405   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6406   symxfrm="\\1 $ac_symprfx\\2 \\2"
6407
6408   # Write the raw and C identifiers.
6409   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6410     # Fake it for dumpbin and say T for any non-static function
6411     # and D for any global variable.
6412     # Also find C++ and __fastcall symbols from MSVC++,
6413     # which start with @ or ?.
6414     lt_cv_sys_global_symbol_pipe="$AWK '"\
6415 "     {last_section=section; section=\$ 3};"\
6416 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6417 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6418 "     \$ 0!~/External *\|/{next};"\
6419 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6420 "     {if(hide[section]) next};"\
6421 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6422 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6423 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6424 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6425 "     ' prfx=^$ac_symprfx"
6426   else
6427     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6428   fi
6429   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6430
6431   # Check to see that the pipe works correctly.
6432   pipe_works=no
6433
6434   rm -f conftest*
6435   cat > conftest.$ac_ext <<_LT_EOF
6436 #ifdef __cplusplus
6437 extern "C" {
6438 #endif
6439 char nm_test_var;
6440 void nm_test_func(void);
6441 void nm_test_func(void){}
6442 #ifdef __cplusplus
6443 }
6444 #endif
6445 int main(){nm_test_var='a';nm_test_func();return(0);}
6446 _LT_EOF
6447
6448   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6449   (eval $ac_compile) 2>&5
6450   ac_status=$?
6451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452   test $ac_status = 0; }; then
6453     # Now try to grab the symbols.
6454     nlist=conftest.nm
6455     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6456   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6457   ac_status=$?
6458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6459   test $ac_status = 0; } && test -s "$nlist"; then
6460       # Try sorting and uniquifying the output.
6461       if sort "$nlist" | uniq > "$nlist"T; then
6462         mv -f "$nlist"T "$nlist"
6463       else
6464         rm -f "$nlist"T
6465       fi
6466
6467       # Make sure that we snagged all the symbols we need.
6468       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6469         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6470           cat <<_LT_EOF > conftest.$ac_ext
6471 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6472 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6473 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6474    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6475 # define LT_DLSYM_CONST
6476 #elif defined(__osf__)
6477 /* This system does not cope well with relocations in const data.  */
6478 # define LT_DLSYM_CONST
6479 #else
6480 # define LT_DLSYM_CONST const
6481 #endif
6482
6483 #ifdef __cplusplus
6484 extern "C" {
6485 #endif
6486
6487 _LT_EOF
6488           # Now generate the symbol file.
6489           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6490
6491           cat <<_LT_EOF >> conftest.$ac_ext
6492
6493 /* The mapping between symbol names and symbols.  */
6494 LT_DLSYM_CONST struct {
6495   const char *name;
6496   void       *address;
6497 }
6498 lt__PROGRAM__LTX_preloaded_symbols[] =
6499 {
6500   { "@PROGRAM@", (void *) 0 },
6501 _LT_EOF
6502           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6503           cat <<\_LT_EOF >> conftest.$ac_ext
6504   {0, (void *) 0}
6505 };
6506
6507 /* This works around a problem in FreeBSD linker */
6508 #ifdef FREEBSD_WORKAROUND
6509 static const void *lt_preloaded_setup() {
6510   return lt__PROGRAM__LTX_preloaded_symbols;
6511 }
6512 #endif
6513
6514 #ifdef __cplusplus
6515 }
6516 #endif
6517 _LT_EOF
6518           # Now try linking the two files.
6519           mv conftest.$ac_objext conftstm.$ac_objext
6520           lt_globsym_save_LIBS=$LIBS
6521           lt_globsym_save_CFLAGS=$CFLAGS
6522           LIBS="conftstm.$ac_objext"
6523           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6524           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6525   (eval $ac_link) 2>&5
6526   ac_status=$?
6527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6528   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6529             pipe_works=yes
6530           fi
6531           LIBS=$lt_globsym_save_LIBS
6532           CFLAGS=$lt_globsym_save_CFLAGS
6533         else
6534           echo "cannot find nm_test_func in $nlist" >&5
6535         fi
6536       else
6537         echo "cannot find nm_test_var in $nlist" >&5
6538       fi
6539     else
6540       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6541     fi
6542   else
6543     echo "$progname: failed program was:" >&5
6544     cat conftest.$ac_ext >&5
6545   fi
6546   rm -rf conftest* conftst*
6547
6548   # Do not use the global_symbol_pipe unless it works.
6549   if test "$pipe_works" = yes; then
6550     break
6551   else
6552     lt_cv_sys_global_symbol_pipe=
6553   fi
6554 done
6555
6556 fi
6557
6558 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6559   lt_cv_sys_global_symbol_to_cdecl=
6560 fi
6561 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6563 $as_echo "failed" >&6; }
6564 else
6565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6566 $as_echo "ok" >&6; }
6567 fi
6568
6569 # Response file support.
6570 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6571   nm_file_list_spec='@'
6572 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6573   nm_file_list_spec='@'
6574 fi
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6603 $as_echo_n "checking for sysroot... " >&6; }
6604
6605 # Check whether --with-sysroot was given.
6606 if test "${with_sysroot+set}" = set; then :
6607   withval=$with_sysroot;
6608 else
6609   with_sysroot=no
6610 fi
6611
6612
6613 lt_sysroot=
6614 case ${with_sysroot} in #(
6615  yes)
6616    if test "$GCC" = yes; then
6617      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6618    fi
6619    ;; #(
6620  /*)
6621    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6622    ;; #(
6623  no|'')
6624    ;; #(
6625  *)
6626    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6627 $as_echo "${with_sysroot}" >&6; }
6628    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6629    ;;
6630 esac
6631
6632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6633 $as_echo "${lt_sysroot:-no}" >&6; }
6634
6635
6636
6637
6638
6639 # Check whether --enable-libtool-lock was given.
6640 if test "${enable_libtool_lock+set}" = set; then :
6641   enableval=$enable_libtool_lock;
6642 fi
6643
6644 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6645
6646 # Some flags need to be propagated to the compiler or linker for good
6647 # libtool support.
6648 case $host in
6649 ia64-*-hpux*)
6650   # Find out which ABI we are using.
6651   echo 'int i;' > conftest.$ac_ext
6652   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6653   (eval $ac_compile) 2>&5
6654   ac_status=$?
6655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6656   test $ac_status = 0; }; then
6657     case `/usr/bin/file conftest.$ac_objext` in
6658       *ELF-32*)
6659         HPUX_IA64_MODE="32"
6660         ;;
6661       *ELF-64*)
6662         HPUX_IA64_MODE="64"
6663         ;;
6664     esac
6665   fi
6666   rm -rf conftest*
6667   ;;
6668 *-*-irix6*)
6669   # Find out which ABI we are using.
6670   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6671   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6672   (eval $ac_compile) 2>&5
6673   ac_status=$?
6674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6675   test $ac_status = 0; }; then
6676     if test "$lt_cv_prog_gnu_ld" = yes; then
6677       case `/usr/bin/file conftest.$ac_objext` in
6678         *32-bit*)
6679           LD="${LD-ld} -melf32bsmip"
6680           ;;
6681         *N32*)
6682           LD="${LD-ld} -melf32bmipn32"
6683           ;;
6684         *64-bit*)
6685           LD="${LD-ld} -melf64bmip"
6686         ;;
6687       esac
6688     else
6689       case `/usr/bin/file conftest.$ac_objext` in
6690         *32-bit*)
6691           LD="${LD-ld} -32"
6692           ;;
6693         *N32*)
6694           LD="${LD-ld} -n32"
6695           ;;
6696         *64-bit*)
6697           LD="${LD-ld} -64"
6698           ;;
6699       esac
6700     fi
6701   fi
6702   rm -rf conftest*
6703   ;;
6704
6705 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6706 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6707   # Find out which ABI we are using.
6708   echo 'int i;' > conftest.$ac_ext
6709   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6710   (eval $ac_compile) 2>&5
6711   ac_status=$?
6712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6713   test $ac_status = 0; }; then
6714     case `/usr/bin/file conftest.o` in
6715       *32-bit*)
6716         case $host in
6717           x86_64-*kfreebsd*-gnu)
6718             LD="${LD-ld} -m elf_i386_fbsd"
6719             ;;
6720           x86_64-*linux*)
6721             LD="${LD-ld} -m elf_i386"
6722             ;;
6723           ppc64-*linux*|powerpc64-*linux*)
6724             LD="${LD-ld} -m elf32ppclinux"
6725             ;;
6726           s390x-*linux*)
6727             LD="${LD-ld} -m elf_s390"
6728             ;;
6729           sparc64-*linux*)
6730             LD="${LD-ld} -m elf32_sparc"
6731             ;;
6732         esac
6733         ;;
6734       *64-bit*)
6735         case $host in
6736           x86_64-*kfreebsd*-gnu)
6737             LD="${LD-ld} -m elf_x86_64_fbsd"
6738             ;;
6739           x86_64-*linux*)
6740             LD="${LD-ld} -m elf_x86_64"
6741             ;;
6742           ppc*-*linux*|powerpc*-*linux*)
6743             LD="${LD-ld} -m elf64ppc"
6744             ;;
6745           s390*-*linux*|s390*-*tpf*)
6746             LD="${LD-ld} -m elf64_s390"
6747             ;;
6748           sparc*-*linux*)
6749             LD="${LD-ld} -m elf64_sparc"
6750             ;;
6751         esac
6752         ;;
6753     esac
6754   fi
6755   rm -rf conftest*
6756   ;;
6757
6758 *-*-sco3.2v5*)
6759   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6760   SAVE_CFLAGS="$CFLAGS"
6761   CFLAGS="$CFLAGS -belf"
6762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6763 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6764 if ${lt_cv_cc_needs_belf+:} false; then :
6765   $as_echo_n "(cached) " >&6
6766 else
6767   ac_ext=c
6768 ac_cpp='$CPP $CPPFLAGS'
6769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6772
6773      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6774 /* end confdefs.h.  */
6775
6776 int
6777 main ()
6778 {
6779
6780   ;
6781   return 0;
6782 }
6783 _ACEOF
6784 if ac_fn_c_try_link "$LINENO"; then :
6785   lt_cv_cc_needs_belf=yes
6786 else
6787   lt_cv_cc_needs_belf=no
6788 fi
6789 rm -f core conftest.err conftest.$ac_objext \
6790     conftest$ac_exeext conftest.$ac_ext
6791      ac_ext=c
6792 ac_cpp='$CPP $CPPFLAGS'
6793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6796
6797 fi
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6799 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6800   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6801     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6802     CFLAGS="$SAVE_CFLAGS"
6803   fi
6804   ;;
6805 *-*solaris*)
6806   # Find out which ABI we are using.
6807   echo 'int i;' > conftest.$ac_ext
6808   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6809   (eval $ac_compile) 2>&5
6810   ac_status=$?
6811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6812   test $ac_status = 0; }; then
6813     case `/usr/bin/file conftest.o` in
6814     *64-bit*)
6815       case $lt_cv_prog_gnu_ld in
6816       yes*)
6817         case $host in
6818         i?86-*-solaris*)
6819           LD="${LD-ld} -m elf_x86_64"
6820           ;;
6821         sparc*-*-solaris*)
6822           LD="${LD-ld} -m elf64_sparc"
6823           ;;
6824         esac
6825         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6826         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6827           LD="${LD-ld}_sol2"
6828         fi
6829         ;;
6830       *)
6831         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6832           LD="${LD-ld} -64"
6833         fi
6834         ;;
6835       esac
6836       ;;
6837     esac
6838   fi
6839   rm -rf conftest*
6840   ;;
6841 esac
6842
6843 need_locks="$enable_libtool_lock"
6844
6845 if test -n "$ac_tool_prefix"; then
6846   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6847 set dummy ${ac_tool_prefix}mt; ac_word=$2
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6849 $as_echo_n "checking for $ac_word... " >&6; }
6850 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6851   $as_echo_n "(cached) " >&6
6852 else
6853   if test -n "$MANIFEST_TOOL"; then
6854   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6855 else
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6857 for as_dir in $PATH
6858 do
6859   IFS=$as_save_IFS
6860   test -z "$as_dir" && as_dir=.
6861     for ac_exec_ext in '' $ac_executable_extensions; do
6862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6863     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865     break 2
6866   fi
6867 done
6868   done
6869 IFS=$as_save_IFS
6870
6871 fi
6872 fi
6873 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6874 if test -n "$MANIFEST_TOOL"; then
6875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6876 $as_echo "$MANIFEST_TOOL" >&6; }
6877 else
6878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6879 $as_echo "no" >&6; }
6880 fi
6881
6882
6883 fi
6884 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6885   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6886   # Extract the first word of "mt", so it can be a program name with args.
6887 set dummy mt; ac_word=$2
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889 $as_echo_n "checking for $ac_word... " >&6; }
6890 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6891   $as_echo_n "(cached) " >&6
6892 else
6893   if test -n "$ac_ct_MANIFEST_TOOL"; then
6894   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6895 else
6896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 for as_dir in $PATH
6898 do
6899   IFS=$as_save_IFS
6900   test -z "$as_dir" && as_dir=.
6901     for ac_exec_ext in '' $ac_executable_extensions; do
6902   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6903     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905     break 2
6906   fi
6907 done
6908   done
6909 IFS=$as_save_IFS
6910
6911 fi
6912 fi
6913 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6914 if test -n "$ac_ct_MANIFEST_TOOL"; then
6915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6916 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6917 else
6918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919 $as_echo "no" >&6; }
6920 fi
6921
6922   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6923     MANIFEST_TOOL=":"
6924   else
6925     case $cross_compiling:$ac_tool_warned in
6926 yes:)
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6929 ac_tool_warned=yes ;;
6930 esac
6931     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6932   fi
6933 else
6934   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6935 fi
6936
6937 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6939 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6940 if ${lt_cv_path_mainfest_tool+:} false; then :
6941   $as_echo_n "(cached) " >&6
6942 else
6943   lt_cv_path_mainfest_tool=no
6944   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6945   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6946   cat conftest.err >&5
6947   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6948     lt_cv_path_mainfest_tool=yes
6949   fi
6950   rm -f conftest*
6951 fi
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6953 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6954 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6955   MANIFEST_TOOL=:
6956 fi
6957
6958
6959
6960
6961
6962
6963   case $host_os in
6964     rhapsody* | darwin*)
6965     if test -n "$ac_tool_prefix"; then
6966   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6967 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6969 $as_echo_n "checking for $ac_word... " >&6; }
6970 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6971   $as_echo_n "(cached) " >&6
6972 else
6973   if test -n "$DSYMUTIL"; then
6974   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6975 else
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977 for as_dir in $PATH
6978 do
6979   IFS=$as_save_IFS
6980   test -z "$as_dir" && as_dir=.
6981     for ac_exec_ext in '' $ac_executable_extensions; do
6982   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6983     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985     break 2
6986   fi
6987 done
6988   done
6989 IFS=$as_save_IFS
6990
6991 fi
6992 fi
6993 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6994 if test -n "$DSYMUTIL"; then
6995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6996 $as_echo "$DSYMUTIL" >&6; }
6997 else
6998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6999 $as_echo "no" >&6; }
7000 fi
7001
7002
7003 fi
7004 if test -z "$ac_cv_prog_DSYMUTIL"; then
7005   ac_ct_DSYMUTIL=$DSYMUTIL
7006   # Extract the first word of "dsymutil", so it can be a program name with args.
7007 set dummy dsymutil; ac_word=$2
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7009 $as_echo_n "checking for $ac_word... " >&6; }
7010 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7011   $as_echo_n "(cached) " >&6
7012 else
7013   if test -n "$ac_ct_DSYMUTIL"; then
7014   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7015 else
7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7017 for as_dir in $PATH
7018 do
7019   IFS=$as_save_IFS
7020   test -z "$as_dir" && as_dir=.
7021     for ac_exec_ext in '' $ac_executable_extensions; do
7022   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7023     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7025     break 2
7026   fi
7027 done
7028   done
7029 IFS=$as_save_IFS
7030
7031 fi
7032 fi
7033 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7034 if test -n "$ac_ct_DSYMUTIL"; then
7035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7036 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7037 else
7038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7039 $as_echo "no" >&6; }
7040 fi
7041
7042   if test "x$ac_ct_DSYMUTIL" = x; then
7043     DSYMUTIL=":"
7044   else
7045     case $cross_compiling:$ac_tool_warned in
7046 yes:)
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7049 ac_tool_warned=yes ;;
7050 esac
7051     DSYMUTIL=$ac_ct_DSYMUTIL
7052   fi
7053 else
7054   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7055 fi
7056
7057     if test -n "$ac_tool_prefix"; then
7058   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7059 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061 $as_echo_n "checking for $ac_word... " >&6; }
7062 if ${ac_cv_prog_NMEDIT+:} false; then :
7063   $as_echo_n "(cached) " >&6
7064 else
7065   if test -n "$NMEDIT"; then
7066   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7067 else
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7069 for as_dir in $PATH
7070 do
7071   IFS=$as_save_IFS
7072   test -z "$as_dir" && as_dir=.
7073     for ac_exec_ext in '' $ac_executable_extensions; do
7074   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7075     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077     break 2
7078   fi
7079 done
7080   done
7081 IFS=$as_save_IFS
7082
7083 fi
7084 fi
7085 NMEDIT=$ac_cv_prog_NMEDIT
7086 if test -n "$NMEDIT"; then
7087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7088 $as_echo "$NMEDIT" >&6; }
7089 else
7090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7091 $as_echo "no" >&6; }
7092 fi
7093
7094
7095 fi
7096 if test -z "$ac_cv_prog_NMEDIT"; then
7097   ac_ct_NMEDIT=$NMEDIT
7098   # Extract the first word of "nmedit", so it can be a program name with args.
7099 set dummy nmedit; ac_word=$2
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7101 $as_echo_n "checking for $ac_word... " >&6; }
7102 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7103   $as_echo_n "(cached) " >&6
7104 else
7105   if test -n "$ac_ct_NMEDIT"; then
7106   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7107 else
7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7109 for as_dir in $PATH
7110 do
7111   IFS=$as_save_IFS
7112   test -z "$as_dir" && as_dir=.
7113     for ac_exec_ext in '' $ac_executable_extensions; do
7114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7115     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117     break 2
7118   fi
7119 done
7120   done
7121 IFS=$as_save_IFS
7122
7123 fi
7124 fi
7125 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7126 if test -n "$ac_ct_NMEDIT"; then
7127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7128 $as_echo "$ac_ct_NMEDIT" >&6; }
7129 else
7130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 $as_echo "no" >&6; }
7132 fi
7133
7134   if test "x$ac_ct_NMEDIT" = x; then
7135     NMEDIT=":"
7136   else
7137     case $cross_compiling:$ac_tool_warned in
7138 yes:)
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7141 ac_tool_warned=yes ;;
7142 esac
7143     NMEDIT=$ac_ct_NMEDIT
7144   fi
7145 else
7146   NMEDIT="$ac_cv_prog_NMEDIT"
7147 fi
7148
7149     if test -n "$ac_tool_prefix"; then
7150   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7151 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153 $as_echo_n "checking for $ac_word... " >&6; }
7154 if ${ac_cv_prog_LIPO+:} false; then :
7155   $as_echo_n "(cached) " >&6
7156 else
7157   if test -n "$LIPO"; then
7158   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7159 else
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161 for as_dir in $PATH
7162 do
7163   IFS=$as_save_IFS
7164   test -z "$as_dir" && as_dir=.
7165     for ac_exec_ext in '' $ac_executable_extensions; do
7166   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7167     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7169     break 2
7170   fi
7171 done
7172   done
7173 IFS=$as_save_IFS
7174
7175 fi
7176 fi
7177 LIPO=$ac_cv_prog_LIPO
7178 if test -n "$LIPO"; then
7179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7180 $as_echo "$LIPO" >&6; }
7181 else
7182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 $as_echo "no" >&6; }
7184 fi
7185
7186
7187 fi
7188 if test -z "$ac_cv_prog_LIPO"; then
7189   ac_ct_LIPO=$LIPO
7190   # Extract the first word of "lipo", so it can be a program name with args.
7191 set dummy lipo; ac_word=$2
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7193 $as_echo_n "checking for $ac_word... " >&6; }
7194 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7195   $as_echo_n "(cached) " >&6
7196 else
7197   if test -n "$ac_ct_LIPO"; then
7198   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7199 else
7200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 for as_dir in $PATH
7202 do
7203   IFS=$as_save_IFS
7204   test -z "$as_dir" && as_dir=.
7205     for ac_exec_ext in '' $ac_executable_extensions; do
7206   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207     ac_cv_prog_ac_ct_LIPO="lipo"
7208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209     break 2
7210   fi
7211 done
7212   done
7213 IFS=$as_save_IFS
7214
7215 fi
7216 fi
7217 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7218 if test -n "$ac_ct_LIPO"; then
7219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7220 $as_echo "$ac_ct_LIPO" >&6; }
7221 else
7222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 $as_echo "no" >&6; }
7224 fi
7225
7226   if test "x$ac_ct_LIPO" = x; then
7227     LIPO=":"
7228   else
7229     case $cross_compiling:$ac_tool_warned in
7230 yes:)
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7233 ac_tool_warned=yes ;;
7234 esac
7235     LIPO=$ac_ct_LIPO
7236   fi
7237 else
7238   LIPO="$ac_cv_prog_LIPO"
7239 fi
7240
7241     if test -n "$ac_tool_prefix"; then
7242   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7243 set dummy ${ac_tool_prefix}otool; ac_word=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7245 $as_echo_n "checking for $ac_word... " >&6; }
7246 if ${ac_cv_prog_OTOOL+:} false; then :
7247   $as_echo_n "(cached) " >&6
7248 else
7249   if test -n "$OTOOL"; then
7250   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7251 else
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7253 for as_dir in $PATH
7254 do
7255   IFS=$as_save_IFS
7256   test -z "$as_dir" && as_dir=.
7257     for ac_exec_ext in '' $ac_executable_extensions; do
7258   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7259     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7261     break 2
7262   fi
7263 done
7264   done
7265 IFS=$as_save_IFS
7266
7267 fi
7268 fi
7269 OTOOL=$ac_cv_prog_OTOOL
7270 if test -n "$OTOOL"; then
7271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7272 $as_echo "$OTOOL" >&6; }
7273 else
7274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7275 $as_echo "no" >&6; }
7276 fi
7277
7278
7279 fi
7280 if test -z "$ac_cv_prog_OTOOL"; then
7281   ac_ct_OTOOL=$OTOOL
7282   # Extract the first word of "otool", so it can be a program name with args.
7283 set dummy otool; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7287   $as_echo_n "(cached) " >&6
7288 else
7289   if test -n "$ac_ct_OTOOL"; then
7290   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7291 else
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 for as_dir in $PATH
7294 do
7295   IFS=$as_save_IFS
7296   test -z "$as_dir" && as_dir=.
7297     for ac_exec_ext in '' $ac_executable_extensions; do
7298   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299     ac_cv_prog_ac_ct_OTOOL="otool"
7300     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301     break 2
7302   fi
7303 done
7304   done
7305 IFS=$as_save_IFS
7306
7307 fi
7308 fi
7309 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7310 if test -n "$ac_ct_OTOOL"; then
7311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7312 $as_echo "$ac_ct_OTOOL" >&6; }
7313 else
7314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7316 fi
7317
7318   if test "x$ac_ct_OTOOL" = x; then
7319     OTOOL=":"
7320   else
7321     case $cross_compiling:$ac_tool_warned in
7322 yes:)
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7325 ac_tool_warned=yes ;;
7326 esac
7327     OTOOL=$ac_ct_OTOOL
7328   fi
7329 else
7330   OTOOL="$ac_cv_prog_OTOOL"
7331 fi
7332
7333     if test -n "$ac_tool_prefix"; then
7334   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7335 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7337 $as_echo_n "checking for $ac_word... " >&6; }
7338 if ${ac_cv_prog_OTOOL64+:} false; then :
7339   $as_echo_n "(cached) " >&6
7340 else
7341   if test -n "$OTOOL64"; then
7342   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7343 else
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7345 for as_dir in $PATH
7346 do
7347   IFS=$as_save_IFS
7348   test -z "$as_dir" && as_dir=.
7349     for ac_exec_ext in '' $ac_executable_extensions; do
7350   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7351     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7353     break 2
7354   fi
7355 done
7356   done
7357 IFS=$as_save_IFS
7358
7359 fi
7360 fi
7361 OTOOL64=$ac_cv_prog_OTOOL64
7362 if test -n "$OTOOL64"; then
7363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7364 $as_echo "$OTOOL64" >&6; }
7365 else
7366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367 $as_echo "no" >&6; }
7368 fi
7369
7370
7371 fi
7372 if test -z "$ac_cv_prog_OTOOL64"; then
7373   ac_ct_OTOOL64=$OTOOL64
7374   # Extract the first word of "otool64", so it can be a program name with args.
7375 set dummy otool64; ac_word=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 $as_echo_n "checking for $ac_word... " >&6; }
7378 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7379   $as_echo_n "(cached) " >&6
7380 else
7381   if test -n "$ac_ct_OTOOL64"; then
7382   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7383 else
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 for as_dir in $PATH
7386 do
7387   IFS=$as_save_IFS
7388   test -z "$as_dir" && as_dir=.
7389     for ac_exec_ext in '' $ac_executable_extensions; do
7390   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7391     ac_cv_prog_ac_ct_OTOOL64="otool64"
7392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7393     break 2
7394   fi
7395 done
7396   done
7397 IFS=$as_save_IFS
7398
7399 fi
7400 fi
7401 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7402 if test -n "$ac_ct_OTOOL64"; then
7403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7404 $as_echo "$ac_ct_OTOOL64" >&6; }
7405 else
7406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 $as_echo "no" >&6; }
7408 fi
7409
7410   if test "x$ac_ct_OTOOL64" = x; then
7411     OTOOL64=":"
7412   else
7413     case $cross_compiling:$ac_tool_warned in
7414 yes:)
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7417 ac_tool_warned=yes ;;
7418 esac
7419     OTOOL64=$ac_ct_OTOOL64
7420   fi
7421 else
7422   OTOOL64="$ac_cv_prog_OTOOL64"
7423 fi
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7452 $as_echo_n "checking for -single_module linker flag... " >&6; }
7453 if ${lt_cv_apple_cc_single_mod+:} false; then :
7454   $as_echo_n "(cached) " >&6
7455 else
7456   lt_cv_apple_cc_single_mod=no
7457       if test -z "${LT_MULTI_MODULE}"; then
7458         # By default we will add the -single_module flag. You can override
7459         # by either setting the environment variable LT_MULTI_MODULE
7460         # non-empty at configure time, or by adding -multi_module to the
7461         # link flags.
7462         rm -rf libconftest.dylib*
7463         echo "int foo(void){return 1;}" > conftest.c
7464         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7465 -dynamiclib -Wl,-single_module conftest.c" >&5
7466         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7467           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7468         _lt_result=$?
7469         # If there is a non-empty error log, and "single_module"
7470         # appears in it, assume the flag caused a linker warning
7471         if test -s conftest.err && $GREP single_module conftest.err; then
7472           cat conftest.err >&5
7473         # Otherwise, if the output was created with a 0 exit code from
7474         # the compiler, it worked.
7475         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7476           lt_cv_apple_cc_single_mod=yes
7477         else
7478           cat conftest.err >&5
7479         fi
7480         rm -rf libconftest.dylib*
7481         rm -f conftest.*
7482       fi
7483 fi
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7485 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7486
7487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7488 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7489 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7490   $as_echo_n "(cached) " >&6
7491 else
7492   lt_cv_ld_exported_symbols_list=no
7493       save_LDFLAGS=$LDFLAGS
7494       echo "_main" > conftest.sym
7495       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7497 /* end confdefs.h.  */
7498
7499 int
7500 main ()
7501 {
7502
7503   ;
7504   return 0;
7505 }
7506 _ACEOF
7507 if ac_fn_c_try_link "$LINENO"; then :
7508   lt_cv_ld_exported_symbols_list=yes
7509 else
7510   lt_cv_ld_exported_symbols_list=no
7511 fi
7512 rm -f core conftest.err conftest.$ac_objext \
7513     conftest$ac_exeext conftest.$ac_ext
7514         LDFLAGS="$save_LDFLAGS"
7515
7516 fi
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7518 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7519
7520     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7521 $as_echo_n "checking for -force_load linker flag... " >&6; }
7522 if ${lt_cv_ld_force_load+:} false; then :
7523   $as_echo_n "(cached) " >&6
7524 else
7525   lt_cv_ld_force_load=no
7526       cat > conftest.c << _LT_EOF
7527 int forced_loaded() { return 2;}
7528 _LT_EOF
7529       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7530       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7531       echo "$AR cru libconftest.a conftest.o" >&5
7532       $AR cru libconftest.a conftest.o 2>&5
7533       echo "$RANLIB libconftest.a" >&5
7534       $RANLIB libconftest.a 2>&5
7535       cat > conftest.c << _LT_EOF
7536 int main() { return 0;}
7537 _LT_EOF
7538       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7539       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7540       _lt_result=$?
7541       if test -s conftest.err && $GREP force_load conftest.err; then
7542         cat conftest.err >&5
7543       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7544         lt_cv_ld_force_load=yes
7545       else
7546         cat conftest.err >&5
7547       fi
7548         rm -f conftest.err libconftest.a conftest conftest.c
7549         rm -rf conftest.dSYM
7550
7551 fi
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7553 $as_echo "$lt_cv_ld_force_load" >&6; }
7554     case $host_os in
7555     rhapsody* | darwin1.[012])
7556       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7557     darwin1.*)
7558       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7559     darwin*) # darwin 5.x on
7560       # if running on 10.5 or later, the deployment target defaults
7561       # to the OS version, if on x86, and 10.4, the deployment
7562       # target defaults to 10.4. Don't you love it?
7563       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7564         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7565           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7566         10.[012]*)
7567           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7568         10.*)
7569           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7570       esac
7571     ;;
7572   esac
7573     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7574       _lt_dar_single_mod='$single_module'
7575     fi
7576     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7577       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7578     else
7579       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7580     fi
7581     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7582       _lt_dsymutil='~$DSYMUTIL $lib || :'
7583     else
7584       _lt_dsymutil=
7585     fi
7586     ;;
7587   esac
7588
7589 ac_ext=c
7590 ac_cpp='$CPP $CPPFLAGS'
7591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7595 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7596 # On Suns, sometimes $CPP names a directory.
7597 if test -n "$CPP" && test -d "$CPP"; then
7598   CPP=
7599 fi
7600 if test -z "$CPP"; then
7601   if ${ac_cv_prog_CPP+:} false; then :
7602   $as_echo_n "(cached) " >&6
7603 else
7604       # Double quotes because CPP needs to be expanded
7605     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7606     do
7607       ac_preproc_ok=false
7608 for ac_c_preproc_warn_flag in '' yes
7609 do
7610   # Use a header file that comes with gcc, so configuring glibc
7611   # with a fresh cross-compiler works.
7612   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7613   # <limits.h> exists even on freestanding compilers.
7614   # On the NeXT, cc -E runs the code through the compiler's parser,
7615   # not just through cpp. "Syntax error" is here to catch this case.
7616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h.  */
7618 #ifdef __STDC__
7619 # include <limits.h>
7620 #else
7621 # include <assert.h>
7622 #endif
7623                      Syntax error
7624 _ACEOF
7625 if ac_fn_c_try_cpp "$LINENO"; then :
7626
7627 else
7628   # Broken: fails on valid input.
7629 continue
7630 fi
7631 rm -f conftest.err conftest.i conftest.$ac_ext
7632
7633   # OK, works on sane cases.  Now check whether nonexistent headers
7634   # can be detected and how.
7635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7636 /* end confdefs.h.  */
7637 #include <ac_nonexistent.h>
7638 _ACEOF
7639 if ac_fn_c_try_cpp "$LINENO"; then :
7640   # Broken: success on invalid input.
7641 continue
7642 else
7643   # Passes both tests.
7644 ac_preproc_ok=:
7645 break
7646 fi
7647 rm -f conftest.err conftest.i conftest.$ac_ext
7648
7649 done
7650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7651 rm -f conftest.i conftest.err conftest.$ac_ext
7652 if $ac_preproc_ok; then :
7653   break
7654 fi
7655
7656     done
7657     ac_cv_prog_CPP=$CPP
7658
7659 fi
7660   CPP=$ac_cv_prog_CPP
7661 else
7662   ac_cv_prog_CPP=$CPP
7663 fi
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7665 $as_echo "$CPP" >&6; }
7666 ac_preproc_ok=false
7667 for ac_c_preproc_warn_flag in '' yes
7668 do
7669   # Use a header file that comes with gcc, so configuring glibc
7670   # with a fresh cross-compiler works.
7671   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7672   # <limits.h> exists even on freestanding compilers.
7673   # On the NeXT, cc -E runs the code through the compiler's parser,
7674   # not just through cpp. "Syntax error" is here to catch this case.
7675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h.  */
7677 #ifdef __STDC__
7678 # include <limits.h>
7679 #else
7680 # include <assert.h>
7681 #endif
7682                      Syntax error
7683 _ACEOF
7684 if ac_fn_c_try_cpp "$LINENO"; then :
7685
7686 else
7687   # Broken: fails on valid input.
7688 continue
7689 fi
7690 rm -f conftest.err conftest.i conftest.$ac_ext
7691
7692   # OK, works on sane cases.  Now check whether nonexistent headers
7693   # can be detected and how.
7694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7695 /* end confdefs.h.  */
7696 #include <ac_nonexistent.h>
7697 _ACEOF
7698 if ac_fn_c_try_cpp "$LINENO"; then :
7699   # Broken: success on invalid input.
7700 continue
7701 else
7702   # Passes both tests.
7703 ac_preproc_ok=:
7704 break
7705 fi
7706 rm -f conftest.err conftest.i conftest.$ac_ext
7707
7708 done
7709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7710 rm -f conftest.i conftest.err conftest.$ac_ext
7711 if $ac_preproc_ok; then :
7712
7713 else
7714   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7716 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7717 See \`config.log' for more details" "$LINENO" 5; }
7718 fi
7719
7720 ac_ext=c
7721 ac_cpp='$CPP $CPPFLAGS'
7722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7725
7726
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7728 $as_echo_n "checking for ANSI C header files... " >&6; }
7729 if ${ac_cv_header_stdc+:} false; then :
7730   $as_echo_n "(cached) " >&6
7731 else
7732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7733 /* end confdefs.h.  */
7734 #include <stdlib.h>
7735 #include <stdarg.h>
7736 #include <string.h>
7737 #include <float.h>
7738
7739 int
7740 main ()
7741 {
7742
7743   ;
7744   return 0;
7745 }
7746 _ACEOF
7747 if ac_fn_c_try_compile "$LINENO"; then :
7748   ac_cv_header_stdc=yes
7749 else
7750   ac_cv_header_stdc=no
7751 fi
7752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7753
7754 if test $ac_cv_header_stdc = yes; then
7755   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h.  */
7758 #include <string.h>
7759
7760 _ACEOF
7761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7762   $EGREP "memchr" >/dev/null 2>&1; then :
7763
7764 else
7765   ac_cv_header_stdc=no
7766 fi
7767 rm -f conftest*
7768
7769 fi
7770
7771 if test $ac_cv_header_stdc = yes; then
7772   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h.  */
7775 #include <stdlib.h>
7776
7777 _ACEOF
7778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7779   $EGREP "free" >/dev/null 2>&1; then :
7780
7781 else
7782   ac_cv_header_stdc=no
7783 fi
7784 rm -f conftest*
7785
7786 fi
7787
7788 if test $ac_cv_header_stdc = yes; then
7789   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7790   if test "$cross_compiling" = yes; then :
7791   :
7792 else
7793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h.  */
7795 #include <ctype.h>
7796 #include <stdlib.h>
7797 #if ((' ' & 0x0FF) == 0x020)
7798 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7799 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7800 #else
7801 # define ISLOWER(c) \
7802                    (('a' <= (c) && (c) <= 'i') \
7803                      || ('j' <= (c) && (c) <= 'r') \
7804                      || ('s' <= (c) && (c) <= 'z'))
7805 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7806 #endif
7807
7808 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7809 int
7810 main ()
7811 {
7812   int i;
7813   for (i = 0; i < 256; i++)
7814     if (XOR (islower (i), ISLOWER (i))
7815         || toupper (i) != TOUPPER (i))
7816       return 2;
7817   return 0;
7818 }
7819 _ACEOF
7820 if ac_fn_c_try_run "$LINENO"; then :
7821
7822 else
7823   ac_cv_header_stdc=no
7824 fi
7825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7826   conftest.$ac_objext conftest.beam conftest.$ac_ext
7827 fi
7828
7829 fi
7830 fi
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7832 $as_echo "$ac_cv_header_stdc" >&6; }
7833 if test $ac_cv_header_stdc = yes; then
7834
7835 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7836
7837 fi
7838
7839 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7840 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7841                   inttypes.h stdint.h unistd.h
7842 do :
7843   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7844 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7845 "
7846 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7847   cat >>confdefs.h <<_ACEOF
7848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7849 _ACEOF
7850
7851 fi
7852
7853 done
7854
7855
7856 for ac_header in dlfcn.h
7857 do :
7858   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7859 "
7860 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7861   cat >>confdefs.h <<_ACEOF
7862 #define HAVE_DLFCN_H 1
7863 _ACEOF
7864
7865 fi
7866
7867 done
7868
7869
7870
7871
7872
7873 # Set options
7874
7875
7876
7877         enable_dlopen=no
7878
7879
7880
7881             # Check whether --enable-shared was given.
7882 if test "${enable_shared+set}" = set; then :
7883   enableval=$enable_shared; p=${PACKAGE-default}
7884     case $enableval in
7885     yes) enable_shared=yes ;;
7886     no) enable_shared=no ;;
7887     *)
7888       enable_shared=no
7889       # Look at the argument we got.  We use all the common list separators.
7890       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7891       for pkg in $enableval; do
7892         IFS="$lt_save_ifs"
7893         if test "X$pkg" = "X$p"; then
7894           enable_shared=yes
7895         fi
7896       done
7897       IFS="$lt_save_ifs"
7898       ;;
7899     esac
7900 else
7901   enable_shared=yes
7902 fi
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912   # Check whether --enable-static was given.
7913 if test "${enable_static+set}" = set; then :
7914   enableval=$enable_static; p=${PACKAGE-default}
7915     case $enableval in
7916     yes) enable_static=yes ;;
7917     no) enable_static=no ;;
7918     *)
7919      enable_static=no
7920       # Look at the argument we got.  We use all the common list separators.
7921       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7922       for pkg in $enableval; do
7923         IFS="$lt_save_ifs"
7924         if test "X$pkg" = "X$p"; then
7925           enable_static=yes
7926         fi
7927       done
7928       IFS="$lt_save_ifs"
7929       ;;
7930     esac
7931 else
7932   enable_static=yes
7933 fi
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944 # Check whether --with-pic was given.
7945 if test "${with_pic+set}" = set; then :
7946   withval=$with_pic; lt_p=${PACKAGE-default}
7947     case $withval in
7948     yes|no) pic_mode=$withval ;;
7949     *)
7950       pic_mode=default
7951       # Look at the argument we got.  We use all the common list separators.
7952       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7953       for lt_pkg in $withval; do
7954         IFS="$lt_save_ifs"
7955         if test "X$lt_pkg" = "X$lt_p"; then
7956           pic_mode=yes
7957         fi
7958       done
7959       IFS="$lt_save_ifs"
7960       ;;
7961     esac
7962 else
7963   pic_mode=default
7964 fi
7965
7966
7967 test -z "$pic_mode" && pic_mode=default
7968
7969
7970
7971
7972
7973
7974
7975   # Check whether --enable-fast-install was given.
7976 if test "${enable_fast_install+set}" = set; then :
7977   enableval=$enable_fast_install; p=${PACKAGE-default}
7978     case $enableval in
7979     yes) enable_fast_install=yes ;;
7980     no) enable_fast_install=no ;;
7981     *)
7982       enable_fast_install=no
7983       # Look at the argument we got.  We use all the common list separators.
7984       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7985       for pkg in $enableval; do
7986         IFS="$lt_save_ifs"
7987         if test "X$pkg" = "X$p"; then
7988           enable_fast_install=yes
7989         fi
7990       done
7991       IFS="$lt_save_ifs"
7992       ;;
7993     esac
7994 else
7995   enable_fast_install=yes
7996 fi
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008 # This can be used to rebuild libtool when needed
8009 LIBTOOL_DEPS="$ltmain"
8010
8011 # Always use our own libtool.
8012 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043 test -z "$LN_S" && LN_S="ln -s"
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058 if test -n "${ZSH_VERSION+set}" ; then
8059    setopt NO_GLOB_SUBST
8060 fi
8061
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8063 $as_echo_n "checking for objdir... " >&6; }
8064 if ${lt_cv_objdir+:} false; then :
8065   $as_echo_n "(cached) " >&6
8066 else
8067   rm -f .libs 2>/dev/null
8068 mkdir .libs 2>/dev/null
8069 if test -d .libs; then
8070   lt_cv_objdir=.libs
8071 else
8072   # MS-DOS does not allow filenames that begin with a dot.
8073   lt_cv_objdir=_libs
8074 fi
8075 rmdir .libs 2>/dev/null
8076 fi
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8078 $as_echo "$lt_cv_objdir" >&6; }
8079 objdir=$lt_cv_objdir
8080
8081
8082
8083
8084
8085 cat >>confdefs.h <<_ACEOF
8086 #define LT_OBJDIR "$lt_cv_objdir/"
8087 _ACEOF
8088
8089
8090
8091
8092 case $host_os in
8093 aix3*)
8094   # AIX sometimes has problems with the GCC collect2 program.  For some
8095   # reason, if we set the COLLECT_NAMES environment variable, the problems
8096   # vanish in a puff of smoke.
8097   if test "X${COLLECT_NAMES+set}" != Xset; then
8098     COLLECT_NAMES=
8099     export COLLECT_NAMES
8100   fi
8101   ;;
8102 esac
8103
8104 # Global variables:
8105 ofile=libtool
8106 can_build_shared=yes
8107
8108 # All known linkers require a `.a' archive for static linking (except MSVC,
8109 # which needs '.lib').
8110 libext=a
8111
8112 with_gnu_ld="$lt_cv_prog_gnu_ld"
8113
8114 old_CC="$CC"
8115 old_CFLAGS="$CFLAGS"
8116
8117 # Set sane defaults for various variables
8118 test -z "$CC" && CC=cc
8119 test -z "$LTCC" && LTCC=$CC
8120 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8121 test -z "$LD" && LD=ld
8122 test -z "$ac_objext" && ac_objext=o
8123
8124 for cc_temp in $compiler""; do
8125   case $cc_temp in
8126     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8127     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8128     \-*) ;;
8129     *) break;;
8130   esac
8131 done
8132 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8133
8134
8135 # Only perform the check for file, if the check method requires it
8136 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8137 case $deplibs_check_method in
8138 file_magic*)
8139   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8140     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8141 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8142 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8143   $as_echo_n "(cached) " >&6
8144 else
8145   case $MAGIC_CMD in
8146 [\\/*] |  ?:[\\/]*)
8147   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8148   ;;
8149 *)
8150   lt_save_MAGIC_CMD="$MAGIC_CMD"
8151   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8152   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8153   for ac_dir in $ac_dummy; do
8154     IFS="$lt_save_ifs"
8155     test -z "$ac_dir" && ac_dir=.
8156     if test -f $ac_dir/${ac_tool_prefix}file; then
8157       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8158       if test -n "$file_magic_test_file"; then
8159         case $deplibs_check_method in
8160         "file_magic "*)
8161           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8162           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8163           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8164             $EGREP "$file_magic_regex" > /dev/null; then
8165             :
8166           else
8167             cat <<_LT_EOF 1>&2
8168
8169 *** Warning: the command libtool uses to detect shared libraries,
8170 *** $file_magic_cmd, produces output that libtool cannot recognize.
8171 *** The result is that libtool may fail to recognize shared libraries
8172 *** as such.  This will affect the creation of libtool libraries that
8173 *** depend on shared libraries, but programs linked with such libtool
8174 *** libraries will work regardless of this problem.  Nevertheless, you
8175 *** may want to report the problem to your system manager and/or to
8176 *** bug-libtool@gnu.org
8177
8178 _LT_EOF
8179           fi ;;
8180         esac
8181       fi
8182       break
8183     fi
8184   done
8185   IFS="$lt_save_ifs"
8186   MAGIC_CMD="$lt_save_MAGIC_CMD"
8187   ;;
8188 esac
8189 fi
8190
8191 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8192 if test -n "$MAGIC_CMD"; then
8193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8194 $as_echo "$MAGIC_CMD" >&6; }
8195 else
8196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8197 $as_echo "no" >&6; }
8198 fi
8199
8200
8201
8202
8203
8204 if test -z "$lt_cv_path_MAGIC_CMD"; then
8205   if test -n "$ac_tool_prefix"; then
8206     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8207 $as_echo_n "checking for file... " >&6; }
8208 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8209   $as_echo_n "(cached) " >&6
8210 else
8211   case $MAGIC_CMD in
8212 [\\/*] |  ?:[\\/]*)
8213   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8214   ;;
8215 *)
8216   lt_save_MAGIC_CMD="$MAGIC_CMD"
8217   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8218   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8219   for ac_dir in $ac_dummy; do
8220     IFS="$lt_save_ifs"
8221     test -z "$ac_dir" && ac_dir=.
8222     if test -f $ac_dir/file; then
8223       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8224       if test -n "$file_magic_test_file"; then
8225         case $deplibs_check_method in
8226         "file_magic "*)
8227           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8228           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8229           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8230             $EGREP "$file_magic_regex" > /dev/null; then
8231             :
8232           else
8233             cat <<_LT_EOF 1>&2
8234
8235 *** Warning: the command libtool uses to detect shared libraries,
8236 *** $file_magic_cmd, produces output that libtool cannot recognize.
8237 *** The result is that libtool may fail to recognize shared libraries
8238 *** as such.  This will affect the creation of libtool libraries that
8239 *** depend on shared libraries, but programs linked with such libtool
8240 *** libraries will work regardless of this problem.  Nevertheless, you
8241 *** may want to report the problem to your system manager and/or to
8242 *** bug-libtool@gnu.org
8243
8244 _LT_EOF
8245           fi ;;
8246         esac
8247       fi
8248       break
8249     fi
8250   done
8251   IFS="$lt_save_ifs"
8252   MAGIC_CMD="$lt_save_MAGIC_CMD"
8253   ;;
8254 esac
8255 fi
8256
8257 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8258 if test -n "$MAGIC_CMD"; then
8259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8260 $as_echo "$MAGIC_CMD" >&6; }
8261 else
8262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8264 fi
8265
8266
8267   else
8268     MAGIC_CMD=:
8269   fi
8270 fi
8271
8272   fi
8273   ;;
8274 esac
8275
8276 # Use C for the default configuration in the libtool script
8277
8278 lt_save_CC="$CC"
8279 ac_ext=c
8280 ac_cpp='$CPP $CPPFLAGS'
8281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8284
8285
8286 # Source file extension for C test sources.
8287 ac_ext=c
8288
8289 # Object file extension for compiled C test sources.
8290 objext=o
8291 objext=$objext
8292
8293 # Code to be used in simple compile tests
8294 lt_simple_compile_test_code="int some_variable = 0;"
8295
8296 # Code to be used in simple link tests
8297 lt_simple_link_test_code='int main(){return(0);}'
8298
8299
8300
8301
8302
8303
8304
8305 # If no C compiler was specified, use CC.
8306 LTCC=${LTCC-"$CC"}
8307
8308 # If no C compiler flags were specified, use CFLAGS.
8309 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8310
8311 # Allow CC to be a program name with arguments.
8312 compiler=$CC
8313
8314 # Save the default compiler, since it gets overwritten when the other
8315 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8316 compiler_DEFAULT=$CC
8317
8318 # save warnings/boilerplate of simple test code
8319 ac_outfile=conftest.$ac_objext
8320 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8321 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8322 _lt_compiler_boilerplate=`cat conftest.err`
8323 $RM conftest*
8324
8325 ac_outfile=conftest.$ac_objext
8326 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8327 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8328 _lt_linker_boilerplate=`cat conftest.err`
8329 $RM -r conftest*
8330
8331
8332 if test -n "$compiler"; then
8333
8334 lt_prog_compiler_no_builtin_flag=
8335
8336 if test "$GCC" = yes; then
8337   case $cc_basename in
8338   nvcc*)
8339     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8340   *)
8341     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8342   esac
8343
8344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8345 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8346 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8347   $as_echo_n "(cached) " >&6
8348 else
8349   lt_cv_prog_compiler_rtti_exceptions=no
8350    ac_outfile=conftest.$ac_objext
8351    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8352    lt_compiler_flag="-fno-rtti -fno-exceptions"
8353    # Insert the option either (1) after the last *FLAGS variable, or
8354    # (2) before a word containing "conftest.", or (3) at the end.
8355    # Note that $ac_compile itself does not contain backslashes and begins
8356    # with a dollar sign (not a hyphen), so the echo should work correctly.
8357    # The option is referenced via a variable to avoid confusing sed.
8358    lt_compile=`echo "$ac_compile" | $SED \
8359    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8360    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8361    -e 's:$: $lt_compiler_flag:'`
8362    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8363    (eval "$lt_compile" 2>conftest.err)
8364    ac_status=$?
8365    cat conftest.err >&5
8366    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367    if (exit $ac_status) && test -s "$ac_outfile"; then
8368      # The compiler can only warn and ignore the option if not recognized
8369      # So say no if there are warnings other than the usual output.
8370      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8371      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8372      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8373        lt_cv_prog_compiler_rtti_exceptions=yes
8374      fi
8375    fi
8376    $RM conftest*
8377
8378 fi
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8380 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8381
8382 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8383     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8384 else
8385     :
8386 fi
8387
8388 fi
8389
8390
8391
8392
8393
8394
8395   lt_prog_compiler_wl=
8396 lt_prog_compiler_pic=
8397 lt_prog_compiler_static=
8398
8399
8400   if test "$GCC" = yes; then
8401     lt_prog_compiler_wl='-Wl,'
8402     lt_prog_compiler_static='-static'
8403
8404     case $host_os in
8405       aix*)
8406       # All AIX code is PIC.
8407       if test "$host_cpu" = ia64; then
8408         # AIX 5 now supports IA64 processor
8409         lt_prog_compiler_static='-Bstatic'
8410       fi
8411       ;;
8412
8413     amigaos*)
8414       case $host_cpu in
8415       powerpc)
8416             # see comment about AmigaOS4 .so support
8417             lt_prog_compiler_pic='-fPIC'
8418         ;;
8419       m68k)
8420             # FIXME: we need at least 68020 code to build shared libraries, but
8421             # adding the `-m68020' flag to GCC prevents building anything better,
8422             # like `-m68040'.
8423             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8424         ;;
8425       esac
8426       ;;
8427
8428     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8429       # PIC is the default for these OSes.
8430       ;;
8431
8432     mingw* | cygwin* | pw32* | os2* | cegcc*)
8433       # This hack is so that the source file can tell whether it is being
8434       # built for inclusion in a dll (and should export symbols for example).
8435       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8436       # (--disable-auto-import) libraries
8437       lt_prog_compiler_pic='-DDLL_EXPORT'
8438       ;;
8439
8440     darwin* | rhapsody*)
8441       # PIC is the default on this platform
8442       # Common symbols not allowed in MH_DYLIB files
8443       lt_prog_compiler_pic='-fno-common'
8444       ;;
8445
8446     haiku*)
8447       # PIC is the default for Haiku.
8448       # The "-static" flag exists, but is broken.
8449       lt_prog_compiler_static=
8450       ;;
8451
8452     hpux*)
8453       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8454       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8455       # sets the default TLS model and affects inlining.
8456       case $host_cpu in
8457       hppa*64*)
8458         # +Z the default
8459         ;;
8460       *)
8461         lt_prog_compiler_pic='-fPIC'
8462         ;;
8463       esac
8464       ;;
8465
8466     interix[3-9]*)
8467       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8468       # Instead, we relocate shared libraries at runtime.
8469       ;;
8470
8471     msdosdjgpp*)
8472       # Just because we use GCC doesn't mean we suddenly get shared libraries
8473       # on systems that don't support them.
8474       lt_prog_compiler_can_build_shared=no
8475       enable_shared=no
8476       ;;
8477
8478     *nto* | *qnx*)
8479       # QNX uses GNU C++, but need to define -shared option too, otherwise
8480       # it will coredump.
8481       lt_prog_compiler_pic='-fPIC -shared'
8482       ;;
8483
8484     sysv4*MP*)
8485       if test -d /usr/nec; then
8486         lt_prog_compiler_pic=-Kconform_pic
8487       fi
8488       ;;
8489
8490     *)
8491       lt_prog_compiler_pic='-fPIC'
8492       ;;
8493     esac
8494
8495     case $cc_basename in
8496     nvcc*) # Cuda Compiler Driver 2.2
8497       lt_prog_compiler_wl='-Xlinker '
8498       if test -n "$lt_prog_compiler_pic"; then
8499         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8500       fi
8501       ;;
8502     esac
8503   else
8504     # PORTME Check for flag to pass linker flags through the system compiler.
8505     case $host_os in
8506     aix*)
8507       lt_prog_compiler_wl='-Wl,'
8508       if test "$host_cpu" = ia64; then
8509         # AIX 5 now supports IA64 processor
8510         lt_prog_compiler_static='-Bstatic'
8511       else
8512         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8513       fi
8514       ;;
8515
8516     mingw* | cygwin* | pw32* | os2* | cegcc*)
8517       # This hack is so that the source file can tell whether it is being
8518       # built for inclusion in a dll (and should export symbols for example).
8519       lt_prog_compiler_pic='-DDLL_EXPORT'
8520       ;;
8521
8522     hpux9* | hpux10* | hpux11*)
8523       lt_prog_compiler_wl='-Wl,'
8524       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8525       # not for PA HP-UX.
8526       case $host_cpu in
8527       hppa*64*|ia64*)
8528         # +Z the default
8529         ;;
8530       *)
8531         lt_prog_compiler_pic='+Z'
8532         ;;
8533       esac
8534       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8535       lt_prog_compiler_static='${wl}-a ${wl}archive'
8536       ;;
8537
8538     irix5* | irix6* | nonstopux*)
8539       lt_prog_compiler_wl='-Wl,'
8540       # PIC (with -KPIC) is the default.
8541       lt_prog_compiler_static='-non_shared'
8542       ;;
8543
8544     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8545       case $cc_basename in
8546       # old Intel for x86_64 which still supported -KPIC.
8547       ecc*)
8548         lt_prog_compiler_wl='-Wl,'
8549         lt_prog_compiler_pic='-KPIC'
8550         lt_prog_compiler_static='-static'
8551         ;;
8552       # icc used to be incompatible with GCC.
8553       # ICC 10 doesn't accept -KPIC any more.
8554       icc* | ifort*)
8555         lt_prog_compiler_wl='-Wl,'
8556         lt_prog_compiler_pic='-fPIC'
8557         lt_prog_compiler_static='-static'
8558         ;;
8559       # Lahey Fortran 8.1.
8560       lf95*)
8561         lt_prog_compiler_wl='-Wl,'
8562         lt_prog_compiler_pic='--shared'
8563         lt_prog_compiler_static='--static'
8564         ;;
8565       nagfor*)
8566         # NAG Fortran compiler
8567         lt_prog_compiler_wl='-Wl,-Wl,,'
8568         lt_prog_compiler_pic='-PIC'
8569         lt_prog_compiler_static='-Bstatic'
8570         ;;
8571       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8572         # Portland Group compilers (*not* the Pentium gcc compiler,
8573         # which looks to be a dead project)
8574         lt_prog_compiler_wl='-Wl,'
8575         lt_prog_compiler_pic='-fpic'
8576         lt_prog_compiler_static='-Bstatic'
8577         ;;
8578       ccc*)
8579         lt_prog_compiler_wl='-Wl,'
8580         # All Alpha code is PIC.
8581         lt_prog_compiler_static='-non_shared'
8582         ;;
8583       xl* | bgxl* | bgf* | mpixl*)
8584         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8585         lt_prog_compiler_wl='-Wl,'
8586         lt_prog_compiler_pic='-qpic'
8587         lt_prog_compiler_static='-qstaticlink'
8588         ;;
8589       *)
8590         case `$CC -V 2>&1 | sed 5q` in
8591         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8592           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8593           lt_prog_compiler_pic='-KPIC'
8594           lt_prog_compiler_static='-Bstatic'
8595           lt_prog_compiler_wl=''
8596           ;;
8597         *Sun\ F* | *Sun*Fortran*)
8598           lt_prog_compiler_pic='-KPIC'
8599           lt_prog_compiler_static='-Bstatic'
8600           lt_prog_compiler_wl='-Qoption ld '
8601           ;;
8602         *Sun\ C*)
8603           # Sun C 5.9
8604           lt_prog_compiler_pic='-KPIC'
8605           lt_prog_compiler_static='-Bstatic'
8606           lt_prog_compiler_wl='-Wl,'
8607           ;;
8608         *Intel*\ [CF]*Compiler*)
8609           lt_prog_compiler_wl='-Wl,'
8610           lt_prog_compiler_pic='-fPIC'
8611           lt_prog_compiler_static='-static'
8612           ;;
8613         *Portland\ Group*)
8614           lt_prog_compiler_wl='-Wl,'
8615           lt_prog_compiler_pic='-fpic'
8616           lt_prog_compiler_static='-Bstatic'
8617           ;;
8618         esac
8619         ;;
8620       esac
8621       ;;
8622
8623     newsos6)
8624       lt_prog_compiler_pic='-KPIC'
8625       lt_prog_compiler_static='-Bstatic'
8626       ;;
8627
8628     *nto* | *qnx*)
8629       # QNX uses GNU C++, but need to define -shared option too, otherwise
8630       # it will coredump.
8631       lt_prog_compiler_pic='-fPIC -shared'
8632       ;;
8633
8634     osf3* | osf4* | osf5*)
8635       lt_prog_compiler_wl='-Wl,'
8636       # All OSF/1 code is PIC.
8637       lt_prog_compiler_static='-non_shared'
8638       ;;
8639
8640     rdos*)
8641       lt_prog_compiler_static='-non_shared'
8642       ;;
8643
8644     solaris*)
8645       lt_prog_compiler_pic='-KPIC'
8646       lt_prog_compiler_static='-Bstatic'
8647       case $cc_basename in
8648       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8649         lt_prog_compiler_wl='-Qoption ld ';;
8650       *)
8651         lt_prog_compiler_wl='-Wl,';;
8652       esac
8653       ;;
8654
8655     sunos4*)
8656       lt_prog_compiler_wl='-Qoption ld '
8657       lt_prog_compiler_pic='-PIC'
8658       lt_prog_compiler_static='-Bstatic'
8659       ;;
8660
8661     sysv4 | sysv4.2uw2* | sysv4.3*)
8662       lt_prog_compiler_wl='-Wl,'
8663       lt_prog_compiler_pic='-KPIC'
8664       lt_prog_compiler_static='-Bstatic'
8665       ;;
8666
8667     sysv4*MP*)
8668       if test -d /usr/nec ;then
8669         lt_prog_compiler_pic='-Kconform_pic'
8670         lt_prog_compiler_static='-Bstatic'
8671       fi
8672       ;;
8673
8674     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8675       lt_prog_compiler_wl='-Wl,'
8676       lt_prog_compiler_pic='-KPIC'
8677       lt_prog_compiler_static='-Bstatic'
8678       ;;
8679
8680     unicos*)
8681       lt_prog_compiler_wl='-Wl,'
8682       lt_prog_compiler_can_build_shared=no
8683       ;;
8684
8685     uts4*)
8686       lt_prog_compiler_pic='-pic'
8687       lt_prog_compiler_static='-Bstatic'
8688       ;;
8689
8690     *)
8691       lt_prog_compiler_can_build_shared=no
8692       ;;
8693     esac
8694   fi
8695
8696 case $host_os in
8697   # For platforms which do not support PIC, -DPIC is meaningless:
8698   *djgpp*)
8699     lt_prog_compiler_pic=
8700     ;;
8701   *)
8702     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8703     ;;
8704 esac
8705
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8707 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8708 if ${lt_cv_prog_compiler_pic+:} false; then :
8709   $as_echo_n "(cached) " >&6
8710 else
8711   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8712 fi
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8714 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8715 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8716
8717 #
8718 # Check to make sure the PIC flag actually works.
8719 #
8720 if test -n "$lt_prog_compiler_pic"; then
8721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8722 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8723 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8724   $as_echo_n "(cached) " >&6
8725 else
8726   lt_cv_prog_compiler_pic_works=no
8727    ac_outfile=conftest.$ac_objext
8728    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8729    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8730    # Insert the option either (1) after the last *FLAGS variable, or
8731    # (2) before a word containing "conftest.", or (3) at the end.
8732    # Note that $ac_compile itself does not contain backslashes and begins
8733    # with a dollar sign (not a hyphen), so the echo should work correctly.
8734    # The option is referenced via a variable to avoid confusing sed.
8735    lt_compile=`echo "$ac_compile" | $SED \
8736    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738    -e 's:$: $lt_compiler_flag:'`
8739    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8740    (eval "$lt_compile" 2>conftest.err)
8741    ac_status=$?
8742    cat conftest.err >&5
8743    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744    if (exit $ac_status) && test -s "$ac_outfile"; then
8745      # The compiler can only warn and ignore the option if not recognized
8746      # So say no if there are warnings other than the usual output.
8747      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8748      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8749      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8750        lt_cv_prog_compiler_pic_works=yes
8751      fi
8752    fi
8753    $RM conftest*
8754
8755 fi
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8757 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8758
8759 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8760     case $lt_prog_compiler_pic in
8761      "" | " "*) ;;
8762      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8763      esac
8764 else
8765     lt_prog_compiler_pic=
8766      lt_prog_compiler_can_build_shared=no
8767 fi
8768
8769 fi
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781 #
8782 # Check to make sure the static flag actually works.
8783 #
8784 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8786 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8787 if ${lt_cv_prog_compiler_static_works+:} false; then :
8788   $as_echo_n "(cached) " >&6
8789 else
8790   lt_cv_prog_compiler_static_works=no
8791    save_LDFLAGS="$LDFLAGS"
8792    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8793    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8794    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8795      # The linker can only warn and ignore the option if not recognized
8796      # So say no if there are warnings
8797      if test -s conftest.err; then
8798        # Append any errors to the config.log.
8799        cat conftest.err 1>&5
8800        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8801        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8802        if diff conftest.exp conftest.er2 >/dev/null; then
8803          lt_cv_prog_compiler_static_works=yes
8804        fi
8805      else
8806        lt_cv_prog_compiler_static_works=yes
8807      fi
8808    fi
8809    $RM -r conftest*
8810    LDFLAGS="$save_LDFLAGS"
8811
8812 fi
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8814 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8815
8816 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8817     :
8818 else
8819     lt_prog_compiler_static=
8820 fi
8821
8822
8823
8824
8825
8826
8827
8828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8829 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8830 if ${lt_cv_prog_compiler_c_o+:} false; then :
8831   $as_echo_n "(cached) " >&6
8832 else
8833   lt_cv_prog_compiler_c_o=no
8834    $RM -r conftest 2>/dev/null
8835    mkdir conftest
8836    cd conftest
8837    mkdir out
8838    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8839
8840    lt_compiler_flag="-o out/conftest2.$ac_objext"
8841    # Insert the option either (1) after the last *FLAGS variable, or
8842    # (2) before a word containing "conftest.", or (3) at the end.
8843    # Note that $ac_compile itself does not contain backslashes and begins
8844    # with a dollar sign (not a hyphen), so the echo should work correctly.
8845    lt_compile=`echo "$ac_compile" | $SED \
8846    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8847    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8848    -e 's:$: $lt_compiler_flag:'`
8849    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8850    (eval "$lt_compile" 2>out/conftest.err)
8851    ac_status=$?
8852    cat out/conftest.err >&5
8853    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8855    then
8856      # The compiler can only warn and ignore the option if not recognized
8857      # So say no if there are warnings
8858      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8859      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8860      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8861        lt_cv_prog_compiler_c_o=yes
8862      fi
8863    fi
8864    chmod u+w . 2>&5
8865    $RM conftest*
8866    # SGI C++ compiler will create directory out/ii_files/ for
8867    # template instantiation
8868    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8869    $RM out/* && rmdir out
8870    cd ..
8871    $RM -r conftest
8872    $RM conftest*
8873
8874 fi
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8876 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8877
8878
8879
8880
8881
8882
8883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8884 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8885 if ${lt_cv_prog_compiler_c_o+:} false; then :
8886   $as_echo_n "(cached) " >&6
8887 else
8888   lt_cv_prog_compiler_c_o=no
8889    $RM -r conftest 2>/dev/null
8890    mkdir conftest
8891    cd conftest
8892    mkdir out
8893    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8894
8895    lt_compiler_flag="-o out/conftest2.$ac_objext"
8896    # Insert the option either (1) after the last *FLAGS variable, or
8897    # (2) before a word containing "conftest.", or (3) at the end.
8898    # Note that $ac_compile itself does not contain backslashes and begins
8899    # with a dollar sign (not a hyphen), so the echo should work correctly.
8900    lt_compile=`echo "$ac_compile" | $SED \
8901    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8902    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8903    -e 's:$: $lt_compiler_flag:'`
8904    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8905    (eval "$lt_compile" 2>out/conftest.err)
8906    ac_status=$?
8907    cat out/conftest.err >&5
8908    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8910    then
8911      # The compiler can only warn and ignore the option if not recognized
8912      # So say no if there are warnings
8913      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8914      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8915      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8916        lt_cv_prog_compiler_c_o=yes
8917      fi
8918    fi
8919    chmod u+w . 2>&5
8920    $RM conftest*
8921    # SGI C++ compiler will create directory out/ii_files/ for
8922    # template instantiation
8923    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8924    $RM out/* && rmdir out
8925    cd ..
8926    $RM -r conftest
8927    $RM conftest*
8928
8929 fi
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8931 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8932
8933
8934
8935
8936 hard_links="nottested"
8937 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8938   # do not overwrite the value of need_locks provided by the user
8939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8940 $as_echo_n "checking if we can lock with hard links... " >&6; }
8941   hard_links=yes
8942   $RM conftest*
8943   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8944   touch conftest.a
8945   ln conftest.a conftest.b 2>&5 || hard_links=no
8946   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8948 $as_echo "$hard_links" >&6; }
8949   if test "$hard_links" = no; then
8950     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8951 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8952     need_locks=warn
8953   fi
8954 else
8955   need_locks=no
8956 fi
8957
8958
8959
8960
8961
8962
8963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8964 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8965
8966   runpath_var=
8967   allow_undefined_flag=
8968   always_export_symbols=no
8969   archive_cmds=
8970   archive_expsym_cmds=
8971   compiler_needs_object=no
8972   enable_shared_with_static_runtimes=no
8973   export_dynamic_flag_spec=
8974   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8975   hardcode_automatic=no
8976   hardcode_direct=no
8977   hardcode_direct_absolute=no
8978   hardcode_libdir_flag_spec=
8979   hardcode_libdir_separator=
8980   hardcode_minus_L=no
8981   hardcode_shlibpath_var=unsupported
8982   inherit_rpath=no
8983   link_all_deplibs=unknown
8984   module_cmds=
8985   module_expsym_cmds=
8986   old_archive_from_new_cmds=
8987   old_archive_from_expsyms_cmds=
8988   thread_safe_flag_spec=
8989   whole_archive_flag_spec=
8990   # include_expsyms should be a list of space-separated symbols to be *always*
8991   # included in the symbol list
8992   include_expsyms=
8993   # exclude_expsyms can be an extended regexp of symbols to exclude
8994   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8995   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8996   # as well as any symbol that contains `d'.
8997   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8998   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8999   # platforms (ab)use it in PIC code, but their linkers get confused if
9000   # the symbol is explicitly referenced.  Since portable code cannot
9001   # rely on this symbol name, it's probably fine to never include it in
9002   # preloaded symbol tables.
9003   # Exclude shared library initialization/finalization symbols.
9004   extract_expsyms_cmds=
9005
9006   case $host_os in
9007   cygwin* | mingw* | pw32* | cegcc*)
9008     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9009     # When not using gcc, we currently assume that we are using
9010     # Microsoft Visual C++.
9011     if test "$GCC" != yes; then
9012       with_gnu_ld=no
9013     fi
9014     ;;
9015   interix*)
9016     # we just hope/assume this is gcc and not c89 (= MSVC++)
9017     with_gnu_ld=yes
9018     ;;
9019   openbsd*)
9020     with_gnu_ld=no
9021     ;;
9022   esac
9023
9024   ld_shlibs=yes
9025
9026   # On some targets, GNU ld is compatible enough with the native linker
9027   # that we're better off using the native interface for both.
9028   lt_use_gnu_ld_interface=no
9029   if test "$with_gnu_ld" = yes; then
9030     case $host_os in
9031       aix*)
9032         # The AIX port of GNU ld has always aspired to compatibility
9033         # with the native linker.  However, as the warning in the GNU ld
9034         # block says, versions before 2.19.5* couldn't really create working
9035         # shared libraries, regardless of the interface used.
9036         case `$LD -v 2>&1` in
9037           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9038           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9039           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9040           *)
9041             lt_use_gnu_ld_interface=yes
9042             ;;
9043         esac
9044         ;;
9045       *)
9046         lt_use_gnu_ld_interface=yes
9047         ;;
9048     esac
9049   fi
9050
9051   if test "$lt_use_gnu_ld_interface" = yes; then
9052     # If archive_cmds runs LD, not CC, wlarc should be empty
9053     wlarc='${wl}'
9054
9055     # Set some defaults for GNU ld with shared library support. These
9056     # are reset later if shared libraries are not supported. Putting them
9057     # here allows them to be overridden if necessary.
9058     runpath_var=LD_RUN_PATH
9059     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9060     export_dynamic_flag_spec='${wl}--export-dynamic'
9061     # ancient GNU ld didn't support --whole-archive et. al.
9062     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9063       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9064     else
9065       whole_archive_flag_spec=
9066     fi
9067     supports_anon_versioning=no
9068     case `$LD -v 2>&1` in
9069       *GNU\ gold*) supports_anon_versioning=yes ;;
9070       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9071       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9072       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9073       *\ 2.11.*) ;; # other 2.11 versions
9074       *) supports_anon_versioning=yes ;;
9075     esac
9076
9077     # See if GNU ld supports shared libraries.
9078     case $host_os in
9079     aix[3-9]*)
9080       # On AIX/PPC, the GNU linker is very broken
9081       if test "$host_cpu" != ia64; then
9082         ld_shlibs=no
9083         cat <<_LT_EOF 1>&2
9084
9085 *** Warning: the GNU linker, at least up to release 2.19, is reported
9086 *** to be unable to reliably create shared libraries on AIX.
9087 *** Therefore, libtool is disabling shared libraries support.  If you
9088 *** really care for shared libraries, you may want to install binutils
9089 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9090 *** You will then need to restart the configuration process.
9091
9092 _LT_EOF
9093       fi
9094       ;;
9095
9096     amigaos*)
9097       case $host_cpu in
9098       powerpc)
9099             # see comment about AmigaOS4 .so support
9100             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101             archive_expsym_cmds=''
9102         ;;
9103       m68k)
9104             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)'
9105             hardcode_libdir_flag_spec='-L$libdir'
9106             hardcode_minus_L=yes
9107         ;;
9108       esac
9109       ;;
9110
9111     beos*)
9112       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9113         allow_undefined_flag=unsupported
9114         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9115         # support --undefined.  This deserves some investigation.  FIXME
9116         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9117       else
9118         ld_shlibs=no
9119       fi
9120       ;;
9121
9122     cygwin* | mingw* | pw32* | cegcc*)
9123       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9124       # as there is no search path for DLLs.
9125       hardcode_libdir_flag_spec='-L$libdir'
9126       export_dynamic_flag_spec='${wl}--export-all-symbols'
9127       allow_undefined_flag=unsupported
9128       always_export_symbols=no
9129       enable_shared_with_static_runtimes=yes
9130       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'
9131       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9132
9133       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9134         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9135         # If the export-symbols file already is a .def file (1st line
9136         # is EXPORTS), use it as is; otherwise, prepend...
9137         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9138           cp $export_symbols $output_objdir/$soname.def;
9139         else
9140           echo EXPORTS > $output_objdir/$soname.def;
9141           cat $export_symbols >> $output_objdir/$soname.def;
9142         fi~
9143         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9144       else
9145         ld_shlibs=no
9146       fi
9147       ;;
9148
9149     haiku*)
9150       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151       link_all_deplibs=yes
9152       ;;
9153
9154     interix[3-9]*)
9155       hardcode_direct=no
9156       hardcode_shlibpath_var=no
9157       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9158       export_dynamic_flag_spec='${wl}-E'
9159       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9160       # Instead, shared libraries are loaded at an image base (0x10000000 by
9161       # default) and relocated if they conflict, which is a slow very memory
9162       # consuming and fragmenting process.  To avoid this, we pick a random,
9163       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9164       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9165       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9166       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'
9167       ;;
9168
9169     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9170       tmp_diet=no
9171       if test "$host_os" = linux-dietlibc; then
9172         case $cc_basename in
9173           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9174         esac
9175       fi
9176       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9177          && test "$tmp_diet" = no
9178       then
9179         tmp_addflag=' $pic_flag'
9180         tmp_sharedflag='-shared'
9181         case $cc_basename,$host_cpu in
9182         pgcc*)                          # Portland Group C compiler
9183           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'
9184           tmp_addflag=' $pic_flag'
9185           ;;
9186         pgf77* | pgf90* | pgf95* | pgfortran*)
9187                                         # Portland Group f77 and f90 compilers
9188           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'
9189           tmp_addflag=' $pic_flag -Mnomain' ;;
9190         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9191           tmp_addflag=' -i_dynamic' ;;
9192         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9193           tmp_addflag=' -i_dynamic -nofor_main' ;;
9194         ifc* | ifort*)                  # Intel Fortran compiler
9195           tmp_addflag=' -nofor_main' ;;
9196         lf95*)                          # Lahey Fortran 8.1
9197           whole_archive_flag_spec=
9198           tmp_sharedflag='--shared' ;;
9199         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9200           tmp_sharedflag='-qmkshrobj'
9201           tmp_addflag= ;;
9202         nvcc*)  # Cuda Compiler Driver 2.2
9203           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'
9204           compiler_needs_object=yes
9205           ;;
9206         esac
9207         case `$CC -V 2>&1 | sed 5q` in
9208         *Sun\ C*)                       # Sun C 5.9
9209           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'
9210           compiler_needs_object=yes
9211           tmp_sharedflag='-G' ;;
9212         *Sun\ F*)                       # Sun Fortran 8.3
9213           tmp_sharedflag='-G' ;;
9214         esac
9215         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9216
9217         if test "x$supports_anon_versioning" = xyes; then
9218           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9219             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9220             echo "local: *; };" >> $output_objdir/$libname.ver~
9221             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9222         fi
9223
9224         case $cc_basename in
9225         xlf* | bgf* | bgxlf* | mpixlf*)
9226           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9227           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9228           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9229           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9230           if test "x$supports_anon_versioning" = xyes; then
9231             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9232               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9233               echo "local: *; };" >> $output_objdir/$libname.ver~
9234               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9235           fi
9236           ;;
9237         esac
9238       else
9239         ld_shlibs=no
9240       fi
9241       ;;
9242
9243     netbsd*)
9244       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9245         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9246         wlarc=
9247       else
9248         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9250       fi
9251       ;;
9252
9253     solaris*)
9254       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9255         ld_shlibs=no
9256         cat <<_LT_EOF 1>&2
9257
9258 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9259 *** create shared libraries on Solaris systems.  Therefore, libtool
9260 *** is disabling shared libraries support.  We urge you to upgrade GNU
9261 *** binutils to release 2.9.1 or newer.  Another option is to modify
9262 *** your PATH or compiler configuration so that the native linker is
9263 *** used, and then restart.
9264
9265 _LT_EOF
9266       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9267         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9268         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9269       else
9270         ld_shlibs=no
9271       fi
9272       ;;
9273
9274     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9275       case `$LD -v 2>&1` in
9276         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9277         ld_shlibs=no
9278         cat <<_LT_EOF 1>&2
9279
9280 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9281 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9282 *** is disabling shared libraries support.  We urge you to upgrade GNU
9283 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9284 *** your PATH or compiler configuration so that the native linker is
9285 *** used, and then restart.
9286
9287 _LT_EOF
9288         ;;
9289         *)
9290           # For security reasons, it is highly recommended that you always
9291           # use absolute paths for naming shared libraries, and exclude the
9292           # DT_RUNPATH tag from executables and libraries.  But doing so
9293           # requires that you compile everything twice, which is a pain.
9294           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9296             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9298           else
9299             ld_shlibs=no
9300           fi
9301         ;;
9302       esac
9303       ;;
9304
9305     sunos4*)
9306       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9307       wlarc=
9308       hardcode_direct=yes
9309       hardcode_shlibpath_var=no
9310       ;;
9311
9312     *)
9313       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9314         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9316       else
9317         ld_shlibs=no
9318       fi
9319       ;;
9320     esac
9321
9322     if test "$ld_shlibs" = no; then
9323       runpath_var=
9324       hardcode_libdir_flag_spec=
9325       export_dynamic_flag_spec=
9326       whole_archive_flag_spec=
9327     fi
9328   else
9329     # PORTME fill in a description of your system's linker (not GNU ld)
9330     case $host_os in
9331     aix3*)
9332       allow_undefined_flag=unsupported
9333       always_export_symbols=yes
9334       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'
9335       # Note: this linker hardcodes the directories in LIBPATH if there
9336       # are no directories specified by -L.
9337       hardcode_minus_L=yes
9338       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9339         # Neither direct hardcoding nor static linking is supported with a
9340         # broken collect2.
9341         hardcode_direct=unsupported
9342       fi
9343       ;;
9344
9345     aix[4-9]*)
9346       if test "$host_cpu" = ia64; then
9347         # On IA64, the linker does run time linking by default, so we don't
9348         # have to do anything special.
9349         aix_use_runtimelinking=no
9350         exp_sym_flag='-Bexport'
9351         no_entry_flag=""
9352       else
9353         # If we're using GNU nm, then we don't want the "-C" option.
9354         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9355         # Also, AIX nm treats weak defined symbols like other global
9356         # defined symbols, whereas GNU nm marks them as "W".
9357         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9358           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'
9359         else
9360           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'
9361         fi
9362         aix_use_runtimelinking=no
9363
9364         # Test if we are trying to use run time linking or normal
9365         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9366         # need to do runtime linking.
9367         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9368           for ld_flag in $LDFLAGS; do
9369           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9370             aix_use_runtimelinking=yes
9371             break
9372           fi
9373           done
9374           ;;
9375         esac
9376
9377         exp_sym_flag='-bexport'
9378         no_entry_flag='-bnoentry'
9379       fi
9380
9381       # When large executables or shared objects are built, AIX ld can
9382       # have problems creating the table of contents.  If linking a library
9383       # or program results in "error TOC overflow" add -mminimal-toc to
9384       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9385       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9386
9387       archive_cmds=''
9388       hardcode_direct=yes
9389       hardcode_direct_absolute=yes
9390       hardcode_libdir_separator=':'
9391       link_all_deplibs=yes
9392       file_list_spec='${wl}-f,'
9393
9394       if test "$GCC" = yes; then
9395         case $host_os in aix4.[012]|aix4.[012].*)
9396         # We only want to do this on AIX 4.2 and lower, the check
9397         # below for broken collect2 doesn't work under 4.3+
9398           collect2name=`${CC} -print-prog-name=collect2`
9399           if test -f "$collect2name" &&
9400            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9401           then
9402           # We have reworked collect2
9403           :
9404           else
9405           # We have old collect2
9406           hardcode_direct=unsupported
9407           # It fails to find uninstalled libraries when the uninstalled
9408           # path is not listed in the libpath.  Setting hardcode_minus_L
9409           # to unsupported forces relinking
9410           hardcode_minus_L=yes
9411           hardcode_libdir_flag_spec='-L$libdir'
9412           hardcode_libdir_separator=
9413           fi
9414           ;;
9415         esac
9416         shared_flag='-shared'
9417         if test "$aix_use_runtimelinking" = yes; then
9418           shared_flag="$shared_flag "'${wl}-G'
9419         fi
9420       else
9421         # not using gcc
9422         if test "$host_cpu" = ia64; then
9423         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9424         # chokes on -Wl,-G. The following line is correct:
9425           shared_flag='-G'
9426         else
9427           if test "$aix_use_runtimelinking" = yes; then
9428             shared_flag='${wl}-G'
9429           else
9430             shared_flag='${wl}-bM:SRE'
9431           fi
9432         fi
9433       fi
9434
9435       export_dynamic_flag_spec='${wl}-bexpall'
9436       # It seems that -bexpall does not export symbols beginning with
9437       # underscore (_), so it is better to generate a list of symbols to export.
9438       always_export_symbols=yes
9439       if test "$aix_use_runtimelinking" = yes; then
9440         # Warning - without using the other runtime loading flags (-brtl),
9441         # -berok will link without error, but may produce a broken library.
9442         allow_undefined_flag='-berok'
9443         # Determine the default libpath from the value encoded in an
9444         # empty executable.
9445         if test "${lt_cv_aix_libpath+set}" = set; then
9446   aix_libpath=$lt_cv_aix_libpath
9447 else
9448   if ${lt_cv_aix_libpath_+:} false; then :
9449   $as_echo_n "(cached) " >&6
9450 else
9451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452 /* end confdefs.h.  */
9453
9454 int
9455 main ()
9456 {
9457
9458   ;
9459   return 0;
9460 }
9461 _ACEOF
9462 if ac_fn_c_try_link "$LINENO"; then :
9463
9464   lt_aix_libpath_sed='
9465       /Import File Strings/,/^$/ {
9466           /^0/ {
9467               s/^0  *\([^ ]*\) *$/\1/
9468               p
9469           }
9470       }'
9471   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9472   # Check for a 64-bit object if we didn't find anything.
9473   if test -z "$lt_cv_aix_libpath_"; then
9474     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9475   fi
9476 fi
9477 rm -f core conftest.err conftest.$ac_objext \
9478     conftest$ac_exeext conftest.$ac_ext
9479   if test -z "$lt_cv_aix_libpath_"; then
9480     lt_cv_aix_libpath_="/usr/lib:/lib"
9481   fi
9482
9483 fi
9484
9485   aix_libpath=$lt_cv_aix_libpath_
9486 fi
9487
9488         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9489         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"
9490       else
9491         if test "$host_cpu" = ia64; then
9492           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9493           allow_undefined_flag="-z nodefs"
9494           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"
9495         else
9496          # Determine the default libpath from the value encoded in an
9497          # empty executable.
9498          if test "${lt_cv_aix_libpath+set}" = set; then
9499   aix_libpath=$lt_cv_aix_libpath
9500 else
9501   if ${lt_cv_aix_libpath_+:} false; then :
9502   $as_echo_n "(cached) " >&6
9503 else
9504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h.  */
9506
9507 int
9508 main ()
9509 {
9510
9511   ;
9512   return 0;
9513 }
9514 _ACEOF
9515 if ac_fn_c_try_link "$LINENO"; then :
9516
9517   lt_aix_libpath_sed='
9518       /Import File Strings/,/^$/ {
9519           /^0/ {
9520               s/^0  *\([^ ]*\) *$/\1/
9521               p
9522           }
9523       }'
9524   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9525   # Check for a 64-bit object if we didn't find anything.
9526   if test -z "$lt_cv_aix_libpath_"; then
9527     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9528   fi
9529 fi
9530 rm -f core conftest.err conftest.$ac_objext \
9531     conftest$ac_exeext conftest.$ac_ext
9532   if test -z "$lt_cv_aix_libpath_"; then
9533     lt_cv_aix_libpath_="/usr/lib:/lib"
9534   fi
9535
9536 fi
9537
9538   aix_libpath=$lt_cv_aix_libpath_
9539 fi
9540
9541          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9542           # Warning - without using the other run time loading flags,
9543           # -berok will link without error, but may produce a broken library.
9544           no_undefined_flag=' ${wl}-bernotok'
9545           allow_undefined_flag=' ${wl}-berok'
9546           if test "$with_gnu_ld" = yes; then
9547             # We only use this code for GNU lds that support --whole-archive.
9548             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9549           else
9550             # Exported symbols can be pulled into shared objects from archives
9551             whole_archive_flag_spec='$convenience'
9552           fi
9553           archive_cmds_need_lc=yes
9554           # This is similar to how AIX traditionally builds its shared libraries.
9555           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'
9556         fi
9557       fi
9558       ;;
9559
9560     amigaos*)
9561       case $host_cpu in
9562       powerpc)
9563             # see comment about AmigaOS4 .so support
9564             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9565             archive_expsym_cmds=''
9566         ;;
9567       m68k)
9568             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)'
9569             hardcode_libdir_flag_spec='-L$libdir'
9570             hardcode_minus_L=yes
9571         ;;
9572       esac
9573       ;;
9574
9575     bsdi[45]*)
9576       export_dynamic_flag_spec=-rdynamic
9577       ;;
9578
9579     cygwin* | mingw* | pw32* | cegcc*)
9580       # When not using gcc, we currently assume that we are using
9581       # Microsoft Visual C++.
9582       # hardcode_libdir_flag_spec is actually meaningless, as there is
9583       # no search path for DLLs.
9584       case $cc_basename in
9585       cl*)
9586         # Native MSVC
9587         hardcode_libdir_flag_spec=' '
9588         allow_undefined_flag=unsupported
9589         always_export_symbols=yes
9590         file_list_spec='@'
9591         # Tell ltmain to make .lib files, not .a files.
9592         libext=lib
9593         # Tell ltmain to make .dll files, not .so files.
9594         shrext_cmds=".dll"
9595         # FIXME: Setting linknames here is a bad hack.
9596         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9597         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9598             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9599           else
9600             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9601           fi~
9602           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9603           linknames='
9604         # The linker will not automatically build a static lib if we build a DLL.
9605         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9606         enable_shared_with_static_runtimes=yes
9607         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9608         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9609         # Don't use ranlib
9610         old_postinstall_cmds='chmod 644 $oldlib'
9611         postlink_cmds='lt_outputfile="@OUTPUT@"~
9612           lt_tool_outputfile="@TOOL_OUTPUT@"~
9613           case $lt_outputfile in
9614             *.exe|*.EXE) ;;
9615             *)
9616               lt_outputfile="$lt_outputfile.exe"
9617               lt_tool_outputfile="$lt_tool_outputfile.exe"
9618               ;;
9619           esac~
9620           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9621             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9622             $RM "$lt_outputfile.manifest";
9623           fi'
9624         ;;
9625       *)
9626         # Assume MSVC wrapper
9627         hardcode_libdir_flag_spec=' '
9628         allow_undefined_flag=unsupported
9629         # Tell ltmain to make .lib files, not .a files.
9630         libext=lib
9631         # Tell ltmain to make .dll files, not .so files.
9632         shrext_cmds=".dll"
9633         # FIXME: Setting linknames here is a bad hack.
9634         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9635         # The linker will automatically build a .lib file if we build a DLL.
9636         old_archive_from_new_cmds='true'
9637         # FIXME: Should let the user specify the lib program.
9638         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9639         enable_shared_with_static_runtimes=yes
9640         ;;
9641       esac
9642       ;;
9643
9644     darwin* | rhapsody*)
9645
9646
9647   archive_cmds_need_lc=no
9648   hardcode_direct=no
9649   hardcode_automatic=yes
9650   hardcode_shlibpath_var=unsupported
9651   if test "$lt_cv_ld_force_load" = "yes"; then
9652     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\"`'
9653
9654   else
9655     whole_archive_flag_spec=''
9656   fi
9657   link_all_deplibs=yes
9658   allow_undefined_flag="$_lt_dar_allow_undefined"
9659   case $cc_basename in
9660      ifort*) _lt_dar_can_shared=yes ;;
9661      *) _lt_dar_can_shared=$GCC ;;
9662   esac
9663   if test "$_lt_dar_can_shared" = "yes"; then
9664     output_verbose_link_cmd=func_echo_all
9665     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9666     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9667     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}"
9668     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}"
9669
9670   else
9671   ld_shlibs=no
9672   fi
9673
9674       ;;
9675
9676     dgux*)
9677       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9678       hardcode_libdir_flag_spec='-L$libdir'
9679       hardcode_shlibpath_var=no
9680       ;;
9681
9682     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9683     # support.  Future versions do this automatically, but an explicit c++rt0.o
9684     # does not break anything, and helps significantly (at the cost of a little
9685     # extra space).
9686     freebsd2.2*)
9687       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9688       hardcode_libdir_flag_spec='-R$libdir'
9689       hardcode_direct=yes
9690       hardcode_shlibpath_var=no
9691       ;;
9692
9693     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9694     freebsd2.*)
9695       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9696       hardcode_direct=yes
9697       hardcode_minus_L=yes
9698       hardcode_shlibpath_var=no
9699       ;;
9700
9701     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9702     freebsd* | dragonfly*)
9703       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9704       hardcode_libdir_flag_spec='-R$libdir'
9705       hardcode_direct=yes
9706       hardcode_shlibpath_var=no
9707       ;;
9708
9709     hpux9*)
9710       if test "$GCC" = yes; then
9711         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'
9712       else
9713         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'
9714       fi
9715       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9716       hardcode_libdir_separator=:
9717       hardcode_direct=yes
9718
9719       # hardcode_minus_L: Not really in the search PATH,
9720       # but as the default location of the library.
9721       hardcode_minus_L=yes
9722       export_dynamic_flag_spec='${wl}-E'
9723       ;;
9724
9725     hpux10*)
9726       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9727         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9728       else
9729         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9730       fi
9731       if test "$with_gnu_ld" = no; then
9732         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9733         hardcode_libdir_separator=:
9734         hardcode_direct=yes
9735         hardcode_direct_absolute=yes
9736         export_dynamic_flag_spec='${wl}-E'
9737         # hardcode_minus_L: Not really in the search PATH,
9738         # but as the default location of the library.
9739         hardcode_minus_L=yes
9740       fi
9741       ;;
9742
9743     hpux11*)
9744       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9745         case $host_cpu in
9746         hppa*64*)
9747           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9748           ;;
9749         ia64*)
9750           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9751           ;;
9752         *)
9753           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9754           ;;
9755         esac
9756       else
9757         case $host_cpu in
9758         hppa*64*)
9759           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9760           ;;
9761         ia64*)
9762           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9763           ;;
9764         *)
9765
9766           # Older versions of the 11.00 compiler do not understand -b yet
9767           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9768           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9769 $as_echo_n "checking if $CC understands -b... " >&6; }
9770 if ${lt_cv_prog_compiler__b+:} false; then :
9771   $as_echo_n "(cached) " >&6
9772 else
9773   lt_cv_prog_compiler__b=no
9774    save_LDFLAGS="$LDFLAGS"
9775    LDFLAGS="$LDFLAGS -b"
9776    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9777    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9778      # The linker can only warn and ignore the option if not recognized
9779      # So say no if there are warnings
9780      if test -s conftest.err; then
9781        # Append any errors to the config.log.
9782        cat conftest.err 1>&5
9783        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9784        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9785        if diff conftest.exp conftest.er2 >/dev/null; then
9786          lt_cv_prog_compiler__b=yes
9787        fi
9788      else
9789        lt_cv_prog_compiler__b=yes
9790      fi
9791    fi
9792    $RM -r conftest*
9793    LDFLAGS="$save_LDFLAGS"
9794
9795 fi
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9797 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9798
9799 if test x"$lt_cv_prog_compiler__b" = xyes; then
9800     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9801 else
9802     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9803 fi
9804
9805           ;;
9806         esac
9807       fi
9808       if test "$with_gnu_ld" = no; then
9809         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9810         hardcode_libdir_separator=:
9811
9812         case $host_cpu in
9813         hppa*64*|ia64*)
9814           hardcode_direct=no
9815           hardcode_shlibpath_var=no
9816           ;;
9817         *)
9818           hardcode_direct=yes
9819           hardcode_direct_absolute=yes
9820           export_dynamic_flag_spec='${wl}-E'
9821
9822           # hardcode_minus_L: Not really in the search PATH,
9823           # but as the default location of the library.
9824           hardcode_minus_L=yes
9825           ;;
9826         esac
9827       fi
9828       ;;
9829
9830     irix5* | irix6* | nonstopux*)
9831       if test "$GCC" = yes; then
9832         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'
9833         # Try to use the -exported_symbol ld option, if it does not
9834         # work, assume that -exports_file does not work either and
9835         # implicitly export all symbols.
9836         # This should be the same for all languages, so no per-tag cache variable.
9837         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9838 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9839 if ${lt_cv_irix_exported_symbol+:} false; then :
9840   $as_echo_n "(cached) " >&6
9841 else
9842   save_LDFLAGS="$LDFLAGS"
9843            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9844            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h.  */
9846 int foo (void) { return 0; }
9847 _ACEOF
9848 if ac_fn_c_try_link "$LINENO"; then :
9849   lt_cv_irix_exported_symbol=yes
9850 else
9851   lt_cv_irix_exported_symbol=no
9852 fi
9853 rm -f core conftest.err conftest.$ac_objext \
9854     conftest$ac_exeext conftest.$ac_ext
9855            LDFLAGS="$save_LDFLAGS"
9856 fi
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9858 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9859         if test "$lt_cv_irix_exported_symbol" = yes; then
9860           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'
9861         fi
9862       else
9863         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'
9864         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'
9865       fi
9866       archive_cmds_need_lc='no'
9867       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868       hardcode_libdir_separator=:
9869       inherit_rpath=yes
9870       link_all_deplibs=yes
9871       ;;
9872
9873     netbsd*)
9874       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9875         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9876       else
9877         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9878       fi
9879       hardcode_libdir_flag_spec='-R$libdir'
9880       hardcode_direct=yes
9881       hardcode_shlibpath_var=no
9882       ;;
9883
9884     newsos6)
9885       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886       hardcode_direct=yes
9887       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9888       hardcode_libdir_separator=:
9889       hardcode_shlibpath_var=no
9890       ;;
9891
9892     *nto* | *qnx*)
9893       ;;
9894
9895     openbsd*)
9896       if test -f /usr/libexec/ld.so; then
9897         hardcode_direct=yes
9898         hardcode_shlibpath_var=no
9899         hardcode_direct_absolute=yes
9900         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9901           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9902           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9903           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9904           export_dynamic_flag_spec='${wl}-E'
9905         else
9906           case $host_os in
9907            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9908              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9909              hardcode_libdir_flag_spec='-R$libdir'
9910              ;;
9911            *)
9912              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9914              ;;
9915           esac
9916         fi
9917       else
9918         ld_shlibs=no
9919       fi
9920       ;;
9921
9922     os2*)
9923       hardcode_libdir_flag_spec='-L$libdir'
9924       hardcode_minus_L=yes
9925       allow_undefined_flag=unsupported
9926       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'
9927       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9928       ;;
9929
9930     osf3*)
9931       if test "$GCC" = yes; then
9932         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9933         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'
9934       else
9935         allow_undefined_flag=' -expect_unresolved \*'
9936         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'
9937       fi
9938       archive_cmds_need_lc='no'
9939       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9940       hardcode_libdir_separator=:
9941       ;;
9942
9943     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9944       if test "$GCC" = yes; then
9945         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9946         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'
9947         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9948       else
9949         allow_undefined_flag=' -expect_unresolved \*'
9950         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'
9951         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~
9952         $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'
9953
9954         # Both c and cxx compiler support -rpath directly
9955         hardcode_libdir_flag_spec='-rpath $libdir'
9956       fi
9957       archive_cmds_need_lc='no'
9958       hardcode_libdir_separator=:
9959       ;;
9960
9961     solaris*)
9962       no_undefined_flag=' -z defs'
9963       if test "$GCC" = yes; then
9964         wlarc='${wl}'
9965         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9966         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967           $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'
9968       else
9969         case `$CC -V 2>&1` in
9970         *"Compilers 5.0"*)
9971           wlarc=''
9972           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9973           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9974           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9975           ;;
9976         *)
9977           wlarc='${wl}'
9978           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9979           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9981           ;;
9982         esac
9983       fi
9984       hardcode_libdir_flag_spec='-R$libdir'
9985       hardcode_shlibpath_var=no
9986       case $host_os in
9987       solaris2.[0-5] | solaris2.[0-5].*) ;;
9988       *)
9989         # The compiler driver will combine and reorder linker options,
9990         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9991         # but is careful enough not to reorder.
9992         # Supported since Solaris 2.6 (maybe 2.5.1?)
9993         if test "$GCC" = yes; then
9994           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9995         else
9996           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9997         fi
9998         ;;
9999       esac
10000       link_all_deplibs=yes
10001       ;;
10002
10003     sunos4*)
10004       if test "x$host_vendor" = xsequent; then
10005         # Use $CC to link under sequent, because it throws in some extra .o
10006         # files that make .init and .fini sections work.
10007         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10008       else
10009         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10010       fi
10011       hardcode_libdir_flag_spec='-L$libdir'
10012       hardcode_direct=yes
10013       hardcode_minus_L=yes
10014       hardcode_shlibpath_var=no
10015       ;;
10016
10017     sysv4)
10018       case $host_vendor in
10019         sni)
10020           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021           hardcode_direct=yes # is this really true???
10022         ;;
10023         siemens)
10024           ## LD is ld it makes a PLAMLIB
10025           ## CC just makes a GrossModule.
10026           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10027           reload_cmds='$CC -r -o $output$reload_objs'
10028           hardcode_direct=no
10029         ;;
10030         motorola)
10031           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10033         ;;
10034       esac
10035       runpath_var='LD_RUN_PATH'
10036       hardcode_shlibpath_var=no
10037       ;;
10038
10039     sysv4.3*)
10040       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041       hardcode_shlibpath_var=no
10042       export_dynamic_flag_spec='-Bexport'
10043       ;;
10044
10045     sysv4*MP*)
10046       if test -d /usr/nec; then
10047         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048         hardcode_shlibpath_var=no
10049         runpath_var=LD_RUN_PATH
10050         hardcode_runpath_var=yes
10051         ld_shlibs=yes
10052       fi
10053       ;;
10054
10055     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10056       no_undefined_flag='${wl}-z,text'
10057       archive_cmds_need_lc=no
10058       hardcode_shlibpath_var=no
10059       runpath_var='LD_RUN_PATH'
10060
10061       if test "$GCC" = yes; then
10062         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10064       else
10065         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067       fi
10068       ;;
10069
10070     sysv5* | sco3.2v5* | sco5v6*)
10071       # Note: We can NOT use -z defs as we might desire, because we do not
10072       # link with -lc, and that would cause any symbols used from libc to
10073       # always be unresolved, which means just about no library would
10074       # ever link correctly.  If we're not using GNU ld we use -z text
10075       # though, which does catch some bad symbols but isn't as heavy-handed
10076       # as -z defs.
10077       no_undefined_flag='${wl}-z,text'
10078       allow_undefined_flag='${wl}-z,nodefs'
10079       archive_cmds_need_lc=no
10080       hardcode_shlibpath_var=no
10081       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10082       hardcode_libdir_separator=':'
10083       link_all_deplibs=yes
10084       export_dynamic_flag_spec='${wl}-Bexport'
10085       runpath_var='LD_RUN_PATH'
10086
10087       if test "$GCC" = yes; then
10088         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090       else
10091         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093       fi
10094       ;;
10095
10096     uts4*)
10097       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098       hardcode_libdir_flag_spec='-L$libdir'
10099       hardcode_shlibpath_var=no
10100       ;;
10101
10102     *)
10103       ld_shlibs=no
10104       ;;
10105     esac
10106
10107     if test x$host_vendor = xsni; then
10108       case $host in
10109       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10110         export_dynamic_flag_spec='${wl}-Blargedynsym'
10111         ;;
10112       esac
10113     fi
10114   fi
10115
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10117 $as_echo "$ld_shlibs" >&6; }
10118 test "$ld_shlibs" = no && can_build_shared=no
10119
10120 with_gnu_ld=$with_gnu_ld
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136 #
10137 # Do we need to explicitly link libc?
10138 #
10139 case "x$archive_cmds_need_lc" in
10140 x|xyes)
10141   # Assume -lc should be added
10142   archive_cmds_need_lc=yes
10143
10144   if test "$enable_shared" = yes && test "$GCC" = yes; then
10145     case $archive_cmds in
10146     *'~'*)
10147       # FIXME: we may have to deal with multi-command sequences.
10148       ;;
10149     '$CC '*)
10150       # Test whether the compiler implicitly links with -lc since on some
10151       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10152       # to ld, don't add -lc before -lgcc.
10153       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10154 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10155 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10156   $as_echo_n "(cached) " >&6
10157 else
10158   $RM conftest*
10159         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10160
10161         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10162   (eval $ac_compile) 2>&5
10163   ac_status=$?
10164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10165   test $ac_status = 0; } 2>conftest.err; then
10166           soname=conftest
10167           lib=conftest
10168           libobjs=conftest.$ac_objext
10169           deplibs=
10170           wl=$lt_prog_compiler_wl
10171           pic_flag=$lt_prog_compiler_pic
10172           compiler_flags=-v
10173           linker_flags=-v
10174           verstring=
10175           output_objdir=.
10176           libname=conftest
10177           lt_save_allow_undefined_flag=$allow_undefined_flag
10178           allow_undefined_flag=
10179           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10180   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10181   ac_status=$?
10182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10183   test $ac_status = 0; }
10184           then
10185             lt_cv_archive_cmds_need_lc=no
10186           else
10187             lt_cv_archive_cmds_need_lc=yes
10188           fi
10189           allow_undefined_flag=$lt_save_allow_undefined_flag
10190         else
10191           cat conftest.err 1>&5
10192         fi
10193         $RM conftest*
10194
10195 fi
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10197 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10198       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10199       ;;
10200     esac
10201   fi
10202   ;;
10203 esac
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10357 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10358
10359 if test "$GCC" = yes; then
10360   case $host_os in
10361     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10362     *) lt_awk_arg="/^libraries:/" ;;
10363   esac
10364   case $host_os in
10365     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10366     *) lt_sed_strip_eq="s,=/,/,g" ;;
10367   esac
10368   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10369   case $lt_search_path_spec in
10370   *\;*)
10371     # if the path contains ";" then we assume it to be the separator
10372     # otherwise default to the standard path separator (i.e. ":") - it is
10373     # assumed that no part of a normal pathname contains ";" but that should
10374     # okay in the real world where ";" in dirpaths is itself problematic.
10375     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10376     ;;
10377   *)
10378     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10379     ;;
10380   esac
10381   # Ok, now we have the path, separated by spaces, we can step through it
10382   # and add multilib dir if necessary.
10383   lt_tmp_lt_search_path_spec=
10384   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10385   for lt_sys_path in $lt_search_path_spec; do
10386     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10387       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10388     else
10389       test -d "$lt_sys_path" && \
10390         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10391     fi
10392   done
10393   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10394 BEGIN {RS=" "; FS="/|\n";} {
10395   lt_foo="";
10396   lt_count=0;
10397   for (lt_i = NF; lt_i > 0; lt_i--) {
10398     if ($lt_i != "" && $lt_i != ".") {
10399       if ($lt_i == "..") {
10400         lt_count++;
10401       } else {
10402         if (lt_count == 0) {
10403           lt_foo="/" $lt_i lt_foo;
10404         } else {
10405           lt_count--;
10406         }
10407       }
10408     }
10409   }
10410   if (lt_foo != "") { lt_freq[lt_foo]++; }
10411   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10412 }'`
10413   # AWK program above erroneously prepends '/' to C:/dos/paths
10414   # for these hosts.
10415   case $host_os in
10416     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10417       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10418   esac
10419   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10420 else
10421   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10422 fi
10423 library_names_spec=
10424 libname_spec='lib$name'
10425 soname_spec=
10426 shrext_cmds=".so"
10427 postinstall_cmds=
10428 postuninstall_cmds=
10429 finish_cmds=
10430 finish_eval=
10431 shlibpath_var=
10432 shlibpath_overrides_runpath=unknown
10433 version_type=none
10434 dynamic_linker="$host_os ld.so"
10435 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10436 need_lib_prefix=unknown
10437 hardcode_into_libs=no
10438
10439 # when you set need_version to no, make sure it does not cause -set_version
10440 # flags to be left without arguments
10441 need_version=unknown
10442
10443 case $host_os in
10444 aix3*)
10445   version_type=linux # correct to gnu/linux during the next big refactor
10446   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10447   shlibpath_var=LIBPATH
10448
10449   # AIX 3 has no versioning support, so we append a major version to the name.
10450   soname_spec='${libname}${release}${shared_ext}$major'
10451   ;;
10452
10453 aix[4-9]*)
10454   version_type=linux # correct to gnu/linux during the next big refactor
10455   need_lib_prefix=no
10456   need_version=no
10457   hardcode_into_libs=yes
10458   if test "$host_cpu" = ia64; then
10459     # AIX 5 supports IA64
10460     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10461     shlibpath_var=LD_LIBRARY_PATH
10462   else
10463     # With GCC up to 2.95.x, collect2 would create an import file
10464     # for dependence libraries.  The import file would start with
10465     # the line `#! .'.  This would cause the generated library to
10466     # depend on `.', always an invalid library.  This was fixed in
10467     # development snapshots of GCC prior to 3.0.
10468     case $host_os in
10469       aix4 | aix4.[01] | aix4.[01].*)
10470       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10471            echo ' yes '
10472            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10473         :
10474       else
10475         can_build_shared=no
10476       fi
10477       ;;
10478     esac
10479     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10480     # soname into executable. Probably we can add versioning support to
10481     # collect2, so additional links can be useful in future.
10482     if test "$aix_use_runtimelinking" = yes; then
10483       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10484       # instead of lib<name>.a to let people know that these are not
10485       # typical AIX shared libraries.
10486       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10487     else
10488       # We preserve .a as extension for shared libraries through AIX4.2
10489       # and later when we are not doing run time linking.
10490       library_names_spec='${libname}${release}.a $libname.a'
10491       soname_spec='${libname}${release}${shared_ext}$major'
10492     fi
10493     shlibpath_var=LIBPATH
10494   fi
10495   ;;
10496
10497 amigaos*)
10498   case $host_cpu in
10499   powerpc)
10500     # Since July 2007 AmigaOS4 officially supports .so libraries.
10501     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10502     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503     ;;
10504   m68k)
10505     library_names_spec='$libname.ixlibrary $libname.a'
10506     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10507     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'
10508     ;;
10509   esac
10510   ;;
10511
10512 beos*)
10513   library_names_spec='${libname}${shared_ext}'
10514   dynamic_linker="$host_os ld.so"
10515   shlibpath_var=LIBRARY_PATH
10516   ;;
10517
10518 bsdi[45]*)
10519   version_type=linux # correct to gnu/linux during the next big refactor
10520   need_version=no
10521   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522   soname_spec='${libname}${release}${shared_ext}$major'
10523   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10524   shlibpath_var=LD_LIBRARY_PATH
10525   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10526   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10527   # the default ld.so.conf also contains /usr/contrib/lib and
10528   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10529   # libtool to hard-code these into programs
10530   ;;
10531
10532 cygwin* | mingw* | pw32* | cegcc*)
10533   version_type=windows
10534   shrext_cmds=".dll"
10535   need_version=no
10536   need_lib_prefix=no
10537
10538   case $GCC,$cc_basename in
10539   yes,*)
10540     # gcc
10541     library_names_spec='$libname.dll.a'
10542     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10543     postinstall_cmds='base_file=`basename \${file}`~
10544       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10545       dldir=$destdir/`dirname \$dlpath`~
10546       test -d \$dldir || mkdir -p \$dldir~
10547       $install_prog $dir/$dlname \$dldir/$dlname~
10548       chmod a+x \$dldir/$dlname~
10549       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10550         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10551       fi'
10552     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10553       dlpath=$dir/\$dldll~
10554        $RM \$dlpath'
10555     shlibpath_overrides_runpath=yes
10556
10557     case $host_os in
10558     cygwin*)
10559       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10560       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10561
10562       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10563       ;;
10564     mingw* | cegcc*)
10565       # MinGW DLLs use traditional 'lib' prefix
10566       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567       ;;
10568     pw32*)
10569       # pw32 DLLs use 'pw' prefix rather than 'lib'
10570       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10571       ;;
10572     esac
10573     dynamic_linker='Win32 ld.exe'
10574     ;;
10575
10576   *,cl*)
10577     # Native MSVC
10578     libname_spec='$name'
10579     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10580     library_names_spec='${libname}.dll.lib'
10581
10582     case $build_os in
10583     mingw*)
10584       sys_lib_search_path_spec=
10585       lt_save_ifs=$IFS
10586       IFS=';'
10587       for lt_path in $LIB
10588       do
10589         IFS=$lt_save_ifs
10590         # Let DOS variable expansion print the short 8.3 style file name.
10591         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10592         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10593       done
10594       IFS=$lt_save_ifs
10595       # Convert to MSYS style.
10596       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10597       ;;
10598     cygwin*)
10599       # Convert to unix form, then to dos form, then back to unix form
10600       # but this time dos style (no spaces!) so that the unix form looks
10601       # like /cygdrive/c/PROGRA~1:/cygdr...
10602       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10603       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10604       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10605       ;;
10606     *)
10607       sys_lib_search_path_spec="$LIB"
10608       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10609         # It is most probably a Windows format PATH.
10610         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10611       else
10612         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10613       fi
10614       # FIXME: find the short name or the path components, as spaces are
10615       # common. (e.g. "Program Files" -> "PROGRA~1")
10616       ;;
10617     esac
10618
10619     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10620     postinstall_cmds='base_file=`basename \${file}`~
10621       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10622       dldir=$destdir/`dirname \$dlpath`~
10623       test -d \$dldir || mkdir -p \$dldir~
10624       $install_prog $dir/$dlname \$dldir/$dlname'
10625     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10626       dlpath=$dir/\$dldll~
10627        $RM \$dlpath'
10628     shlibpath_overrides_runpath=yes
10629     dynamic_linker='Win32 link.exe'
10630     ;;
10631
10632   *)
10633     # Assume MSVC wrapper
10634     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10635     dynamic_linker='Win32 ld.exe'
10636     ;;
10637   esac
10638   # FIXME: first we should search . and the directory the executable is in
10639   shlibpath_var=PATH
10640   ;;
10641
10642 darwin* | rhapsody*)
10643   dynamic_linker="$host_os dyld"
10644   version_type=darwin
10645   need_lib_prefix=no
10646   need_version=no
10647   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10648   soname_spec='${libname}${release}${major}$shared_ext'
10649   shlibpath_overrides_runpath=yes
10650   shlibpath_var=DYLD_LIBRARY_PATH
10651   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10652
10653   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10654   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10655   ;;
10656
10657 dgux*)
10658   version_type=linux # correct to gnu/linux during the next big refactor
10659   need_lib_prefix=no
10660   need_version=no
10661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10662   soname_spec='${libname}${release}${shared_ext}$major'
10663   shlibpath_var=LD_LIBRARY_PATH
10664   ;;
10665
10666 freebsd* | dragonfly*)
10667   # DragonFly does not have aout.  When/if they implement a new
10668   # versioning mechanism, adjust this.
10669   if test -x /usr/bin/objformat; then
10670     objformat=`/usr/bin/objformat`
10671   else
10672     case $host_os in
10673     freebsd[23].*) objformat=aout ;;
10674     *) objformat=elf ;;
10675     esac
10676   fi
10677   version_type=freebsd-$objformat
10678   case $version_type in
10679     freebsd-elf*)
10680       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10681       need_version=no
10682       need_lib_prefix=no
10683       ;;
10684     freebsd-*)
10685       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10686       need_version=yes
10687       ;;
10688   esac
10689   shlibpath_var=LD_LIBRARY_PATH
10690   case $host_os in
10691   freebsd2.*)
10692     shlibpath_overrides_runpath=yes
10693     ;;
10694   freebsd3.[01]* | freebsdelf3.[01]*)
10695     shlibpath_overrides_runpath=yes
10696     hardcode_into_libs=yes
10697     ;;
10698   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10699   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10700     shlibpath_overrides_runpath=no
10701     hardcode_into_libs=yes
10702     ;;
10703   *) # from 4.6 on, and DragonFly
10704     shlibpath_overrides_runpath=yes
10705     hardcode_into_libs=yes
10706     ;;
10707   esac
10708   ;;
10709
10710 gnu*)
10711   version_type=linux # correct to gnu/linux during the next big refactor
10712   need_lib_prefix=no
10713   need_version=no
10714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10715   soname_spec='${libname}${release}${shared_ext}$major'
10716   shlibpath_var=LD_LIBRARY_PATH
10717   shlibpath_overrides_runpath=no
10718   hardcode_into_libs=yes
10719   ;;
10720
10721 haiku*)
10722   version_type=linux # correct to gnu/linux during the next big refactor
10723   need_lib_prefix=no
10724   need_version=no
10725   dynamic_linker="$host_os runtime_loader"
10726   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10727   soname_spec='${libname}${release}${shared_ext}$major'
10728   shlibpath_var=LIBRARY_PATH
10729   shlibpath_overrides_runpath=yes
10730   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10731   hardcode_into_libs=yes
10732   ;;
10733
10734 hpux9* | hpux10* | hpux11*)
10735   # Give a soname corresponding to the major version so that dld.sl refuses to
10736   # link against other versions.
10737   version_type=sunos
10738   need_lib_prefix=no
10739   need_version=no
10740   case $host_cpu in
10741   ia64*)
10742     shrext_cmds='.so'
10743     hardcode_into_libs=yes
10744     dynamic_linker="$host_os dld.so"
10745     shlibpath_var=LD_LIBRARY_PATH
10746     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748     soname_spec='${libname}${release}${shared_ext}$major'
10749     if test "X$HPUX_IA64_MODE" = X32; then
10750       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10751     else
10752       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10753     fi
10754     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10755     ;;
10756   hppa*64*)
10757     shrext_cmds='.sl'
10758     hardcode_into_libs=yes
10759     dynamic_linker="$host_os dld.sl"
10760     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10761     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10762     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763     soname_spec='${libname}${release}${shared_ext}$major'
10764     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10765     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10766     ;;
10767   *)
10768     shrext_cmds='.sl'
10769     dynamic_linker="$host_os dld.sl"
10770     shlibpath_var=SHLIB_PATH
10771     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10772     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10773     soname_spec='${libname}${release}${shared_ext}$major'
10774     ;;
10775   esac
10776   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10777   postinstall_cmds='chmod 555 $lib'
10778   # or fails outright, so override atomically:
10779   install_override_mode=555
10780   ;;
10781
10782 interix[3-9]*)
10783   version_type=linux # correct to gnu/linux during the next big refactor
10784   need_lib_prefix=no
10785   need_version=no
10786   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10787   soname_spec='${libname}${release}${shared_ext}$major'
10788   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10789   shlibpath_var=LD_LIBRARY_PATH
10790   shlibpath_overrides_runpath=no
10791   hardcode_into_libs=yes
10792   ;;
10793
10794 irix5* | irix6* | nonstopux*)
10795   case $host_os in
10796     nonstopux*) version_type=nonstopux ;;
10797     *)
10798         if test "$lt_cv_prog_gnu_ld" = yes; then
10799                 version_type=linux # correct to gnu/linux during the next big refactor
10800         else
10801                 version_type=irix
10802         fi ;;
10803   esac
10804   need_lib_prefix=no
10805   need_version=no
10806   soname_spec='${libname}${release}${shared_ext}$major'
10807   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10808   case $host_os in
10809   irix5* | nonstopux*)
10810     libsuff= shlibsuff=
10811     ;;
10812   *)
10813     case $LD in # libtool.m4 will add one of these switches to LD
10814     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10815       libsuff= shlibsuff= libmagic=32-bit;;
10816     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10817       libsuff=32 shlibsuff=N32 libmagic=N32;;
10818     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10819       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10820     *) libsuff= shlibsuff= libmagic=never-match;;
10821     esac
10822     ;;
10823   esac
10824   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10825   shlibpath_overrides_runpath=no
10826   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10827   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10828   hardcode_into_libs=yes
10829   ;;
10830
10831 # No shared lib support for Linux oldld, aout, or coff.
10832 linux*oldld* | linux*aout* | linux*coff*)
10833   dynamic_linker=no
10834   ;;
10835
10836 # This must be glibc/ELF.
10837 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10838   version_type=linux # correct to gnu/linux during the next big refactor
10839   need_lib_prefix=no
10840   need_version=no
10841   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10842   soname_spec='${libname}${release}${shared_ext}$major'
10843   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10844   shlibpath_var=LD_LIBRARY_PATH
10845   shlibpath_overrides_runpath=no
10846
10847   # Some binutils ld are patched to set DT_RUNPATH
10848   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10849   $as_echo_n "(cached) " >&6
10850 else
10851   lt_cv_shlibpath_overrides_runpath=no
10852     save_LDFLAGS=$LDFLAGS
10853     save_libdir=$libdir
10854     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10855          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10856     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h.  */
10858
10859 int
10860 main ()
10861 {
10862
10863   ;
10864   return 0;
10865 }
10866 _ACEOF
10867 if ac_fn_c_try_link "$LINENO"; then :
10868   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10869   lt_cv_shlibpath_overrides_runpath=yes
10870 fi
10871 fi
10872 rm -f core conftest.err conftest.$ac_objext \
10873     conftest$ac_exeext conftest.$ac_ext
10874     LDFLAGS=$save_LDFLAGS
10875     libdir=$save_libdir
10876
10877 fi
10878
10879   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10880
10881   # This implies no fast_install, which is unacceptable.
10882   # Some rework will be needed to allow for fast_install
10883   # before this can be enabled.
10884   hardcode_into_libs=yes
10885
10886   # Add ABI-specific directories to the system library path.
10887   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10888
10889   # Append ld.so.conf contents to the search path
10890   if test -f /etc/ld.so.conf; then
10891     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' ' '`
10892     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10893
10894   fi
10895
10896   # We used to test for /lib/ld.so.1 and disable shared libraries on
10897   # powerpc, because MkLinux only supported shared libraries with the
10898   # GNU dynamic linker.  Since this was broken with cross compilers,
10899   # most powerpc-linux boxes support dynamic linking these days and
10900   # people can always --disable-shared, the test was removed, and we
10901   # assume the GNU/Linux dynamic linker is in use.
10902   dynamic_linker='GNU/Linux ld.so'
10903   ;;
10904
10905 netbsd*)
10906   version_type=sunos
10907   need_lib_prefix=no
10908   need_version=no
10909   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10910     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10911     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10912     dynamic_linker='NetBSD (a.out) ld.so'
10913   else
10914     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10915     soname_spec='${libname}${release}${shared_ext}$major'
10916     dynamic_linker='NetBSD ld.elf_so'
10917   fi
10918   shlibpath_var=LD_LIBRARY_PATH
10919   shlibpath_overrides_runpath=yes
10920   hardcode_into_libs=yes
10921   ;;
10922
10923 newsos6)
10924   version_type=linux # correct to gnu/linux during the next big refactor
10925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926   shlibpath_var=LD_LIBRARY_PATH
10927   shlibpath_overrides_runpath=yes
10928   ;;
10929
10930 *nto* | *qnx*)
10931   version_type=qnx
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=no
10938   hardcode_into_libs=yes
10939   dynamic_linker='ldqnx.so'
10940   ;;
10941
10942 openbsd*)
10943   version_type=sunos
10944   sys_lib_dlsearch_path_spec="/usr/lib"
10945   need_lib_prefix=no
10946   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10947   case $host_os in
10948     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10949     *)                          need_version=no  ;;
10950   esac
10951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10952   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10953   shlibpath_var=LD_LIBRARY_PATH
10954   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10955     case $host_os in
10956       openbsd2.[89] | openbsd2.[89].*)
10957         shlibpath_overrides_runpath=no
10958         ;;
10959       *)
10960         shlibpath_overrides_runpath=yes
10961         ;;
10962       esac
10963   else
10964     shlibpath_overrides_runpath=yes
10965   fi
10966   ;;
10967
10968 os2*)
10969   libname_spec='$name'
10970   shrext_cmds=".dll"
10971   need_lib_prefix=no
10972   library_names_spec='$libname${shared_ext} $libname.a'
10973   dynamic_linker='OS/2 ld.exe'
10974   shlibpath_var=LIBPATH
10975   ;;
10976
10977 osf3* | osf4* | osf5*)
10978   version_type=osf
10979   need_lib_prefix=no
10980   need_version=no
10981   soname_spec='${libname}${release}${shared_ext}$major'
10982   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983   shlibpath_var=LD_LIBRARY_PATH
10984   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10985   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10986   ;;
10987
10988 rdos*)
10989   dynamic_linker=no
10990   ;;
10991
10992 solaris*)
10993   version_type=linux # correct to gnu/linux during the next big refactor
10994   need_lib_prefix=no
10995   need_version=no
10996   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997   soname_spec='${libname}${release}${shared_ext}$major'
10998   shlibpath_var=LD_LIBRARY_PATH
10999   shlibpath_overrides_runpath=yes
11000   hardcode_into_libs=yes
11001   # ldd complains unless libraries are executable
11002   postinstall_cmds='chmod +x $lib'
11003   ;;
11004
11005 sunos4*)
11006   version_type=sunos
11007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11008   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11009   shlibpath_var=LD_LIBRARY_PATH
11010   shlibpath_overrides_runpath=yes
11011   if test "$with_gnu_ld" = yes; then
11012     need_lib_prefix=no
11013   fi
11014   need_version=yes
11015   ;;
11016
11017 sysv4 | sysv4.3*)
11018   version_type=linux # correct to gnu/linux during the next big refactor
11019   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11020   soname_spec='${libname}${release}${shared_ext}$major'
11021   shlibpath_var=LD_LIBRARY_PATH
11022   case $host_vendor in
11023     sni)
11024       shlibpath_overrides_runpath=no
11025       need_lib_prefix=no
11026       runpath_var=LD_RUN_PATH
11027       ;;
11028     siemens)
11029       need_lib_prefix=no
11030       ;;
11031     motorola)
11032       need_lib_prefix=no
11033       need_version=no
11034       shlibpath_overrides_runpath=no
11035       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11036       ;;
11037   esac
11038   ;;
11039
11040 sysv4*MP*)
11041   if test -d /usr/nec ;then
11042     version_type=linux # correct to gnu/linux during the next big refactor
11043     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11044     soname_spec='$libname${shared_ext}.$major'
11045     shlibpath_var=LD_LIBRARY_PATH
11046   fi
11047   ;;
11048
11049 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11050   version_type=freebsd-elf
11051   need_lib_prefix=no
11052   need_version=no
11053   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11054   soname_spec='${libname}${release}${shared_ext}$major'
11055   shlibpath_var=LD_LIBRARY_PATH
11056   shlibpath_overrides_runpath=yes
11057   hardcode_into_libs=yes
11058   if test "$with_gnu_ld" = yes; then
11059     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11060   else
11061     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11062     case $host_os in
11063       sco3.2v5*)
11064         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11065         ;;
11066     esac
11067   fi
11068   sys_lib_dlsearch_path_spec='/usr/lib'
11069   ;;
11070
11071 tpf*)
11072   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11073   version_type=linux # correct to gnu/linux during the next big refactor
11074   need_lib_prefix=no
11075   need_version=no
11076   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077   shlibpath_var=LD_LIBRARY_PATH
11078   shlibpath_overrides_runpath=no
11079   hardcode_into_libs=yes
11080   ;;
11081
11082 uts4*)
11083   version_type=linux # correct to gnu/linux during the next big refactor
11084   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085   soname_spec='${libname}${release}${shared_ext}$major'
11086   shlibpath_var=LD_LIBRARY_PATH
11087   ;;
11088
11089 *)
11090   dynamic_linker=no
11091   ;;
11092 esac
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11094 $as_echo "$dynamic_linker" >&6; }
11095 test "$dynamic_linker" = no && can_build_shared=no
11096
11097 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11098 if test "$GCC" = yes; then
11099   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11100 fi
11101
11102 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11103   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11104 fi
11105 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11106   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11107 fi
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11201 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11202 hardcode_action=
11203 if test -n "$hardcode_libdir_flag_spec" ||
11204    test -n "$runpath_var" ||
11205    test "X$hardcode_automatic" = "Xyes" ; then
11206
11207   # We can hardcode non-existent directories.
11208   if test "$hardcode_direct" != no &&
11209      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11210      # have to relink, otherwise we might link with an installed library
11211      # when we should be linking with a yet-to-be-installed one
11212      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11213      test "$hardcode_minus_L" != no; then
11214     # Linking always hardcodes the temporary library directory.
11215     hardcode_action=relink
11216   else
11217     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11218     hardcode_action=immediate
11219   fi
11220 else
11221   # We cannot hardcode anything, or else we can only hardcode existing
11222   # directories.
11223   hardcode_action=unsupported
11224 fi
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11226 $as_echo "$hardcode_action" >&6; }
11227
11228 if test "$hardcode_action" = relink ||
11229    test "$inherit_rpath" = yes; then
11230   # Fast installation is not supported
11231   enable_fast_install=no
11232 elif test "$shlibpath_overrides_runpath" = yes ||
11233      test "$enable_shared" = no; then
11234   # Fast installation is not necessary
11235   enable_fast_install=needless
11236 fi
11237
11238
11239
11240
11241
11242
11243   if test "x$enable_dlopen" != xyes; then
11244   enable_dlopen=unknown
11245   enable_dlopen_self=unknown
11246   enable_dlopen_self_static=unknown
11247 else
11248   lt_cv_dlopen=no
11249   lt_cv_dlopen_libs=
11250
11251   case $host_os in
11252   beos*)
11253     lt_cv_dlopen="load_add_on"
11254     lt_cv_dlopen_libs=
11255     lt_cv_dlopen_self=yes
11256     ;;
11257
11258   mingw* | pw32* | cegcc*)
11259     lt_cv_dlopen="LoadLibrary"
11260     lt_cv_dlopen_libs=
11261     ;;
11262
11263   cygwin*)
11264     lt_cv_dlopen="dlopen"
11265     lt_cv_dlopen_libs=
11266     ;;
11267
11268   darwin*)
11269   # if libdl is installed we need to link against it
11270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11271 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11272 if ${ac_cv_lib_dl_dlopen+:} false; then :
11273   $as_echo_n "(cached) " >&6
11274 else
11275   ac_check_lib_save_LIBS=$LIBS
11276 LIBS="-ldl  $LIBS"
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h.  */
11279
11280 /* Override any GCC internal prototype to avoid an error.
11281    Use char because int might match the return type of a GCC
11282    builtin and then its argument prototype would still apply.  */
11283 #ifdef __cplusplus
11284 extern "C"
11285 #endif
11286 char dlopen ();
11287 int
11288 main ()
11289 {
11290 return dlopen ();
11291   ;
11292   return 0;
11293 }
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"; then :
11296   ac_cv_lib_dl_dlopen=yes
11297 else
11298   ac_cv_lib_dl_dlopen=no
11299 fi
11300 rm -f core conftest.err conftest.$ac_objext \
11301     conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11303 fi
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11305 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11306 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11307   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11308 else
11309
11310     lt_cv_dlopen="dyld"
11311     lt_cv_dlopen_libs=
11312     lt_cv_dlopen_self=yes
11313
11314 fi
11315
11316     ;;
11317
11318   *)
11319     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11320 if test "x$ac_cv_func_shl_load" = xyes; then :
11321   lt_cv_dlopen="shl_load"
11322 else
11323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11324 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11325 if ${ac_cv_lib_dld_shl_load+:} false; then :
11326   $as_echo_n "(cached) " >&6
11327 else
11328   ac_check_lib_save_LIBS=$LIBS
11329 LIBS="-ldld  $LIBS"
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h.  */
11332
11333 /* Override any GCC internal prototype to avoid an error.
11334    Use char because int might match the return type of a GCC
11335    builtin and then its argument prototype would still apply.  */
11336 #ifdef __cplusplus
11337 extern "C"
11338 #endif
11339 char shl_load ();
11340 int
11341 main ()
11342 {
11343 return shl_load ();
11344   ;
11345   return 0;
11346 }
11347 _ACEOF
11348 if ac_fn_c_try_link "$LINENO"; then :
11349   ac_cv_lib_dld_shl_load=yes
11350 else
11351   ac_cv_lib_dld_shl_load=no
11352 fi
11353 rm -f core conftest.err conftest.$ac_objext \
11354     conftest$ac_exeext conftest.$ac_ext
11355 LIBS=$ac_check_lib_save_LIBS
11356 fi
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11358 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11359 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11360   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11361 else
11362   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11363 if test "x$ac_cv_func_dlopen" = xyes; then :
11364   lt_cv_dlopen="dlopen"
11365 else
11366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11367 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11368 if ${ac_cv_lib_dl_dlopen+:} false; then :
11369   $as_echo_n "(cached) " >&6
11370 else
11371   ac_check_lib_save_LIBS=$LIBS
11372 LIBS="-ldl  $LIBS"
11373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h.  */
11375
11376 /* Override any GCC internal prototype to avoid an error.
11377    Use char because int might match the return type of a GCC
11378    builtin and then its argument prototype would still apply.  */
11379 #ifdef __cplusplus
11380 extern "C"
11381 #endif
11382 char dlopen ();
11383 int
11384 main ()
11385 {
11386 return dlopen ();
11387   ;
11388   return 0;
11389 }
11390 _ACEOF
11391 if ac_fn_c_try_link "$LINENO"; then :
11392   ac_cv_lib_dl_dlopen=yes
11393 else
11394   ac_cv_lib_dl_dlopen=no
11395 fi
11396 rm -f core conftest.err conftest.$ac_objext \
11397     conftest$ac_exeext conftest.$ac_ext
11398 LIBS=$ac_check_lib_save_LIBS
11399 fi
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11401 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11402 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11403   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11404 else
11405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11406 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11407 if ${ac_cv_lib_svld_dlopen+:} false; then :
11408   $as_echo_n "(cached) " >&6
11409 else
11410   ac_check_lib_save_LIBS=$LIBS
11411 LIBS="-lsvld  $LIBS"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h.  */
11414
11415 /* Override any GCC internal prototype to avoid an error.
11416    Use char because int might match the return type of a GCC
11417    builtin and then its argument prototype would still apply.  */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char dlopen ();
11422 int
11423 main ()
11424 {
11425 return dlopen ();
11426   ;
11427   return 0;
11428 }
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431   ac_cv_lib_svld_dlopen=yes
11432 else
11433   ac_cv_lib_svld_dlopen=no
11434 fi
11435 rm -f core conftest.err conftest.$ac_objext \
11436     conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11438 fi
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11440 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11441 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11442   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11443 else
11444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11445 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11446 if ${ac_cv_lib_dld_dld_link+:} false; then :
11447   $as_echo_n "(cached) " >&6
11448 else
11449   ac_check_lib_save_LIBS=$LIBS
11450 LIBS="-ldld  $LIBS"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h.  */
11453
11454 /* Override any GCC internal prototype to avoid an error.
11455    Use char because int might match the return type of a GCC
11456    builtin and then its argument prototype would still apply.  */
11457 #ifdef __cplusplus
11458 extern "C"
11459 #endif
11460 char dld_link ();
11461 int
11462 main ()
11463 {
11464 return dld_link ();
11465   ;
11466   return 0;
11467 }
11468 _ACEOF
11469 if ac_fn_c_try_link "$LINENO"; then :
11470   ac_cv_lib_dld_dld_link=yes
11471 else
11472   ac_cv_lib_dld_dld_link=no
11473 fi
11474 rm -f core conftest.err conftest.$ac_objext \
11475     conftest$ac_exeext conftest.$ac_ext
11476 LIBS=$ac_check_lib_save_LIBS
11477 fi
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11479 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11480 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11481   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11482 fi
11483
11484
11485 fi
11486
11487
11488 fi
11489
11490
11491 fi
11492
11493
11494 fi
11495
11496
11497 fi
11498
11499     ;;
11500   esac
11501
11502   if test "x$lt_cv_dlopen" != xno; then
11503     enable_dlopen=yes
11504   else
11505     enable_dlopen=no
11506   fi
11507
11508   case $lt_cv_dlopen in
11509   dlopen)
11510     save_CPPFLAGS="$CPPFLAGS"
11511     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11512
11513     save_LDFLAGS="$LDFLAGS"
11514     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11515
11516     save_LIBS="$LIBS"
11517     LIBS="$lt_cv_dlopen_libs $LIBS"
11518
11519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11520 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11521 if ${lt_cv_dlopen_self+:} false; then :
11522   $as_echo_n "(cached) " >&6
11523 else
11524           if test "$cross_compiling" = yes; then :
11525   lt_cv_dlopen_self=cross
11526 else
11527   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11528   lt_status=$lt_dlunknown
11529   cat > conftest.$ac_ext <<_LT_EOF
11530 #line $LINENO "configure"
11531 #include "confdefs.h"
11532
11533 #if HAVE_DLFCN_H
11534 #include <dlfcn.h>
11535 #endif
11536
11537 #include <stdio.h>
11538
11539 #ifdef RTLD_GLOBAL
11540 #  define LT_DLGLOBAL           RTLD_GLOBAL
11541 #else
11542 #  ifdef DL_GLOBAL
11543 #    define LT_DLGLOBAL         DL_GLOBAL
11544 #  else
11545 #    define LT_DLGLOBAL         0
11546 #  endif
11547 #endif
11548
11549 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11550    find out it does not work in some platform. */
11551 #ifndef LT_DLLAZY_OR_NOW
11552 #  ifdef RTLD_LAZY
11553 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11554 #  else
11555 #    ifdef DL_LAZY
11556 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11557 #    else
11558 #      ifdef RTLD_NOW
11559 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11560 #      else
11561 #        ifdef DL_NOW
11562 #          define LT_DLLAZY_OR_NOW      DL_NOW
11563 #        else
11564 #          define LT_DLLAZY_OR_NOW      0
11565 #        endif
11566 #      endif
11567 #    endif
11568 #  endif
11569 #endif
11570
11571 /* When -fvisbility=hidden is used, assume the code has been annotated
11572    correspondingly for the symbols needed.  */
11573 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11574 int fnord () __attribute__((visibility("default")));
11575 #endif
11576
11577 int fnord () { return 42; }
11578 int main ()
11579 {
11580   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11581   int status = $lt_dlunknown;
11582
11583   if (self)
11584     {
11585       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11586       else
11587         {
11588           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11589           else puts (dlerror ());
11590         }
11591       /* dlclose (self); */
11592     }
11593   else
11594     puts (dlerror ());
11595
11596   return status;
11597 }
11598 _LT_EOF
11599   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11600   (eval $ac_link) 2>&5
11601   ac_status=$?
11602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11603   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11604     (./conftest; exit; ) >&5 2>/dev/null
11605     lt_status=$?
11606     case x$lt_status in
11607       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11608       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11609       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11610     esac
11611   else :
11612     # compilation failed
11613     lt_cv_dlopen_self=no
11614   fi
11615 fi
11616 rm -fr conftest*
11617
11618
11619 fi
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11621 $as_echo "$lt_cv_dlopen_self" >&6; }
11622
11623     if test "x$lt_cv_dlopen_self" = xyes; then
11624       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11625       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11626 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11627 if ${lt_cv_dlopen_self_static+:} false; then :
11628   $as_echo_n "(cached) " >&6
11629 else
11630           if test "$cross_compiling" = yes; then :
11631   lt_cv_dlopen_self_static=cross
11632 else
11633   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11634   lt_status=$lt_dlunknown
11635   cat > conftest.$ac_ext <<_LT_EOF
11636 #line $LINENO "configure"
11637 #include "confdefs.h"
11638
11639 #if HAVE_DLFCN_H
11640 #include <dlfcn.h>
11641 #endif
11642
11643 #include <stdio.h>
11644
11645 #ifdef RTLD_GLOBAL
11646 #  define LT_DLGLOBAL           RTLD_GLOBAL
11647 #else
11648 #  ifdef DL_GLOBAL
11649 #    define LT_DLGLOBAL         DL_GLOBAL
11650 #  else
11651 #    define LT_DLGLOBAL         0
11652 #  endif
11653 #endif
11654
11655 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11656    find out it does not work in some platform. */
11657 #ifndef LT_DLLAZY_OR_NOW
11658 #  ifdef RTLD_LAZY
11659 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11660 #  else
11661 #    ifdef DL_LAZY
11662 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11663 #    else
11664 #      ifdef RTLD_NOW
11665 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11666 #      else
11667 #        ifdef DL_NOW
11668 #          define LT_DLLAZY_OR_NOW      DL_NOW
11669 #        else
11670 #          define LT_DLLAZY_OR_NOW      0
11671 #        endif
11672 #      endif
11673 #    endif
11674 #  endif
11675 #endif
11676
11677 /* When -fvisbility=hidden is used, assume the code has been annotated
11678    correspondingly for the symbols needed.  */
11679 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11680 int fnord () __attribute__((visibility("default")));
11681 #endif
11682
11683 int fnord () { return 42; }
11684 int main ()
11685 {
11686   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11687   int status = $lt_dlunknown;
11688
11689   if (self)
11690     {
11691       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11692       else
11693         {
11694           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11695           else puts (dlerror ());
11696         }
11697       /* dlclose (self); */
11698     }
11699   else
11700     puts (dlerror ());
11701
11702   return status;
11703 }
11704 _LT_EOF
11705   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11706   (eval $ac_link) 2>&5
11707   ac_status=$?
11708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11709   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11710     (./conftest; exit; ) >&5 2>/dev/null
11711     lt_status=$?
11712     case x$lt_status in
11713       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11714       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11715       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11716     esac
11717   else :
11718     # compilation failed
11719     lt_cv_dlopen_self_static=no
11720   fi
11721 fi
11722 rm -fr conftest*
11723
11724
11725 fi
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11727 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11728     fi
11729
11730     CPPFLAGS="$save_CPPFLAGS"
11731     LDFLAGS="$save_LDFLAGS"
11732     LIBS="$save_LIBS"
11733     ;;
11734   esac
11735
11736   case $lt_cv_dlopen_self in
11737   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11738   *) enable_dlopen_self=unknown ;;
11739   esac
11740
11741   case $lt_cv_dlopen_self_static in
11742   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11743   *) enable_dlopen_self_static=unknown ;;
11744   esac
11745 fi
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763 striplib=
11764 old_striplib=
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11766 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11767 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11768   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11769   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11771 $as_echo "yes" >&6; }
11772 else
11773 # FIXME - insert some real tests, host_os isn't really good enough
11774   case $host_os in
11775   darwin*)
11776     if test -n "$STRIP" ; then
11777       striplib="$STRIP -x"
11778       old_striplib="$STRIP -S"
11779       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11780 $as_echo "yes" >&6; }
11781     else
11782       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11783 $as_echo "no" >&6; }
11784     fi
11785     ;;
11786   *)
11787     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788 $as_echo "no" >&6; }
11789     ;;
11790   esac
11791 fi
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804   # Report which library types will actually be built
11805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11806 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11808 $as_echo "$can_build_shared" >&6; }
11809
11810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11811 $as_echo_n "checking whether to build shared libraries... " >&6; }
11812   test "$can_build_shared" = "no" && enable_shared=no
11813
11814   # On AIX, shared libraries and static libraries use the same namespace, and
11815   # are all built from PIC.
11816   case $host_os in
11817   aix3*)
11818     test "$enable_shared" = yes && enable_static=no
11819     if test -n "$RANLIB"; then
11820       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11821       postinstall_cmds='$RANLIB $lib'
11822     fi
11823     ;;
11824
11825   aix[4-9]*)
11826     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11827       test "$enable_shared" = yes && enable_static=no
11828     fi
11829     ;;
11830   esac
11831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11832 $as_echo "$enable_shared" >&6; }
11833
11834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11835 $as_echo_n "checking whether to build static libraries... " >&6; }
11836   # Make sure either enable_shared or enable_static is yes.
11837   test "$enable_shared" = yes || enable_static=yes
11838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11839 $as_echo "$enable_static" >&6; }
11840
11841
11842
11843
11844 fi
11845 ac_ext=c
11846 ac_cpp='$CPP $CPPFLAGS'
11847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11850
11851 CC="$lt_save_CC"
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867         ac_config_commands="$ac_config_commands libtool"
11868
11869
11870
11871
11872 # Only expand once:
11873
11874
11875
11876 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11877 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11878
11879
11880
11881 cat >>confdefs.h <<_ACEOF
11882 #define VMAJ 1
11883 _ACEOF
11884
11885
11886 cat >>confdefs.h <<_ACEOF
11887 #define VMIN 7
11888 _ACEOF
11889
11890
11891 cat >>confdefs.h <<_ACEOF
11892 #define VMIC 8
11893 _ACEOF
11894
11895
11896 cat >>confdefs.h <<_ACEOF
11897 #define VREV 0
11898 _ACEOF
11899
11900 version_info="8:8:7"
11901 release_info=""
11902
11903
11904 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11905 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11906 VMAJ=1
11907
11908
11909 ### Needed information
11910
11911
11912
11913
11914 want_ebluez="yes"
11915 want_econnman0_7x="yes"
11916 want_ehal="yes"
11917 want_enotify="yes"
11918 want_eofono="yes"
11919 want_eukit="yes"
11920
11921 case "$host_os" in
11922    mingw*)
11923       want_ebluez="no"
11924       want_econnman0_7x="no"
11925       want_ehal="no"
11926       want_enotify="no"
11927       want_eofono="no"
11928       want_eukit="no"
11929       ;;
11930 esac
11931
11932 requirement_ebluez="edbus >= 1.7.8"
11933 requirement_econnman0_7x="edbus >= 1.7.8"
11934 requirement_edbus="ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62"
11935 requirement_ehal="edbus >= 1.7.8"
11936 requirement_enotify="edbus >= 1.7.8"
11937 requirement_eofono="edbus >= 1.7.8"
11938 requirement_eukit="edbus >= 1.7.8"
11939
11940 ### Additional options to configure
11941
11942
11943 # Check whether --enable-ebluez was given.
11944 if test "${enable_ebluez+set}" = set; then :
11945   enableval=$enable_ebluez; enable_ebluez=$enableval
11946 else
11947   enable_ebluez="${want_ebluez}"
11948 fi
11949
11950
11951 # Check whether --enable-econnman0_7x was given.
11952 if test "${enable_econnman0_7x+set}" = set; then :
11953   enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
11954 else
11955   enable_econnman0_7x="${want_econnman0_7x}"
11956 fi
11957
11958
11959 # Check whether --enable-ehal was given.
11960 if test "${enable_ehal+set}" = set; then :
11961   enableval=$enable_ehal; enable_ehal=$enableval
11962 else
11963   enable_ehal="${want_ehal}"
11964 fi
11965
11966
11967 # Check whether --enable-enotify was given.
11968 if test "${enable_enotify+set}" = set; then :
11969   enableval=$enable_enotify; enable_enotify=$enableval
11970 else
11971   enable_enotify="${want_enotify}"
11972 fi
11973
11974
11975 # Check whether --enable-eofono was given.
11976 if test "${enable_eofono+set}" = set; then :
11977   enableval=$enable_eofono; enable_eofono=$enableval
11978 else
11979   enable_eofono="${want_eofono}"
11980 fi
11981
11982
11983 # Check whether --enable-eukit was given.
11984 if test "${enable_eukit+set}" = set; then :
11985   enableval=$enable_eukit; enable_eukit=$enableval
11986 else
11987   enable_eukit="${want_eukit}"
11988 fi
11989
11990
11991 ### Checks for programs
11992
11993 ac_ext=c
11994 ac_cpp='$CPP $CPPFLAGS'
11995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11998 if test -n "$ac_tool_prefix"; then
11999   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12000 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12002 $as_echo_n "checking for $ac_word... " >&6; }
12003 if ${ac_cv_prog_CC+:} false; then :
12004   $as_echo_n "(cached) " >&6
12005 else
12006   if test -n "$CC"; then
12007   ac_cv_prog_CC="$CC" # Let the user override the test.
12008 else
12009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12010 for as_dir in $PATH
12011 do
12012   IFS=$as_save_IFS
12013   test -z "$as_dir" && as_dir=.
12014     for ac_exec_ext in '' $ac_executable_extensions; do
12015   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12016     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12018     break 2
12019   fi
12020 done
12021   done
12022 IFS=$as_save_IFS
12023
12024 fi
12025 fi
12026 CC=$ac_cv_prog_CC
12027 if test -n "$CC"; then
12028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12029 $as_echo "$CC" >&6; }
12030 else
12031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12032 $as_echo "no" >&6; }
12033 fi
12034
12035
12036 fi
12037 if test -z "$ac_cv_prog_CC"; then
12038   ac_ct_CC=$CC
12039   # Extract the first word of "gcc", so it can be a program name with args.
12040 set dummy gcc; ac_word=$2
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12042 $as_echo_n "checking for $ac_word... " >&6; }
12043 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12044   $as_echo_n "(cached) " >&6
12045 else
12046   if test -n "$ac_ct_CC"; then
12047   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12048 else
12049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12050 for as_dir in $PATH
12051 do
12052   IFS=$as_save_IFS
12053   test -z "$as_dir" && as_dir=.
12054     for ac_exec_ext in '' $ac_executable_extensions; do
12055   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12056     ac_cv_prog_ac_ct_CC="gcc"
12057     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12058     break 2
12059   fi
12060 done
12061   done
12062 IFS=$as_save_IFS
12063
12064 fi
12065 fi
12066 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12067 if test -n "$ac_ct_CC"; then
12068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12069 $as_echo "$ac_ct_CC" >&6; }
12070 else
12071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12072 $as_echo "no" >&6; }
12073 fi
12074
12075   if test "x$ac_ct_CC" = x; then
12076     CC=""
12077   else
12078     case $cross_compiling:$ac_tool_warned in
12079 yes:)
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12082 ac_tool_warned=yes ;;
12083 esac
12084     CC=$ac_ct_CC
12085   fi
12086 else
12087   CC="$ac_cv_prog_CC"
12088 fi
12089
12090 if test -z "$CC"; then
12091           if test -n "$ac_tool_prefix"; then
12092     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12093 set dummy ${ac_tool_prefix}cc; ac_word=$2
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12095 $as_echo_n "checking for $ac_word... " >&6; }
12096 if ${ac_cv_prog_CC+:} false; then :
12097   $as_echo_n "(cached) " >&6
12098 else
12099   if test -n "$CC"; then
12100   ac_cv_prog_CC="$CC" # Let the user override the test.
12101 else
12102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12103 for as_dir in $PATH
12104 do
12105   IFS=$as_save_IFS
12106   test -z "$as_dir" && as_dir=.
12107     for ac_exec_ext in '' $ac_executable_extensions; do
12108   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12109     ac_cv_prog_CC="${ac_tool_prefix}cc"
12110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12111     break 2
12112   fi
12113 done
12114   done
12115 IFS=$as_save_IFS
12116
12117 fi
12118 fi
12119 CC=$ac_cv_prog_CC
12120 if test -n "$CC"; then
12121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12122 $as_echo "$CC" >&6; }
12123 else
12124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12125 $as_echo "no" >&6; }
12126 fi
12127
12128
12129   fi
12130 fi
12131 if test -z "$CC"; then
12132   # Extract the first word of "cc", so it can be a program name with args.
12133 set dummy cc; ac_word=$2
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12135 $as_echo_n "checking for $ac_word... " >&6; }
12136 if ${ac_cv_prog_CC+:} false; then :
12137   $as_echo_n "(cached) " >&6
12138 else
12139   if test -n "$CC"; then
12140   ac_cv_prog_CC="$CC" # Let the user override the test.
12141 else
12142   ac_prog_rejected=no
12143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12144 for as_dir in $PATH
12145 do
12146   IFS=$as_save_IFS
12147   test -z "$as_dir" && as_dir=.
12148     for ac_exec_ext in '' $ac_executable_extensions; do
12149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12150     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12151        ac_prog_rejected=yes
12152        continue
12153      fi
12154     ac_cv_prog_CC="cc"
12155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12156     break 2
12157   fi
12158 done
12159   done
12160 IFS=$as_save_IFS
12161
12162 if test $ac_prog_rejected = yes; then
12163   # We found a bogon in the path, so make sure we never use it.
12164   set dummy $ac_cv_prog_CC
12165   shift
12166   if test $# != 0; then
12167     # We chose a different compiler from the bogus one.
12168     # However, it has the same basename, so the bogon will be chosen
12169     # first if we set CC to just the basename; use the full file name.
12170     shift
12171     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12172   fi
12173 fi
12174 fi
12175 fi
12176 CC=$ac_cv_prog_CC
12177 if test -n "$CC"; then
12178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12179 $as_echo "$CC" >&6; }
12180 else
12181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12182 $as_echo "no" >&6; }
12183 fi
12184
12185
12186 fi
12187 if test -z "$CC"; then
12188   if test -n "$ac_tool_prefix"; then
12189   for ac_prog in cl.exe
12190   do
12191     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12192 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12194 $as_echo_n "checking for $ac_word... " >&6; }
12195 if ${ac_cv_prog_CC+:} false; then :
12196   $as_echo_n "(cached) " >&6
12197 else
12198   if test -n "$CC"; then
12199   ac_cv_prog_CC="$CC" # Let the user override the test.
12200 else
12201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12202 for as_dir in $PATH
12203 do
12204   IFS=$as_save_IFS
12205   test -z "$as_dir" && as_dir=.
12206     for ac_exec_ext in '' $ac_executable_extensions; do
12207   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12208     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12210     break 2
12211   fi
12212 done
12213   done
12214 IFS=$as_save_IFS
12215
12216 fi
12217 fi
12218 CC=$ac_cv_prog_CC
12219 if test -n "$CC"; then
12220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12221 $as_echo "$CC" >&6; }
12222 else
12223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12224 $as_echo "no" >&6; }
12225 fi
12226
12227
12228     test -n "$CC" && break
12229   done
12230 fi
12231 if test -z "$CC"; then
12232   ac_ct_CC=$CC
12233   for ac_prog in cl.exe
12234 do
12235   # Extract the first word of "$ac_prog", so it can be a program name with args.
12236 set dummy $ac_prog; ac_word=$2
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12238 $as_echo_n "checking for $ac_word... " >&6; }
12239 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12240   $as_echo_n "(cached) " >&6
12241 else
12242   if test -n "$ac_ct_CC"; then
12243   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12244 else
12245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12246 for as_dir in $PATH
12247 do
12248   IFS=$as_save_IFS
12249   test -z "$as_dir" && as_dir=.
12250     for ac_exec_ext in '' $ac_executable_extensions; do
12251   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12252     ac_cv_prog_ac_ct_CC="$ac_prog"
12253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12254     break 2
12255   fi
12256 done
12257   done
12258 IFS=$as_save_IFS
12259
12260 fi
12261 fi
12262 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12263 if test -n "$ac_ct_CC"; then
12264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12265 $as_echo "$ac_ct_CC" >&6; }
12266 else
12267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12268 $as_echo "no" >&6; }
12269 fi
12270
12271
12272   test -n "$ac_ct_CC" && break
12273 done
12274
12275   if test "x$ac_ct_CC" = x; then
12276     CC=""
12277   else
12278     case $cross_compiling:$ac_tool_warned in
12279 yes:)
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12282 ac_tool_warned=yes ;;
12283 esac
12284     CC=$ac_ct_CC
12285   fi
12286 fi
12287
12288 fi
12289
12290
12291 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12293 as_fn_error $? "no acceptable C compiler found in \$PATH
12294 See \`config.log' for more details" "$LINENO" 5; }
12295
12296 # Provide some information about the compiler.
12297 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12298 set X $ac_compile
12299 ac_compiler=$2
12300 for ac_option in --version -v -V -qversion; do
12301   { { ac_try="$ac_compiler $ac_option >&5"
12302 case "(($ac_try" in
12303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12304   *) ac_try_echo=$ac_try;;
12305 esac
12306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12307 $as_echo "$ac_try_echo"; } >&5
12308   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12309   ac_status=$?
12310   if test -s conftest.err; then
12311     sed '10a\
12312 ... rest of stderr output deleted ...
12313          10q' conftest.err >conftest.er1
12314     cat conftest.er1 >&5
12315   fi
12316   rm -f conftest.er1 conftest.err
12317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12318   test $ac_status = 0; }
12319 done
12320
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12322 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12323 if ${ac_cv_c_compiler_gnu+:} false; then :
12324   $as_echo_n "(cached) " >&6
12325 else
12326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h.  */
12328
12329 int
12330 main ()
12331 {
12332 #ifndef __GNUC__
12333        choke me
12334 #endif
12335
12336   ;
12337   return 0;
12338 }
12339 _ACEOF
12340 if ac_fn_c_try_compile "$LINENO"; then :
12341   ac_compiler_gnu=yes
12342 else
12343   ac_compiler_gnu=no
12344 fi
12345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12346 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12347
12348 fi
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12350 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12351 if test $ac_compiler_gnu = yes; then
12352   GCC=yes
12353 else
12354   GCC=
12355 fi
12356 ac_test_CFLAGS=${CFLAGS+set}
12357 ac_save_CFLAGS=$CFLAGS
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12359 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12360 if ${ac_cv_prog_cc_g+:} false; then :
12361   $as_echo_n "(cached) " >&6
12362 else
12363   ac_save_c_werror_flag=$ac_c_werror_flag
12364    ac_c_werror_flag=yes
12365    ac_cv_prog_cc_g=no
12366    CFLAGS="-g"
12367    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h.  */
12369
12370 int
12371 main ()
12372 {
12373
12374   ;
12375   return 0;
12376 }
12377 _ACEOF
12378 if ac_fn_c_try_compile "$LINENO"; then :
12379   ac_cv_prog_cc_g=yes
12380 else
12381   CFLAGS=""
12382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h.  */
12384
12385 int
12386 main ()
12387 {
12388
12389   ;
12390   return 0;
12391 }
12392 _ACEOF
12393 if ac_fn_c_try_compile "$LINENO"; then :
12394
12395 else
12396   ac_c_werror_flag=$ac_save_c_werror_flag
12397          CFLAGS="-g"
12398          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h.  */
12400
12401 int
12402 main ()
12403 {
12404
12405   ;
12406   return 0;
12407 }
12408 _ACEOF
12409 if ac_fn_c_try_compile "$LINENO"; then :
12410   ac_cv_prog_cc_g=yes
12411 fi
12412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12413 fi
12414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12415 fi
12416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12417    ac_c_werror_flag=$ac_save_c_werror_flag
12418 fi
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12420 $as_echo "$ac_cv_prog_cc_g" >&6; }
12421 if test "$ac_test_CFLAGS" = set; then
12422   CFLAGS=$ac_save_CFLAGS
12423 elif test $ac_cv_prog_cc_g = yes; then
12424   if test "$GCC" = yes; then
12425     CFLAGS="-g -O2"
12426   else
12427     CFLAGS="-g"
12428   fi
12429 else
12430   if test "$GCC" = yes; then
12431     CFLAGS="-O2"
12432   else
12433     CFLAGS=
12434   fi
12435 fi
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12437 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12438 if ${ac_cv_prog_cc_c89+:} false; then :
12439   $as_echo_n "(cached) " >&6
12440 else
12441   ac_cv_prog_cc_c89=no
12442 ac_save_CC=$CC
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h.  */
12445 #include <stdarg.h>
12446 #include <stdio.h>
12447 struct stat;
12448 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12449 struct buf { int x; };
12450 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12451 static char *e (p, i)
12452      char **p;
12453      int i;
12454 {
12455   return p[i];
12456 }
12457 static char *f (char * (*g) (char **, int), char **p, ...)
12458 {
12459   char *s;
12460   va_list v;
12461   va_start (v,p);
12462   s = g (p, va_arg (v,int));
12463   va_end (v);
12464   return s;
12465 }
12466
12467 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12468    function prototypes and stuff, but not '\xHH' hex character constants.
12469    These don't provoke an error unfortunately, instead are silently treated
12470    as 'x'.  The following induces an error, until -std is added to get
12471    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12472    array size at least.  It's necessary to write '\x00'==0 to get something
12473    that's true only with -std.  */
12474 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12475
12476 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12477    inside strings and character constants.  */
12478 #define FOO(x) 'x'
12479 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12480
12481 int test (int i, double x);
12482 struct s1 {int (*f) (int a);};
12483 struct s2 {int (*f) (double a);};
12484 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12485 int argc;
12486 char **argv;
12487 int
12488 main ()
12489 {
12490 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12491   ;
12492   return 0;
12493 }
12494 _ACEOF
12495 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12496         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12497 do
12498   CC="$ac_save_CC $ac_arg"
12499   if ac_fn_c_try_compile "$LINENO"; then :
12500   ac_cv_prog_cc_c89=$ac_arg
12501 fi
12502 rm -f core conftest.err conftest.$ac_objext
12503   test "x$ac_cv_prog_cc_c89" != "xno" && break
12504 done
12505 rm -f conftest.$ac_ext
12506 CC=$ac_save_CC
12507
12508 fi
12509 # AC_CACHE_VAL
12510 case "x$ac_cv_prog_cc_c89" in
12511   x)
12512     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12513 $as_echo "none needed" >&6; } ;;
12514   xno)
12515     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12516 $as_echo "unsupported" >&6; } ;;
12517   *)
12518     CC="$CC $ac_cv_prog_cc_c89"
12519     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12520 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12521 esac
12522 if test "x$ac_cv_prog_cc_c89" != xno; then :
12523
12524 fi
12525
12526 ac_ext=c
12527 ac_cpp='$CPP $CPPFLAGS'
12528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12531
12532 depcc="$CC"   am_compiler_list=
12533
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12535 $as_echo_n "checking dependency style of $depcc... " >&6; }
12536 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12537   $as_echo_n "(cached) " >&6
12538 else
12539   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12540   # We make a subdir and do the tests there.  Otherwise we can end up
12541   # making bogus files that we don't know about and never remove.  For
12542   # instance it was reported that on HP-UX the gcc test will end up
12543   # making a dummy file named 'D' -- because '-MD' means "put the output
12544   # in D".
12545   rm -rf conftest.dir
12546   mkdir conftest.dir
12547   # Copy depcomp to subdir because otherwise we won't find it if we're
12548   # using a relative directory.
12549   cp "$am_depcomp" conftest.dir
12550   cd conftest.dir
12551   # We will build objects and dependencies in a subdirectory because
12552   # it helps to detect inapplicable dependency modes.  For instance
12553   # both Tru64's cc and ICC support -MD to output dependencies as a
12554   # side effect of compilation, but ICC will put the dependencies in
12555   # the current directory while Tru64 will put them in the object
12556   # directory.
12557   mkdir sub
12558
12559   am_cv_CC_dependencies_compiler_type=none
12560   if test "$am_compiler_list" = ""; then
12561      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12562   fi
12563   am__universal=false
12564   case " $depcc " in #(
12565      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12566      esac
12567
12568   for depmode in $am_compiler_list; do
12569     # Setup a source with many dependencies, because some compilers
12570     # like to wrap large dependency lists on column 80 (with \), and
12571     # we should not choose a depcomp mode which is confused by this.
12572     #
12573     # We need to recreate these files for each test, as the compiler may
12574     # overwrite some of them when testing with obscure command lines.
12575     # This happens at least with the AIX C compiler.
12576     : > sub/conftest.c
12577     for i in 1 2 3 4 5 6; do
12578       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12579       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12580       # Solaris 10 /bin/sh.
12581       echo '/* dummy */' > sub/conftst$i.h
12582     done
12583     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12584
12585     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12586     # mode.  It turns out that the SunPro C++ compiler does not properly
12587     # handle '-M -o', and we need to detect this.  Also, some Intel
12588     # versions had trouble with output in subdirs.
12589     am__obj=sub/conftest.${OBJEXT-o}
12590     am__minus_obj="-o $am__obj"
12591     case $depmode in
12592     gcc)
12593       # This depmode causes a compiler race in universal mode.
12594       test "$am__universal" = false || continue
12595       ;;
12596     nosideeffect)
12597       # After this tag, mechanisms are not by side-effect, so they'll
12598       # only be used when explicitly requested.
12599       if test "x$enable_dependency_tracking" = xyes; then
12600         continue
12601       else
12602         break
12603       fi
12604       ;;
12605     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12606       # This compiler won't grok '-c -o', but also, the minuso test has
12607       # not run yet.  These depmodes are late enough in the game, and
12608       # so weak that their functioning should not be impacted.
12609       am__obj=conftest.${OBJEXT-o}
12610       am__minus_obj=
12611       ;;
12612     none) break ;;
12613     esac
12614     if depmode=$depmode \
12615        source=sub/conftest.c object=$am__obj \
12616        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12617        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12618          >/dev/null 2>conftest.err &&
12619        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12620        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12621        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12622        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12623       # icc doesn't choke on unknown options, it will just issue warnings
12624       # or remarks (even with -Werror).  So we grep stderr for any message
12625       # that says an option was ignored or not supported.
12626       # When given -MP, icc 7.0 and 7.1 complain thusly:
12627       #   icc: Command line warning: ignoring option '-M'; no argument required
12628       # The diagnosis changed in icc 8.0:
12629       #   icc: Command line remark: option '-MP' not supported
12630       if (grep 'ignoring option' conftest.err ||
12631           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12632         am_cv_CC_dependencies_compiler_type=$depmode
12633         break
12634       fi
12635     fi
12636   done
12637
12638   cd ..
12639   rm -rf conftest.dir
12640 else
12641   am_cv_CC_dependencies_compiler_type=none
12642 fi
12643
12644 fi
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12646 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12647 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12648
12649  if
12650   test "x$enable_dependency_tracking" != xno \
12651   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12652   am__fastdepCC_TRUE=
12653   am__fastdepCC_FALSE='#'
12654 else
12655   am__fastdepCC_TRUE='#'
12656   am__fastdepCC_FALSE=
12657 fi
12658
12659
12660 if test "x$CC" != xcc; then
12661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12662 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12663 else
12664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12665 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12666 fi
12667 set dummy $CC; ac_cc=`$as_echo "$2" |
12668                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12669 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12670   $as_echo_n "(cached) " >&6
12671 else
12672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h.  */
12674
12675 int
12676 main ()
12677 {
12678
12679   ;
12680   return 0;
12681 }
12682 _ACEOF
12683 # Make sure it works both with $CC and with simple cc.
12684 # We do the test twice because some compilers refuse to overwrite an
12685 # existing .o file with -o, though they will create one.
12686 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12687 rm -f conftest2.*
12688 if { { case "(($ac_try" in
12689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12690   *) ac_try_echo=$ac_try;;
12691 esac
12692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12693 $as_echo "$ac_try_echo"; } >&5
12694   (eval "$ac_try") 2>&5
12695   ac_status=$?
12696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12697   test $ac_status = 0; } &&
12698    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12700   *) ac_try_echo=$ac_try;;
12701 esac
12702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12703 $as_echo "$ac_try_echo"; } >&5
12704   (eval "$ac_try") 2>&5
12705   ac_status=$?
12706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12707   test $ac_status = 0; };
12708 then
12709   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12710   if test "x$CC" != xcc; then
12711     # Test first that cc exists at all.
12712     if { ac_try='cc -c conftest.$ac_ext >&5'
12713   { { case "(($ac_try" in
12714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12715   *) ac_try_echo=$ac_try;;
12716 esac
12717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12718 $as_echo "$ac_try_echo"; } >&5
12719   (eval "$ac_try") 2>&5
12720   ac_status=$?
12721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12722   test $ac_status = 0; }; }; then
12723       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12724       rm -f conftest2.*
12725       if { { case "(($ac_try" in
12726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12727   *) ac_try_echo=$ac_try;;
12728 esac
12729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12730 $as_echo "$ac_try_echo"; } >&5
12731   (eval "$ac_try") 2>&5
12732   ac_status=$?
12733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12734   test $ac_status = 0; } &&
12735          test -f conftest2.$ac_objext && { { case "(($ac_try" in
12736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12737   *) ac_try_echo=$ac_try;;
12738 esac
12739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12740 $as_echo "$ac_try_echo"; } >&5
12741   (eval "$ac_try") 2>&5
12742   ac_status=$?
12743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12744   test $ac_status = 0; };
12745       then
12746         # cc works too.
12747         :
12748       else
12749         # cc exists but doesn't like -o.
12750         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12751       fi
12752     fi
12753   fi
12754 else
12755   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12756 fi
12757 rm -f core conftest*
12758
12759 fi
12760 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12762 $as_echo "yes" >&6; }
12763 else
12764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12765 $as_echo "no" >&6; }
12766
12767 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12768
12769 fi
12770
12771 # FIXME: we rely on the cache variable name because
12772 # there is no other way.
12773 set dummy $CC
12774 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12775 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12776 if test "$am_t" != yes; then
12777    # Losing compiler, so override with the script.
12778    # FIXME: It is wrong to rewrite CC.
12779    # But if we don't then we get into trouble of one sort or another.
12780    # A longer-term fix would be to have automake use am__CC in this case,
12781    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12782    CC="$am_aux_dir/compile $CC"
12783 fi
12784
12785
12786
12787 # pkg-config
12788
12789
12790
12791
12792
12793
12794
12795 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12796         if test -n "$ac_tool_prefix"; then
12797   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12798 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12800 $as_echo_n "checking for $ac_word... " >&6; }
12801 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12802   $as_echo_n "(cached) " >&6
12803 else
12804   case $PKG_CONFIG in
12805   [\\/]* | ?:[\\/]*)
12806   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12807   ;;
12808   *)
12809   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12810 for as_dir in $PATH
12811 do
12812   IFS=$as_save_IFS
12813   test -z "$as_dir" && as_dir=.
12814     for ac_exec_ext in '' $ac_executable_extensions; do
12815   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12816     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12818     break 2
12819   fi
12820 done
12821   done
12822 IFS=$as_save_IFS
12823
12824   ;;
12825 esac
12826 fi
12827 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12828 if test -n "$PKG_CONFIG"; then
12829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12830 $as_echo "$PKG_CONFIG" >&6; }
12831 else
12832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12833 $as_echo "no" >&6; }
12834 fi
12835
12836
12837 fi
12838 if test -z "$ac_cv_path_PKG_CONFIG"; then
12839   ac_pt_PKG_CONFIG=$PKG_CONFIG
12840   # Extract the first word of "pkg-config", so it can be a program name with args.
12841 set dummy pkg-config; ac_word=$2
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12843 $as_echo_n "checking for $ac_word... " >&6; }
12844 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12845   $as_echo_n "(cached) " >&6
12846 else
12847   case $ac_pt_PKG_CONFIG in
12848   [\\/]* | ?:[\\/]*)
12849   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12850   ;;
12851   *)
12852   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12853 for as_dir in $PATH
12854 do
12855   IFS=$as_save_IFS
12856   test -z "$as_dir" && as_dir=.
12857     for ac_exec_ext in '' $ac_executable_extensions; do
12858   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12859     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12861     break 2
12862   fi
12863 done
12864   done
12865 IFS=$as_save_IFS
12866
12867   ;;
12868 esac
12869 fi
12870 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12871 if test -n "$ac_pt_PKG_CONFIG"; then
12872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12873 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12874 else
12875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12876 $as_echo "no" >&6; }
12877 fi
12878
12879   if test "x$ac_pt_PKG_CONFIG" = x; then
12880     PKG_CONFIG=""
12881   else
12882     case $cross_compiling:$ac_tool_warned in
12883 yes:)
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12886 ac_tool_warned=yes ;;
12887 esac
12888     PKG_CONFIG=$ac_pt_PKG_CONFIG
12889   fi
12890 else
12891   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12892 fi
12893
12894 fi
12895 if test -n "$PKG_CONFIG"; then
12896         _pkg_min_version=0.9.0
12897         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12898 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12899         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12900                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12901 $as_echo "yes" >&6; }
12902         else
12903                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12904 $as_echo "no" >&6; }
12905                 PKG_CONFIG=""
12906         fi
12907 fi
12908
12909 # Check whether pkg-config supports Requires.private
12910 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
12911    pkgconfig_requires_private="Requires.private"
12912 else
12913    pkgconfig_requires_private="Requires"
12914 fi
12915
12916
12917 # doxygen program for documentation building
12918
12919
12920 # Check whether --enable-doc was given.
12921 if test "${enable_doc+set}" = set; then :
12922   enableval=$enable_doc;
12923     if test "x${enableval}" = "xyes" ; then
12924        efl_enable_doc="yes"
12925     else
12926        efl_enable_doc="no"
12927     fi
12928
12929 else
12930   efl_enable_doc="yes"
12931 fi
12932
12933
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12935 $as_echo_n "checking whether to build documentation... " >&6; }
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12937 $as_echo "${efl_enable_doc}" >&6; }
12938
12939 if test "x${efl_enable_doc}" = "xyes" ; then
12940
12941
12942    efl_doxygen="doxygen"
12943
12944
12945 # Check whether --with-doxygen was given.
12946 if test "${with_doxygen+set}" = set; then :
12947   withval=$with_doxygen;
12948       efl_doxygen=${withval}
12949        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12950 set dummy ${efl_doxygen}; ac_word=$2
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12952 $as_echo_n "checking for $ac_word... " >&6; }
12953 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12954   $as_echo_n "(cached) " >&6
12955 else
12956   if test -n "$efl_have_doxygen"; then
12957   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12958 else
12959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12960 for as_dir in $PATH
12961 do
12962   IFS=$as_save_IFS
12963   test -z "$as_dir" && as_dir=.
12964     for ac_exec_ext in '' $ac_executable_extensions; do
12965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12966     ac_cv_prog_efl_have_doxygen="yes"
12967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12968     break 2
12969   fi
12970 done
12971   done
12972 IFS=$as_save_IFS
12973
12974   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12975 fi
12976 fi
12977 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12978 if test -n "$efl_have_doxygen"; then
12979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12980 $as_echo "$efl_have_doxygen" >&6; }
12981 else
12982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983 $as_echo "no" >&6; }
12984 fi
12985
12986
12987        if test "x${efl_have_doxygen}" = "xno" ; then
12988           echo "WARNING:"
12989           echo "The doxygen program you specified:"
12990           echo "${efl_doxygen}"
12991           echo "was not found.  Please check the path and make sure "
12992           echo "the program exists and is executable."
12993           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12994 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12995        fi
12996
12997 else
12998   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12999 set dummy ${efl_doxygen}; ac_word=$2
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13001 $as_echo_n "checking for $ac_word... " >&6; }
13002 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13003   $as_echo_n "(cached) " >&6
13004 else
13005   if test -n "$efl_have_doxygen"; then
13006   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13007 else
13008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13009 for as_dir in $PATH
13010 do
13011   IFS=$as_save_IFS
13012   test -z "$as_dir" && as_dir=.
13013     for ac_exec_ext in '' $ac_executable_extensions; do
13014   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13015     ac_cv_prog_efl_have_doxygen="yes"
13016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13017     break 2
13018   fi
13019 done
13020   done
13021 IFS=$as_save_IFS
13022
13023   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13024 fi
13025 fi
13026 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13027 if test -n "$efl_have_doxygen"; then
13028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13029 $as_echo "$efl_have_doxygen" >&6; }
13030 else
13031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13032 $as_echo "no" >&6; }
13033 fi
13034
13035
13036        if test "x${efl_have_doxygen}" = "xno" ; then
13037           echo "WARNING:"
13038           echo "The doxygen program was not found in your execute path."
13039           echo "You may have doxygen installed somewhere not covered by your path."
13040           echo ""
13041           echo "If this is the case make sure you have the packages installed, AND"
13042           echo "that the doxygen program is in your execute path (see your"
13043           echo "shell manual page on setting the \$PATH environment variable), OR"
13044           echo "alternatively, specify the program to use with --with-doxygen."
13045           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13046 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13047        fi
13048
13049 fi
13050
13051 else
13052    efl_have_doxygen="no"
13053 fi
13054
13055
13056
13057 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13058    efl_enable_doc="no"
13059 fi
13060
13061  if test "x${efl_have_doxygen}" = "xyes"; then
13062   EFL_BUILD_DOC_TRUE=
13063   EFL_BUILD_DOC_FALSE='#'
13064 else
13065   EFL_BUILD_DOC_TRUE='#'
13066   EFL_BUILD_DOC_FALSE=
13067 fi
13068
13069
13070 if test "x$efl_have_doxygen" = "xyes"; then :
13071   build_doc="yes"
13072 else
13073   build_doc="no"
13074 fi
13075
13076
13077
13078 ### Checks for libraries
13079
13080 # Evil library for compilation on Windows
13081
13082 case "$host_os" in
13083    mingw*)
13084       if test -n "$PKG_CONFIG" && \
13085     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.8\""; } >&5
13086   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.8") 2>&5
13087   ac_status=$?
13088   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13089   test $ac_status = 0; }; then
13090   :
13091 fi
13092
13093 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13094
13095       requirement_edbus="${requirement_edbus} evil >= 1.7.8"
13096    ;;
13097 esac
13098
13099
13100 pkg_failed=no
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13102 $as_echo_n "checking for DBUS... " >&6; }
13103
13104 if test -n "$DBUS_CFLAGS"; then
13105     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13106  elif test -n "$PKG_CONFIG"; then
13107     if test -n "$PKG_CONFIG" && \
13108     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13109   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13110   ac_status=$?
13111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13112   test $ac_status = 0; }; then
13113   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
13114                       test "x$?" != "x0" && pkg_failed=yes
13115 else
13116   pkg_failed=yes
13117 fi
13118  else
13119     pkg_failed=untried
13120 fi
13121 if test -n "$DBUS_LIBS"; then
13122     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13123  elif test -n "$PKG_CONFIG"; then
13124     if test -n "$PKG_CONFIG" && \
13125     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13126   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13127   ac_status=$?
13128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13129   test $ac_status = 0; }; then
13130   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
13131                       test "x$?" != "x0" && pkg_failed=yes
13132 else
13133   pkg_failed=yes
13134 fi
13135  else
13136     pkg_failed=untried
13137 fi
13138
13139
13140
13141 if test $pkg_failed = yes; then
13142         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13143 $as_echo "no" >&6; }
13144
13145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13146         _pkg_short_errors_supported=yes
13147 else
13148         _pkg_short_errors_supported=no
13149 fi
13150         if test $_pkg_short_errors_supported = yes; then
13151                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13152         else
13153                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13154         fi
13155         # Put the nasty error message in config.log where it belongs
13156         echo "$DBUS_PKG_ERRORS" >&5
13157
13158         as_fn_error $? "Package requirements (dbus-1 >= 0.62) were not met:
13159
13160 $DBUS_PKG_ERRORS
13161
13162 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13163 installed software in a non-standard prefix.
13164
13165 Alternatively, you may set the environment variables DBUS_CFLAGS
13166 and DBUS_LIBS to avoid the need to call pkg-config.
13167 See the pkg-config man page for more details." "$LINENO" 5
13168 elif test $pkg_failed = untried; then
13169         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13170 $as_echo "no" >&6; }
13171         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13173 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13174 is in your PATH or set the PKG_CONFIG environment variable to the full
13175 path to pkg-config.
13176
13177 Alternatively, you may set the environment variables DBUS_CFLAGS
13178 and DBUS_LIBS to avoid the need to call pkg-config.
13179 See the pkg-config man page for more details.
13180
13181 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13182 See \`config.log' for more details" "$LINENO" 5; }
13183 else
13184         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13185         DBUS_LIBS=$pkg_cv_DBUS_LIBS
13186         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13187 $as_echo "yes" >&6; }
13188
13189 fi
13190
13191
13192 pkg_failed=no
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13194 $as_echo_n "checking for EDBUS... " >&6; }
13195
13196 if test -n "$EDBUS_CFLAGS"; then
13197     pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13198  elif test -n "$PKG_CONFIG"; then
13199     if test -n "$PKG_CONFIG" && \
13200     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13201   ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13202   ac_status=$?
13203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204   test $ac_status = 0; }; then
13205   pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "${requirement_edbus}" 2>/dev/null`
13206                       test "x$?" != "x0" && pkg_failed=yes
13207 else
13208   pkg_failed=yes
13209 fi
13210  else
13211     pkg_failed=untried
13212 fi
13213 if test -n "$EDBUS_LIBS"; then
13214     pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13215  elif test -n "$PKG_CONFIG"; then
13216     if test -n "$PKG_CONFIG" && \
13217     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13218   ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13219   ac_status=$?
13220   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13221   test $ac_status = 0; }; then
13222   pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "${requirement_edbus}" 2>/dev/null`
13223                       test "x$?" != "x0" && pkg_failed=yes
13224 else
13225   pkg_failed=yes
13226 fi
13227  else
13228     pkg_failed=untried
13229 fi
13230
13231
13232
13233 if test $pkg_failed = yes; then
13234         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13235 $as_echo "no" >&6; }
13236
13237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13238         _pkg_short_errors_supported=yes
13239 else
13240         _pkg_short_errors_supported=no
13241 fi
13242         if test $_pkg_short_errors_supported = yes; then
13243                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13244         else
13245                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13246         fi
13247         # Put the nasty error message in config.log where it belongs
13248         echo "$EDBUS_PKG_ERRORS" >&5
13249
13250         as_fn_error $? "Package requirements (${requirement_edbus}) were not met:
13251
13252 $EDBUS_PKG_ERRORS
13253
13254 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13255 installed software in a non-standard prefix.
13256
13257 Alternatively, you may set the environment variables EDBUS_CFLAGS
13258 and EDBUS_LIBS to avoid the need to call pkg-config.
13259 See the pkg-config man page for more details." "$LINENO" 5
13260 elif test $pkg_failed = untried; then
13261         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13262 $as_echo "no" >&6; }
13263         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13265 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13266 is in your PATH or set the PKG_CONFIG environment variable to the full
13267 path to pkg-config.
13268
13269 Alternatively, you may set the environment variables EDBUS_CFLAGS
13270 and EDBUS_LIBS to avoid the need to call pkg-config.
13271 See the pkg-config man page for more details.
13272
13273 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13274 See \`config.log' for more details" "$LINENO" 5; }
13275 else
13276         EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13277         EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13278         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13279 $as_echo "yes" >&6; }
13280
13281 fi
13282
13283 # Find out the version of DBUS we're using
13284 dbus_version=`pkg-config --modversion dbus-1`
13285 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
13286 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
13287 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
13288
13289 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
13290    DBUS_VERSION_MAJOR="0"
13291 fi
13292
13293 if test "z$DBUS_VERSION_MINOR" = "z" ; then
13294    DBUS_VERSION_MINOR="0"
13295 fi
13296
13297 if test "z$DBUS_VERSION_MICRO" = "z" ; then
13298    DBUS_VERSION_MICRO="0"
13299 fi
13300
13301 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
13302 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
13303 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
13304
13305
13306 # Dependencies for the libraries
13307 if test "x${enable_enotify}" = "xyes" ; then
13308
13309 pkg_failed=no
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
13311 $as_echo_n "checking for EVAS... " >&6; }
13312
13313 if test -n "$EVAS_CFLAGS"; then
13314     pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
13315  elif test -n "$PKG_CONFIG"; then
13316     if test -n "$PKG_CONFIG" && \
13317     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.8\""; } >&5
13318   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.8") 2>&5
13319   ac_status=$?
13320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13321   test $ac_status = 0; }; then
13322   pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.8" 2>/dev/null`
13323                       test "x$?" != "x0" && pkg_failed=yes
13324 else
13325   pkg_failed=yes
13326 fi
13327  else
13328     pkg_failed=untried
13329 fi
13330 if test -n "$EVAS_LIBS"; then
13331     pkg_cv_EVAS_LIBS="$EVAS_LIBS"
13332  elif test -n "$PKG_CONFIG"; then
13333     if test -n "$PKG_CONFIG" && \
13334     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.8\""; } >&5
13335   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.8") 2>&5
13336   ac_status=$?
13337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13338   test $ac_status = 0; }; then
13339   pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.8" 2>/dev/null`
13340                       test "x$?" != "x0" && pkg_failed=yes
13341 else
13342   pkg_failed=yes
13343 fi
13344  else
13345     pkg_failed=untried
13346 fi
13347
13348
13349
13350 if test $pkg_failed = yes; then
13351         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13352 $as_echo "no" >&6; }
13353
13354 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13355         _pkg_short_errors_supported=yes
13356 else
13357         _pkg_short_errors_supported=no
13358 fi
13359         if test $_pkg_short_errors_supported = yes; then
13360                 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.7.8" 2>&1`
13361         else
13362                 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.7.8" 2>&1`
13363         fi
13364         # Put the nasty error message in config.log where it belongs
13365         echo "$EVAS_PKG_ERRORS" >&5
13366
13367         enable_enotify="no"
13368 elif test $pkg_failed = untried; then
13369         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13370 $as_echo "no" >&6; }
13371         enable_enotify="no"
13372 else
13373         EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
13374         EVAS_LIBS=$pkg_cv_EVAS_LIBS
13375         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13376 $as_echo "yes" >&6; }
13377         requirement_enotify="evas >= 1.7.8 ${requirement_enotify}"
13378 fi
13379 fi
13380
13381  if test "x${enable_ebluez}"   = "xyes"; then
13382   BUILD_EBLUEZ_TRUE=
13383   BUILD_EBLUEZ_FALSE='#'
13384 else
13385   BUILD_EBLUEZ_TRUE='#'
13386   BUILD_EBLUEZ_FALSE=
13387 fi
13388
13389  if test "x${enable_econnman0_7x}" = "xyes"; then
13390   BUILD_ECONNMAN0_7X_TRUE=
13391   BUILD_ECONNMAN0_7X_FALSE='#'
13392 else
13393   BUILD_ECONNMAN0_7X_TRUE='#'
13394   BUILD_ECONNMAN0_7X_FALSE=
13395 fi
13396
13397  if test "x${enable_ehal}"     = "xyes"; then
13398   BUILD_EHAL_TRUE=
13399   BUILD_EHAL_FALSE='#'
13400 else
13401   BUILD_EHAL_TRUE='#'
13402   BUILD_EHAL_FALSE=
13403 fi
13404
13405  if test "x${enable_enotify}"  = "xyes"; then
13406   BUILD_ENOTIFY_TRUE=
13407   BUILD_ENOTIFY_FALSE='#'
13408 else
13409   BUILD_ENOTIFY_TRUE='#'
13410   BUILD_ENOTIFY_FALSE=
13411 fi
13412
13413  if test "x${enable_eofono}"   = "xyes"; then
13414   BUILD_EOFONO_TRUE=
13415   BUILD_EOFONO_FALSE='#'
13416 else
13417   BUILD_EOFONO_TRUE='#'
13418   BUILD_EOFONO_FALSE=
13419 fi
13420
13421  if test "x${enable_eukit}"    = "xyes"; then
13422   BUILD_EUKIT_TRUE=
13423   BUILD_EUKIT_FALSE='#'
13424 else
13425   BUILD_EUKIT_TRUE='#'
13426   BUILD_EUKIT_FALSE=
13427 fi
13428
13429
13430 # Dependencies for the binaries
13431
13432
13433
13434
13435
13436 # Check whether --enable-edbus-test was given.
13437 if test "${enable_edbus_test+set}" = set; then :
13438   enableval=$enable_edbus_test;
13439     if test "x${enableval}" = "xyes" ; then
13440        have_edbus_test="yes"
13441     else
13442        have_edbus_test="no"
13443     fi
13444
13445 else
13446   have_edbus_test="yes"
13447 fi
13448
13449
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
13451 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
13453 $as_echo "$have_edbus_test" >&6; }
13454
13455 if test "x$have_edbus_test" = "xyes"; then
13456    EDBUS_TEST_PRG=edbus_test${EXEEXT}
13457 fi
13458
13459
13460
13461  if test "x$have_edbus_test" = "xyes"; then
13462   BUILD_EDBUS_TEST_TRUE=
13463   BUILD_EDBUS_TEST_FALSE='#'
13464 else
13465   BUILD_EDBUS_TEST_TRUE='#'
13466   BUILD_EDBUS_TEST_FALSE=
13467 fi
13468
13469
13470 if test "x$have_edbus_test" = "xyes"; then :
13471
13472 fi
13473
13474
13475
13476
13477
13478
13479 # Check whether --enable-edbus-test-client was given.
13480 if test "${enable_edbus_test_client+set}" = set; then :
13481   enableval=$enable_edbus_test_client;
13482     if test "x${enableval}" = "xyes" ; then
13483        have_edbus_test_client="yes"
13484     else
13485        have_edbus_test_client="no"
13486     fi
13487
13488 else
13489   have_edbus_test_client="yes"
13490 fi
13491
13492
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
13494 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
13496 $as_echo "$have_edbus_test_client" >&6; }
13497
13498 if test "x$have_edbus_test_client" = "xyes"; then
13499    EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
13500 fi
13501
13502
13503
13504  if test "x$have_edbus_test_client" = "xyes"; then
13505   BUILD_EDBUS_TEST_CLIENT_TRUE=
13506   BUILD_EDBUS_TEST_CLIENT_FALSE='#'
13507 else
13508   BUILD_EDBUS_TEST_CLIENT_TRUE='#'
13509   BUILD_EDBUS_TEST_CLIENT_FALSE=
13510 fi
13511
13512
13513 if test "x$have_edbus_test_client" = "xyes"; then :
13514
13515 fi
13516
13517
13518
13519
13520
13521
13522 # Check whether --enable-edbus-bluez-test was given.
13523 if test "${enable_edbus_bluez_test+set}" = set; then :
13524   enableval=$enable_edbus_bluez_test;
13525     if test "x${enableval}" = "xyes" ; then
13526        have_edbus_bluez_test="yes"
13527     else
13528        have_edbus_bluez_test="no"
13529     fi
13530
13531 else
13532   have_edbus_bluez_test=${enable_ebluez}
13533 fi
13534
13535
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
13537 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
13539 $as_echo "$have_edbus_bluez_test" >&6; }
13540
13541 if test "x$have_edbus_bluez_test" = "xyes"; then
13542    EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
13543 fi
13544
13545
13546
13547  if test "x$have_edbus_bluez_test" = "xyes"; then
13548   BUILD_EDBUS_BLUEZ_TEST_TRUE=
13549   BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
13550 else
13551   BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
13552   BUILD_EDBUS_BLUEZ_TEST_FALSE=
13553 fi
13554
13555
13556 if test "x$have_edbus_bluez_test" = "xyes"; then :
13557
13558 fi
13559
13560
13561
13562
13563
13564
13565 # Check whether --enable-edbus-connman0_7x-test was given.
13566 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
13567   enableval=$enable_edbus_connman0_7x_test;
13568     if test "x${enableval}" = "xyes" ; then
13569        have_edbus_connman0_7x_test="yes"
13570     else
13571        have_edbus_connman0_7x_test="no"
13572     fi
13573
13574 else
13575   have_edbus_connman0_7x_test=${enable_econnman0_7x}
13576 fi
13577
13578
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
13580 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
13582 $as_echo "$have_edbus_connman0_7x_test" >&6; }
13583
13584 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13585    EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
13586 fi
13587
13588
13589
13590  if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13591   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
13592   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
13593 else
13594   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
13595   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
13596 fi
13597
13598
13599 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
13600
13601 fi
13602
13603
13604
13605
13606
13607
13608 # Check whether --enable-edbus-notification-daemon-test was given.
13609 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
13610   enableval=$enable_edbus_notification_daemon_test;
13611     if test "x${enableval}" = "xyes" ; then
13612        have_edbus_notification_daemon_test="yes"
13613     else
13614        have_edbus_notification_daemon_test="no"
13615     fi
13616
13617 else
13618   have_edbus_notification_daemon_test=${enable_enotify}
13619 fi
13620
13621
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
13623 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
13625 $as_echo "$have_edbus_notification_daemon_test" >&6; }
13626
13627 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13628    EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
13629 fi
13630
13631
13632
13633  if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13634   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
13635   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
13636 else
13637   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
13638   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
13639 fi
13640
13641
13642 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
13643
13644 fi
13645
13646
13647
13648
13649
13650
13651 # Check whether --enable-edbus-notify-send was given.
13652 if test "${enable_edbus_notify_send+set}" = set; then :
13653   enableval=$enable_edbus_notify_send;
13654     if test "x${enableval}" = "xyes" ; then
13655        have_edbus_notify_send="yes"
13656     else
13657        have_edbus_notify_send="no"
13658     fi
13659
13660 else
13661   have_edbus_notify_send=${enable_enotify}
13662 fi
13663
13664
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
13666 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
13668 $as_echo "$have_edbus_notify_send" >&6; }
13669
13670 if test "x$have_edbus_notify_send" = "xyes"; then
13671    EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
13672 fi
13673
13674
13675
13676  if test "x$have_edbus_notify_send" = "xyes"; then
13677   BUILD_EDBUS_NOTIFY_SEND_TRUE=
13678   BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
13679 else
13680   BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
13681   BUILD_EDBUS_NOTIFY_SEND_FALSE=
13682 fi
13683
13684
13685 if test "x$have_edbus_notify_send" = "xyes"; then :
13686
13687 fi
13688
13689
13690
13691
13692
13693
13694 # Check whether --enable-edbus-notify-test was given.
13695 if test "${enable_edbus_notify_test+set}" = set; then :
13696   enableval=$enable_edbus_notify_test;
13697     if test "x${enableval}" = "xyes" ; then
13698        have_edbus_notify_test="yes"
13699     else
13700        have_edbus_notify_test="no"
13701     fi
13702
13703 else
13704   have_edbus_notify_test=${enable_enotify}
13705 fi
13706
13707
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
13709 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
13711 $as_echo "$have_edbus_notify_test" >&6; }
13712
13713 if test "x$have_edbus_notify_test" = "xyes"; then
13714    EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
13715 fi
13716
13717
13718
13719  if test "x$have_edbus_notify_test" = "xyes"; then
13720   BUILD_EDBUS_NOTIFY_TEST_TRUE=
13721   BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
13722 else
13723   BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
13724   BUILD_EDBUS_NOTIFY_TEST_FALSE=
13725 fi
13726
13727
13728 if test "x$have_edbus_notify_test" = "xyes"; then :
13729
13730 fi
13731
13732
13733
13734
13735
13736
13737 # Check whether --enable-edbus-ofono-test was given.
13738 if test "${enable_edbus_ofono_test+set}" = set; then :
13739   enableval=$enable_edbus_ofono_test;
13740     if test "x${enableval}" = "xyes" ; then
13741        have_edbus_ofono_test="yes"
13742     else
13743        have_edbus_ofono_test="no"
13744     fi
13745
13746 else
13747   have_edbus_ofono_test=${enable_eofono}
13748 fi
13749
13750
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
13752 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
13754 $as_echo "$have_edbus_ofono_test" >&6; }
13755
13756 if test "x$have_edbus_ofono_test" = "xyes"; then
13757    EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
13758 fi
13759
13760
13761
13762  if test "x$have_edbus_ofono_test" = "xyes"; then
13763   BUILD_EDBUS_OFONO_TEST_TRUE=
13764   BUILD_EDBUS_OFONO_TEST_FALSE='#'
13765 else
13766   BUILD_EDBUS_OFONO_TEST_TRUE='#'
13767   BUILD_EDBUS_OFONO_TEST_FALSE=
13768 fi
13769
13770
13771 if test "x$have_edbus_ofono_test" = "xyes"; then :
13772
13773 fi
13774
13775
13776
13777
13778
13779
13780 # Check whether --enable-edbus-ukit-test was given.
13781 if test "${enable_edbus_ukit_test+set}" = set; then :
13782   enableval=$enable_edbus_ukit_test;
13783     if test "x${enableval}" = "xyes" ; then
13784        have_edbus_ukit_test="yes"
13785     else
13786        have_edbus_ukit_test="no"
13787     fi
13788
13789 else
13790   have_edbus_ukit_test=${enable_eukit}
13791 fi
13792
13793
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
13795 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
13797 $as_echo "$have_edbus_ukit_test" >&6; }
13798
13799 if test "x$have_edbus_ukit_test" = "xyes"; then
13800    EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
13801 fi
13802
13803
13804
13805  if test "x$have_edbus_ukit_test" = "xyes"; then
13806   BUILD_EDBUS_UKIT_TEST_TRUE=
13807   BUILD_EDBUS_UKIT_TEST_FALSE='#'
13808 else
13809   BUILD_EDBUS_UKIT_TEST_TRUE='#'
13810   BUILD_EDBUS_UKIT_TEST_FALSE=
13811 fi
13812
13813
13814 if test "x$have_edbus_ukit_test" = "xyes"; then :
13815
13816 fi
13817
13818
13819
13820
13821
13822
13823 # Check whether --enable-edbus-performance-test was given.
13824 if test "${enable_edbus_performance_test+set}" = set; then :
13825   enableval=$enable_edbus_performance_test;
13826     if test "x${enableval}" = "xyes" ; then
13827        have_edbus_performance_test="yes"
13828     else
13829        have_edbus_performance_test="no"
13830     fi
13831
13832 else
13833   have_edbus_performance_test="no"
13834 fi
13835
13836
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
13838 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
13840 $as_echo "$have_edbus_performance_test" >&6; }
13841
13842 if test "x$have_edbus_performance_test" = "xyes"; then
13843    EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
13844 fi
13845
13846
13847
13848  if test "x$have_edbus_performance_test" = "xyes"; then
13849   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13850   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13851 else
13852   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13853   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13854 fi
13855
13856
13857 if test "x$have_edbus_performance_test" = "xyes"; then :
13858
13859 fi
13860
13861
13862
13863
13864
13865
13866 # Check whether --enable-edbus-async-test was given.
13867 if test "${enable_edbus_async_test+set}" = set; then :
13868   enableval=$enable_edbus_async_test;
13869     if test "x${enableval}" = "xyes" ; then
13870        have_edbus_async_test="yes"
13871     else
13872        have_edbus_async_test="no"
13873     fi
13874
13875 else
13876   have_edbus_async_test="yes"
13877 fi
13878
13879
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
13881 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
13883 $as_echo "$have_edbus_async_test" >&6; }
13884
13885 if test "x$have_edbus_async_test" = "xyes"; then
13886    EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
13887 fi
13888
13889
13890
13891  if test "x$have_edbus_async_test" = "xyes"; then
13892   BUILD_EDBUS_ASYNC_TEST_TRUE=
13893   BUILD_EDBUS_ASYNC_TEST_FALSE='#'
13894 else
13895   BUILD_EDBUS_ASYNC_TEST_TRUE='#'
13896   BUILD_EDBUS_ASYNC_TEST_FALSE=
13897 fi
13898
13899
13900 if test "x$have_edbus_async_test" = "xyes"; then :
13901
13902 fi
13903
13904
13905
13906 if test "x${have_edbus_test}" = "xyes" ; then
13907
13908 pkg_failed=no
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
13910 $as_echo_n "checking for EDBUS_TEST... " >&6; }
13911
13912 if test -n "$EDBUS_TEST_CFLAGS"; then
13913     pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
13914  elif test -n "$PKG_CONFIG"; then
13915     if test -n "$PKG_CONFIG" && \
13916     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
13917   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
13918   ac_status=$?
13919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13920   test $ac_status = 0; }; then
13921   pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
13922                       test "x$?" != "x0" && pkg_failed=yes
13923 else
13924   pkg_failed=yes
13925 fi
13926  else
13927     pkg_failed=untried
13928 fi
13929 if test -n "$EDBUS_TEST_LIBS"; then
13930     pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
13931  elif test -n "$PKG_CONFIG"; then
13932     if test -n "$PKG_CONFIG" && \
13933     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
13934   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
13935   ac_status=$?
13936   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13937   test $ac_status = 0; }; then
13938   pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
13939                       test "x$?" != "x0" && pkg_failed=yes
13940 else
13941   pkg_failed=yes
13942 fi
13943  else
13944     pkg_failed=untried
13945 fi
13946
13947
13948
13949 if test $pkg_failed = yes; then
13950         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13951 $as_echo "no" >&6; }
13952
13953 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13954         _pkg_short_errors_supported=yes
13955 else
13956         _pkg_short_errors_supported=no
13957 fi
13958         if test $_pkg_short_errors_supported = yes; then
13959                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
13960         else
13961                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
13962         fi
13963         # Put the nasty error message in config.log where it belongs
13964         echo "$EDBUS_TEST_PKG_ERRORS" >&5
13965
13966         have_edbus_test="no"
13967 elif test $pkg_failed = untried; then
13968         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13969 $as_echo "no" >&6; }
13970         have_edbus_test="no"
13971 else
13972         EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
13973         EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
13974         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13975 $as_echo "yes" >&6; }
13976         have_edbus_test="yes"
13977 fi
13978 fi
13979
13980 if test "x${have_edbus_test_client}" = "xyes" ; then
13981
13982 pkg_failed=no
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
13984 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
13985
13986 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
13987     pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
13988  elif test -n "$PKG_CONFIG"; then
13989     if test -n "$PKG_CONFIG" && \
13990     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
13991   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
13992   ac_status=$?
13993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13994   test $ac_status = 0; }; then
13995   pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
13996                       test "x$?" != "x0" && pkg_failed=yes
13997 else
13998   pkg_failed=yes
13999 fi
14000  else
14001     pkg_failed=untried
14002 fi
14003 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
14004     pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
14005  elif test -n "$PKG_CONFIG"; then
14006     if test -n "$PKG_CONFIG" && \
14007     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14008   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
14009   ac_status=$?
14010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14011   test $ac_status = 0; }; then
14012   pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14013                       test "x$?" != "x0" && pkg_failed=yes
14014 else
14015   pkg_failed=yes
14016 fi
14017  else
14018     pkg_failed=untried
14019 fi
14020
14021
14022
14023 if test $pkg_failed = yes; then
14024         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14025 $as_echo "no" >&6; }
14026
14027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14028         _pkg_short_errors_supported=yes
14029 else
14030         _pkg_short_errors_supported=no
14031 fi
14032         if test $_pkg_short_errors_supported = yes; then
14033                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14034         else
14035                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14036         fi
14037         # Put the nasty error message in config.log where it belongs
14038         echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
14039
14040         have_edbus_test_client="no"
14041 elif test $pkg_failed = untried; then
14042         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14043 $as_echo "no" >&6; }
14044         have_edbus_test_client="no"
14045 else
14046         EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
14047         EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
14048         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14049 $as_echo "yes" >&6; }
14050         have_edbus_test_client="yes"
14051 fi
14052 fi
14053
14054 if test "x${have_edbus_bluez_test}" = "xyes" ; then
14055
14056 pkg_failed=no
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
14058 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
14059
14060 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
14061     pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
14062  elif test -n "$PKG_CONFIG"; then
14063     if test -n "$PKG_CONFIG" && \
14064     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14065   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14066   ac_status=$?
14067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14068   test $ac_status = 0; }; then
14069   pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14070                       test "x$?" != "x0" && pkg_failed=yes
14071 else
14072   pkg_failed=yes
14073 fi
14074  else
14075     pkg_failed=untried
14076 fi
14077 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
14078     pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
14079  elif test -n "$PKG_CONFIG"; then
14080     if test -n "$PKG_CONFIG" && \
14081     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14082   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14083   ac_status=$?
14084   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14085   test $ac_status = 0; }; then
14086   pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14087                       test "x$?" != "x0" && pkg_failed=yes
14088 else
14089   pkg_failed=yes
14090 fi
14091  else
14092     pkg_failed=untried
14093 fi
14094
14095
14096
14097 if test $pkg_failed = yes; then
14098         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14099 $as_echo "no" >&6; }
14100
14101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14102         _pkg_short_errors_supported=yes
14103 else
14104         _pkg_short_errors_supported=no
14105 fi
14106         if test $_pkg_short_errors_supported = yes; then
14107                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14108         else
14109                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14110         fi
14111         # Put the nasty error message in config.log where it belongs
14112         echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
14113
14114         have_edbus_bluez_test="no"
14115 elif test $pkg_failed = untried; then
14116         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14117 $as_echo "no" >&6; }
14118         have_edbus_bluez_test="no"
14119 else
14120         EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
14121         EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
14122         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14123 $as_echo "yes" >&6; }
14124         have_edbus_bluez_test="yes"
14125 fi
14126 fi
14127
14128 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
14129
14130 pkg_failed=no
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
14132 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
14133
14134 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
14135     pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
14136  elif test -n "$PKG_CONFIG"; then
14137     if test -n "$PKG_CONFIG" && \
14138     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14139   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14140   ac_status=$?
14141   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14142   test $ac_status = 0; }; then
14143   pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14144                       test "x$?" != "x0" && pkg_failed=yes
14145 else
14146   pkg_failed=yes
14147 fi
14148  else
14149     pkg_failed=untried
14150 fi
14151 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
14152     pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
14153  elif test -n "$PKG_CONFIG"; then
14154     if test -n "$PKG_CONFIG" && \
14155     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14156   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14157   ac_status=$?
14158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14159   test $ac_status = 0; }; then
14160   pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14161                       test "x$?" != "x0" && pkg_failed=yes
14162 else
14163   pkg_failed=yes
14164 fi
14165  else
14166     pkg_failed=untried
14167 fi
14168
14169
14170
14171 if test $pkg_failed = yes; then
14172         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14173 $as_echo "no" >&6; }
14174
14175 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14176         _pkg_short_errors_supported=yes
14177 else
14178         _pkg_short_errors_supported=no
14179 fi
14180         if test $_pkg_short_errors_supported = yes; then
14181                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14182         else
14183                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14184         fi
14185         # Put the nasty error message in config.log where it belongs
14186         echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
14187
14188         have_edbus_connman0_7x_test="no"
14189 elif test $pkg_failed = untried; then
14190         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14191 $as_echo "no" >&6; }
14192         have_edbus_connman0_7x_test="no"
14193 else
14194         EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
14195         EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
14196         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14197 $as_echo "yes" >&6; }
14198         have_edbus_connman0_7x_test="yes"
14199 fi
14200 fi
14201
14202 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
14203
14204 pkg_failed=no
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
14206 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
14207
14208 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
14209     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
14210  elif test -n "$PKG_CONFIG"; then
14211     if test -n "$PKG_CONFIG" && \
14212     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14213   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14214   ac_status=$?
14215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14216   test $ac_status = 0; }; then
14217   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14218                       test "x$?" != "x0" && pkg_failed=yes
14219 else
14220   pkg_failed=yes
14221 fi
14222  else
14223     pkg_failed=untried
14224 fi
14225 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
14226     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
14227  elif test -n "$PKG_CONFIG"; then
14228     if test -n "$PKG_CONFIG" && \
14229     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14230   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14231   ac_status=$?
14232   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14233   test $ac_status = 0; }; then
14234   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14235                       test "x$?" != "x0" && pkg_failed=yes
14236 else
14237   pkg_failed=yes
14238 fi
14239  else
14240     pkg_failed=untried
14241 fi
14242
14243
14244
14245 if test $pkg_failed = yes; then
14246         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14247 $as_echo "no" >&6; }
14248
14249 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14250         _pkg_short_errors_supported=yes
14251 else
14252         _pkg_short_errors_supported=no
14253 fi
14254         if test $_pkg_short_errors_supported = yes; then
14255                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14256         else
14257                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14258         fi
14259         # Put the nasty error message in config.log where it belongs
14260         echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
14261
14262         have_edbus_notification_daemon_test="no"
14263 elif test $pkg_failed = untried; then
14264         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14265 $as_echo "no" >&6; }
14266         have_edbus_notification_daemon_test="no"
14267 else
14268         EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
14269         EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
14270         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14271 $as_echo "yes" >&6; }
14272         have_edbus_notification_daemon_test="yes"
14273 fi
14274 fi
14275
14276 if test "x${have_edbus_notify_send}" = "xyes" ; then
14277
14278 pkg_failed=no
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
14280 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
14281
14282 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
14283     pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
14284  elif test -n "$PKG_CONFIG"; then
14285     if test -n "$PKG_CONFIG" && \
14286     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14287   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14288   ac_status=$?
14289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14290   test $ac_status = 0; }; then
14291   pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14292                       test "x$?" != "x0" && pkg_failed=yes
14293 else
14294   pkg_failed=yes
14295 fi
14296  else
14297     pkg_failed=untried
14298 fi
14299 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
14300     pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
14301  elif test -n "$PKG_CONFIG"; then
14302     if test -n "$PKG_CONFIG" && \
14303     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14304   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14305   ac_status=$?
14306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14307   test $ac_status = 0; }; then
14308   pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14309                       test "x$?" != "x0" && pkg_failed=yes
14310 else
14311   pkg_failed=yes
14312 fi
14313  else
14314     pkg_failed=untried
14315 fi
14316
14317
14318
14319 if test $pkg_failed = yes; then
14320         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14321 $as_echo "no" >&6; }
14322
14323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14324         _pkg_short_errors_supported=yes
14325 else
14326         _pkg_short_errors_supported=no
14327 fi
14328         if test $_pkg_short_errors_supported = yes; then
14329                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14330         else
14331                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14332         fi
14333         # Put the nasty error message in config.log where it belongs
14334         echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
14335
14336         have_edbus_notify_send="no"
14337 elif test $pkg_failed = untried; then
14338         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14339 $as_echo "no" >&6; }
14340         have_edbus_notify_send="no"
14341 else
14342         EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
14343         EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
14344         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14345 $as_echo "yes" >&6; }
14346         have_edbus_notify_send="yes"
14347 fi
14348 fi
14349
14350 if test "x${have_edbus_notify_test}" = "xyes" ; then
14351
14352 pkg_failed=no
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
14354 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
14355
14356 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
14357     pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
14358  elif test -n "$PKG_CONFIG"; then
14359     if test -n "$PKG_CONFIG" && \
14360     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14361   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14362   ac_status=$?
14363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14364   test $ac_status = 0; }; then
14365   pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14366                       test "x$?" != "x0" && pkg_failed=yes
14367 else
14368   pkg_failed=yes
14369 fi
14370  else
14371     pkg_failed=untried
14372 fi
14373 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
14374     pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
14375  elif test -n "$PKG_CONFIG"; then
14376     if test -n "$PKG_CONFIG" && \
14377     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14378   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14379   ac_status=$?
14380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14381   test $ac_status = 0; }; then
14382   pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14383                       test "x$?" != "x0" && pkg_failed=yes
14384 else
14385   pkg_failed=yes
14386 fi
14387  else
14388     pkg_failed=untried
14389 fi
14390
14391
14392
14393 if test $pkg_failed = yes; then
14394         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14395 $as_echo "no" >&6; }
14396
14397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14398         _pkg_short_errors_supported=yes
14399 else
14400         _pkg_short_errors_supported=no
14401 fi
14402         if test $_pkg_short_errors_supported = yes; then
14403                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14404         else
14405                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14406         fi
14407         # Put the nasty error message in config.log where it belongs
14408         echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
14409
14410         have_edbus_notify_test="no"
14411 elif test $pkg_failed = untried; then
14412         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14413 $as_echo "no" >&6; }
14414         have_edbus_notify_test="no"
14415 else
14416         EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
14417         EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
14418         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14419 $as_echo "yes" >&6; }
14420         have_edbus_notify_test="yes"
14421 fi
14422 fi
14423
14424 if test "x${have_edbus_ofono_test}" = "xyes" ; then
14425
14426 pkg_failed=no
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
14428 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
14429
14430 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
14431     pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
14432  elif test -n "$PKG_CONFIG"; then
14433     if test -n "$PKG_CONFIG" && \
14434     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14435   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14436   ac_status=$?
14437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14438   test $ac_status = 0; }; then
14439   pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14440                       test "x$?" != "x0" && pkg_failed=yes
14441 else
14442   pkg_failed=yes
14443 fi
14444  else
14445     pkg_failed=untried
14446 fi
14447 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
14448     pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
14449  elif test -n "$PKG_CONFIG"; then
14450     if test -n "$PKG_CONFIG" && \
14451     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14452   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14453   ac_status=$?
14454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14455   test $ac_status = 0; }; then
14456   pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14457                       test "x$?" != "x0" && pkg_failed=yes
14458 else
14459   pkg_failed=yes
14460 fi
14461  else
14462     pkg_failed=untried
14463 fi
14464
14465
14466
14467 if test $pkg_failed = yes; then
14468         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14469 $as_echo "no" >&6; }
14470
14471 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14472         _pkg_short_errors_supported=yes
14473 else
14474         _pkg_short_errors_supported=no
14475 fi
14476         if test $_pkg_short_errors_supported = yes; then
14477                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14478         else
14479                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14480         fi
14481         # Put the nasty error message in config.log where it belongs
14482         echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
14483
14484         have_edbus_ofono_test="no"
14485 elif test $pkg_failed = untried; then
14486         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14487 $as_echo "no" >&6; }
14488         have_edbus_ofono_test="no"
14489 else
14490         EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
14491         EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
14492         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14493 $as_echo "yes" >&6; }
14494         have_edbus_ofono_test="yes"
14495 fi
14496 fi
14497
14498 if test "x${have_edbus_ukit_test}" = "xyes" ; then
14499
14500 pkg_failed=no
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
14502 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
14503
14504 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
14505     pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
14506  elif test -n "$PKG_CONFIG"; then
14507     if test -n "$PKG_CONFIG" && \
14508     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14509   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14510   ac_status=$?
14511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14512   test $ac_status = 0; }; then
14513   pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14514                       test "x$?" != "x0" && pkg_failed=yes
14515 else
14516   pkg_failed=yes
14517 fi
14518  else
14519     pkg_failed=untried
14520 fi
14521 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
14522     pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
14523  elif test -n "$PKG_CONFIG"; then
14524     if test -n "$PKG_CONFIG" && \
14525     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14526   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14527   ac_status=$?
14528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14529   test $ac_status = 0; }; then
14530   pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14531                       test "x$?" != "x0" && pkg_failed=yes
14532 else
14533   pkg_failed=yes
14534 fi
14535  else
14536     pkg_failed=untried
14537 fi
14538
14539
14540
14541 if test $pkg_failed = yes; then
14542         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14543 $as_echo "no" >&6; }
14544
14545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14546         _pkg_short_errors_supported=yes
14547 else
14548         _pkg_short_errors_supported=no
14549 fi
14550         if test $_pkg_short_errors_supported = yes; then
14551                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14552         else
14553                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14554         fi
14555         # Put the nasty error message in config.log where it belongs
14556         echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
14557
14558         have_edbus_ukit_test="no"
14559 elif test $pkg_failed = untried; then
14560         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14561 $as_echo "no" >&6; }
14562         have_edbus_ukit_test="no"
14563 else
14564         EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
14565         EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
14566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14567 $as_echo "yes" >&6; }
14568         have_edbus_ukit_test="yes"
14569 fi
14570 fi
14571
14572 if test "x${have_edbus_performance_test}" = "xyes" ; then
14573
14574 pkg_failed=no
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
14576 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
14577
14578 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
14579     pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
14580  elif test -n "$PKG_CONFIG"; then
14581     if test -n "$PKG_CONFIG" && \
14582     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8\""; } >&5
14583   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8") 2>&5
14584   ac_status=$?
14585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14586   test $ac_status = 0; }; then
14587   pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8" 2>/dev/null`
14588                       test "x$?" != "x0" && pkg_failed=yes
14589 else
14590   pkg_failed=yes
14591 fi
14592  else
14593     pkg_failed=untried
14594 fi
14595 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
14596     pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
14597  elif test -n "$PKG_CONFIG"; then
14598     if test -n "$PKG_CONFIG" && \
14599     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8\""; } >&5
14600   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8") 2>&5
14601   ac_status=$?
14602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14603   test $ac_status = 0; }; then
14604   pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8" 2>/dev/null`
14605                       test "x$?" != "x0" && pkg_failed=yes
14606 else
14607   pkg_failed=yes
14608 fi
14609  else
14610     pkg_failed=untried
14611 fi
14612
14613
14614
14615 if test $pkg_failed = yes; then
14616         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14617 $as_echo "no" >&6; }
14618
14619 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14620         _pkg_short_errors_supported=yes
14621 else
14622         _pkg_short_errors_supported=no
14623 fi
14624         if test $_pkg_short_errors_supported = yes; then
14625                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8" 2>&1`
14626         else
14627                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8" 2>&1`
14628         fi
14629         # Put the nasty error message in config.log where it belongs
14630         echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
14631
14632         have_edbus_performance_test="no"
14633 elif test $pkg_failed = untried; then
14634         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14635 $as_echo "no" >&6; }
14636         have_edbus_performance_test="no"
14637 else
14638         EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
14639         EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
14640         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14641 $as_echo "yes" >&6; }
14642         have_edbus_performance_test="yes"
14643 fi
14644 fi
14645
14646  if test "x${have_edbus_performance_test}" = "xyes"; then
14647   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
14648   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
14649 else
14650   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
14651   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
14652 fi
14653
14654
14655 if test "x${have_edbus_async_test}" = "xyes" ; then
14656
14657 pkg_failed=no
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
14659 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
14660
14661 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
14662     pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
14663  elif test -n "$PKG_CONFIG"; then
14664     if test -n "$PKG_CONFIG" && \
14665     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14666   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
14667   ac_status=$?
14668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14669   test $ac_status = 0; }; then
14670   pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14671                       test "x$?" != "x0" && pkg_failed=yes
14672 else
14673   pkg_failed=yes
14674 fi
14675  else
14676     pkg_failed=untried
14677 fi
14678 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
14679     pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
14680  elif test -n "$PKG_CONFIG"; then
14681     if test -n "$PKG_CONFIG" && \
14682     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14683   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
14684   ac_status=$?
14685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14686   test $ac_status = 0; }; then
14687   pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14688                       test "x$?" != "x0" && pkg_failed=yes
14689 else
14690   pkg_failed=yes
14691 fi
14692  else
14693     pkg_failed=untried
14694 fi
14695
14696
14697
14698 if test $pkg_failed = yes; then
14699         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14700 $as_echo "no" >&6; }
14701
14702 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14703         _pkg_short_errors_supported=yes
14704 else
14705         _pkg_short_errors_supported=no
14706 fi
14707         if test $_pkg_short_errors_supported = yes; then
14708                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14709         else
14710                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14711         fi
14712         # Put the nasty error message in config.log where it belongs
14713         echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
14714
14715         have_edbus_async_test="no"
14716 elif test $pkg_failed = untried; then
14717         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14718 $as_echo "no" >&6; }
14719         have_edbus_async_test="no"
14720 else
14721         EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
14722         EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
14723         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14724 $as_echo "yes" >&6; }
14725         have_edbus_async_test="yes"
14726 fi
14727 fi
14728
14729 ### Checks for header files
14730
14731
14732 ### Checks for types
14733
14734
14735 ### Checks for structures
14736
14737
14738 ### Checks for compiler characteristics
14739
14740 EFL_EDBUS_BUILD=""
14741 case "$host_os" in
14742    mingw*)
14743       EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
14744    ;;
14745 esac
14746
14747
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14749 $as_echo_n "checking for ANSI C header files... " >&6; }
14750 if ${ac_cv_header_stdc+:} false; then :
14751   $as_echo_n "(cached) " >&6
14752 else
14753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h.  */
14755 #include <stdlib.h>
14756 #include <stdarg.h>
14757 #include <string.h>
14758 #include <float.h>
14759
14760 int
14761 main ()
14762 {
14763
14764   ;
14765   return 0;
14766 }
14767 _ACEOF
14768 if ac_fn_c_try_compile "$LINENO"; then :
14769   ac_cv_header_stdc=yes
14770 else
14771   ac_cv_header_stdc=no
14772 fi
14773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14774
14775 if test $ac_cv_header_stdc = yes; then
14776   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h.  */
14779 #include <string.h>
14780
14781 _ACEOF
14782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14783   $EGREP "memchr" >/dev/null 2>&1; then :
14784
14785 else
14786   ac_cv_header_stdc=no
14787 fi
14788 rm -f conftest*
14789
14790 fi
14791
14792 if test $ac_cv_header_stdc = yes; then
14793   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h.  */
14796 #include <stdlib.h>
14797
14798 _ACEOF
14799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14800   $EGREP "free" >/dev/null 2>&1; then :
14801
14802 else
14803   ac_cv_header_stdc=no
14804 fi
14805 rm -f conftest*
14806
14807 fi
14808
14809 if test $ac_cv_header_stdc = yes; then
14810   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14811   if test "$cross_compiling" = yes; then :
14812   :
14813 else
14814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h.  */
14816 #include <ctype.h>
14817 #include <stdlib.h>
14818 #if ((' ' & 0x0FF) == 0x020)
14819 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14820 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14821 #else
14822 # define ISLOWER(c) \
14823                    (('a' <= (c) && (c) <= 'i') \
14824                      || ('j' <= (c) && (c) <= 'r') \
14825                      || ('s' <= (c) && (c) <= 'z'))
14826 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14827 #endif
14828
14829 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14830 int
14831 main ()
14832 {
14833   int i;
14834   for (i = 0; i < 256; i++)
14835     if (XOR (islower (i), ISLOWER (i))
14836         || toupper (i) != TOUPPER (i))
14837       return 2;
14838   return 0;
14839 }
14840 _ACEOF
14841 if ac_fn_c_try_run "$LINENO"; then :
14842
14843 else
14844   ac_cv_header_stdc=no
14845 fi
14846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14847   conftest.$ac_objext conftest.beam conftest.$ac_ext
14848 fi
14849
14850 fi
14851 fi
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14853 $as_echo "$ac_cv_header_stdc" >&6; }
14854 if test $ac_cv_header_stdc = yes; then
14855
14856 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14857
14858 fi
14859
14860
14861
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14863 $as_echo_n "checking for __attribute__... " >&6; }
14864
14865 if ${ac_cv___attribute__+:} false; then :
14866   $as_echo_n "(cached) " >&6
14867 else
14868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h.  */
14870
14871 #include <stdlib.h>
14872
14873 int func(int x);
14874 int foo(int x __attribute__ ((unused)))
14875 {
14876    exit(1);
14877 }
14878
14879 int
14880 main ()
14881 {
14882
14883   ;
14884   return 0;
14885 }
14886 _ACEOF
14887 if ac_fn_c_try_compile "$LINENO"; then :
14888   ac_cv___attribute__="yes"
14889 else
14890   ac_cv___attribute__="no"
14891
14892 fi
14893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14894 fi
14895
14896
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14898 $as_echo "$ac_cv___attribute__" >&6; }
14899
14900 if test "x${ac_cv___attribute__}" = "xyes" ; then
14901
14902 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14903
14904
14905 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14906
14907   else
14908
14909 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14910
14911 fi
14912
14913
14914
14915 if ! test "x${VMIC}" = "x" ; then
14916
14917
14918 CFLAGS_save="${CFLAGS}"
14919 CFLAGS="${CFLAGS} -Wall"
14920
14921 ac_ext=c
14922 ac_cpp='$CPP $CPPFLAGS'
14923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14926
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14928 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14929
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h.  */
14932
14933 int
14934 main ()
14935 {
14936
14937   ;
14938   return 0;
14939 }
14940 _ACEOF
14941 if ac_fn_c_try_compile "$LINENO"; then :
14942   have_flag="yes"
14943 else
14944   have_flag="no"
14945 fi
14946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14948 $as_echo "${have_flag}" >&6; }
14949
14950 if test "x${have_flag}" = "xno" ; then
14951    CFLAGS="${CFLAGS_save}"
14952 fi
14953 ac_ext=c
14954 ac_cpp='$CPP $CPPFLAGS'
14955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14958
14959
14960
14961
14962
14963 CFLAGS_save="${CFLAGS}"
14964 CFLAGS="${CFLAGS} -W"
14965
14966 ac_ext=c
14967 ac_cpp='$CPP $CPPFLAGS'
14968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14971
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14973 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14974
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h.  */
14977
14978 int
14979 main ()
14980 {
14981
14982   ;
14983   return 0;
14984 }
14985 _ACEOF
14986 if ac_fn_c_try_compile "$LINENO"; then :
14987   have_flag="yes"
14988 else
14989   have_flag="no"
14990 fi
14991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14993 $as_echo "${have_flag}" >&6; }
14994
14995 if test "x${have_flag}" = "xno" ; then
14996    CFLAGS="${CFLAGS_save}"
14997 fi
14998 ac_ext=c
14999 ac_cpp='$CPP $CPPFLAGS'
15000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15003
15004
15005
15006 fi
15007
15008
15009
15010 CFLAGS_save="${CFLAGS}"
15011 CFLAGS="${CFLAGS} -Wshadow"
15012
15013 ac_ext=c
15014 ac_cpp='$CPP $CPPFLAGS'
15015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15018
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
15020 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
15021
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h.  */
15024
15025 int
15026 main ()
15027 {
15028
15029   ;
15030   return 0;
15031 }
15032 _ACEOF
15033 if ac_fn_c_try_compile "$LINENO"; then :
15034   have_flag="yes"
15035 else
15036   have_flag="no"
15037 fi
15038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
15040 $as_echo "${have_flag}" >&6; }
15041
15042 if test "x${have_flag}" = "xno" ; then
15043    CFLAGS="${CFLAGS_save}"
15044 fi
15045 ac_ext=c
15046 ac_cpp='$CPP $CPPFLAGS'
15047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15050
15051
15052
15053
15054
15055 ### Checks for linker characteristics
15056
15057 lt_enable_auto_import=""
15058 case "$host_os" in
15059    mingw*)
15060       lt_enable_auto_import="-Wl,--enable-auto-import"
15061    ;;
15062 esac
15063
15064
15065
15066 ### Checks for library functions
15067
15068 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15069 if test "x$ac_cv_type_size_t" = xyes; then :
15070
15071 else
15072
15073 cat >>confdefs.h <<_ACEOF
15074 #define size_t unsigned int
15075 _ACEOF
15076
15077 fi
15078
15079 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15080 # for constant arguments.  Useless!
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15082 $as_echo_n "checking for working alloca.h... " >&6; }
15083 if ${ac_cv_working_alloca_h+:} false; then :
15084   $as_echo_n "(cached) " >&6
15085 else
15086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h.  */
15088 #include <alloca.h>
15089 int
15090 main ()
15091 {
15092 char *p = (char *) alloca (2 * sizeof (int));
15093                           if (p) return 0;
15094   ;
15095   return 0;
15096 }
15097 _ACEOF
15098 if ac_fn_c_try_link "$LINENO"; then :
15099   ac_cv_working_alloca_h=yes
15100 else
15101   ac_cv_working_alloca_h=no
15102 fi
15103 rm -f core conftest.err conftest.$ac_objext \
15104     conftest$ac_exeext conftest.$ac_ext
15105 fi
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15107 $as_echo "$ac_cv_working_alloca_h" >&6; }
15108 if test $ac_cv_working_alloca_h = yes; then
15109
15110 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15111
15112 fi
15113
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15115 $as_echo_n "checking for alloca... " >&6; }
15116 if ${ac_cv_func_alloca_works+:} false; then :
15117   $as_echo_n "(cached) " >&6
15118 else
15119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h.  */
15121 #ifdef __GNUC__
15122 # define alloca __builtin_alloca
15123 #else
15124 # ifdef _MSC_VER
15125 #  include <malloc.h>
15126 #  define alloca _alloca
15127 # else
15128 #  ifdef HAVE_ALLOCA_H
15129 #   include <alloca.h>
15130 #  else
15131 #   ifdef _AIX
15132  #pragma alloca
15133 #   else
15134 #    ifndef alloca /* predefined by HP cc +Olibcalls */
15135 void *alloca (size_t);
15136 #    endif
15137 #   endif
15138 #  endif
15139 # endif
15140 #endif
15141
15142 int
15143 main ()
15144 {
15145 char *p = (char *) alloca (1);
15146                                     if (p) return 0;
15147   ;
15148   return 0;
15149 }
15150 _ACEOF
15151 if ac_fn_c_try_link "$LINENO"; then :
15152   ac_cv_func_alloca_works=yes
15153 else
15154   ac_cv_func_alloca_works=no
15155 fi
15156 rm -f core conftest.err conftest.$ac_objext \
15157     conftest$ac_exeext conftest.$ac_ext
15158 fi
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15160 $as_echo "$ac_cv_func_alloca_works" >&6; }
15161
15162 if test $ac_cv_func_alloca_works = yes; then
15163
15164 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15165
15166 else
15167   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15168 # that cause trouble.  Some versions do not even contain alloca or
15169 # contain a buggy version.  If you still want to use their alloca,
15170 # use ar to extract alloca.o from them instead of compiling alloca.c.
15171
15172 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15173
15174 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15175
15176
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15178 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15179 if ${ac_cv_os_cray+:} false; then :
15180   $as_echo_n "(cached) " >&6
15181 else
15182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15183 /* end confdefs.h.  */
15184 #if defined CRAY && ! defined CRAY2
15185 webecray
15186 #else
15187 wenotbecray
15188 #endif
15189
15190 _ACEOF
15191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15192   $EGREP "webecray" >/dev/null 2>&1; then :
15193   ac_cv_os_cray=yes
15194 else
15195   ac_cv_os_cray=no
15196 fi
15197 rm -f conftest*
15198
15199 fi
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15201 $as_echo "$ac_cv_os_cray" >&6; }
15202 if test $ac_cv_os_cray = yes; then
15203   for ac_func in _getb67 GETB67 getb67; do
15204     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15205 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15206 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15207
15208 cat >>confdefs.h <<_ACEOF
15209 #define CRAY_STACKSEG_END $ac_func
15210 _ACEOF
15211
15212     break
15213 fi
15214
15215   done
15216 fi
15217
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15219 $as_echo_n "checking stack direction for C alloca... " >&6; }
15220 if ${ac_cv_c_stack_direction+:} false; then :
15221   $as_echo_n "(cached) " >&6
15222 else
15223   if test "$cross_compiling" = yes; then :
15224   ac_cv_c_stack_direction=0
15225 else
15226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h.  */
15228 $ac_includes_default
15229 int
15230 find_stack_direction (int *addr, int depth)
15231 {
15232   int dir, dummy = 0;
15233   if (! addr)
15234     addr = &dummy;
15235   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
15236   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
15237   return dir + dummy;
15238 }
15239
15240 int
15241 main (int argc, char **argv)
15242 {
15243   return find_stack_direction (0, argc + !argv + 20) < 0;
15244 }
15245 _ACEOF
15246 if ac_fn_c_try_run "$LINENO"; then :
15247   ac_cv_c_stack_direction=1
15248 else
15249   ac_cv_c_stack_direction=-1
15250 fi
15251 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15252   conftest.$ac_objext conftest.beam conftest.$ac_ext
15253 fi
15254
15255 fi
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15257 $as_echo "$ac_cv_c_stack_direction" >&6; }
15258 cat >>confdefs.h <<_ACEOF
15259 #define STACK_DIRECTION $ac_cv_c_stack_direction
15260 _ACEOF
15261
15262
15263 fi
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275 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"
15276
15277 cat >confcache <<\_ACEOF
15278 # This file is a shell script that caches the results of configure
15279 # tests run on this system so they can be shared between configure
15280 # scripts and configure runs, see configure's option --config-cache.
15281 # It is not useful on other systems.  If it contains results you don't
15282 # want to keep, you may remove or edit it.
15283 #
15284 # config.status only pays attention to the cache file if you give it
15285 # the --recheck option to rerun configure.
15286 #
15287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15289 # following values.
15290
15291 _ACEOF
15292
15293 # The following way of writing the cache mishandles newlines in values,
15294 # but we know of no workaround that is simple, portable, and efficient.
15295 # So, we kill variables containing newlines.
15296 # Ultrix sh set writes to stderr and can't be redirected directly,
15297 # and sets the high bit in the cache file unless we assign to the vars.
15298 (
15299   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15300     eval ac_val=\$$ac_var
15301     case $ac_val in #(
15302     *${as_nl}*)
15303       case $ac_var in #(
15304       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15305 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15306       esac
15307       case $ac_var in #(
15308       _ | IFS | as_nl) ;; #(
15309       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15310       *) { eval $ac_var=; unset $ac_var;} ;;
15311       esac ;;
15312     esac
15313   done
15314
15315   (set) 2>&1 |
15316     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15317     *${as_nl}ac_space=\ *)
15318       # `set' does not quote correctly, so add quotes: double-quote
15319       # substitution turns \\\\ into \\, and sed turns \\ into \.
15320       sed -n \
15321         "s/'/'\\\\''/g;
15322           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15323       ;; #(
15324     *)
15325       # `set' quotes correctly as required by POSIX, so do not add quotes.
15326       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15327       ;;
15328     esac |
15329     sort
15330 ) |
15331   sed '
15332      /^ac_cv_env_/b end
15333      t clear
15334      :clear
15335      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15336      t end
15337      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15338      :end' >>confcache
15339 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15340   if test -w "$cache_file"; then
15341     if test "x$cache_file" != "x/dev/null"; then
15342       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15343 $as_echo "$as_me: updating cache $cache_file" >&6;}
15344       if test ! -f "$cache_file" || test -h "$cache_file"; then
15345         cat confcache >"$cache_file"
15346       else
15347         case $cache_file in #(
15348         */* | ?:*)
15349           mv -f confcache "$cache_file"$$ &&
15350           mv -f "$cache_file"$$ "$cache_file" ;; #(
15351         *)
15352           mv -f confcache "$cache_file" ;;
15353         esac
15354       fi
15355     fi
15356   else
15357     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15358 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15359   fi
15360 fi
15361 rm -f confcache
15362
15363 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15364 # Let make expand exec_prefix.
15365 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15366
15367 DEFS=-DHAVE_CONFIG_H
15368
15369 ac_libobjs=
15370 ac_ltlibobjs=
15371 U=
15372 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15373   # 1. Remove the extension, and $U if already installed.
15374   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15375   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15376   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15377   #    will be set to the directory where LIBOBJS objects are built.
15378   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15379   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15380 done
15381 LIBOBJS=$ac_libobjs
15382
15383 LTLIBOBJS=$ac_ltlibobjs
15384
15385
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15387 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15388    if test -n "$am_sleep_pid"; then
15389      # Hide warnings about reused PIDs.
15390      wait $am_sleep_pid 2>/dev/null
15391    fi
15392    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15393 $as_echo "done" >&6; }
15394  if test -n "$EXEEXT"; then
15395   am__EXEEXT_TRUE=
15396   am__EXEEXT_FALSE='#'
15397 else
15398   am__EXEEXT_TRUE='#'
15399   am__EXEEXT_FALSE=
15400 fi
15401
15402 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15403   as_fn_error $? "conditional \"AMDEP\" was never defined.
15404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15405 fi
15406 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15407   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15409 fi
15410 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15411   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15413 fi
15414 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15415   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15417 fi
15418 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
15419   as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
15420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15421 fi
15422 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
15423   as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
15424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15425 fi
15426 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
15427   as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
15428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15429 fi
15430 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
15431   as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
15432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15433 fi
15434 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
15435   as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
15436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15437 fi
15438 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
15439   as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
15440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15441 fi
15442 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
15443   as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
15444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15445 fi
15446 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
15447   as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
15448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15449 fi
15450 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
15451   as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
15452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15453 fi
15454 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
15455   as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
15456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15457 fi
15458 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
15459   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
15460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15461 fi
15462 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
15463   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
15464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15465 fi
15466 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
15467   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
15468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15469 fi
15470 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
15471   as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
15472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15473 fi
15474 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
15475   as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
15476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15477 fi
15478 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15479   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15481 fi
15482 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
15483   as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
15484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15485 fi
15486 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15487   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15489 fi
15490
15491 : "${CONFIG_STATUS=./config.status}"
15492 ac_write_fail=0
15493 ac_clean_files_save=$ac_clean_files
15494 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15496 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15497 as_write_fail=0
15498 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15499 #! $SHELL
15500 # Generated by $as_me.
15501 # Run this file to recreate the current configuration.
15502 # Compiler output produced by configure, useful for debugging
15503 # configure, is in config.log if it exists.
15504
15505 debug=false
15506 ac_cs_recheck=false
15507 ac_cs_silent=false
15508
15509 SHELL=\${CONFIG_SHELL-$SHELL}
15510 export SHELL
15511 _ASEOF
15512 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15513 ## -------------------- ##
15514 ## M4sh Initialization. ##
15515 ## -------------------- ##
15516
15517 # Be more Bourne compatible
15518 DUALCASE=1; export DUALCASE # for MKS sh
15519 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15520   emulate sh
15521   NULLCMD=:
15522   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15523   # is contrary to our usage.  Disable this feature.
15524   alias -g '${1+"$@"}'='"$@"'
15525   setopt NO_GLOB_SUBST
15526 else
15527   case `(set -o) 2>/dev/null` in #(
15528   *posix*) :
15529     set -o posix ;; #(
15530   *) :
15531      ;;
15532 esac
15533 fi
15534
15535
15536 as_nl='
15537 '
15538 export as_nl
15539 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15540 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15542 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15543 # Prefer a ksh shell builtin over an external printf program on Solaris,
15544 # but without wasting forks for bash or zsh.
15545 if test -z "$BASH_VERSION$ZSH_VERSION" \
15546     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15547   as_echo='print -r --'
15548   as_echo_n='print -rn --'
15549 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15550   as_echo='printf %s\n'
15551   as_echo_n='printf %s'
15552 else
15553   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15554     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15555     as_echo_n='/usr/ucb/echo -n'
15556   else
15557     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15558     as_echo_n_body='eval
15559       arg=$1;
15560       case $arg in #(
15561       *"$as_nl"*)
15562         expr "X$arg" : "X\\(.*\\)$as_nl";
15563         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15564       esac;
15565       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15566     '
15567     export as_echo_n_body
15568     as_echo_n='sh -c $as_echo_n_body as_echo'
15569   fi
15570   export as_echo_body
15571   as_echo='sh -c $as_echo_body as_echo'
15572 fi
15573
15574 # The user is always right.
15575 if test "${PATH_SEPARATOR+set}" != set; then
15576   PATH_SEPARATOR=:
15577   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15578     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15579       PATH_SEPARATOR=';'
15580   }
15581 fi
15582
15583
15584 # IFS
15585 # We need space, tab and new line, in precisely that order.  Quoting is
15586 # there to prevent editors from complaining about space-tab.
15587 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15588 # splitting by setting IFS to empty value.)
15589 IFS=" ""        $as_nl"
15590
15591 # Find who we are.  Look in the path if we contain no directory separator.
15592 as_myself=
15593 case $0 in #((
15594   *[\\/]* ) as_myself=$0 ;;
15595   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15596 for as_dir in $PATH
15597 do
15598   IFS=$as_save_IFS
15599   test -z "$as_dir" && as_dir=.
15600     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15601   done
15602 IFS=$as_save_IFS
15603
15604      ;;
15605 esac
15606 # We did not find ourselves, most probably we were run as `sh COMMAND'
15607 # in which case we are not to be found in the path.
15608 if test "x$as_myself" = x; then
15609   as_myself=$0
15610 fi
15611 if test ! -f "$as_myself"; then
15612   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15613   exit 1
15614 fi
15615
15616 # Unset variables that we do not need and which cause bugs (e.g. in
15617 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15618 # suppresses any "Segmentation fault" message there.  '((' could
15619 # trigger a bug in pdksh 5.2.14.
15620 for as_var in BASH_ENV ENV MAIL MAILPATH
15621 do eval test x\${$as_var+set} = xset \
15622   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15623 done
15624 PS1='$ '
15625 PS2='> '
15626 PS4='+ '
15627
15628 # NLS nuisances.
15629 LC_ALL=C
15630 export LC_ALL
15631 LANGUAGE=C
15632 export LANGUAGE
15633
15634 # CDPATH.
15635 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15636
15637
15638 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15639 # ----------------------------------------
15640 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15641 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15642 # script with STATUS, using 1 if that was 0.
15643 as_fn_error ()
15644 {
15645   as_status=$1; test $as_status -eq 0 && as_status=1
15646   if test "$4"; then
15647     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15648     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15649   fi
15650   $as_echo "$as_me: error: $2" >&2
15651   as_fn_exit $as_status
15652 } # as_fn_error
15653
15654
15655 # as_fn_set_status STATUS
15656 # -----------------------
15657 # Set $? to STATUS, without forking.
15658 as_fn_set_status ()
15659 {
15660   return $1
15661 } # as_fn_set_status
15662
15663 # as_fn_exit STATUS
15664 # -----------------
15665 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15666 as_fn_exit ()
15667 {
15668   set +e
15669   as_fn_set_status $1
15670   exit $1
15671 } # as_fn_exit
15672
15673 # as_fn_unset VAR
15674 # ---------------
15675 # Portably unset VAR.
15676 as_fn_unset ()
15677 {
15678   { eval $1=; unset $1;}
15679 }
15680 as_unset=as_fn_unset
15681 # as_fn_append VAR VALUE
15682 # ----------------------
15683 # Append the text in VALUE to the end of the definition contained in VAR. Take
15684 # advantage of any shell optimizations that allow amortized linear growth over
15685 # repeated appends, instead of the typical quadratic growth present in naive
15686 # implementations.
15687 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15688   eval 'as_fn_append ()
15689   {
15690     eval $1+=\$2
15691   }'
15692 else
15693   as_fn_append ()
15694   {
15695     eval $1=\$$1\$2
15696   }
15697 fi # as_fn_append
15698
15699 # as_fn_arith ARG...
15700 # ------------------
15701 # Perform arithmetic evaluation on the ARGs, and store the result in the
15702 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15703 # must be portable across $(()) and expr.
15704 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15705   eval 'as_fn_arith ()
15706   {
15707     as_val=$(( $* ))
15708   }'
15709 else
15710   as_fn_arith ()
15711   {
15712     as_val=`expr "$@" || test $? -eq 1`
15713   }
15714 fi # as_fn_arith
15715
15716
15717 if expr a : '\(a\)' >/dev/null 2>&1 &&
15718    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15719   as_expr=expr
15720 else
15721   as_expr=false
15722 fi
15723
15724 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15725   as_basename=basename
15726 else
15727   as_basename=false
15728 fi
15729
15730 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15731   as_dirname=dirname
15732 else
15733   as_dirname=false
15734 fi
15735
15736 as_me=`$as_basename -- "$0" ||
15737 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15738          X"$0" : 'X\(//\)$' \| \
15739          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15740 $as_echo X/"$0" |
15741     sed '/^.*\/\([^/][^/]*\)\/*$/{
15742             s//\1/
15743             q
15744           }
15745           /^X\/\(\/\/\)$/{
15746             s//\1/
15747             q
15748           }
15749           /^X\/\(\/\).*/{
15750             s//\1/
15751             q
15752           }
15753           s/.*/./; q'`
15754
15755 # Avoid depending upon Character Ranges.
15756 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15757 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15758 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15759 as_cr_digits='0123456789'
15760 as_cr_alnum=$as_cr_Letters$as_cr_digits
15761
15762 ECHO_C= ECHO_N= ECHO_T=
15763 case `echo -n x` in #(((((
15764 -n*)
15765   case `echo 'xy\c'` in
15766   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15767   xy)  ECHO_C='\c';;
15768   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15769        ECHO_T=' ';;
15770   esac;;
15771 *)
15772   ECHO_N='-n';;
15773 esac
15774
15775 rm -f conf$$ conf$$.exe conf$$.file
15776 if test -d conf$$.dir; then
15777   rm -f conf$$.dir/conf$$.file
15778 else
15779   rm -f conf$$.dir
15780   mkdir conf$$.dir 2>/dev/null
15781 fi
15782 if (echo >conf$$.file) 2>/dev/null; then
15783   if ln -s conf$$.file conf$$ 2>/dev/null; then
15784     as_ln_s='ln -s'
15785     # ... but there are two gotchas:
15786     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15787     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15788     # In both cases, we have to default to `cp -pR'.
15789     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15790       as_ln_s='cp -pR'
15791   elif ln conf$$.file conf$$ 2>/dev/null; then
15792     as_ln_s=ln
15793   else
15794     as_ln_s='cp -pR'
15795   fi
15796 else
15797   as_ln_s='cp -pR'
15798 fi
15799 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15800 rmdir conf$$.dir 2>/dev/null
15801
15802
15803 # as_fn_mkdir_p
15804 # -------------
15805 # Create "$as_dir" as a directory, including parents if necessary.
15806 as_fn_mkdir_p ()
15807 {
15808
15809   case $as_dir in #(
15810   -*) as_dir=./$as_dir;;
15811   esac
15812   test -d "$as_dir" || eval $as_mkdir_p || {
15813     as_dirs=
15814     while :; do
15815       case $as_dir in #(
15816       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15817       *) as_qdir=$as_dir;;
15818       esac
15819       as_dirs="'$as_qdir' $as_dirs"
15820       as_dir=`$as_dirname -- "$as_dir" ||
15821 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15822          X"$as_dir" : 'X\(//\)[^/]' \| \
15823          X"$as_dir" : 'X\(//\)$' \| \
15824          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15825 $as_echo X"$as_dir" |
15826     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15827             s//\1/
15828             q
15829           }
15830           /^X\(\/\/\)[^/].*/{
15831             s//\1/
15832             q
15833           }
15834           /^X\(\/\/\)$/{
15835             s//\1/
15836             q
15837           }
15838           /^X\(\/\).*/{
15839             s//\1/
15840             q
15841           }
15842           s/.*/./; q'`
15843       test -d "$as_dir" && break
15844     done
15845     test -z "$as_dirs" || eval "mkdir $as_dirs"
15846   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15847
15848
15849 } # as_fn_mkdir_p
15850 if mkdir -p . 2>/dev/null; then
15851   as_mkdir_p='mkdir -p "$as_dir"'
15852 else
15853   test -d ./-p && rmdir ./-p
15854   as_mkdir_p=false
15855 fi
15856
15857
15858 # as_fn_executable_p FILE
15859 # -----------------------
15860 # Test if FILE is an executable regular file.
15861 as_fn_executable_p ()
15862 {
15863   test -f "$1" && test -x "$1"
15864 } # as_fn_executable_p
15865 as_test_x='test -x'
15866 as_executable_p=as_fn_executable_p
15867
15868 # Sed expression to map a string onto a valid CPP name.
15869 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15870
15871 # Sed expression to map a string onto a valid variable name.
15872 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15873
15874
15875 exec 6>&1
15876 ## ----------------------------------- ##
15877 ## Main body of $CONFIG_STATUS script. ##
15878 ## ----------------------------------- ##
15879 _ASEOF
15880 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15881
15882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15883 # Save the log message, to keep $0 and so on meaningful, and to
15884 # report actual input values of CONFIG_FILES etc. instead of their
15885 # values after options handling.
15886 ac_log="
15887 This file was extended by e_dbus $as_me 1.7.8, which was
15888 generated by GNU Autoconf 2.69.  Invocation command line was
15889
15890   CONFIG_FILES    = $CONFIG_FILES
15891   CONFIG_HEADERS  = $CONFIG_HEADERS
15892   CONFIG_LINKS    = $CONFIG_LINKS
15893   CONFIG_COMMANDS = $CONFIG_COMMANDS
15894   $ $0 $@
15895
15896 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15897 "
15898
15899 _ACEOF
15900
15901 case $ac_config_files in *"
15902 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15903 esac
15904
15905 case $ac_config_headers in *"
15906 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15907 esac
15908
15909
15910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15911 # Files that config.status was made for.
15912 config_files="$ac_config_files"
15913 config_headers="$ac_config_headers"
15914 config_commands="$ac_config_commands"
15915
15916 _ACEOF
15917
15918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15919 ac_cs_usage="\
15920 \`$as_me' instantiates files and other configuration actions
15921 from templates according to the current configuration.  Unless the files
15922 and actions are specified as TAGs, all are instantiated by default.
15923
15924 Usage: $0 [OPTION]... [TAG]...
15925
15926   -h, --help       print this help, then exit
15927   -V, --version    print version number and configuration settings, then exit
15928       --config     print configuration, then exit
15929   -q, --quiet, --silent
15930                    do not print progress messages
15931   -d, --debug      don't remove temporary files
15932       --recheck    update $as_me by reconfiguring in the same conditions
15933       --file=FILE[:TEMPLATE]
15934                    instantiate the configuration file FILE
15935       --header=FILE[:TEMPLATE]
15936                    instantiate the configuration header FILE
15937
15938 Configuration files:
15939 $config_files
15940
15941 Configuration headers:
15942 $config_headers
15943
15944 Configuration commands:
15945 $config_commands
15946
15947 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15948
15949 _ACEOF
15950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15951 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15952 ac_cs_version="\\
15953 e_dbus config.status 1.7.8
15954 configured by $0, generated by GNU Autoconf 2.69,
15955   with options \\"\$ac_cs_config\\"
15956
15957 Copyright (C) 2012 Free Software Foundation, Inc.
15958 This config.status script is free software; the Free Software Foundation
15959 gives unlimited permission to copy, distribute and modify it."
15960
15961 ac_pwd='$ac_pwd'
15962 srcdir='$srcdir'
15963 INSTALL='$INSTALL'
15964 MKDIR_P='$MKDIR_P'
15965 AWK='$AWK'
15966 test -n "\$AWK" || AWK=awk
15967 _ACEOF
15968
15969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15970 # The default lists apply if the user does not specify any file.
15971 ac_need_defaults=:
15972 while test $# != 0
15973 do
15974   case $1 in
15975   --*=?*)
15976     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15977     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15978     ac_shift=:
15979     ;;
15980   --*=)
15981     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15982     ac_optarg=
15983     ac_shift=:
15984     ;;
15985   *)
15986     ac_option=$1
15987     ac_optarg=$2
15988     ac_shift=shift
15989     ;;
15990   esac
15991
15992   case $ac_option in
15993   # Handling of the options.
15994   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15995     ac_cs_recheck=: ;;
15996   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15997     $as_echo "$ac_cs_version"; exit ;;
15998   --config | --confi | --conf | --con | --co | --c )
15999     $as_echo "$ac_cs_config"; exit ;;
16000   --debug | --debu | --deb | --de | --d | -d )
16001     debug=: ;;
16002   --file | --fil | --fi | --f )
16003     $ac_shift
16004     case $ac_optarg in
16005     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16006     '') as_fn_error $? "missing file argument" ;;
16007     esac
16008     as_fn_append CONFIG_FILES " '$ac_optarg'"
16009     ac_need_defaults=false;;
16010   --header | --heade | --head | --hea )
16011     $ac_shift
16012     case $ac_optarg in
16013     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16014     esac
16015     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16016     ac_need_defaults=false;;
16017   --he | --h)
16018     # Conflict between --help and --header
16019     as_fn_error $? "ambiguous option: \`$1'
16020 Try \`$0 --help' for more information.";;
16021   --help | --hel | -h )
16022     $as_echo "$ac_cs_usage"; exit ;;
16023   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16024   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16025     ac_cs_silent=: ;;
16026
16027   # This is an error.
16028   -*) as_fn_error $? "unrecognized option: \`$1'
16029 Try \`$0 --help' for more information." ;;
16030
16031   *) as_fn_append ac_config_targets " $1"
16032      ac_need_defaults=false ;;
16033
16034   esac
16035   shift
16036 done
16037
16038 ac_configure_extra_args=
16039
16040 if $ac_cs_silent; then
16041   exec 6>/dev/null
16042   ac_configure_extra_args="$ac_configure_extra_args --silent"
16043 fi
16044
16045 _ACEOF
16046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16047 if \$ac_cs_recheck; then
16048   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16049   shift
16050   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16051   CONFIG_SHELL='$SHELL'
16052   export CONFIG_SHELL
16053   exec "\$@"
16054 fi
16055
16056 _ACEOF
16057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16058 exec 5>>config.log
16059 {
16060   echo
16061   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16062 ## Running $as_me. ##
16063 _ASBOX
16064   $as_echo "$ac_log"
16065 } >&5
16066
16067 _ACEOF
16068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16069 #
16070 # INIT-COMMANDS
16071 #
16072 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16073
16074
16075 # The HP-UX ksh and POSIX shell print the target directory to stdout
16076 # if CDPATH is set.
16077 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16078
16079 sed_quote_subst='$sed_quote_subst'
16080 double_quote_subst='$double_quote_subst'
16081 delay_variable_subst='$delay_variable_subst'
16082 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16083 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16084 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16085 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16086 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16087 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16088 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16089 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16090 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16091 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16092 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16093 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16094 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16095 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16096 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16097 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16098 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16099 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16100 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16101 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16102 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16103 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16104 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16105 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16106 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16107 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16108 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16109 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16110 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16111 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16112 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16113 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16114 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16115 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16116 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16117 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16118 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16119 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16120 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16121 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16122 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16123 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16124 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16125 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16126 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16127 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16128 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16129 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16130 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16131 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16132 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16133 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16134 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16135 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16136 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16137 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16138 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16139 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"`'
16140 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16141 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16142 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16143 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16144 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16145 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16146 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16147 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16148 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16149 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16150 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16151 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16152 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16153 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16154 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16155 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16156 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16157 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16158 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16159 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16160 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16161 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16162 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16163 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16164 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16165 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16166 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16167 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16168 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16169 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16170 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16171 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16172 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16173 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16174 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16175 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16176 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16177 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16178 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16179 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16180 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16181 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16182 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16183 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16184 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16185 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16186 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16187 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16188 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16189 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16190 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16191 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16192 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16193 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16194 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16195 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16196 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16197 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16198 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16199 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16200 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16201 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16202 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16203 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16204 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16205 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16206 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16207 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16208 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16209 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16210 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16211 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16212 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16213
16214 LTCC='$LTCC'
16215 LTCFLAGS='$LTCFLAGS'
16216 compiler='$compiler_DEFAULT'
16217
16218 # A function that is used when there is no print builtin or printf.
16219 func_fallback_echo ()
16220 {
16221   eval 'cat <<_LTECHO_EOF
16222 \$1
16223 _LTECHO_EOF'
16224 }
16225
16226 # Quote evaled strings.
16227 for var in AS \
16228 DLLTOOL \
16229 OBJDUMP \
16230 SHELL \
16231 ECHO \
16232 PATH_SEPARATOR \
16233 SED \
16234 GREP \
16235 EGREP \
16236 FGREP \
16237 LD \
16238 NM \
16239 LN_S \
16240 lt_SP2NL \
16241 lt_NL2SP \
16242 reload_flag \
16243 deplibs_check_method \
16244 file_magic_cmd \
16245 file_magic_glob \
16246 want_nocaseglob \
16247 sharedlib_from_linklib_cmd \
16248 AR \
16249 AR_FLAGS \
16250 archiver_list_spec \
16251 STRIP \
16252 RANLIB \
16253 CC \
16254 CFLAGS \
16255 compiler \
16256 lt_cv_sys_global_symbol_pipe \
16257 lt_cv_sys_global_symbol_to_cdecl \
16258 lt_cv_sys_global_symbol_to_c_name_address \
16259 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16260 nm_file_list_spec \
16261 lt_prog_compiler_no_builtin_flag \
16262 lt_prog_compiler_pic \
16263 lt_prog_compiler_wl \
16264 lt_prog_compiler_static \
16265 lt_cv_prog_compiler_c_o \
16266 need_locks \
16267 MANIFEST_TOOL \
16268 DSYMUTIL \
16269 NMEDIT \
16270 LIPO \
16271 OTOOL \
16272 OTOOL64 \
16273 shrext_cmds \
16274 export_dynamic_flag_spec \
16275 whole_archive_flag_spec \
16276 compiler_needs_object \
16277 with_gnu_ld \
16278 allow_undefined_flag \
16279 no_undefined_flag \
16280 hardcode_libdir_flag_spec \
16281 hardcode_libdir_separator \
16282 exclude_expsyms \
16283 include_expsyms \
16284 file_list_spec \
16285 variables_saved_for_relink \
16286 libname_spec \
16287 library_names_spec \
16288 soname_spec \
16289 install_override_mode \
16290 finish_eval \
16291 old_striplib \
16292 striplib; do
16293     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16294     *[\\\\\\\`\\"\\\$]*)
16295       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16296       ;;
16297     *)
16298       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16299       ;;
16300     esac
16301 done
16302
16303 # Double-quote double-evaled strings.
16304 for var in reload_cmds \
16305 old_postinstall_cmds \
16306 old_postuninstall_cmds \
16307 old_archive_cmds \
16308 extract_expsyms_cmds \
16309 old_archive_from_new_cmds \
16310 old_archive_from_expsyms_cmds \
16311 archive_cmds \
16312 archive_expsym_cmds \
16313 module_cmds \
16314 module_expsym_cmds \
16315 export_symbols_cmds \
16316 prelink_cmds \
16317 postlink_cmds \
16318 postinstall_cmds \
16319 postuninstall_cmds \
16320 finish_cmds \
16321 sys_lib_search_path_spec \
16322 sys_lib_dlsearch_path_spec; do
16323     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16324     *[\\\\\\\`\\"\\\$]*)
16325       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16326       ;;
16327     *)
16328       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16329       ;;
16330     esac
16331 done
16332
16333 ac_aux_dir='$ac_aux_dir'
16334 xsi_shell='$xsi_shell'
16335 lt_shell_append='$lt_shell_append'
16336
16337 # See if we are running on zsh, and set the options which allow our
16338 # commands through without removal of \ escapes INIT.
16339 if test -n "\${ZSH_VERSION+set}" ; then
16340    setopt NO_GLOB_SUBST
16341 fi
16342
16343
16344     PACKAGE='$PACKAGE'
16345     VERSION='$VERSION'
16346     TIMESTAMP='$TIMESTAMP'
16347     RM='$RM'
16348     ofile='$ofile'
16349
16350
16351
16352
16353 _ACEOF
16354
16355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16356
16357 # Handling of arguments.
16358 for ac_config_target in $ac_config_targets
16359 do
16360   case $ac_config_target in
16361     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16362     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16363     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16364     "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
16365     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16366     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16367     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16368     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16369     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16370     "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
16371     "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
16372     "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
16373     "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
16374     "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
16375     "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
16376     "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
16377     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16378     "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
16379     "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
16380     "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
16381     "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
16382     "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
16383     "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
16384     "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
16385
16386   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16387   esac
16388 done
16389
16390
16391 # If the user did not use the arguments to specify the items to instantiate,
16392 # then the envvar interface is used.  Set only those that are not.
16393 # We use the long form for the default assignment because of an extremely
16394 # bizarre bug on SunOS 4.1.3.
16395 if $ac_need_defaults; then
16396   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16397   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16398   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16399 fi
16400
16401 # Have a temporary directory for convenience.  Make it in the build tree
16402 # simply because there is no reason against having it here, and in addition,
16403 # creating and moving files from /tmp can sometimes cause problems.
16404 # Hook for its removal unless debugging.
16405 # Note that there is a small window in which the directory will not be cleaned:
16406 # after its creation but before its name has been assigned to `$tmp'.
16407 $debug ||
16408 {
16409   tmp= ac_tmp=
16410   trap 'exit_status=$?
16411   : "${ac_tmp:=$tmp}"
16412   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16413 ' 0
16414   trap 'as_fn_exit 1' 1 2 13 15
16415 }
16416 # Create a (secure) tmp directory for tmp files.
16417
16418 {
16419   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16420   test -d "$tmp"
16421 }  ||
16422 {
16423   tmp=./conf$$-$RANDOM
16424   (umask 077 && mkdir "$tmp")
16425 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16426 ac_tmp=$tmp
16427
16428 # Set up the scripts for CONFIG_FILES section.
16429 # No need to generate them if there are no CONFIG_FILES.
16430 # This happens for instance with `./config.status config.h'.
16431 if test -n "$CONFIG_FILES"; then
16432
16433
16434 ac_cr=`echo X | tr X '\015'`
16435 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16436 # But we know of no other shell where ac_cr would be empty at this
16437 # point, so we can use a bashism as a fallback.
16438 if test "x$ac_cr" = x; then
16439   eval ac_cr=\$\'\\r\'
16440 fi
16441 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16442 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16443   ac_cs_awk_cr='\\r'
16444 else
16445   ac_cs_awk_cr=$ac_cr
16446 fi
16447
16448 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16449 _ACEOF
16450
16451
16452 {
16453   echo "cat >conf$$subs.awk <<_ACEOF" &&
16454   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16455   echo "_ACEOF"
16456 } >conf$$subs.sh ||
16457   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16458 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16459 ac_delim='%!_!# '
16460 for ac_last_try in false false false false false :; do
16461   . ./conf$$subs.sh ||
16462     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16463
16464   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16465   if test $ac_delim_n = $ac_delim_num; then
16466     break
16467   elif $ac_last_try; then
16468     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16469   else
16470     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16471   fi
16472 done
16473 rm -f conf$$subs.sh
16474
16475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16476 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16477 _ACEOF
16478 sed -n '
16479 h
16480 s/^/S["/; s/!.*/"]=/
16481 p
16482 g
16483 s/^[^!]*!//
16484 :repl
16485 t repl
16486 s/'"$ac_delim"'$//
16487 t delim
16488 :nl
16489 h
16490 s/\(.\{148\}\)..*/\1/
16491 t more1
16492 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16493 p
16494 n
16495 b repl
16496 :more1
16497 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16498 p
16499 g
16500 s/.\{148\}//
16501 t nl
16502 :delim
16503 h
16504 s/\(.\{148\}\)..*/\1/
16505 t more2
16506 s/["\\]/\\&/g; s/^/"/; s/$/"/
16507 p
16508 b
16509 :more2
16510 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16511 p
16512 g
16513 s/.\{148\}//
16514 t delim
16515 ' <conf$$subs.awk | sed '
16516 /^[^""]/{
16517   N
16518   s/\n//
16519 }
16520 ' >>$CONFIG_STATUS || ac_write_fail=1
16521 rm -f conf$$subs.awk
16522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16523 _ACAWK
16524 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16525   for (key in S) S_is_set[key] = 1
16526   FS = "\a"
16527
16528 }
16529 {
16530   line = $ 0
16531   nfields = split(line, field, "@")
16532   substed = 0
16533   len = length(field[1])
16534   for (i = 2; i < nfields; i++) {
16535     key = field[i]
16536     keylen = length(key)
16537     if (S_is_set[key]) {
16538       value = S[key]
16539       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16540       len += length(value) + length(field[++i])
16541       substed = 1
16542     } else
16543       len += 1 + keylen
16544   }
16545
16546   print line
16547 }
16548
16549 _ACAWK
16550 _ACEOF
16551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16552 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16553   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16554 else
16555   cat
16556 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16557   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16558 _ACEOF
16559
16560 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16561 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16562 # trailing colons and then remove the whole line if VPATH becomes empty
16563 # (actually we leave an empty line to preserve line numbers).
16564 if test "x$srcdir" = x.; then
16565   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16566 h
16567 s///
16568 s/^/:/
16569 s/[      ]*$/:/
16570 s/:\$(srcdir):/:/g
16571 s/:\${srcdir}:/:/g
16572 s/:@srcdir@:/:/g
16573 s/^:*//
16574 s/:*$//
16575 x
16576 s/\(=[   ]*\).*/\1/
16577 G
16578 s/\n//
16579 s/^[^=]*=[       ]*$//
16580 }'
16581 fi
16582
16583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16584 fi # test -n "$CONFIG_FILES"
16585
16586 # Set up the scripts for CONFIG_HEADERS section.
16587 # No need to generate them if there are no CONFIG_HEADERS.
16588 # This happens for instance with `./config.status Makefile'.
16589 if test -n "$CONFIG_HEADERS"; then
16590 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16591 BEGIN {
16592 _ACEOF
16593
16594 # Transform confdefs.h into an awk script `defines.awk', embedded as
16595 # here-document in config.status, that substitutes the proper values into
16596 # config.h.in to produce config.h.
16597
16598 # Create a delimiter string that does not exist in confdefs.h, to ease
16599 # handling of long lines.
16600 ac_delim='%!_!# '
16601 for ac_last_try in false false :; do
16602   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16603   if test -z "$ac_tt"; then
16604     break
16605   elif $ac_last_try; then
16606     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16607   else
16608     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16609   fi
16610 done
16611
16612 # For the awk script, D is an array of macro values keyed by name,
16613 # likewise P contains macro parameters if any.  Preserve backslash
16614 # newline sequences.
16615
16616 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16617 sed -n '
16618 s/.\{148\}/&'"$ac_delim"'/g
16619 t rset
16620 :rset
16621 s/^[     ]*#[    ]*define[       ][      ]*/ /
16622 t def
16623 d
16624 :def
16625 s/\\$//
16626 t bsnl
16627 s/["\\]/\\&/g
16628 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16629 D["\1"]=" \3"/p
16630 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16631 d
16632 :bsnl
16633 s/["\\]/\\&/g
16634 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16635 D["\1"]=" \3\\\\\\n"\\/p
16636 t cont
16637 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16638 t cont
16639 d
16640 :cont
16641 n
16642 s/.\{148\}/&'"$ac_delim"'/g
16643 t clear
16644 :clear
16645 s/\\$//
16646 t bsnlc
16647 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16648 d
16649 :bsnlc
16650 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16651 b cont
16652 ' <confdefs.h | sed '
16653 s/'"$ac_delim"'/"\\\
16654 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16655
16656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16657   for (key in D) D_is_set[key] = 1
16658   FS = "\a"
16659 }
16660 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16661   line = \$ 0
16662   split(line, arg, " ")
16663   if (arg[1] == "#") {
16664     defundef = arg[2]
16665     mac1 = arg[3]
16666   } else {
16667     defundef = substr(arg[1], 2)
16668     mac1 = arg[2]
16669   }
16670   split(mac1, mac2, "(") #)
16671   macro = mac2[1]
16672   prefix = substr(line, 1, index(line, defundef) - 1)
16673   if (D_is_set[macro]) {
16674     # Preserve the white space surrounding the "#".
16675     print prefix "define", macro P[macro] D[macro]
16676     next
16677   } else {
16678     # Replace #undef with comments.  This is necessary, for example,
16679     # in the case of _POSIX_SOURCE, which is predefined and required
16680     # on some systems where configure will not decide to define it.
16681     if (defundef == "undef") {
16682       print "/*", prefix defundef, macro, "*/"
16683       next
16684     }
16685   }
16686 }
16687 { print }
16688 _ACAWK
16689 _ACEOF
16690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16691   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16692 fi # test -n "$CONFIG_HEADERS"
16693
16694
16695 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16696 shift
16697 for ac_tag
16698 do
16699   case $ac_tag in
16700   :[FHLC]) ac_mode=$ac_tag; continue;;
16701   esac
16702   case $ac_mode$ac_tag in
16703   :[FHL]*:*);;
16704   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16705   :[FH]-) ac_tag=-:-;;
16706   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16707   esac
16708   ac_save_IFS=$IFS
16709   IFS=:
16710   set x $ac_tag
16711   IFS=$ac_save_IFS
16712   shift
16713   ac_file=$1
16714   shift
16715
16716   case $ac_mode in
16717   :L) ac_source=$1;;
16718   :[FH])
16719     ac_file_inputs=
16720     for ac_f
16721     do
16722       case $ac_f in
16723       -) ac_f="$ac_tmp/stdin";;
16724       *) # Look for the file first in the build tree, then in the source tree
16725          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16726          # because $ac_f cannot contain `:'.
16727          test -f "$ac_f" ||
16728            case $ac_f in
16729            [\\/$]*) false;;
16730            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16731            esac ||
16732            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16733       esac
16734       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16735       as_fn_append ac_file_inputs " '$ac_f'"
16736     done
16737
16738     # Let's still pretend it is `configure' which instantiates (i.e., don't
16739     # use $as_me), people would be surprised to read:
16740     #    /* config.h.  Generated by config.status.  */
16741     configure_input='Generated from '`
16742           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16743         `' by configure.'
16744     if test x"$ac_file" != x-; then
16745       configure_input="$ac_file.  $configure_input"
16746       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16747 $as_echo "$as_me: creating $ac_file" >&6;}
16748     fi
16749     # Neutralize special characters interpreted by sed in replacement strings.
16750     case $configure_input in #(
16751     *\&* | *\|* | *\\* )
16752        ac_sed_conf_input=`$as_echo "$configure_input" |
16753        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16754     *) ac_sed_conf_input=$configure_input;;
16755     esac
16756
16757     case $ac_tag in
16758     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16759       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16760     esac
16761     ;;
16762   esac
16763
16764   ac_dir=`$as_dirname -- "$ac_file" ||
16765 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16766          X"$ac_file" : 'X\(//\)[^/]' \| \
16767          X"$ac_file" : 'X\(//\)$' \| \
16768          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16769 $as_echo X"$ac_file" |
16770     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16771             s//\1/
16772             q
16773           }
16774           /^X\(\/\/\)[^/].*/{
16775             s//\1/
16776             q
16777           }
16778           /^X\(\/\/\)$/{
16779             s//\1/
16780             q
16781           }
16782           /^X\(\/\).*/{
16783             s//\1/
16784             q
16785           }
16786           s/.*/./; q'`
16787   as_dir="$ac_dir"; as_fn_mkdir_p
16788   ac_builddir=.
16789
16790 case "$ac_dir" in
16791 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16792 *)
16793   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16794   # A ".." for each directory in $ac_dir_suffix.
16795   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16796   case $ac_top_builddir_sub in
16797   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16798   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16799   esac ;;
16800 esac
16801 ac_abs_top_builddir=$ac_pwd
16802 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16803 # for backward compatibility:
16804 ac_top_builddir=$ac_top_build_prefix
16805
16806 case $srcdir in
16807   .)  # We are building in place.
16808     ac_srcdir=.
16809     ac_top_srcdir=$ac_top_builddir_sub
16810     ac_abs_top_srcdir=$ac_pwd ;;
16811   [\\/]* | ?:[\\/]* )  # Absolute name.
16812     ac_srcdir=$srcdir$ac_dir_suffix;
16813     ac_top_srcdir=$srcdir
16814     ac_abs_top_srcdir=$srcdir ;;
16815   *) # Relative name.
16816     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16817     ac_top_srcdir=$ac_top_build_prefix$srcdir
16818     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16819 esac
16820 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16821
16822
16823   case $ac_mode in
16824   :F)
16825   #
16826   # CONFIG_FILE
16827   #
16828
16829   case $INSTALL in
16830   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16831   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16832   esac
16833   ac_MKDIR_P=$MKDIR_P
16834   case $MKDIR_P in
16835   [\\/$]* | ?:[\\/]* ) ;;
16836   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16837   esac
16838 _ACEOF
16839
16840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16841 # If the template does not know about datarootdir, expand it.
16842 # FIXME: This hack should be removed a few years after 2.60.
16843 ac_datarootdir_hack=; ac_datarootdir_seen=
16844 ac_sed_dataroot='
16845 /datarootdir/ {
16846   p
16847   q
16848 }
16849 /@datadir@/p
16850 /@docdir@/p
16851 /@infodir@/p
16852 /@localedir@/p
16853 /@mandir@/p'
16854 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16855 *datarootdir*) ac_datarootdir_seen=yes;;
16856 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16857   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16858 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16859 _ACEOF
16860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16861   ac_datarootdir_hack='
16862   s&@datadir@&$datadir&g
16863   s&@docdir@&$docdir&g
16864   s&@infodir@&$infodir&g
16865   s&@localedir@&$localedir&g
16866   s&@mandir@&$mandir&g
16867   s&\\\${datarootdir}&$datarootdir&g' ;;
16868 esac
16869 _ACEOF
16870
16871 # Neutralize VPATH when `$srcdir' = `.'.
16872 # Shell code in configure.ac might set extrasub.
16873 # FIXME: do we really want to maintain this feature?
16874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16875 ac_sed_extra="$ac_vpsub
16876 $extrasub
16877 _ACEOF
16878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16879 :t
16880 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16881 s|@configure_input@|$ac_sed_conf_input|;t t
16882 s&@top_builddir@&$ac_top_builddir_sub&;t t
16883 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16884 s&@srcdir@&$ac_srcdir&;t t
16885 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16886 s&@top_srcdir@&$ac_top_srcdir&;t t
16887 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16888 s&@builddir@&$ac_builddir&;t t
16889 s&@abs_builddir@&$ac_abs_builddir&;t t
16890 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16891 s&@INSTALL@&$ac_INSTALL&;t t
16892 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16893 $ac_datarootdir_hack
16894 "
16895 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16896   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16897
16898 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16899   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16900   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16901       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16902   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16903 which seems to be undefined.  Please make sure it is defined" >&5
16904 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16905 which seems to be undefined.  Please make sure it is defined" >&2;}
16906
16907   rm -f "$ac_tmp/stdin"
16908   case $ac_file in
16909   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16910   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16911   esac \
16912   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16913  ;;
16914   :H)
16915   #
16916   # CONFIG_HEADER
16917   #
16918   if test x"$ac_file" != x-; then
16919     {
16920       $as_echo "/* $configure_input  */" \
16921       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16922     } >"$ac_tmp/config.h" \
16923       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16924     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16925       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16926 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16927     else
16928       rm -f "$ac_file"
16929       mv "$ac_tmp/config.h" "$ac_file" \
16930         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16931     fi
16932   else
16933     $as_echo "/* $configure_input  */" \
16934       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16935       || as_fn_error $? "could not create -" "$LINENO" 5
16936   fi
16937 # Compute "$ac_file"'s index in $config_headers.
16938 _am_arg="$ac_file"
16939 _am_stamp_count=1
16940 for _am_header in $config_headers :; do
16941   case $_am_header in
16942     $_am_arg | $_am_arg:* )
16943       break ;;
16944     * )
16945       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16946   esac
16947 done
16948 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16949 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16950          X"$_am_arg" : 'X\(//\)[^/]' \| \
16951          X"$_am_arg" : 'X\(//\)$' \| \
16952          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16953 $as_echo X"$_am_arg" |
16954     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16955             s//\1/
16956             q
16957           }
16958           /^X\(\/\/\)[^/].*/{
16959             s//\1/
16960             q
16961           }
16962           /^X\(\/\/\)$/{
16963             s//\1/
16964             q
16965           }
16966           /^X\(\/\).*/{
16967             s//\1/
16968             q
16969           }
16970           s/.*/./; q'`/stamp-h$_am_stamp_count
16971  ;;
16972
16973   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16974 $as_echo "$as_me: executing $ac_file commands" >&6;}
16975  ;;
16976   esac
16977
16978
16979   case $ac_file$ac_mode in
16980     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16981   # Older Autoconf quotes --file arguments for eval, but not when files
16982   # are listed without --file.  Let's play safe and only enable the eval
16983   # if we detect the quoting.
16984   case $CONFIG_FILES in
16985   *\'*) eval set x "$CONFIG_FILES" ;;
16986   *)   set x $CONFIG_FILES ;;
16987   esac
16988   shift
16989   for mf
16990   do
16991     # Strip MF so we end up with the name of the file.
16992     mf=`echo "$mf" | sed -e 's/:.*$//'`
16993     # Check whether this is an Automake generated Makefile or not.
16994     # We used to match only the files named 'Makefile.in', but
16995     # some people rename them; so instead we look at the file content.
16996     # Grep'ing the first line is not enough: some people post-process
16997     # each Makefile.in and add a new line on top of each file to say so.
16998     # Grep'ing the whole file is not good either: AIX grep has a line
16999     # limit of 2048, but all sed's we know have understand at least 4000.
17000     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17001       dirpart=`$as_dirname -- "$mf" ||
17002 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17003          X"$mf" : 'X\(//\)[^/]' \| \
17004          X"$mf" : 'X\(//\)$' \| \
17005          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17006 $as_echo X"$mf" |
17007     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17008             s//\1/
17009             q
17010           }
17011           /^X\(\/\/\)[^/].*/{
17012             s//\1/
17013             q
17014           }
17015           /^X\(\/\/\)$/{
17016             s//\1/
17017             q
17018           }
17019           /^X\(\/\).*/{
17020             s//\1/
17021             q
17022           }
17023           s/.*/./; q'`
17024     else
17025       continue
17026     fi
17027     # Extract the definition of DEPDIR, am__include, and am__quote
17028     # from the Makefile without running 'make'.
17029     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17030     test -z "$DEPDIR" && continue
17031     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17032     test -z "$am__include" && continue
17033     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17034     # Find all dependency output files, they are included files with
17035     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17036     # simplest approach to changing $(DEPDIR) to its actual value in the
17037     # expansion.
17038     for file in `sed -n "
17039       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17040          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17041       # Make sure the directory exists.
17042       test -f "$dirpart/$file" && continue
17043       fdir=`$as_dirname -- "$file" ||
17044 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17045          X"$file" : 'X\(//\)[^/]' \| \
17046          X"$file" : 'X\(//\)$' \| \
17047          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17048 $as_echo X"$file" |
17049     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17050             s//\1/
17051             q
17052           }
17053           /^X\(\/\/\)[^/].*/{
17054             s//\1/
17055             q
17056           }
17057           /^X\(\/\/\)$/{
17058             s//\1/
17059             q
17060           }
17061           /^X\(\/\).*/{
17062             s//\1/
17063             q
17064           }
17065           s/.*/./; q'`
17066       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17067       # echo "creating $dirpart/$file"
17068       echo '# dummy' > "$dirpart/$file"
17069     done
17070   done
17071 }
17072  ;;
17073     "libtool":C)
17074
17075     # See if we are running on zsh, and set the options which allow our
17076     # commands through without removal of \ escapes.
17077     if test -n "${ZSH_VERSION+set}" ; then
17078       setopt NO_GLOB_SUBST
17079     fi
17080
17081     cfgfile="${ofile}T"
17082     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17083     $RM "$cfgfile"
17084
17085     cat <<_LT_EOF >> "$cfgfile"
17086 #! $SHELL
17087
17088 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17089 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17090 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17091 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17092 #
17093 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17094 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17095 #                 Foundation, Inc.
17096 #   Written by Gordon Matzigkeit, 1996
17097 #
17098 #   This file is part of GNU Libtool.
17099 #
17100 # GNU Libtool is free software; you can redistribute it and/or
17101 # modify it under the terms of the GNU General Public License as
17102 # published by the Free Software Foundation; either version 2 of
17103 # the License, or (at your option) any later version.
17104 #
17105 # As a special exception to the GNU General Public License,
17106 # if you distribute this file as part of a program or library that
17107 # is built using GNU Libtool, you may include this file under the
17108 # same distribution terms that you use for the rest of that program.
17109 #
17110 # GNU Libtool is distributed in the hope that it will be useful,
17111 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17112 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17113 # GNU General Public License for more details.
17114 #
17115 # You should have received a copy of the GNU General Public License
17116 # along with GNU Libtool; see the file COPYING.  If not, a copy
17117 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17118 # obtained by writing to the Free Software Foundation, Inc.,
17119 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17120
17121
17122 # The names of the tagged configurations supported by this script.
17123 available_tags=""
17124
17125 # ### BEGIN LIBTOOL CONFIG
17126
17127 # Assembler program.
17128 AS=$lt_AS
17129
17130 # DLL creation program.
17131 DLLTOOL=$lt_DLLTOOL
17132
17133 # Object dumper program.
17134 OBJDUMP=$lt_OBJDUMP
17135
17136 # Which release of libtool.m4 was used?
17137 macro_version=$macro_version
17138 macro_revision=$macro_revision
17139
17140 # Whether or not to build shared libraries.
17141 build_libtool_libs=$enable_shared
17142
17143 # Whether or not to build static libraries.
17144 build_old_libs=$enable_static
17145
17146 # What type of objects to build.
17147 pic_mode=$pic_mode
17148
17149 # Whether or not to optimize for fast installation.
17150 fast_install=$enable_fast_install
17151
17152 # Shell to use when invoking shell scripts.
17153 SHELL=$lt_SHELL
17154
17155 # An echo program that protects backslashes.
17156 ECHO=$lt_ECHO
17157
17158 # The PATH separator for the build system.
17159 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17160
17161 # The host system.
17162 host_alias=$host_alias
17163 host=$host
17164 host_os=$host_os
17165
17166 # The build system.
17167 build_alias=$build_alias
17168 build=$build
17169 build_os=$build_os
17170
17171 # A sed program that does not truncate output.
17172 SED=$lt_SED
17173
17174 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17175 Xsed="\$SED -e 1s/^X//"
17176
17177 # A grep program that handles long lines.
17178 GREP=$lt_GREP
17179
17180 # An ERE matcher.
17181 EGREP=$lt_EGREP
17182
17183 # A literal string matcher.
17184 FGREP=$lt_FGREP
17185
17186 # A BSD- or MS-compatible name lister.
17187 NM=$lt_NM
17188
17189 # Whether we need soft or hard links.
17190 LN_S=$lt_LN_S
17191
17192 # What is the maximum length of a command?
17193 max_cmd_len=$max_cmd_len
17194
17195 # Object file suffix (normally "o").
17196 objext=$ac_objext
17197
17198 # Executable file suffix (normally "").
17199 exeext=$exeext
17200
17201 # whether the shell understands "unset".
17202 lt_unset=$lt_unset
17203
17204 # turn spaces into newlines.
17205 SP2NL=$lt_lt_SP2NL
17206
17207 # turn newlines into spaces.
17208 NL2SP=$lt_lt_NL2SP
17209
17210 # convert \$build file names to \$host format.
17211 to_host_file_cmd=$lt_cv_to_host_file_cmd
17212
17213 # convert \$build files to toolchain format.
17214 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17215
17216 # Method to check whether dependent libraries are shared objects.
17217 deplibs_check_method=$lt_deplibs_check_method
17218
17219 # Command to use when deplibs_check_method = "file_magic".
17220 file_magic_cmd=$lt_file_magic_cmd
17221
17222 # How to find potential files when deplibs_check_method = "file_magic".
17223 file_magic_glob=$lt_file_magic_glob
17224
17225 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17226 want_nocaseglob=$lt_want_nocaseglob
17227
17228 # Command to associate shared and link libraries.
17229 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17230
17231 # The archiver.
17232 AR=$lt_AR
17233
17234 # Flags to create an archive.
17235 AR_FLAGS=$lt_AR_FLAGS
17236
17237 # How to feed a file listing to the archiver.
17238 archiver_list_spec=$lt_archiver_list_spec
17239
17240 # A symbol stripping program.
17241 STRIP=$lt_STRIP
17242
17243 # Commands used to install an old-style archive.
17244 RANLIB=$lt_RANLIB
17245 old_postinstall_cmds=$lt_old_postinstall_cmds
17246 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17247
17248 # Whether to use a lock for old archive extraction.
17249 lock_old_archive_extraction=$lock_old_archive_extraction
17250
17251 # A C compiler.
17252 LTCC=$lt_CC
17253
17254 # LTCC compiler flags.
17255 LTCFLAGS=$lt_CFLAGS
17256
17257 # Take the output of nm and produce a listing of raw symbols and C names.
17258 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17259
17260 # Transform the output of nm in a proper C declaration.
17261 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17262
17263 # Transform the output of nm in a C name address pair.
17264 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17265
17266 # Transform the output of nm in a C name address pair when lib prefix is needed.
17267 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17268
17269 # Specify filename containing input files for \$NM.
17270 nm_file_list_spec=$lt_nm_file_list_spec
17271
17272 # The root where to search for dependent libraries,and in which our libraries should be installed.
17273 lt_sysroot=$lt_sysroot
17274
17275 # The name of the directory that contains temporary libtool files.
17276 objdir=$objdir
17277
17278 # Used to examine libraries when file_magic_cmd begins with "file".
17279 MAGIC_CMD=$MAGIC_CMD
17280
17281 # Must we lock files when doing compilation?
17282 need_locks=$lt_need_locks
17283
17284 # Manifest tool.
17285 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17286
17287 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17288 DSYMUTIL=$lt_DSYMUTIL
17289
17290 # Tool to change global to local symbols on Mac OS X.
17291 NMEDIT=$lt_NMEDIT
17292
17293 # Tool to manipulate fat objects and archives on Mac OS X.
17294 LIPO=$lt_LIPO
17295
17296 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17297 OTOOL=$lt_OTOOL
17298
17299 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17300 OTOOL64=$lt_OTOOL64
17301
17302 # Old archive suffix (normally "a").
17303 libext=$libext
17304
17305 # Shared library suffix (normally ".so").
17306 shrext_cmds=$lt_shrext_cmds
17307
17308 # The commands to extract the exported symbol list from a shared archive.
17309 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17310
17311 # Variables whose values should be saved in libtool wrapper scripts and
17312 # restored at link time.
17313 variables_saved_for_relink=$lt_variables_saved_for_relink
17314
17315 # Do we need the "lib" prefix for modules?
17316 need_lib_prefix=$need_lib_prefix
17317
17318 # Do we need a version for libraries?
17319 need_version=$need_version
17320
17321 # Library versioning type.
17322 version_type=$version_type
17323
17324 # Shared library runtime path variable.
17325 runpath_var=$runpath_var
17326
17327 # Shared library path variable.
17328 shlibpath_var=$shlibpath_var
17329
17330 # Is shlibpath searched before the hard-coded library search path?
17331 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17332
17333 # Format of library name prefix.
17334 libname_spec=$lt_libname_spec
17335
17336 # List of archive names.  First name is the real one, the rest are links.
17337 # The last name is the one that the linker finds with -lNAME
17338 library_names_spec=$lt_library_names_spec
17339
17340 # The coded name of the library, if different from the real name.
17341 soname_spec=$lt_soname_spec
17342
17343 # Permission mode override for installation of shared libraries.
17344 install_override_mode=$lt_install_override_mode
17345
17346 # Command to use after installation of a shared archive.
17347 postinstall_cmds=$lt_postinstall_cmds
17348
17349 # Command to use after uninstallation of a shared archive.
17350 postuninstall_cmds=$lt_postuninstall_cmds
17351
17352 # Commands used to finish a libtool library installation in a directory.
17353 finish_cmds=$lt_finish_cmds
17354
17355 # As "finish_cmds", except a single script fragment to be evaled but
17356 # not shown.
17357 finish_eval=$lt_finish_eval
17358
17359 # Whether we should hardcode library paths into libraries.
17360 hardcode_into_libs=$hardcode_into_libs
17361
17362 # Compile-time system search path for libraries.
17363 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17364
17365 # Run-time system search path for libraries.
17366 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17367
17368 # Whether dlopen is supported.
17369 dlopen_support=$enable_dlopen
17370
17371 # Whether dlopen of programs is supported.
17372 dlopen_self=$enable_dlopen_self
17373
17374 # Whether dlopen of statically linked programs is supported.
17375 dlopen_self_static=$enable_dlopen_self_static
17376
17377 # Commands to strip libraries.
17378 old_striplib=$lt_old_striplib
17379 striplib=$lt_striplib
17380
17381
17382 # The linker used to build libraries.
17383 LD=$lt_LD
17384
17385 # How to create reloadable object files.
17386 reload_flag=$lt_reload_flag
17387 reload_cmds=$lt_reload_cmds
17388
17389 # Commands used to build an old-style archive.
17390 old_archive_cmds=$lt_old_archive_cmds
17391
17392 # A language specific compiler.
17393 CC=$lt_compiler
17394
17395 # Is the compiler the GNU compiler?
17396 with_gcc=$GCC
17397
17398 # Compiler flag to turn off builtin functions.
17399 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17400
17401 # Additional compiler flags for building library objects.
17402 pic_flag=$lt_lt_prog_compiler_pic
17403
17404 # How to pass a linker flag through the compiler.
17405 wl=$lt_lt_prog_compiler_wl
17406
17407 # Compiler flag to prevent dynamic linking.
17408 link_static_flag=$lt_lt_prog_compiler_static
17409
17410 # Does compiler simultaneously support -c and -o options?
17411 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17412
17413 # Whether or not to add -lc for building shared libraries.
17414 build_libtool_need_lc=$archive_cmds_need_lc
17415
17416 # Whether or not to disallow shared libs when runtime libs are static.
17417 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17418
17419 # Compiler flag to allow reflexive dlopens.
17420 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17421
17422 # Compiler flag to generate shared objects directly from archives.
17423 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17424
17425 # Whether the compiler copes with passing no objects directly.
17426 compiler_needs_object=$lt_compiler_needs_object
17427
17428 # Create an old-style archive from a shared archive.
17429 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17430
17431 # Create a temporary old-style archive to link instead of a shared archive.
17432 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17433
17434 # Commands used to build a shared archive.
17435 archive_cmds=$lt_archive_cmds
17436 archive_expsym_cmds=$lt_archive_expsym_cmds
17437
17438 # Commands used to build a loadable module if different from building
17439 # a shared archive.
17440 module_cmds=$lt_module_cmds
17441 module_expsym_cmds=$lt_module_expsym_cmds
17442
17443 # Whether we are building with GNU ld or not.
17444 with_gnu_ld=$lt_with_gnu_ld
17445
17446 # Flag that allows shared libraries with undefined symbols to be built.
17447 allow_undefined_flag=$lt_allow_undefined_flag
17448
17449 # Flag that enforces no undefined symbols.
17450 no_undefined_flag=$lt_no_undefined_flag
17451
17452 # Flag to hardcode \$libdir into a binary during linking.
17453 # This must work even if \$libdir does not exist
17454 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17455
17456 # Whether we need a single "-rpath" flag with a separated argument.
17457 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17458
17459 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17460 # DIR into the resulting binary.
17461 hardcode_direct=$hardcode_direct
17462
17463 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17464 # DIR into the resulting binary and the resulting library dependency is
17465 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17466 # library is relocated.
17467 hardcode_direct_absolute=$hardcode_direct_absolute
17468
17469 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17470 # into the resulting binary.
17471 hardcode_minus_L=$hardcode_minus_L
17472
17473 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17474 # into the resulting binary.
17475 hardcode_shlibpath_var=$hardcode_shlibpath_var
17476
17477 # Set to "yes" if building a shared library automatically hardcodes DIR
17478 # into the library and all subsequent libraries and executables linked
17479 # against it.
17480 hardcode_automatic=$hardcode_automatic
17481
17482 # Set to yes if linker adds runtime paths of dependent libraries
17483 # to runtime path list.
17484 inherit_rpath=$inherit_rpath
17485
17486 # Whether libtool must link a program against all its dependency libraries.
17487 link_all_deplibs=$link_all_deplibs
17488
17489 # Set to "yes" if exported symbols are required.
17490 always_export_symbols=$always_export_symbols
17491
17492 # The commands to list exported symbols.
17493 export_symbols_cmds=$lt_export_symbols_cmds
17494
17495 # Symbols that should not be listed in the preloaded symbols.
17496 exclude_expsyms=$lt_exclude_expsyms
17497
17498 # Symbols that must always be exported.
17499 include_expsyms=$lt_include_expsyms
17500
17501 # Commands necessary for linking programs (against libraries) with templates.
17502 prelink_cmds=$lt_prelink_cmds
17503
17504 # Commands necessary for finishing linking programs.
17505 postlink_cmds=$lt_postlink_cmds
17506
17507 # Specify filename containing input files.
17508 file_list_spec=$lt_file_list_spec
17509
17510 # How to hardcode a shared library path into an executable.
17511 hardcode_action=$hardcode_action
17512
17513 # ### END LIBTOOL CONFIG
17514
17515 _LT_EOF
17516
17517   case $host_os in
17518   aix3*)
17519     cat <<\_LT_EOF >> "$cfgfile"
17520 # AIX sometimes has problems with the GCC collect2 program.  For some
17521 # reason, if we set the COLLECT_NAMES environment variable, the problems
17522 # vanish in a puff of smoke.
17523 if test "X${COLLECT_NAMES+set}" != Xset; then
17524   COLLECT_NAMES=
17525   export COLLECT_NAMES
17526 fi
17527 _LT_EOF
17528     ;;
17529   esac
17530
17531
17532 ltmain="$ac_aux_dir/ltmain.sh"
17533
17534
17535   # We use sed instead of cat because bash on DJGPP gets confused if
17536   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17537   # text mode, it properly converts lines to CR/LF.  This bash problem
17538   # is reportedly fixed, but why not run on old versions too?
17539   sed '$q' "$ltmain" >> "$cfgfile" \
17540      || (rm -f "$cfgfile"; exit 1)
17541
17542   if test x"$xsi_shell" = xyes; then
17543   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17544 func_dirname ()\
17545 {\
17546 \    case ${1} in\
17547 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17548 \      *  ) func_dirname_result="${3}" ;;\
17549 \    esac\
17550 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17551   && mv -f "$cfgfile.tmp" "$cfgfile" \
17552     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17553 test 0 -eq $? || _lt_function_replace_fail=:
17554
17555
17556   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17557 func_basename ()\
17558 {\
17559 \    func_basename_result="${1##*/}"\
17560 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17561   && mv -f "$cfgfile.tmp" "$cfgfile" \
17562     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17563 test 0 -eq $? || _lt_function_replace_fail=:
17564
17565
17566   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17567 func_dirname_and_basename ()\
17568 {\
17569 \    case ${1} in\
17570 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17571 \      *  ) func_dirname_result="${3}" ;;\
17572 \    esac\
17573 \    func_basename_result="${1##*/}"\
17574 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17575   && mv -f "$cfgfile.tmp" "$cfgfile" \
17576     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17577 test 0 -eq $? || _lt_function_replace_fail=:
17578
17579
17580   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17581 func_stripname ()\
17582 {\
17583 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17584 \    # positional parameters, so assign one to ordinary parameter first.\
17585 \    func_stripname_result=${3}\
17586 \    func_stripname_result=${func_stripname_result#"${1}"}\
17587 \    func_stripname_result=${func_stripname_result%"${2}"}\
17588 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17589   && mv -f "$cfgfile.tmp" "$cfgfile" \
17590     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17591 test 0 -eq $? || _lt_function_replace_fail=:
17592
17593
17594   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17595 func_split_long_opt ()\
17596 {\
17597 \    func_split_long_opt_name=${1%%=*}\
17598 \    func_split_long_opt_arg=${1#*=}\
17599 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17600   && mv -f "$cfgfile.tmp" "$cfgfile" \
17601     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17602 test 0 -eq $? || _lt_function_replace_fail=:
17603
17604
17605   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17606 func_split_short_opt ()\
17607 {\
17608 \    func_split_short_opt_arg=${1#??}\
17609 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17610 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17611   && mv -f "$cfgfile.tmp" "$cfgfile" \
17612     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17613 test 0 -eq $? || _lt_function_replace_fail=:
17614
17615
17616   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17617 func_lo2o ()\
17618 {\
17619 \    case ${1} in\
17620 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17621 \      *)    func_lo2o_result=${1} ;;\
17622 \    esac\
17623 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17624   && mv -f "$cfgfile.tmp" "$cfgfile" \
17625     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17626 test 0 -eq $? || _lt_function_replace_fail=:
17627
17628
17629   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17630 func_xform ()\
17631 {\
17632     func_xform_result=${1%.*}.lo\
17633 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17634   && mv -f "$cfgfile.tmp" "$cfgfile" \
17635     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17636 test 0 -eq $? || _lt_function_replace_fail=:
17637
17638
17639   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17640 func_arith ()\
17641 {\
17642     func_arith_result=$(( $* ))\
17643 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17644   && mv -f "$cfgfile.tmp" "$cfgfile" \
17645     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17646 test 0 -eq $? || _lt_function_replace_fail=:
17647
17648
17649   sed -e '/^func_len ()$/,/^} # func_len /c\
17650 func_len ()\
17651 {\
17652     func_len_result=${#1}\
17653 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17654   && mv -f "$cfgfile.tmp" "$cfgfile" \
17655     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17656 test 0 -eq $? || _lt_function_replace_fail=:
17657
17658 fi
17659
17660 if test x"$lt_shell_append" = xyes; then
17661   sed -e '/^func_append ()$/,/^} # func_append /c\
17662 func_append ()\
17663 {\
17664     eval "${1}+=\\${2}"\
17665 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17666   && mv -f "$cfgfile.tmp" "$cfgfile" \
17667     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17668 test 0 -eq $? || _lt_function_replace_fail=:
17669
17670
17671   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17672 func_append_quoted ()\
17673 {\
17674 \    func_quote_for_eval "${2}"\
17675 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17676 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17677   && mv -f "$cfgfile.tmp" "$cfgfile" \
17678     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17679 test 0 -eq $? || _lt_function_replace_fail=:
17680
17681
17682   # Save a `func_append' function call where possible by direct use of '+='
17683   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17684     && mv -f "$cfgfile.tmp" "$cfgfile" \
17685       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17686   test 0 -eq $? || _lt_function_replace_fail=:
17687 else
17688   # Save a `func_append' function call even when '+=' is not available
17689   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17690     && mv -f "$cfgfile.tmp" "$cfgfile" \
17691       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17692   test 0 -eq $? || _lt_function_replace_fail=:
17693 fi
17694
17695 if test x"$_lt_function_replace_fail" = x":"; then
17696   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17697 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17698 fi
17699
17700
17701    mv -f "$cfgfile" "$ofile" ||
17702     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17703   chmod +x "$ofile"
17704
17705  ;;
17706
17707   esac
17708 done # for ac_tag
17709
17710
17711 as_fn_exit 0
17712 _ACEOF
17713 ac_clean_files=$ac_clean_files_save
17714
17715 test $ac_write_fail = 0 ||
17716   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17717
17718
17719 # configure is writing to config.log, and then calls config.status.
17720 # config.status does its own redirection, appending to config.log.
17721 # Unfortunately, on DOS this fails, as config.log is still kept open
17722 # by configure, so config.status won't be able to write to it; its
17723 # output is simply discarded.  So we exec the FD to /dev/null,
17724 # effectively closing config.log, so it can be properly (re)opened and
17725 # appended to by config.status.  When coming back to configure, we
17726 # need to make the FD available again.
17727 if test "$no_create" != yes; then
17728   ac_cs_success=:
17729   ac_config_status_args=
17730   test "$silent" = yes &&
17731     ac_config_status_args="$ac_config_status_args --quiet"
17732   exec 5>/dev/null
17733   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17734   exec 5>>config.log
17735   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17736   # would make configure fail if this is the last instruction.
17737   $ac_cs_success || as_fn_exit 1
17738 fi
17739 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17740   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17741 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17742 fi
17743
17744
17745
17746 #####################################################################
17747 ## Info
17748
17749 echo
17750 echo
17751 echo
17752 echo "------------------------------------------------------------------------"
17753 echo "$PACKAGE $VERSION"
17754 echo "------------------------------------------------------------------------"
17755 echo
17756 echo "Configuration Options Summary:"
17757 echo
17758 echo "  Modules:"
17759 echo
17760 echo "    EBluez.............: $enable_ebluez"
17761 echo "    EConnman (0.7x)....: $enable_econnman0_7x"
17762 echo "    EHal...............: $enable_ehal"
17763 echo "    ENotify............: $enable_enotify"
17764 echo "    EOfono.............: $enable_eofono"
17765 echo "    EUkit..............: $enable_eukit"
17766 echo
17767 echo "  Binaries:"
17768 echo
17769 echo "    EDbus test.........: $have_edbus_test"
17770 echo "    EDbus client test..: $have_edbus_test_client"
17771 echo "    EDbus async test...: $have_edbus_async_test"
17772 echo "    EDbus performance..: $have_edbus_performance_test"
17773 echo "    EBluez test........: $have_edbus_bluez_test"
17774 echo "    EConnman (0.7x)test: $have_edbus_connman0_7x_test"
17775 echo "    ENotify Daemon test: $have_edbus_notification_daemon_test"
17776 echo "    ENotify send.......: $have_edbus_notify_send"
17777 echo "    ENotify test.......: $have_edbus_notify_test"
17778 echo "    EOfono test........: $have_edbus_ofono_test"
17779 echo "    EUkit test.........: $have_edbus_ukit_test"
17780 echo
17781 echo "Documentation..........: ${build_doc}"
17782 if test "x${build_doc}" = "xyes" ; then
17783 echo "    Installation.......: make install-doc"
17784 fi
17785 echo
17786 echo "Compilation............: make (or gmake)"
17787 echo "  CPPFLAGS.............: $CPPFLAGS"
17788 echo "  CFLAGS...............: $CFLAGS"
17789 echo "  LDFLAGS..............: $LDFLAGS"
17790 echo
17791 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17792 echo "  prefix...............: $prefix"
17793 echo