Fix memory leak issue - RQ161111-00886
[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.9.
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.9'
594 PACKAGE_STRING='e_dbus 1.7.9'
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.9 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.9:";;
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.9
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.9, 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.9'
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*|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           powerpcle-*linux*)
6724             LD="${LD-ld} -m elf32lppclinux"
6725             ;;
6726           powerpc-*linux*)
6727             LD="${LD-ld} -m elf32ppclinux"
6728             ;;
6729           s390x-*linux*)
6730             LD="${LD-ld} -m elf_s390"
6731             ;;
6732           sparc64-*linux*)
6733             LD="${LD-ld} -m elf32_sparc"
6734             ;;
6735         esac
6736         ;;
6737       *64-bit*)
6738         case $host in
6739           x86_64-*kfreebsd*-gnu)
6740             LD="${LD-ld} -m elf_x86_64_fbsd"
6741             ;;
6742           x86_64-*linux*)
6743             LD="${LD-ld} -m elf_x86_64"
6744             ;;
6745           powerpcle-*linux*)
6746             LD="${LD-ld} -m elf64lppc"
6747             ;;
6748           powerpc-*linux*)
6749             LD="${LD-ld} -m elf64ppc"
6750             ;;
6751           s390*-*linux*|s390*-*tpf*)
6752             LD="${LD-ld} -m elf64_s390"
6753             ;;
6754           sparc*-*linux*)
6755             LD="${LD-ld} -m elf64_sparc"
6756             ;;
6757         esac
6758         ;;
6759     esac
6760   fi
6761   rm -rf conftest*
6762   ;;
6763
6764 *-*-sco3.2v5*)
6765   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6766   SAVE_CFLAGS="$CFLAGS"
6767   CFLAGS="$CFLAGS -belf"
6768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6769 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6770 if ${lt_cv_cc_needs_belf+:} false; then :
6771   $as_echo_n "(cached) " >&6
6772 else
6773   ac_ext=c
6774 ac_cpp='$CPP $CPPFLAGS'
6775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6778
6779      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h.  */
6781
6782 int
6783 main ()
6784 {
6785
6786   ;
6787   return 0;
6788 }
6789 _ACEOF
6790 if ac_fn_c_try_link "$LINENO"; then :
6791   lt_cv_cc_needs_belf=yes
6792 else
6793   lt_cv_cc_needs_belf=no
6794 fi
6795 rm -f core conftest.err conftest.$ac_objext \
6796     conftest$ac_exeext conftest.$ac_ext
6797      ac_ext=c
6798 ac_cpp='$CPP $CPPFLAGS'
6799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6802
6803 fi
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6805 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6806   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6807     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6808     CFLAGS="$SAVE_CFLAGS"
6809   fi
6810   ;;
6811 *-*solaris*)
6812   # Find out which ABI we are using.
6813   echo 'int i;' > conftest.$ac_ext
6814   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6815   (eval $ac_compile) 2>&5
6816   ac_status=$?
6817   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6818   test $ac_status = 0; }; then
6819     case `/usr/bin/file conftest.o` in
6820     *64-bit*)
6821       case $lt_cv_prog_gnu_ld in
6822       yes*)
6823         case $host in
6824         i?86-*-solaris*)
6825           LD="${LD-ld} -m elf_x86_64"
6826           ;;
6827         sparc*-*-solaris*)
6828           LD="${LD-ld} -m elf64_sparc"
6829           ;;
6830         esac
6831         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6832         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6833           LD="${LD-ld}_sol2"
6834         fi
6835         ;;
6836       *)
6837         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6838           LD="${LD-ld} -64"
6839         fi
6840         ;;
6841       esac
6842       ;;
6843     esac
6844   fi
6845   rm -rf conftest*
6846   ;;
6847 esac
6848
6849 need_locks="$enable_libtool_lock"
6850
6851 if test -n "$ac_tool_prefix"; then
6852   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6853 set dummy ${ac_tool_prefix}mt; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6857   $as_echo_n "(cached) " >&6
6858 else
6859   if test -n "$MANIFEST_TOOL"; then
6860   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6861 else
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 for as_dir in $PATH
6864 do
6865   IFS=$as_save_IFS
6866   test -z "$as_dir" && as_dir=.
6867     for ac_exec_ext in '' $ac_executable_extensions; do
6868   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6869     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871     break 2
6872   fi
6873 done
6874   done
6875 IFS=$as_save_IFS
6876
6877 fi
6878 fi
6879 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6880 if test -n "$MANIFEST_TOOL"; then
6881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6882 $as_echo "$MANIFEST_TOOL" >&6; }
6883 else
6884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6886 fi
6887
6888
6889 fi
6890 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6891   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6892   # Extract the first word of "mt", so it can be a program name with args.
6893 set dummy mt; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6897   $as_echo_n "(cached) " >&6
6898 else
6899   if test -n "$ac_ct_MANIFEST_TOOL"; then
6900   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6901 else
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 for as_dir in $PATH
6904 do
6905   IFS=$as_save_IFS
6906   test -z "$as_dir" && as_dir=.
6907     for ac_exec_ext in '' $ac_executable_extensions; do
6908   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911     break 2
6912   fi
6913 done
6914   done
6915 IFS=$as_save_IFS
6916
6917 fi
6918 fi
6919 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6920 if test -n "$ac_ct_MANIFEST_TOOL"; then
6921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6922 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6923 else
6924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6926 fi
6927
6928   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6929     MANIFEST_TOOL=":"
6930   else
6931     case $cross_compiling:$ac_tool_warned in
6932 yes:)
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935 ac_tool_warned=yes ;;
6936 esac
6937     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6938   fi
6939 else
6940   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6941 fi
6942
6943 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6945 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6946 if ${lt_cv_path_mainfest_tool+:} false; then :
6947   $as_echo_n "(cached) " >&6
6948 else
6949   lt_cv_path_mainfest_tool=no
6950   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6951   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6952   cat conftest.err >&5
6953   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6954     lt_cv_path_mainfest_tool=yes
6955   fi
6956   rm -f conftest*
6957 fi
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6959 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6960 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6961   MANIFEST_TOOL=:
6962 fi
6963
6964
6965
6966
6967
6968
6969   case $host_os in
6970     rhapsody* | darwin*)
6971     if test -n "$ac_tool_prefix"; then
6972   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6973 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975 $as_echo_n "checking for $ac_word... " >&6; }
6976 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6977   $as_echo_n "(cached) " >&6
6978 else
6979   if test -n "$DSYMUTIL"; then
6980   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6981 else
6982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6983 for as_dir in $PATH
6984 do
6985   IFS=$as_save_IFS
6986   test -z "$as_dir" && as_dir=.
6987     for ac_exec_ext in '' $ac_executable_extensions; do
6988   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6989     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6991     break 2
6992   fi
6993 done
6994   done
6995 IFS=$as_save_IFS
6996
6997 fi
6998 fi
6999 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7000 if test -n "$DSYMUTIL"; then
7001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7002 $as_echo "$DSYMUTIL" >&6; }
7003 else
7004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7005 $as_echo "no" >&6; }
7006 fi
7007
7008
7009 fi
7010 if test -z "$ac_cv_prog_DSYMUTIL"; then
7011   ac_ct_DSYMUTIL=$DSYMUTIL
7012   # Extract the first word of "dsymutil", so it can be a program name with args.
7013 set dummy dsymutil; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7017   $as_echo_n "(cached) " >&6
7018 else
7019   if test -n "$ac_ct_DSYMUTIL"; then
7020   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7021 else
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7023 for as_dir in $PATH
7024 do
7025   IFS=$as_save_IFS
7026   test -z "$as_dir" && as_dir=.
7027     for ac_exec_ext in '' $ac_executable_extensions; do
7028   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031     break 2
7032   fi
7033 done
7034   done
7035 IFS=$as_save_IFS
7036
7037 fi
7038 fi
7039 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7040 if test -n "$ac_ct_DSYMUTIL"; then
7041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7042 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7043 else
7044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 $as_echo "no" >&6; }
7046 fi
7047
7048   if test "x$ac_ct_DSYMUTIL" = x; then
7049     DSYMUTIL=":"
7050   else
7051     case $cross_compiling:$ac_tool_warned in
7052 yes:)
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7055 ac_tool_warned=yes ;;
7056 esac
7057     DSYMUTIL=$ac_ct_DSYMUTIL
7058   fi
7059 else
7060   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7061 fi
7062
7063     if test -n "$ac_tool_prefix"; then
7064   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7065 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if ${ac_cv_prog_NMEDIT+:} false; then :
7069   $as_echo_n "(cached) " >&6
7070 else
7071   if test -n "$NMEDIT"; then
7072   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7073 else
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075 for as_dir in $PATH
7076 do
7077   IFS=$as_save_IFS
7078   test -z "$as_dir" && as_dir=.
7079     for ac_exec_ext in '' $ac_executable_extensions; do
7080   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7081     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083     break 2
7084   fi
7085 done
7086   done
7087 IFS=$as_save_IFS
7088
7089 fi
7090 fi
7091 NMEDIT=$ac_cv_prog_NMEDIT
7092 if test -n "$NMEDIT"; then
7093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7094 $as_echo "$NMEDIT" >&6; }
7095 else
7096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7098 fi
7099
7100
7101 fi
7102 if test -z "$ac_cv_prog_NMEDIT"; then
7103   ac_ct_NMEDIT=$NMEDIT
7104   # Extract the first word of "nmedit", so it can be a program name with args.
7105 set dummy nmedit; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7109   $as_echo_n "(cached) " >&6
7110 else
7111   if test -n "$ac_ct_NMEDIT"; then
7112   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7113 else
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115 for as_dir in $PATH
7116 do
7117   IFS=$as_save_IFS
7118   test -z "$as_dir" && as_dir=.
7119     for ac_exec_ext in '' $ac_executable_extensions; do
7120   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123     break 2
7124   fi
7125 done
7126   done
7127 IFS=$as_save_IFS
7128
7129 fi
7130 fi
7131 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7132 if test -n "$ac_ct_NMEDIT"; then
7133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7134 $as_echo "$ac_ct_NMEDIT" >&6; }
7135 else
7136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7138 fi
7139
7140   if test "x$ac_ct_NMEDIT" = x; then
7141     NMEDIT=":"
7142   else
7143     case $cross_compiling:$ac_tool_warned in
7144 yes:)
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7147 ac_tool_warned=yes ;;
7148 esac
7149     NMEDIT=$ac_ct_NMEDIT
7150   fi
7151 else
7152   NMEDIT="$ac_cv_prog_NMEDIT"
7153 fi
7154
7155     if test -n "$ac_tool_prefix"; then
7156   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7157 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 $as_echo_n "checking for $ac_word... " >&6; }
7160 if ${ac_cv_prog_LIPO+:} false; then :
7161   $as_echo_n "(cached) " >&6
7162 else
7163   if test -n "$LIPO"; then
7164   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7165 else
7166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167 for as_dir in $PATH
7168 do
7169   IFS=$as_save_IFS
7170   test -z "$as_dir" && as_dir=.
7171     for ac_exec_ext in '' $ac_executable_extensions; do
7172   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7173     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7175     break 2
7176   fi
7177 done
7178   done
7179 IFS=$as_save_IFS
7180
7181 fi
7182 fi
7183 LIPO=$ac_cv_prog_LIPO
7184 if test -n "$LIPO"; then
7185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7186 $as_echo "$LIPO" >&6; }
7187 else
7188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 $as_echo "no" >&6; }
7190 fi
7191
7192
7193 fi
7194 if test -z "$ac_cv_prog_LIPO"; then
7195   ac_ct_LIPO=$LIPO
7196   # Extract the first word of "lipo", so it can be a program name with args.
7197 set dummy lipo; ac_word=$2
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 $as_echo_n "checking for $ac_word... " >&6; }
7200 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7201   $as_echo_n "(cached) " >&6
7202 else
7203   if test -n "$ac_ct_LIPO"; then
7204   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7205 else
7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207 for as_dir in $PATH
7208 do
7209   IFS=$as_save_IFS
7210   test -z "$as_dir" && as_dir=.
7211     for ac_exec_ext in '' $ac_executable_extensions; do
7212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7213     ac_cv_prog_ac_ct_LIPO="lipo"
7214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215     break 2
7216   fi
7217 done
7218   done
7219 IFS=$as_save_IFS
7220
7221 fi
7222 fi
7223 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7224 if test -n "$ac_ct_LIPO"; then
7225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7226 $as_echo "$ac_ct_LIPO" >&6; }
7227 else
7228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7230 fi
7231
7232   if test "x$ac_ct_LIPO" = x; then
7233     LIPO=":"
7234   else
7235     case $cross_compiling:$ac_tool_warned in
7236 yes:)
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7239 ac_tool_warned=yes ;;
7240 esac
7241     LIPO=$ac_ct_LIPO
7242   fi
7243 else
7244   LIPO="$ac_cv_prog_LIPO"
7245 fi
7246
7247     if test -n "$ac_tool_prefix"; then
7248   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7249 set dummy ${ac_tool_prefix}otool; ac_word=$2
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7251 $as_echo_n "checking for $ac_word... " >&6; }
7252 if ${ac_cv_prog_OTOOL+:} false; then :
7253   $as_echo_n "(cached) " >&6
7254 else
7255   if test -n "$OTOOL"; then
7256   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7257 else
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 for as_dir in $PATH
7260 do
7261   IFS=$as_save_IFS
7262   test -z "$as_dir" && as_dir=.
7263     for ac_exec_ext in '' $ac_executable_extensions; do
7264   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7267     break 2
7268   fi
7269 done
7270   done
7271 IFS=$as_save_IFS
7272
7273 fi
7274 fi
7275 OTOOL=$ac_cv_prog_OTOOL
7276 if test -n "$OTOOL"; then
7277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7278 $as_echo "$OTOOL" >&6; }
7279 else
7280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 $as_echo "no" >&6; }
7282 fi
7283
7284
7285 fi
7286 if test -z "$ac_cv_prog_OTOOL"; then
7287   ac_ct_OTOOL=$OTOOL
7288   # Extract the first word of "otool", so it can be a program name with args.
7289 set dummy otool; ac_word=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 $as_echo_n "checking for $ac_word... " >&6; }
7292 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7293   $as_echo_n "(cached) " >&6
7294 else
7295   if test -n "$ac_ct_OTOOL"; then
7296   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7297 else
7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299 for as_dir in $PATH
7300 do
7301   IFS=$as_save_IFS
7302   test -z "$as_dir" && as_dir=.
7303     for ac_exec_ext in '' $ac_executable_extensions; do
7304   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7305     ac_cv_prog_ac_ct_OTOOL="otool"
7306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7307     break 2
7308   fi
7309 done
7310   done
7311 IFS=$as_save_IFS
7312
7313 fi
7314 fi
7315 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7316 if test -n "$ac_ct_OTOOL"; then
7317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7318 $as_echo "$ac_ct_OTOOL" >&6; }
7319 else
7320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 $as_echo "no" >&6; }
7322 fi
7323
7324   if test "x$ac_ct_OTOOL" = x; then
7325     OTOOL=":"
7326   else
7327     case $cross_compiling:$ac_tool_warned in
7328 yes:)
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7331 ac_tool_warned=yes ;;
7332 esac
7333     OTOOL=$ac_ct_OTOOL
7334   fi
7335 else
7336   OTOOL="$ac_cv_prog_OTOOL"
7337 fi
7338
7339     if test -n "$ac_tool_prefix"; then
7340   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7341 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_OTOOL64+:} false; then :
7345   $as_echo_n "(cached) " >&6
7346 else
7347   if test -n "$OTOOL64"; then
7348   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7349 else
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 for as_dir in $PATH
7352 do
7353   IFS=$as_save_IFS
7354   test -z "$as_dir" && as_dir=.
7355     for ac_exec_ext in '' $ac_executable_extensions; do
7356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359     break 2
7360   fi
7361 done
7362   done
7363 IFS=$as_save_IFS
7364
7365 fi
7366 fi
7367 OTOOL64=$ac_cv_prog_OTOOL64
7368 if test -n "$OTOOL64"; then
7369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7370 $as_echo "$OTOOL64" >&6; }
7371 else
7372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7374 fi
7375
7376
7377 fi
7378 if test -z "$ac_cv_prog_OTOOL64"; then
7379   ac_ct_OTOOL64=$OTOOL64
7380   # Extract the first word of "otool64", so it can be a program name with args.
7381 set dummy otool64; ac_word=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7385   $as_echo_n "(cached) " >&6
7386 else
7387   if test -n "$ac_ct_OTOOL64"; then
7388   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7389 else
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 for as_dir in $PATH
7392 do
7393   IFS=$as_save_IFS
7394   test -z "$as_dir" && as_dir=.
7395     for ac_exec_ext in '' $ac_executable_extensions; do
7396   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7397     ac_cv_prog_ac_ct_OTOOL64="otool64"
7398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399     break 2
7400   fi
7401 done
7402   done
7403 IFS=$as_save_IFS
7404
7405 fi
7406 fi
7407 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7408 if test -n "$ac_ct_OTOOL64"; then
7409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7410 $as_echo "$ac_ct_OTOOL64" >&6; }
7411 else
7412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7414 fi
7415
7416   if test "x$ac_ct_OTOOL64" = x; then
7417     OTOOL64=":"
7418   else
7419     case $cross_compiling:$ac_tool_warned in
7420 yes:)
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7423 ac_tool_warned=yes ;;
7424 esac
7425     OTOOL64=$ac_ct_OTOOL64
7426   fi
7427 else
7428   OTOOL64="$ac_cv_prog_OTOOL64"
7429 fi
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7458 $as_echo_n "checking for -single_module linker flag... " >&6; }
7459 if ${lt_cv_apple_cc_single_mod+:} false; then :
7460   $as_echo_n "(cached) " >&6
7461 else
7462   lt_cv_apple_cc_single_mod=no
7463       if test -z "${LT_MULTI_MODULE}"; then
7464         # By default we will add the -single_module flag. You can override
7465         # by either setting the environment variable LT_MULTI_MODULE
7466         # non-empty at configure time, or by adding -multi_module to the
7467         # link flags.
7468         rm -rf libconftest.dylib*
7469         echo "int foo(void){return 1;}" > conftest.c
7470         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7471 -dynamiclib -Wl,-single_module conftest.c" >&5
7472         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7473           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7474         _lt_result=$?
7475         # If there is a non-empty error log, and "single_module"
7476         # appears in it, assume the flag caused a linker warning
7477         if test -s conftest.err && $GREP single_module conftest.err; then
7478           cat conftest.err >&5
7479         # Otherwise, if the output was created with a 0 exit code from
7480         # the compiler, it worked.
7481         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7482           lt_cv_apple_cc_single_mod=yes
7483         else
7484           cat conftest.err >&5
7485         fi
7486         rm -rf libconftest.dylib*
7487         rm -f conftest.*
7488       fi
7489 fi
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7491 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7492
7493     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7494 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7495 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7496   $as_echo_n "(cached) " >&6
7497 else
7498   lt_cv_ld_exported_symbols_list=no
7499       save_LDFLAGS=$LDFLAGS
7500       echo "_main" > conftest.sym
7501       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h.  */
7504
7505 int
7506 main ()
7507 {
7508
7509   ;
7510   return 0;
7511 }
7512 _ACEOF
7513 if ac_fn_c_try_link "$LINENO"; then :
7514   lt_cv_ld_exported_symbols_list=yes
7515 else
7516   lt_cv_ld_exported_symbols_list=no
7517 fi
7518 rm -f core conftest.err conftest.$ac_objext \
7519     conftest$ac_exeext conftest.$ac_ext
7520         LDFLAGS="$save_LDFLAGS"
7521
7522 fi
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7524 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7525
7526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7527 $as_echo_n "checking for -force_load linker flag... " >&6; }
7528 if ${lt_cv_ld_force_load+:} false; then :
7529   $as_echo_n "(cached) " >&6
7530 else
7531   lt_cv_ld_force_load=no
7532       cat > conftest.c << _LT_EOF
7533 int forced_loaded() { return 2;}
7534 _LT_EOF
7535       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7536       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7537       echo "$AR cru libconftest.a conftest.o" >&5
7538       $AR cru libconftest.a conftest.o 2>&5
7539       echo "$RANLIB libconftest.a" >&5
7540       $RANLIB libconftest.a 2>&5
7541       cat > conftest.c << _LT_EOF
7542 int main() { return 0;}
7543 _LT_EOF
7544       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7545       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7546       _lt_result=$?
7547       if test -s conftest.err && $GREP force_load conftest.err; then
7548         cat conftest.err >&5
7549       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7550         lt_cv_ld_force_load=yes
7551       else
7552         cat conftest.err >&5
7553       fi
7554         rm -f conftest.err libconftest.a conftest conftest.c
7555         rm -rf conftest.dSYM
7556
7557 fi
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7559 $as_echo "$lt_cv_ld_force_load" >&6; }
7560     case $host_os in
7561     rhapsody* | darwin1.[012])
7562       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7563     darwin1.*)
7564       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7565     darwin*) # darwin 5.x on
7566       # if running on 10.5 or later, the deployment target defaults
7567       # to the OS version, if on x86, and 10.4, the deployment
7568       # target defaults to 10.4. Don't you love it?
7569       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7570         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7571           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7572         10.[012]*)
7573           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7574         10.*)
7575           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7576       esac
7577     ;;
7578   esac
7579     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7580       _lt_dar_single_mod='$single_module'
7581     fi
7582     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7583       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7584     else
7585       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7586     fi
7587     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7588       _lt_dsymutil='~$DSYMUTIL $lib || :'
7589     else
7590       _lt_dsymutil=
7591     fi
7592     ;;
7593   esac
7594
7595 ac_ext=c
7596 ac_cpp='$CPP $CPPFLAGS'
7597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7601 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7602 # On Suns, sometimes $CPP names a directory.
7603 if test -n "$CPP" && test -d "$CPP"; then
7604   CPP=
7605 fi
7606 if test -z "$CPP"; then
7607   if ${ac_cv_prog_CPP+:} false; then :
7608   $as_echo_n "(cached) " >&6
7609 else
7610       # Double quotes because CPP needs to be expanded
7611     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7612     do
7613       ac_preproc_ok=false
7614 for ac_c_preproc_warn_flag in '' yes
7615 do
7616   # Use a header file that comes with gcc, so configuring glibc
7617   # with a fresh cross-compiler works.
7618   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7619   # <limits.h> exists even on freestanding compilers.
7620   # On the NeXT, cc -E runs the code through the compiler's parser,
7621   # not just through cpp. "Syntax error" is here to catch this case.
7622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h.  */
7624 #ifdef __STDC__
7625 # include <limits.h>
7626 #else
7627 # include <assert.h>
7628 #endif
7629                      Syntax error
7630 _ACEOF
7631 if ac_fn_c_try_cpp "$LINENO"; then :
7632
7633 else
7634   # Broken: fails on valid input.
7635 continue
7636 fi
7637 rm -f conftest.err conftest.i conftest.$ac_ext
7638
7639   # OK, works on sane cases.  Now check whether nonexistent headers
7640   # can be detected and how.
7641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7642 /* end confdefs.h.  */
7643 #include <ac_nonexistent.h>
7644 _ACEOF
7645 if ac_fn_c_try_cpp "$LINENO"; then :
7646   # Broken: success on invalid input.
7647 continue
7648 else
7649   # Passes both tests.
7650 ac_preproc_ok=:
7651 break
7652 fi
7653 rm -f conftest.err conftest.i conftest.$ac_ext
7654
7655 done
7656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7657 rm -f conftest.i conftest.err conftest.$ac_ext
7658 if $ac_preproc_ok; then :
7659   break
7660 fi
7661
7662     done
7663     ac_cv_prog_CPP=$CPP
7664
7665 fi
7666   CPP=$ac_cv_prog_CPP
7667 else
7668   ac_cv_prog_CPP=$CPP
7669 fi
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7671 $as_echo "$CPP" >&6; }
7672 ac_preproc_ok=false
7673 for ac_c_preproc_warn_flag in '' yes
7674 do
7675   # Use a header file that comes with gcc, so configuring glibc
7676   # with a fresh cross-compiler works.
7677   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7678   # <limits.h> exists even on freestanding compilers.
7679   # On the NeXT, cc -E runs the code through the compiler's parser,
7680   # not just through cpp. "Syntax error" is here to catch this case.
7681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7682 /* end confdefs.h.  */
7683 #ifdef __STDC__
7684 # include <limits.h>
7685 #else
7686 # include <assert.h>
7687 #endif
7688                      Syntax error
7689 _ACEOF
7690 if ac_fn_c_try_cpp "$LINENO"; then :
7691
7692 else
7693   # Broken: fails on valid input.
7694 continue
7695 fi
7696 rm -f conftest.err conftest.i conftest.$ac_ext
7697
7698   # OK, works on sane cases.  Now check whether nonexistent headers
7699   # can be detected and how.
7700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h.  */
7702 #include <ac_nonexistent.h>
7703 _ACEOF
7704 if ac_fn_c_try_cpp "$LINENO"; then :
7705   # Broken: success on invalid input.
7706 continue
7707 else
7708   # Passes both tests.
7709 ac_preproc_ok=:
7710 break
7711 fi
7712 rm -f conftest.err conftest.i conftest.$ac_ext
7713
7714 done
7715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7716 rm -f conftest.i conftest.err conftest.$ac_ext
7717 if $ac_preproc_ok; then :
7718
7719 else
7720   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7722 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7723 See \`config.log' for more details" "$LINENO" 5; }
7724 fi
7725
7726 ac_ext=c
7727 ac_cpp='$CPP $CPPFLAGS'
7728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7731
7732
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7734 $as_echo_n "checking for ANSI C header files... " >&6; }
7735 if ${ac_cv_header_stdc+:} false; then :
7736   $as_echo_n "(cached) " >&6
7737 else
7738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h.  */
7740 #include <stdlib.h>
7741 #include <stdarg.h>
7742 #include <string.h>
7743 #include <float.h>
7744
7745 int
7746 main ()
7747 {
7748
7749   ;
7750   return 0;
7751 }
7752 _ACEOF
7753 if ac_fn_c_try_compile "$LINENO"; then :
7754   ac_cv_header_stdc=yes
7755 else
7756   ac_cv_header_stdc=no
7757 fi
7758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7759
7760 if test $ac_cv_header_stdc = yes; then
7761   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7763 /* end confdefs.h.  */
7764 #include <string.h>
7765
7766 _ACEOF
7767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7768   $EGREP "memchr" >/dev/null 2>&1; then :
7769
7770 else
7771   ac_cv_header_stdc=no
7772 fi
7773 rm -f conftest*
7774
7775 fi
7776
7777 if test $ac_cv_header_stdc = yes; then
7778   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h.  */
7781 #include <stdlib.h>
7782
7783 _ACEOF
7784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7785   $EGREP "free" >/dev/null 2>&1; then :
7786
7787 else
7788   ac_cv_header_stdc=no
7789 fi
7790 rm -f conftest*
7791
7792 fi
7793
7794 if test $ac_cv_header_stdc = yes; then
7795   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7796   if test "$cross_compiling" = yes; then :
7797   :
7798 else
7799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h.  */
7801 #include <ctype.h>
7802 #include <stdlib.h>
7803 #if ((' ' & 0x0FF) == 0x020)
7804 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7805 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7806 #else
7807 # define ISLOWER(c) \
7808                    (('a' <= (c) && (c) <= 'i') \
7809                      || ('j' <= (c) && (c) <= 'r') \
7810                      || ('s' <= (c) && (c) <= 'z'))
7811 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7812 #endif
7813
7814 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7815 int
7816 main ()
7817 {
7818   int i;
7819   for (i = 0; i < 256; i++)
7820     if (XOR (islower (i), ISLOWER (i))
7821         || toupper (i) != TOUPPER (i))
7822       return 2;
7823   return 0;
7824 }
7825 _ACEOF
7826 if ac_fn_c_try_run "$LINENO"; then :
7827
7828 else
7829   ac_cv_header_stdc=no
7830 fi
7831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7832   conftest.$ac_objext conftest.beam conftest.$ac_ext
7833 fi
7834
7835 fi
7836 fi
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7838 $as_echo "$ac_cv_header_stdc" >&6; }
7839 if test $ac_cv_header_stdc = yes; then
7840
7841 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7842
7843 fi
7844
7845 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7846 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7847                   inttypes.h stdint.h unistd.h
7848 do :
7849   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7850 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7851 "
7852 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7853   cat >>confdefs.h <<_ACEOF
7854 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7855 _ACEOF
7856
7857 fi
7858
7859 done
7860
7861
7862 for ac_header in dlfcn.h
7863 do :
7864   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7865 "
7866 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7867   cat >>confdefs.h <<_ACEOF
7868 #define HAVE_DLFCN_H 1
7869 _ACEOF
7870
7871 fi
7872
7873 done
7874
7875
7876
7877
7878
7879 # Set options
7880
7881
7882
7883         enable_dlopen=no
7884
7885
7886
7887             # Check whether --enable-shared was given.
7888 if test "${enable_shared+set}" = set; then :
7889   enableval=$enable_shared; p=${PACKAGE-default}
7890     case $enableval in
7891     yes) enable_shared=yes ;;
7892     no) enable_shared=no ;;
7893     *)
7894       enable_shared=no
7895       # Look at the argument we got.  We use all the common list separators.
7896       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7897       for pkg in $enableval; do
7898         IFS="$lt_save_ifs"
7899         if test "X$pkg" = "X$p"; then
7900           enable_shared=yes
7901         fi
7902       done
7903       IFS="$lt_save_ifs"
7904       ;;
7905     esac
7906 else
7907   enable_shared=yes
7908 fi
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918   # Check whether --enable-static was given.
7919 if test "${enable_static+set}" = set; then :
7920   enableval=$enable_static; p=${PACKAGE-default}
7921     case $enableval in
7922     yes) enable_static=yes ;;
7923     no) enable_static=no ;;
7924     *)
7925      enable_static=no
7926       # Look at the argument we got.  We use all the common list separators.
7927       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7928       for pkg in $enableval; do
7929         IFS="$lt_save_ifs"
7930         if test "X$pkg" = "X$p"; then
7931           enable_static=yes
7932         fi
7933       done
7934       IFS="$lt_save_ifs"
7935       ;;
7936     esac
7937 else
7938   enable_static=yes
7939 fi
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950 # Check whether --with-pic was given.
7951 if test "${with_pic+set}" = set; then :
7952   withval=$with_pic; lt_p=${PACKAGE-default}
7953     case $withval in
7954     yes|no) pic_mode=$withval ;;
7955     *)
7956       pic_mode=default
7957       # Look at the argument we got.  We use all the common list separators.
7958       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7959       for lt_pkg in $withval; do
7960         IFS="$lt_save_ifs"
7961         if test "X$lt_pkg" = "X$lt_p"; then
7962           pic_mode=yes
7963         fi
7964       done
7965       IFS="$lt_save_ifs"
7966       ;;
7967     esac
7968 else
7969   pic_mode=default
7970 fi
7971
7972
7973 test -z "$pic_mode" && pic_mode=default
7974
7975
7976
7977
7978
7979
7980
7981   # Check whether --enable-fast-install was given.
7982 if test "${enable_fast_install+set}" = set; then :
7983   enableval=$enable_fast_install; p=${PACKAGE-default}
7984     case $enableval in
7985     yes) enable_fast_install=yes ;;
7986     no) enable_fast_install=no ;;
7987     *)
7988       enable_fast_install=no
7989       # Look at the argument we got.  We use all the common list separators.
7990       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7991       for pkg in $enableval; do
7992         IFS="$lt_save_ifs"
7993         if test "X$pkg" = "X$p"; then
7994           enable_fast_install=yes
7995         fi
7996       done
7997       IFS="$lt_save_ifs"
7998       ;;
7999     esac
8000 else
8001   enable_fast_install=yes
8002 fi
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014 # This can be used to rebuild libtool when needed
8015 LIBTOOL_DEPS="$ltmain"
8016
8017 # Always use our own libtool.
8018 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
8044
8045
8046
8047
8048
8049 test -z "$LN_S" && LN_S="ln -s"
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064 if test -n "${ZSH_VERSION+set}" ; then
8065    setopt NO_GLOB_SUBST
8066 fi
8067
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8069 $as_echo_n "checking for objdir... " >&6; }
8070 if ${lt_cv_objdir+:} false; then :
8071   $as_echo_n "(cached) " >&6
8072 else
8073   rm -f .libs 2>/dev/null
8074 mkdir .libs 2>/dev/null
8075 if test -d .libs; then
8076   lt_cv_objdir=.libs
8077 else
8078   # MS-DOS does not allow filenames that begin with a dot.
8079   lt_cv_objdir=_libs
8080 fi
8081 rmdir .libs 2>/dev/null
8082 fi
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8084 $as_echo "$lt_cv_objdir" >&6; }
8085 objdir=$lt_cv_objdir
8086
8087
8088
8089
8090
8091 cat >>confdefs.h <<_ACEOF
8092 #define LT_OBJDIR "$lt_cv_objdir/"
8093 _ACEOF
8094
8095
8096
8097
8098 case $host_os in
8099 aix3*)
8100   # AIX sometimes has problems with the GCC collect2 program.  For some
8101   # reason, if we set the COLLECT_NAMES environment variable, the problems
8102   # vanish in a puff of smoke.
8103   if test "X${COLLECT_NAMES+set}" != Xset; then
8104     COLLECT_NAMES=
8105     export COLLECT_NAMES
8106   fi
8107   ;;
8108 esac
8109
8110 # Global variables:
8111 ofile=libtool
8112 can_build_shared=yes
8113
8114 # All known linkers require a `.a' archive for static linking (except MSVC,
8115 # which needs '.lib').
8116 libext=a
8117
8118 with_gnu_ld="$lt_cv_prog_gnu_ld"
8119
8120 old_CC="$CC"
8121 old_CFLAGS="$CFLAGS"
8122
8123 # Set sane defaults for various variables
8124 test -z "$CC" && CC=cc
8125 test -z "$LTCC" && LTCC=$CC
8126 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8127 test -z "$LD" && LD=ld
8128 test -z "$ac_objext" && ac_objext=o
8129
8130 for cc_temp in $compiler""; do
8131   case $cc_temp in
8132     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8133     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8134     \-*) ;;
8135     *) break;;
8136   esac
8137 done
8138 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8139
8140
8141 # Only perform the check for file, if the check method requires it
8142 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8143 case $deplibs_check_method in
8144 file_magic*)
8145   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8146     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8147 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8148 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8149   $as_echo_n "(cached) " >&6
8150 else
8151   case $MAGIC_CMD in
8152 [\\/*] |  ?:[\\/]*)
8153   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8154   ;;
8155 *)
8156   lt_save_MAGIC_CMD="$MAGIC_CMD"
8157   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8158   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8159   for ac_dir in $ac_dummy; do
8160     IFS="$lt_save_ifs"
8161     test -z "$ac_dir" && ac_dir=.
8162     if test -f $ac_dir/${ac_tool_prefix}file; then
8163       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8164       if test -n "$file_magic_test_file"; then
8165         case $deplibs_check_method in
8166         "file_magic "*)
8167           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8168           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8169           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8170             $EGREP "$file_magic_regex" > /dev/null; then
8171             :
8172           else
8173             cat <<_LT_EOF 1>&2
8174
8175 *** Warning: the command libtool uses to detect shared libraries,
8176 *** $file_magic_cmd, produces output that libtool cannot recognize.
8177 *** The result is that libtool may fail to recognize shared libraries
8178 *** as such.  This will affect the creation of libtool libraries that
8179 *** depend on shared libraries, but programs linked with such libtool
8180 *** libraries will work regardless of this problem.  Nevertheless, you
8181 *** may want to report the problem to your system manager and/or to
8182 *** bug-libtool@gnu.org
8183
8184 _LT_EOF
8185           fi ;;
8186         esac
8187       fi
8188       break
8189     fi
8190   done
8191   IFS="$lt_save_ifs"
8192   MAGIC_CMD="$lt_save_MAGIC_CMD"
8193   ;;
8194 esac
8195 fi
8196
8197 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8198 if test -n "$MAGIC_CMD"; then
8199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8200 $as_echo "$MAGIC_CMD" >&6; }
8201 else
8202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8204 fi
8205
8206
8207
8208
8209
8210 if test -z "$lt_cv_path_MAGIC_CMD"; then
8211   if test -n "$ac_tool_prefix"; then
8212     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8213 $as_echo_n "checking for file... " >&6; }
8214 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8215   $as_echo_n "(cached) " >&6
8216 else
8217   case $MAGIC_CMD in
8218 [\\/*] |  ?:[\\/]*)
8219   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8220   ;;
8221 *)
8222   lt_save_MAGIC_CMD="$MAGIC_CMD"
8223   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8224   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8225   for ac_dir in $ac_dummy; do
8226     IFS="$lt_save_ifs"
8227     test -z "$ac_dir" && ac_dir=.
8228     if test -f $ac_dir/file; then
8229       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8230       if test -n "$file_magic_test_file"; then
8231         case $deplibs_check_method in
8232         "file_magic "*)
8233           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8234           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8235           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8236             $EGREP "$file_magic_regex" > /dev/null; then
8237             :
8238           else
8239             cat <<_LT_EOF 1>&2
8240
8241 *** Warning: the command libtool uses to detect shared libraries,
8242 *** $file_magic_cmd, produces output that libtool cannot recognize.
8243 *** The result is that libtool may fail to recognize shared libraries
8244 *** as such.  This will affect the creation of libtool libraries that
8245 *** depend on shared libraries, but programs linked with such libtool
8246 *** libraries will work regardless of this problem.  Nevertheless, you
8247 *** may want to report the problem to your system manager and/or to
8248 *** bug-libtool@gnu.org
8249
8250 _LT_EOF
8251           fi ;;
8252         esac
8253       fi
8254       break
8255     fi
8256   done
8257   IFS="$lt_save_ifs"
8258   MAGIC_CMD="$lt_save_MAGIC_CMD"
8259   ;;
8260 esac
8261 fi
8262
8263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8264 if test -n "$MAGIC_CMD"; then
8265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8266 $as_echo "$MAGIC_CMD" >&6; }
8267 else
8268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8270 fi
8271
8272
8273   else
8274     MAGIC_CMD=:
8275   fi
8276 fi
8277
8278   fi
8279   ;;
8280 esac
8281
8282 # Use C for the default configuration in the libtool script
8283
8284 lt_save_CC="$CC"
8285 ac_ext=c
8286 ac_cpp='$CPP $CPPFLAGS'
8287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8290
8291
8292 # Source file extension for C test sources.
8293 ac_ext=c
8294
8295 # Object file extension for compiled C test sources.
8296 objext=o
8297 objext=$objext
8298
8299 # Code to be used in simple compile tests
8300 lt_simple_compile_test_code="int some_variable = 0;"
8301
8302 # Code to be used in simple link tests
8303 lt_simple_link_test_code='int main(){return(0);}'
8304
8305
8306
8307
8308
8309
8310
8311 # If no C compiler was specified, use CC.
8312 LTCC=${LTCC-"$CC"}
8313
8314 # If no C compiler flags were specified, use CFLAGS.
8315 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8316
8317 # Allow CC to be a program name with arguments.
8318 compiler=$CC
8319
8320 # Save the default compiler, since it gets overwritten when the other
8321 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8322 compiler_DEFAULT=$CC
8323
8324 # save warnings/boilerplate of simple test code
8325 ac_outfile=conftest.$ac_objext
8326 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8327 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8328 _lt_compiler_boilerplate=`cat conftest.err`
8329 $RM conftest*
8330
8331 ac_outfile=conftest.$ac_objext
8332 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8333 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8334 _lt_linker_boilerplate=`cat conftest.err`
8335 $RM -r conftest*
8336
8337
8338 if test -n "$compiler"; then
8339
8340 lt_prog_compiler_no_builtin_flag=
8341
8342 if test "$GCC" = yes; then
8343   case $cc_basename in
8344   nvcc*)
8345     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8346   *)
8347     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8348   esac
8349
8350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8351 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8352 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8353   $as_echo_n "(cached) " >&6
8354 else
8355   lt_cv_prog_compiler_rtti_exceptions=no
8356    ac_outfile=conftest.$ac_objext
8357    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8358    lt_compiler_flag="-fno-rtti -fno-exceptions"
8359    # Insert the option either (1) after the last *FLAGS variable, or
8360    # (2) before a word containing "conftest.", or (3) at the end.
8361    # Note that $ac_compile itself does not contain backslashes and begins
8362    # with a dollar sign (not a hyphen), so the echo should work correctly.
8363    # The option is referenced via a variable to avoid confusing sed.
8364    lt_compile=`echo "$ac_compile" | $SED \
8365    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8366    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8367    -e 's:$: $lt_compiler_flag:'`
8368    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8369    (eval "$lt_compile" 2>conftest.err)
8370    ac_status=$?
8371    cat conftest.err >&5
8372    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373    if (exit $ac_status) && test -s "$ac_outfile"; then
8374      # The compiler can only warn and ignore the option if not recognized
8375      # So say no if there are warnings other than the usual output.
8376      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8377      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8378      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8379        lt_cv_prog_compiler_rtti_exceptions=yes
8380      fi
8381    fi
8382    $RM conftest*
8383
8384 fi
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8386 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8387
8388 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8389     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8390 else
8391     :
8392 fi
8393
8394 fi
8395
8396
8397
8398
8399
8400
8401   lt_prog_compiler_wl=
8402 lt_prog_compiler_pic=
8403 lt_prog_compiler_static=
8404
8405
8406   if test "$GCC" = yes; then
8407     lt_prog_compiler_wl='-Wl,'
8408     lt_prog_compiler_static='-static'
8409
8410     case $host_os in
8411       aix*)
8412       # All AIX code is PIC.
8413       if test "$host_cpu" = ia64; then
8414         # AIX 5 now supports IA64 processor
8415         lt_prog_compiler_static='-Bstatic'
8416       fi
8417       ;;
8418
8419     amigaos*)
8420       case $host_cpu in
8421       powerpc)
8422             # see comment about AmigaOS4 .so support
8423             lt_prog_compiler_pic='-fPIC'
8424         ;;
8425       m68k)
8426             # FIXME: we need at least 68020 code to build shared libraries, but
8427             # adding the `-m68020' flag to GCC prevents building anything better,
8428             # like `-m68040'.
8429             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8430         ;;
8431       esac
8432       ;;
8433
8434     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8435       # PIC is the default for these OSes.
8436       ;;
8437
8438     mingw* | cygwin* | pw32* | os2* | cegcc*)
8439       # This hack is so that the source file can tell whether it is being
8440       # built for inclusion in a dll (and should export symbols for example).
8441       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8442       # (--disable-auto-import) libraries
8443       lt_prog_compiler_pic='-DDLL_EXPORT'
8444       ;;
8445
8446     darwin* | rhapsody*)
8447       # PIC is the default on this platform
8448       # Common symbols not allowed in MH_DYLIB files
8449       lt_prog_compiler_pic='-fno-common'
8450       ;;
8451
8452     haiku*)
8453       # PIC is the default for Haiku.
8454       # The "-static" flag exists, but is broken.
8455       lt_prog_compiler_static=
8456       ;;
8457
8458     hpux*)
8459       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8460       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8461       # sets the default TLS model and affects inlining.
8462       case $host_cpu in
8463       hppa*64*)
8464         # +Z the default
8465         ;;
8466       *)
8467         lt_prog_compiler_pic='-fPIC'
8468         ;;
8469       esac
8470       ;;
8471
8472     interix[3-9]*)
8473       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8474       # Instead, we relocate shared libraries at runtime.
8475       ;;
8476
8477     msdosdjgpp*)
8478       # Just because we use GCC doesn't mean we suddenly get shared libraries
8479       # on systems that don't support them.
8480       lt_prog_compiler_can_build_shared=no
8481       enable_shared=no
8482       ;;
8483
8484     *nto* | *qnx*)
8485       # QNX uses GNU C++, but need to define -shared option too, otherwise
8486       # it will coredump.
8487       lt_prog_compiler_pic='-fPIC -shared'
8488       ;;
8489
8490     sysv4*MP*)
8491       if test -d /usr/nec; then
8492         lt_prog_compiler_pic=-Kconform_pic
8493       fi
8494       ;;
8495
8496     *)
8497       lt_prog_compiler_pic='-fPIC'
8498       ;;
8499     esac
8500
8501     case $cc_basename in
8502     nvcc*) # Cuda Compiler Driver 2.2
8503       lt_prog_compiler_wl='-Xlinker '
8504       if test -n "$lt_prog_compiler_pic"; then
8505         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8506       fi
8507       ;;
8508     esac
8509   else
8510     # PORTME Check for flag to pass linker flags through the system compiler.
8511     case $host_os in
8512     aix*)
8513       lt_prog_compiler_wl='-Wl,'
8514       if test "$host_cpu" = ia64; then
8515         # AIX 5 now supports IA64 processor
8516         lt_prog_compiler_static='-Bstatic'
8517       else
8518         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8519       fi
8520       ;;
8521
8522     mingw* | cygwin* | pw32* | os2* | cegcc*)
8523       # This hack is so that the source file can tell whether it is being
8524       # built for inclusion in a dll (and should export symbols for example).
8525       lt_prog_compiler_pic='-DDLL_EXPORT'
8526       ;;
8527
8528     hpux9* | hpux10* | hpux11*)
8529       lt_prog_compiler_wl='-Wl,'
8530       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8531       # not for PA HP-UX.
8532       case $host_cpu in
8533       hppa*64*|ia64*)
8534         # +Z the default
8535         ;;
8536       *)
8537         lt_prog_compiler_pic='+Z'
8538         ;;
8539       esac
8540       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8541       lt_prog_compiler_static='${wl}-a ${wl}archive'
8542       ;;
8543
8544     irix5* | irix6* | nonstopux*)
8545       lt_prog_compiler_wl='-Wl,'
8546       # PIC (with -KPIC) is the default.
8547       lt_prog_compiler_static='-non_shared'
8548       ;;
8549
8550     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8551       case $cc_basename in
8552       # old Intel for x86_64 which still supported -KPIC.
8553       ecc*)
8554         lt_prog_compiler_wl='-Wl,'
8555         lt_prog_compiler_pic='-KPIC'
8556         lt_prog_compiler_static='-static'
8557         ;;
8558       # icc used to be incompatible with GCC.
8559       # ICC 10 doesn't accept -KPIC any more.
8560       icc* | ifort*)
8561         lt_prog_compiler_wl='-Wl,'
8562         lt_prog_compiler_pic='-fPIC'
8563         lt_prog_compiler_static='-static'
8564         ;;
8565       # Lahey Fortran 8.1.
8566       lf95*)
8567         lt_prog_compiler_wl='-Wl,'
8568         lt_prog_compiler_pic='--shared'
8569         lt_prog_compiler_static='--static'
8570         ;;
8571       nagfor*)
8572         # NAG Fortran compiler
8573         lt_prog_compiler_wl='-Wl,-Wl,,'
8574         lt_prog_compiler_pic='-PIC'
8575         lt_prog_compiler_static='-Bstatic'
8576         ;;
8577       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8578         # Portland Group compilers (*not* the Pentium gcc compiler,
8579         # which looks to be a dead project)
8580         lt_prog_compiler_wl='-Wl,'
8581         lt_prog_compiler_pic='-fpic'
8582         lt_prog_compiler_static='-Bstatic'
8583         ;;
8584       ccc*)
8585         lt_prog_compiler_wl='-Wl,'
8586         # All Alpha code is PIC.
8587         lt_prog_compiler_static='-non_shared'
8588         ;;
8589       xl* | bgxl* | bgf* | mpixl*)
8590         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8591         lt_prog_compiler_wl='-Wl,'
8592         lt_prog_compiler_pic='-qpic'
8593         lt_prog_compiler_static='-qstaticlink'
8594         ;;
8595       *)
8596         case `$CC -V 2>&1 | sed 5q` in
8597         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8598           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8599           lt_prog_compiler_pic='-KPIC'
8600           lt_prog_compiler_static='-Bstatic'
8601           lt_prog_compiler_wl=''
8602           ;;
8603         *Sun\ F* | *Sun*Fortran*)
8604           lt_prog_compiler_pic='-KPIC'
8605           lt_prog_compiler_static='-Bstatic'
8606           lt_prog_compiler_wl='-Qoption ld '
8607           ;;
8608         *Sun\ C*)
8609           # Sun C 5.9
8610           lt_prog_compiler_pic='-KPIC'
8611           lt_prog_compiler_static='-Bstatic'
8612           lt_prog_compiler_wl='-Wl,'
8613           ;;
8614         *Intel*\ [CF]*Compiler*)
8615           lt_prog_compiler_wl='-Wl,'
8616           lt_prog_compiler_pic='-fPIC'
8617           lt_prog_compiler_static='-static'
8618           ;;
8619         *Portland\ Group*)
8620           lt_prog_compiler_wl='-Wl,'
8621           lt_prog_compiler_pic='-fpic'
8622           lt_prog_compiler_static='-Bstatic'
8623           ;;
8624         esac
8625         ;;
8626       esac
8627       ;;
8628
8629     newsos6)
8630       lt_prog_compiler_pic='-KPIC'
8631       lt_prog_compiler_static='-Bstatic'
8632       ;;
8633
8634     *nto* | *qnx*)
8635       # QNX uses GNU C++, but need to define -shared option too, otherwise
8636       # it will coredump.
8637       lt_prog_compiler_pic='-fPIC -shared'
8638       ;;
8639
8640     osf3* | osf4* | osf5*)
8641       lt_prog_compiler_wl='-Wl,'
8642       # All OSF/1 code is PIC.
8643       lt_prog_compiler_static='-non_shared'
8644       ;;
8645
8646     rdos*)
8647       lt_prog_compiler_static='-non_shared'
8648       ;;
8649
8650     solaris*)
8651       lt_prog_compiler_pic='-KPIC'
8652       lt_prog_compiler_static='-Bstatic'
8653       case $cc_basename in
8654       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8655         lt_prog_compiler_wl='-Qoption ld ';;
8656       *)
8657         lt_prog_compiler_wl='-Wl,';;
8658       esac
8659       ;;
8660
8661     sunos4*)
8662       lt_prog_compiler_wl='-Qoption ld '
8663       lt_prog_compiler_pic='-PIC'
8664       lt_prog_compiler_static='-Bstatic'
8665       ;;
8666
8667     sysv4 | sysv4.2uw2* | sysv4.3*)
8668       lt_prog_compiler_wl='-Wl,'
8669       lt_prog_compiler_pic='-KPIC'
8670       lt_prog_compiler_static='-Bstatic'
8671       ;;
8672
8673     sysv4*MP*)
8674       if test -d /usr/nec ;then
8675         lt_prog_compiler_pic='-Kconform_pic'
8676         lt_prog_compiler_static='-Bstatic'
8677       fi
8678       ;;
8679
8680     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8681       lt_prog_compiler_wl='-Wl,'
8682       lt_prog_compiler_pic='-KPIC'
8683       lt_prog_compiler_static='-Bstatic'
8684       ;;
8685
8686     unicos*)
8687       lt_prog_compiler_wl='-Wl,'
8688       lt_prog_compiler_can_build_shared=no
8689       ;;
8690
8691     uts4*)
8692       lt_prog_compiler_pic='-pic'
8693       lt_prog_compiler_static='-Bstatic'
8694       ;;
8695
8696     *)
8697       lt_prog_compiler_can_build_shared=no
8698       ;;
8699     esac
8700   fi
8701
8702 case $host_os in
8703   # For platforms which do not support PIC, -DPIC is meaningless:
8704   *djgpp*)
8705     lt_prog_compiler_pic=
8706     ;;
8707   *)
8708     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8709     ;;
8710 esac
8711
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8713 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8714 if ${lt_cv_prog_compiler_pic+:} false; then :
8715   $as_echo_n "(cached) " >&6
8716 else
8717   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8718 fi
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8720 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8721 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8722
8723 #
8724 # Check to make sure the PIC flag actually works.
8725 #
8726 if test -n "$lt_prog_compiler_pic"; then
8727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8728 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8729 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8730   $as_echo_n "(cached) " >&6
8731 else
8732   lt_cv_prog_compiler_pic_works=no
8733    ac_outfile=conftest.$ac_objext
8734    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8735    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8736    # Insert the option either (1) after the last *FLAGS variable, or
8737    # (2) before a word containing "conftest.", or (3) at the end.
8738    # Note that $ac_compile itself does not contain backslashes and begins
8739    # with a dollar sign (not a hyphen), so the echo should work correctly.
8740    # The option is referenced via a variable to avoid confusing sed.
8741    lt_compile=`echo "$ac_compile" | $SED \
8742    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8743    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8744    -e 's:$: $lt_compiler_flag:'`
8745    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8746    (eval "$lt_compile" 2>conftest.err)
8747    ac_status=$?
8748    cat conftest.err >&5
8749    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750    if (exit $ac_status) && test -s "$ac_outfile"; then
8751      # The compiler can only warn and ignore the option if not recognized
8752      # So say no if there are warnings other than the usual output.
8753      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8754      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8755      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8756        lt_cv_prog_compiler_pic_works=yes
8757      fi
8758    fi
8759    $RM conftest*
8760
8761 fi
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8763 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8764
8765 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8766     case $lt_prog_compiler_pic in
8767      "" | " "*) ;;
8768      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8769      esac
8770 else
8771     lt_prog_compiler_pic=
8772      lt_prog_compiler_can_build_shared=no
8773 fi
8774
8775 fi
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787 #
8788 # Check to make sure the static flag actually works.
8789 #
8790 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8792 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8793 if ${lt_cv_prog_compiler_static_works+:} false; then :
8794   $as_echo_n "(cached) " >&6
8795 else
8796   lt_cv_prog_compiler_static_works=no
8797    save_LDFLAGS="$LDFLAGS"
8798    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8799    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8800    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8801      # The linker can only warn and ignore the option if not recognized
8802      # So say no if there are warnings
8803      if test -s conftest.err; then
8804        # Append any errors to the config.log.
8805        cat conftest.err 1>&5
8806        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8807        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8808        if diff conftest.exp conftest.er2 >/dev/null; then
8809          lt_cv_prog_compiler_static_works=yes
8810        fi
8811      else
8812        lt_cv_prog_compiler_static_works=yes
8813      fi
8814    fi
8815    $RM -r conftest*
8816    LDFLAGS="$save_LDFLAGS"
8817
8818 fi
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8820 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8821
8822 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8823     :
8824 else
8825     lt_prog_compiler_static=
8826 fi
8827
8828
8829
8830
8831
8832
8833
8834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8835 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8836 if ${lt_cv_prog_compiler_c_o+:} false; then :
8837   $as_echo_n "(cached) " >&6
8838 else
8839   lt_cv_prog_compiler_c_o=no
8840    $RM -r conftest 2>/dev/null
8841    mkdir conftest
8842    cd conftest
8843    mkdir out
8844    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8845
8846    lt_compiler_flag="-o out/conftest2.$ac_objext"
8847    # Insert the option either (1) after the last *FLAGS variable, or
8848    # (2) before a word containing "conftest.", or (3) at the end.
8849    # Note that $ac_compile itself does not contain backslashes and begins
8850    # with a dollar sign (not a hyphen), so the echo should work correctly.
8851    lt_compile=`echo "$ac_compile" | $SED \
8852    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8853    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8854    -e 's:$: $lt_compiler_flag:'`
8855    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8856    (eval "$lt_compile" 2>out/conftest.err)
8857    ac_status=$?
8858    cat out/conftest.err >&5
8859    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8861    then
8862      # The compiler can only warn and ignore the option if not recognized
8863      # So say no if there are warnings
8864      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8865      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8866      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8867        lt_cv_prog_compiler_c_o=yes
8868      fi
8869    fi
8870    chmod u+w . 2>&5
8871    $RM conftest*
8872    # SGI C++ compiler will create directory out/ii_files/ for
8873    # template instantiation
8874    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8875    $RM out/* && rmdir out
8876    cd ..
8877    $RM -r conftest
8878    $RM conftest*
8879
8880 fi
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8882 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8883
8884
8885
8886
8887
8888
8889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8890 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8891 if ${lt_cv_prog_compiler_c_o+:} false; then :
8892   $as_echo_n "(cached) " >&6
8893 else
8894   lt_cv_prog_compiler_c_o=no
8895    $RM -r conftest 2>/dev/null
8896    mkdir conftest
8897    cd conftest
8898    mkdir out
8899    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8900
8901    lt_compiler_flag="-o out/conftest2.$ac_objext"
8902    # Insert the option either (1) after the last *FLAGS variable, or
8903    # (2) before a word containing "conftest.", or (3) at the end.
8904    # Note that $ac_compile itself does not contain backslashes and begins
8905    # with a dollar sign (not a hyphen), so the echo should work correctly.
8906    lt_compile=`echo "$ac_compile" | $SED \
8907    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8908    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8909    -e 's:$: $lt_compiler_flag:'`
8910    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8911    (eval "$lt_compile" 2>out/conftest.err)
8912    ac_status=$?
8913    cat out/conftest.err >&5
8914    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8916    then
8917      # The compiler can only warn and ignore the option if not recognized
8918      # So say no if there are warnings
8919      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8920      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8921      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8922        lt_cv_prog_compiler_c_o=yes
8923      fi
8924    fi
8925    chmod u+w . 2>&5
8926    $RM conftest*
8927    # SGI C++ compiler will create directory out/ii_files/ for
8928    # template instantiation
8929    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8930    $RM out/* && rmdir out
8931    cd ..
8932    $RM -r conftest
8933    $RM conftest*
8934
8935 fi
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8937 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8938
8939
8940
8941
8942 hard_links="nottested"
8943 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8944   # do not overwrite the value of need_locks provided by the user
8945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8946 $as_echo_n "checking if we can lock with hard links... " >&6; }
8947   hard_links=yes
8948   $RM conftest*
8949   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8950   touch conftest.a
8951   ln conftest.a conftest.b 2>&5 || hard_links=no
8952   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8954 $as_echo "$hard_links" >&6; }
8955   if test "$hard_links" = no; then
8956     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8957 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8958     need_locks=warn
8959   fi
8960 else
8961   need_locks=no
8962 fi
8963
8964
8965
8966
8967
8968
8969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8970 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8971
8972   runpath_var=
8973   allow_undefined_flag=
8974   always_export_symbols=no
8975   archive_cmds=
8976   archive_expsym_cmds=
8977   compiler_needs_object=no
8978   enable_shared_with_static_runtimes=no
8979   export_dynamic_flag_spec=
8980   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8981   hardcode_automatic=no
8982   hardcode_direct=no
8983   hardcode_direct_absolute=no
8984   hardcode_libdir_flag_spec=
8985   hardcode_libdir_separator=
8986   hardcode_minus_L=no
8987   hardcode_shlibpath_var=unsupported
8988   inherit_rpath=no
8989   link_all_deplibs=unknown
8990   module_cmds=
8991   module_expsym_cmds=
8992   old_archive_from_new_cmds=
8993   old_archive_from_expsyms_cmds=
8994   thread_safe_flag_spec=
8995   whole_archive_flag_spec=
8996   # include_expsyms should be a list of space-separated symbols to be *always*
8997   # included in the symbol list
8998   include_expsyms=
8999   # exclude_expsyms can be an extended regexp of symbols to exclude
9000   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9001   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9002   # as well as any symbol that contains `d'.
9003   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9004   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9005   # platforms (ab)use it in PIC code, but their linkers get confused if
9006   # the symbol is explicitly referenced.  Since portable code cannot
9007   # rely on this symbol name, it's probably fine to never include it in
9008   # preloaded symbol tables.
9009   # Exclude shared library initialization/finalization symbols.
9010   extract_expsyms_cmds=
9011
9012   case $host_os in
9013   cygwin* | mingw* | pw32* | cegcc*)
9014     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9015     # When not using gcc, we currently assume that we are using
9016     # Microsoft Visual C++.
9017     if test "$GCC" != yes; then
9018       with_gnu_ld=no
9019     fi
9020     ;;
9021   interix*)
9022     # we just hope/assume this is gcc and not c89 (= MSVC++)
9023     with_gnu_ld=yes
9024     ;;
9025   openbsd*)
9026     with_gnu_ld=no
9027     ;;
9028   esac
9029
9030   ld_shlibs=yes
9031
9032   # On some targets, GNU ld is compatible enough with the native linker
9033   # that we're better off using the native interface for both.
9034   lt_use_gnu_ld_interface=no
9035   if test "$with_gnu_ld" = yes; then
9036     case $host_os in
9037       aix*)
9038         # The AIX port of GNU ld has always aspired to compatibility
9039         # with the native linker.  However, as the warning in the GNU ld
9040         # block says, versions before 2.19.5* couldn't really create working
9041         # shared libraries, regardless of the interface used.
9042         case `$LD -v 2>&1` in
9043           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9044           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9045           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9046           *)
9047             lt_use_gnu_ld_interface=yes
9048             ;;
9049         esac
9050         ;;
9051       *)
9052         lt_use_gnu_ld_interface=yes
9053         ;;
9054     esac
9055   fi
9056
9057   if test "$lt_use_gnu_ld_interface" = yes; then
9058     # If archive_cmds runs LD, not CC, wlarc should be empty
9059     wlarc='${wl}'
9060
9061     # Set some defaults for GNU ld with shared library support. These
9062     # are reset later if shared libraries are not supported. Putting them
9063     # here allows them to be overridden if necessary.
9064     runpath_var=LD_RUN_PATH
9065     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9066     export_dynamic_flag_spec='${wl}--export-dynamic'
9067     # ancient GNU ld didn't support --whole-archive et. al.
9068     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9069       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9070     else
9071       whole_archive_flag_spec=
9072     fi
9073     supports_anon_versioning=no
9074     case `$LD -v 2>&1` in
9075       *GNU\ gold*) supports_anon_versioning=yes ;;
9076       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9077       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9078       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9079       *\ 2.11.*) ;; # other 2.11 versions
9080       *) supports_anon_versioning=yes ;;
9081     esac
9082
9083     # See if GNU ld supports shared libraries.
9084     case $host_os in
9085     aix[3-9]*)
9086       # On AIX/PPC, the GNU linker is very broken
9087       if test "$host_cpu" != ia64; then
9088         ld_shlibs=no
9089         cat <<_LT_EOF 1>&2
9090
9091 *** Warning: the GNU linker, at least up to release 2.19, is reported
9092 *** to be unable to reliably create shared libraries on AIX.
9093 *** Therefore, libtool is disabling shared libraries support.  If you
9094 *** really care for shared libraries, you may want to install binutils
9095 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9096 *** You will then need to restart the configuration process.
9097
9098 _LT_EOF
9099       fi
9100       ;;
9101
9102     amigaos*)
9103       case $host_cpu in
9104       powerpc)
9105             # see comment about AmigaOS4 .so support
9106             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9107             archive_expsym_cmds=''
9108         ;;
9109       m68k)
9110             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)'
9111             hardcode_libdir_flag_spec='-L$libdir'
9112             hardcode_minus_L=yes
9113         ;;
9114       esac
9115       ;;
9116
9117     beos*)
9118       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9119         allow_undefined_flag=unsupported
9120         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9121         # support --undefined.  This deserves some investigation.  FIXME
9122         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9123       else
9124         ld_shlibs=no
9125       fi
9126       ;;
9127
9128     cygwin* | mingw* | pw32* | cegcc*)
9129       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9130       # as there is no search path for DLLs.
9131       hardcode_libdir_flag_spec='-L$libdir'
9132       export_dynamic_flag_spec='${wl}--export-all-symbols'
9133       allow_undefined_flag=unsupported
9134       always_export_symbols=no
9135       enable_shared_with_static_runtimes=yes
9136       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'
9137       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9138
9139       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9140         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9141         # If the export-symbols file already is a .def file (1st line
9142         # is EXPORTS), use it as is; otherwise, prepend...
9143         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9144           cp $export_symbols $output_objdir/$soname.def;
9145         else
9146           echo EXPORTS > $output_objdir/$soname.def;
9147           cat $export_symbols >> $output_objdir/$soname.def;
9148         fi~
9149         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9150       else
9151         ld_shlibs=no
9152       fi
9153       ;;
9154
9155     haiku*)
9156       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9157       link_all_deplibs=yes
9158       ;;
9159
9160     interix[3-9]*)
9161       hardcode_direct=no
9162       hardcode_shlibpath_var=no
9163       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9164       export_dynamic_flag_spec='${wl}-E'
9165       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9166       # Instead, shared libraries are loaded at an image base (0x10000000 by
9167       # default) and relocated if they conflict, which is a slow very memory
9168       # consuming and fragmenting process.  To avoid this, we pick a random,
9169       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9170       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9171       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9172       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'
9173       ;;
9174
9175     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9176       tmp_diet=no
9177       if test "$host_os" = linux-dietlibc; then
9178         case $cc_basename in
9179           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9180         esac
9181       fi
9182       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9183          && test "$tmp_diet" = no
9184       then
9185         tmp_addflag=' $pic_flag'
9186         tmp_sharedflag='-shared'
9187         case $cc_basename,$host_cpu in
9188         pgcc*)                          # Portland Group C compiler
9189           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'
9190           tmp_addflag=' $pic_flag'
9191           ;;
9192         pgf77* | pgf90* | pgf95* | pgfortran*)
9193                                         # Portland Group f77 and f90 compilers
9194           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'
9195           tmp_addflag=' $pic_flag -Mnomain' ;;
9196         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9197           tmp_addflag=' -i_dynamic' ;;
9198         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9199           tmp_addflag=' -i_dynamic -nofor_main' ;;
9200         ifc* | ifort*)                  # Intel Fortran compiler
9201           tmp_addflag=' -nofor_main' ;;
9202         lf95*)                          # Lahey Fortran 8.1
9203           whole_archive_flag_spec=
9204           tmp_sharedflag='--shared' ;;
9205         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9206           tmp_sharedflag='-qmkshrobj'
9207           tmp_addflag= ;;
9208         nvcc*)  # Cuda Compiler Driver 2.2
9209           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'
9210           compiler_needs_object=yes
9211           ;;
9212         esac
9213         case `$CC -V 2>&1 | sed 5q` in
9214         *Sun\ C*)                       # Sun C 5.9
9215           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'
9216           compiler_needs_object=yes
9217           tmp_sharedflag='-G' ;;
9218         *Sun\ F*)                       # Sun Fortran 8.3
9219           tmp_sharedflag='-G' ;;
9220         esac
9221         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9222
9223         if test "x$supports_anon_versioning" = xyes; then
9224           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9225             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9226             echo "local: *; };" >> $output_objdir/$libname.ver~
9227             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9228         fi
9229
9230         case $cc_basename in
9231         xlf* | bgf* | bgxlf* | mpixlf*)
9232           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9233           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9234           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9235           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9236           if test "x$supports_anon_versioning" = xyes; then
9237             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9238               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9239               echo "local: *; };" >> $output_objdir/$libname.ver~
9240               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9241           fi
9242           ;;
9243         esac
9244       else
9245         ld_shlibs=no
9246       fi
9247       ;;
9248
9249     netbsd*)
9250       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9251         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9252         wlarc=
9253       else
9254         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9256       fi
9257       ;;
9258
9259     solaris*)
9260       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9261         ld_shlibs=no
9262         cat <<_LT_EOF 1>&2
9263
9264 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9265 *** create shared libraries on Solaris systems.  Therefore, libtool
9266 *** is disabling shared libraries support.  We urge you to upgrade GNU
9267 *** binutils to release 2.9.1 or newer.  Another option is to modify
9268 *** your PATH or compiler configuration so that the native linker is
9269 *** used, and then restart.
9270
9271 _LT_EOF
9272       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9273         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9274         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9275       else
9276         ld_shlibs=no
9277       fi
9278       ;;
9279
9280     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9281       case `$LD -v 2>&1` in
9282         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9283         ld_shlibs=no
9284         cat <<_LT_EOF 1>&2
9285
9286 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9287 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9288 *** is disabling shared libraries support.  We urge you to upgrade GNU
9289 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9290 *** your PATH or compiler configuration so that the native linker is
9291 *** used, and then restart.
9292
9293 _LT_EOF
9294         ;;
9295         *)
9296           # For security reasons, it is highly recommended that you always
9297           # use absolute paths for naming shared libraries, and exclude the
9298           # DT_RUNPATH tag from executables and libraries.  But doing so
9299           # requires that you compile everything twice, which is a pain.
9300           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9301             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9302             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9303             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9304           else
9305             ld_shlibs=no
9306           fi
9307         ;;
9308       esac
9309       ;;
9310
9311     sunos4*)
9312       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9313       wlarc=
9314       hardcode_direct=yes
9315       hardcode_shlibpath_var=no
9316       ;;
9317
9318     *)
9319       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9320         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9321         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9322       else
9323         ld_shlibs=no
9324       fi
9325       ;;
9326     esac
9327
9328     if test "$ld_shlibs" = no; then
9329       runpath_var=
9330       hardcode_libdir_flag_spec=
9331       export_dynamic_flag_spec=
9332       whole_archive_flag_spec=
9333     fi
9334   else
9335     # PORTME fill in a description of your system's linker (not GNU ld)
9336     case $host_os in
9337     aix3*)
9338       allow_undefined_flag=unsupported
9339       always_export_symbols=yes
9340       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'
9341       # Note: this linker hardcodes the directories in LIBPATH if there
9342       # are no directories specified by -L.
9343       hardcode_minus_L=yes
9344       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9345         # Neither direct hardcoding nor static linking is supported with a
9346         # broken collect2.
9347         hardcode_direct=unsupported
9348       fi
9349       ;;
9350
9351     aix[4-9]*)
9352       if test "$host_cpu" = ia64; then
9353         # On IA64, the linker does run time linking by default, so we don't
9354         # have to do anything special.
9355         aix_use_runtimelinking=no
9356         exp_sym_flag='-Bexport'
9357         no_entry_flag=""
9358       else
9359         # If we're using GNU nm, then we don't want the "-C" option.
9360         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9361         # Also, AIX nm treats weak defined symbols like other global
9362         # defined symbols, whereas GNU nm marks them as "W".
9363         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9364           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'
9365         else
9366           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'
9367         fi
9368         aix_use_runtimelinking=no
9369
9370         # Test if we are trying to use run time linking or normal
9371         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9372         # need to do runtime linking.
9373         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9374           for ld_flag in $LDFLAGS; do
9375           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9376             aix_use_runtimelinking=yes
9377             break
9378           fi
9379           done
9380           ;;
9381         esac
9382
9383         exp_sym_flag='-bexport'
9384         no_entry_flag='-bnoentry'
9385       fi
9386
9387       # When large executables or shared objects are built, AIX ld can
9388       # have problems creating the table of contents.  If linking a library
9389       # or program results in "error TOC overflow" add -mminimal-toc to
9390       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9391       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9392
9393       archive_cmds=''
9394       hardcode_direct=yes
9395       hardcode_direct_absolute=yes
9396       hardcode_libdir_separator=':'
9397       link_all_deplibs=yes
9398       file_list_spec='${wl}-f,'
9399
9400       if test "$GCC" = yes; then
9401         case $host_os in aix4.[012]|aix4.[012].*)
9402         # We only want to do this on AIX 4.2 and lower, the check
9403         # below for broken collect2 doesn't work under 4.3+
9404           collect2name=`${CC} -print-prog-name=collect2`
9405           if test -f "$collect2name" &&
9406            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9407           then
9408           # We have reworked collect2
9409           :
9410           else
9411           # We have old collect2
9412           hardcode_direct=unsupported
9413           # It fails to find uninstalled libraries when the uninstalled
9414           # path is not listed in the libpath.  Setting hardcode_minus_L
9415           # to unsupported forces relinking
9416           hardcode_minus_L=yes
9417           hardcode_libdir_flag_spec='-L$libdir'
9418           hardcode_libdir_separator=
9419           fi
9420           ;;
9421         esac
9422         shared_flag='-shared'
9423         if test "$aix_use_runtimelinking" = yes; then
9424           shared_flag="$shared_flag "'${wl}-G'
9425         fi
9426       else
9427         # not using gcc
9428         if test "$host_cpu" = ia64; then
9429         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9430         # chokes on -Wl,-G. The following line is correct:
9431           shared_flag='-G'
9432         else
9433           if test "$aix_use_runtimelinking" = yes; then
9434             shared_flag='${wl}-G'
9435           else
9436             shared_flag='${wl}-bM:SRE'
9437           fi
9438         fi
9439       fi
9440
9441       export_dynamic_flag_spec='${wl}-bexpall'
9442       # It seems that -bexpall does not export symbols beginning with
9443       # underscore (_), so it is better to generate a list of symbols to export.
9444       always_export_symbols=yes
9445       if test "$aix_use_runtimelinking" = yes; then
9446         # Warning - without using the other runtime loading flags (-brtl),
9447         # -berok will link without error, but may produce a broken library.
9448         allow_undefined_flag='-berok'
9449         # Determine the default libpath from the value encoded in an
9450         # empty executable.
9451         if test "${lt_cv_aix_libpath+set}" = set; then
9452   aix_libpath=$lt_cv_aix_libpath
9453 else
9454   if ${lt_cv_aix_libpath_+:} false; then :
9455   $as_echo_n "(cached) " >&6
9456 else
9457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h.  */
9459
9460 int
9461 main ()
9462 {
9463
9464   ;
9465   return 0;
9466 }
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9469
9470   lt_aix_libpath_sed='
9471       /Import File Strings/,/^$/ {
9472           /^0/ {
9473               s/^0  *\([^ ]*\) *$/\1/
9474               p
9475           }
9476       }'
9477   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9478   # Check for a 64-bit object if we didn't find anything.
9479   if test -z "$lt_cv_aix_libpath_"; then
9480     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9481   fi
9482 fi
9483 rm -f core conftest.err conftest.$ac_objext \
9484     conftest$ac_exeext conftest.$ac_ext
9485   if test -z "$lt_cv_aix_libpath_"; then
9486     lt_cv_aix_libpath_="/usr/lib:/lib"
9487   fi
9488
9489 fi
9490
9491   aix_libpath=$lt_cv_aix_libpath_
9492 fi
9493
9494         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9495         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"
9496       else
9497         if test "$host_cpu" = ia64; then
9498           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9499           allow_undefined_flag="-z nodefs"
9500           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"
9501         else
9502          # Determine the default libpath from the value encoded in an
9503          # empty executable.
9504          if test "${lt_cv_aix_libpath+set}" = set; then
9505   aix_libpath=$lt_cv_aix_libpath
9506 else
9507   if ${lt_cv_aix_libpath_+:} false; then :
9508   $as_echo_n "(cached) " >&6
9509 else
9510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h.  */
9512
9513 int
9514 main ()
9515 {
9516
9517   ;
9518   return 0;
9519 }
9520 _ACEOF
9521 if ac_fn_c_try_link "$LINENO"; then :
9522
9523   lt_aix_libpath_sed='
9524       /Import File Strings/,/^$/ {
9525           /^0/ {
9526               s/^0  *\([^ ]*\) *$/\1/
9527               p
9528           }
9529       }'
9530   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9531   # Check for a 64-bit object if we didn't find anything.
9532   if test -z "$lt_cv_aix_libpath_"; then
9533     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9534   fi
9535 fi
9536 rm -f core conftest.err conftest.$ac_objext \
9537     conftest$ac_exeext conftest.$ac_ext
9538   if test -z "$lt_cv_aix_libpath_"; then
9539     lt_cv_aix_libpath_="/usr/lib:/lib"
9540   fi
9541
9542 fi
9543
9544   aix_libpath=$lt_cv_aix_libpath_
9545 fi
9546
9547          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9548           # Warning - without using the other run time loading flags,
9549           # -berok will link without error, but may produce a broken library.
9550           no_undefined_flag=' ${wl}-bernotok'
9551           allow_undefined_flag=' ${wl}-berok'
9552           if test "$with_gnu_ld" = yes; then
9553             # We only use this code for GNU lds that support --whole-archive.
9554             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9555           else
9556             # Exported symbols can be pulled into shared objects from archives
9557             whole_archive_flag_spec='$convenience'
9558           fi
9559           archive_cmds_need_lc=yes
9560           # This is similar to how AIX traditionally builds its shared libraries.
9561           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'
9562         fi
9563       fi
9564       ;;
9565
9566     amigaos*)
9567       case $host_cpu in
9568       powerpc)
9569             # see comment about AmigaOS4 .so support
9570             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9571             archive_expsym_cmds=''
9572         ;;
9573       m68k)
9574             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)'
9575             hardcode_libdir_flag_spec='-L$libdir'
9576             hardcode_minus_L=yes
9577         ;;
9578       esac
9579       ;;
9580
9581     bsdi[45]*)
9582       export_dynamic_flag_spec=-rdynamic
9583       ;;
9584
9585     cygwin* | mingw* | pw32* | cegcc*)
9586       # When not using gcc, we currently assume that we are using
9587       # Microsoft Visual C++.
9588       # hardcode_libdir_flag_spec is actually meaningless, as there is
9589       # no search path for DLLs.
9590       case $cc_basename in
9591       cl*)
9592         # Native MSVC
9593         hardcode_libdir_flag_spec=' '
9594         allow_undefined_flag=unsupported
9595         always_export_symbols=yes
9596         file_list_spec='@'
9597         # Tell ltmain to make .lib files, not .a files.
9598         libext=lib
9599         # Tell ltmain to make .dll files, not .so files.
9600         shrext_cmds=".dll"
9601         # FIXME: Setting linknames here is a bad hack.
9602         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9603         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9604             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9605           else
9606             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9607           fi~
9608           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9609           linknames='
9610         # The linker will not automatically build a static lib if we build a DLL.
9611         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9612         enable_shared_with_static_runtimes=yes
9613         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9614         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9615         # Don't use ranlib
9616         old_postinstall_cmds='chmod 644 $oldlib'
9617         postlink_cmds='lt_outputfile="@OUTPUT@"~
9618           lt_tool_outputfile="@TOOL_OUTPUT@"~
9619           case $lt_outputfile in
9620             *.exe|*.EXE) ;;
9621             *)
9622               lt_outputfile="$lt_outputfile.exe"
9623               lt_tool_outputfile="$lt_tool_outputfile.exe"
9624               ;;
9625           esac~
9626           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9627             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9628             $RM "$lt_outputfile.manifest";
9629           fi'
9630         ;;
9631       *)
9632         # Assume MSVC wrapper
9633         hardcode_libdir_flag_spec=' '
9634         allow_undefined_flag=unsupported
9635         # Tell ltmain to make .lib files, not .a files.
9636         libext=lib
9637         # Tell ltmain to make .dll files, not .so files.
9638         shrext_cmds=".dll"
9639         # FIXME: Setting linknames here is a bad hack.
9640         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9641         # The linker will automatically build a .lib file if we build a DLL.
9642         old_archive_from_new_cmds='true'
9643         # FIXME: Should let the user specify the lib program.
9644         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9645         enable_shared_with_static_runtimes=yes
9646         ;;
9647       esac
9648       ;;
9649
9650     darwin* | rhapsody*)
9651
9652
9653   archive_cmds_need_lc=no
9654   hardcode_direct=no
9655   hardcode_automatic=yes
9656   hardcode_shlibpath_var=unsupported
9657   if test "$lt_cv_ld_force_load" = "yes"; then
9658     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\"`'
9659
9660   else
9661     whole_archive_flag_spec=''
9662   fi
9663   link_all_deplibs=yes
9664   allow_undefined_flag="$_lt_dar_allow_undefined"
9665   case $cc_basename in
9666      ifort*) _lt_dar_can_shared=yes ;;
9667      *) _lt_dar_can_shared=$GCC ;;
9668   esac
9669   if test "$_lt_dar_can_shared" = "yes"; then
9670     output_verbose_link_cmd=func_echo_all
9671     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9672     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9673     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}"
9674     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}"
9675
9676   else
9677   ld_shlibs=no
9678   fi
9679
9680       ;;
9681
9682     dgux*)
9683       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9684       hardcode_libdir_flag_spec='-L$libdir'
9685       hardcode_shlibpath_var=no
9686       ;;
9687
9688     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9689     # support.  Future versions do this automatically, but an explicit c++rt0.o
9690     # does not break anything, and helps significantly (at the cost of a little
9691     # extra space).
9692     freebsd2.2*)
9693       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9694       hardcode_libdir_flag_spec='-R$libdir'
9695       hardcode_direct=yes
9696       hardcode_shlibpath_var=no
9697       ;;
9698
9699     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9700     freebsd2.*)
9701       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9702       hardcode_direct=yes
9703       hardcode_minus_L=yes
9704       hardcode_shlibpath_var=no
9705       ;;
9706
9707     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9708     freebsd* | dragonfly*)
9709       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9710       hardcode_libdir_flag_spec='-R$libdir'
9711       hardcode_direct=yes
9712       hardcode_shlibpath_var=no
9713       ;;
9714
9715     hpux9*)
9716       if test "$GCC" = yes; then
9717         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'
9718       else
9719         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'
9720       fi
9721       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9722       hardcode_libdir_separator=:
9723       hardcode_direct=yes
9724
9725       # hardcode_minus_L: Not really in the search PATH,
9726       # but as the default location of the library.
9727       hardcode_minus_L=yes
9728       export_dynamic_flag_spec='${wl}-E'
9729       ;;
9730
9731     hpux10*)
9732       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9733         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9734       else
9735         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9736       fi
9737       if test "$with_gnu_ld" = no; then
9738         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9739         hardcode_libdir_separator=:
9740         hardcode_direct=yes
9741         hardcode_direct_absolute=yes
9742         export_dynamic_flag_spec='${wl}-E'
9743         # hardcode_minus_L: Not really in the search PATH,
9744         # but as the default location of the library.
9745         hardcode_minus_L=yes
9746       fi
9747       ;;
9748
9749     hpux11*)
9750       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9751         case $host_cpu in
9752         hppa*64*)
9753           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9754           ;;
9755         ia64*)
9756           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9757           ;;
9758         *)
9759           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9760           ;;
9761         esac
9762       else
9763         case $host_cpu in
9764         hppa*64*)
9765           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9766           ;;
9767         ia64*)
9768           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9769           ;;
9770         *)
9771
9772           # Older versions of the 11.00 compiler do not understand -b yet
9773           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9774           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9775 $as_echo_n "checking if $CC understands -b... " >&6; }
9776 if ${lt_cv_prog_compiler__b+:} false; then :
9777   $as_echo_n "(cached) " >&6
9778 else
9779   lt_cv_prog_compiler__b=no
9780    save_LDFLAGS="$LDFLAGS"
9781    LDFLAGS="$LDFLAGS -b"
9782    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9783    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9784      # The linker can only warn and ignore the option if not recognized
9785      # So say no if there are warnings
9786      if test -s conftest.err; then
9787        # Append any errors to the config.log.
9788        cat conftest.err 1>&5
9789        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9790        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9791        if diff conftest.exp conftest.er2 >/dev/null; then
9792          lt_cv_prog_compiler__b=yes
9793        fi
9794      else
9795        lt_cv_prog_compiler__b=yes
9796      fi
9797    fi
9798    $RM -r conftest*
9799    LDFLAGS="$save_LDFLAGS"
9800
9801 fi
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9803 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9804
9805 if test x"$lt_cv_prog_compiler__b" = xyes; then
9806     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9807 else
9808     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9809 fi
9810
9811           ;;
9812         esac
9813       fi
9814       if test "$with_gnu_ld" = no; then
9815         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9816         hardcode_libdir_separator=:
9817
9818         case $host_cpu in
9819         hppa*64*|ia64*)
9820           hardcode_direct=no
9821           hardcode_shlibpath_var=no
9822           ;;
9823         *)
9824           hardcode_direct=yes
9825           hardcode_direct_absolute=yes
9826           export_dynamic_flag_spec='${wl}-E'
9827
9828           # hardcode_minus_L: Not really in the search PATH,
9829           # but as the default location of the library.
9830           hardcode_minus_L=yes
9831           ;;
9832         esac
9833       fi
9834       ;;
9835
9836     irix5* | irix6* | nonstopux*)
9837       if test "$GCC" = yes; then
9838         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'
9839         # Try to use the -exported_symbol ld option, if it does not
9840         # work, assume that -exports_file does not work either and
9841         # implicitly export all symbols.
9842         # This should be the same for all languages, so no per-tag cache variable.
9843         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9844 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9845 if ${lt_cv_irix_exported_symbol+:} false; then :
9846   $as_echo_n "(cached) " >&6
9847 else
9848   save_LDFLAGS="$LDFLAGS"
9849            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9850            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 /* end confdefs.h.  */
9852 int foo (void) { return 0; }
9853 _ACEOF
9854 if ac_fn_c_try_link "$LINENO"; then :
9855   lt_cv_irix_exported_symbol=yes
9856 else
9857   lt_cv_irix_exported_symbol=no
9858 fi
9859 rm -f core conftest.err conftest.$ac_objext \
9860     conftest$ac_exeext conftest.$ac_ext
9861            LDFLAGS="$save_LDFLAGS"
9862 fi
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9864 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9865         if test "$lt_cv_irix_exported_symbol" = yes; then
9866           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'
9867         fi
9868       else
9869         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'
9870         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'
9871       fi
9872       archive_cmds_need_lc='no'
9873       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9874       hardcode_libdir_separator=:
9875       inherit_rpath=yes
9876       link_all_deplibs=yes
9877       ;;
9878
9879     netbsd*)
9880       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9881         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9882       else
9883         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9884       fi
9885       hardcode_libdir_flag_spec='-R$libdir'
9886       hardcode_direct=yes
9887       hardcode_shlibpath_var=no
9888       ;;
9889
9890     newsos6)
9891       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9892       hardcode_direct=yes
9893       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9894       hardcode_libdir_separator=:
9895       hardcode_shlibpath_var=no
9896       ;;
9897
9898     *nto* | *qnx*)
9899       ;;
9900
9901     openbsd*)
9902       if test -f /usr/libexec/ld.so; then
9903         hardcode_direct=yes
9904         hardcode_shlibpath_var=no
9905         hardcode_direct_absolute=yes
9906         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9907           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9908           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9909           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9910           export_dynamic_flag_spec='${wl}-E'
9911         else
9912           case $host_os in
9913            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9914              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9915              hardcode_libdir_flag_spec='-R$libdir'
9916              ;;
9917            *)
9918              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9919              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9920              ;;
9921           esac
9922         fi
9923       else
9924         ld_shlibs=no
9925       fi
9926       ;;
9927
9928     os2*)
9929       hardcode_libdir_flag_spec='-L$libdir'
9930       hardcode_minus_L=yes
9931       allow_undefined_flag=unsupported
9932       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'
9933       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9934       ;;
9935
9936     osf3*)
9937       if test "$GCC" = yes; then
9938         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9939         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'
9940       else
9941         allow_undefined_flag=' -expect_unresolved \*'
9942         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'
9943       fi
9944       archive_cmds_need_lc='no'
9945       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9946       hardcode_libdir_separator=:
9947       ;;
9948
9949     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9950       if test "$GCC" = yes; then
9951         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9952         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'
9953         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9954       else
9955         allow_undefined_flag=' -expect_unresolved \*'
9956         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'
9957         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~
9958         $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'
9959
9960         # Both c and cxx compiler support -rpath directly
9961         hardcode_libdir_flag_spec='-rpath $libdir'
9962       fi
9963       archive_cmds_need_lc='no'
9964       hardcode_libdir_separator=:
9965       ;;
9966
9967     solaris*)
9968       no_undefined_flag=' -z defs'
9969       if test "$GCC" = yes; then
9970         wlarc='${wl}'
9971         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9972         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9973           $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'
9974       else
9975         case `$CC -V 2>&1` in
9976         *"Compilers 5.0"*)
9977           wlarc=''
9978           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9979           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9981           ;;
9982         *)
9983           wlarc='${wl}'
9984           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9985           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9986           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9987           ;;
9988         esac
9989       fi
9990       hardcode_libdir_flag_spec='-R$libdir'
9991       hardcode_shlibpath_var=no
9992       case $host_os in
9993       solaris2.[0-5] | solaris2.[0-5].*) ;;
9994       *)
9995         # The compiler driver will combine and reorder linker options,
9996         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9997         # but is careful enough not to reorder.
9998         # Supported since Solaris 2.6 (maybe 2.5.1?)
9999         if test "$GCC" = yes; then
10000           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10001         else
10002           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10003         fi
10004         ;;
10005       esac
10006       link_all_deplibs=yes
10007       ;;
10008
10009     sunos4*)
10010       if test "x$host_vendor" = xsequent; then
10011         # Use $CC to link under sequent, because it throws in some extra .o
10012         # files that make .init and .fini sections work.
10013         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10014       else
10015         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10016       fi
10017       hardcode_libdir_flag_spec='-L$libdir'
10018       hardcode_direct=yes
10019       hardcode_minus_L=yes
10020       hardcode_shlibpath_var=no
10021       ;;
10022
10023     sysv4)
10024       case $host_vendor in
10025         sni)
10026           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10027           hardcode_direct=yes # is this really true???
10028         ;;
10029         siemens)
10030           ## LD is ld it makes a PLAMLIB
10031           ## CC just makes a GrossModule.
10032           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10033           reload_cmds='$CC -r -o $output$reload_objs'
10034           hardcode_direct=no
10035         ;;
10036         motorola)
10037           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10038           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10039         ;;
10040       esac
10041       runpath_var='LD_RUN_PATH'
10042       hardcode_shlibpath_var=no
10043       ;;
10044
10045     sysv4.3*)
10046       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047       hardcode_shlibpath_var=no
10048       export_dynamic_flag_spec='-Bexport'
10049       ;;
10050
10051     sysv4*MP*)
10052       if test -d /usr/nec; then
10053         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10054         hardcode_shlibpath_var=no
10055         runpath_var=LD_RUN_PATH
10056         hardcode_runpath_var=yes
10057         ld_shlibs=yes
10058       fi
10059       ;;
10060
10061     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10062       no_undefined_flag='${wl}-z,text'
10063       archive_cmds_need_lc=no
10064       hardcode_shlibpath_var=no
10065       runpath_var='LD_RUN_PATH'
10066
10067       if test "$GCC" = yes; then
10068         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070       else
10071         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10073       fi
10074       ;;
10075
10076     sysv5* | sco3.2v5* | sco5v6*)
10077       # Note: We can NOT use -z defs as we might desire, because we do not
10078       # link with -lc, and that would cause any symbols used from libc to
10079       # always be unresolved, which means just about no library would
10080       # ever link correctly.  If we're not using GNU ld we use -z text
10081       # though, which does catch some bad symbols but isn't as heavy-handed
10082       # as -z defs.
10083       no_undefined_flag='${wl}-z,text'
10084       allow_undefined_flag='${wl}-z,nodefs'
10085       archive_cmds_need_lc=no
10086       hardcode_shlibpath_var=no
10087       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10088       hardcode_libdir_separator=':'
10089       link_all_deplibs=yes
10090       export_dynamic_flag_spec='${wl}-Bexport'
10091       runpath_var='LD_RUN_PATH'
10092
10093       if test "$GCC" = yes; then
10094         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096       else
10097         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099       fi
10100       ;;
10101
10102     uts4*)
10103       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10104       hardcode_libdir_flag_spec='-L$libdir'
10105       hardcode_shlibpath_var=no
10106       ;;
10107
10108     *)
10109       ld_shlibs=no
10110       ;;
10111     esac
10112
10113     if test x$host_vendor = xsni; then
10114       case $host in
10115       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10116         export_dynamic_flag_spec='${wl}-Blargedynsym'
10117         ;;
10118       esac
10119     fi
10120   fi
10121
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10123 $as_echo "$ld_shlibs" >&6; }
10124 test "$ld_shlibs" = no && can_build_shared=no
10125
10126 with_gnu_ld=$with_gnu_ld
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142 #
10143 # Do we need to explicitly link libc?
10144 #
10145 case "x$archive_cmds_need_lc" in
10146 x|xyes)
10147   # Assume -lc should be added
10148   archive_cmds_need_lc=yes
10149
10150   if test "$enable_shared" = yes && test "$GCC" = yes; then
10151     case $archive_cmds in
10152     *'~'*)
10153       # FIXME: we may have to deal with multi-command sequences.
10154       ;;
10155     '$CC '*)
10156       # Test whether the compiler implicitly links with -lc since on some
10157       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10158       # to ld, don't add -lc before -lgcc.
10159       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10160 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10161 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10162   $as_echo_n "(cached) " >&6
10163 else
10164   $RM conftest*
10165         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10166
10167         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10168   (eval $ac_compile) 2>&5
10169   ac_status=$?
10170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10171   test $ac_status = 0; } 2>conftest.err; then
10172           soname=conftest
10173           lib=conftest
10174           libobjs=conftest.$ac_objext
10175           deplibs=
10176           wl=$lt_prog_compiler_wl
10177           pic_flag=$lt_prog_compiler_pic
10178           compiler_flags=-v
10179           linker_flags=-v
10180           verstring=
10181           output_objdir=.
10182           libname=conftest
10183           lt_save_allow_undefined_flag=$allow_undefined_flag
10184           allow_undefined_flag=
10185           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10186   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10187   ac_status=$?
10188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10189   test $ac_status = 0; }
10190           then
10191             lt_cv_archive_cmds_need_lc=no
10192           else
10193             lt_cv_archive_cmds_need_lc=yes
10194           fi
10195           allow_undefined_flag=$lt_save_allow_undefined_flag
10196         else
10197           cat conftest.err 1>&5
10198         fi
10199         $RM conftest*
10200
10201 fi
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10203 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10204       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10205       ;;
10206     esac
10207   fi
10208   ;;
10209 esac
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
10357
10358
10359
10360
10361
10362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10363 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10364
10365 if test "$GCC" = yes; then
10366   case $host_os in
10367     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10368     *) lt_awk_arg="/^libraries:/" ;;
10369   esac
10370   case $host_os in
10371     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10372     *) lt_sed_strip_eq="s,=/,/,g" ;;
10373   esac
10374   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10375   case $lt_search_path_spec in
10376   *\;*)
10377     # if the path contains ";" then we assume it to be the separator
10378     # otherwise default to the standard path separator (i.e. ":") - it is
10379     # assumed that no part of a normal pathname contains ";" but that should
10380     # okay in the real world where ";" in dirpaths is itself problematic.
10381     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10382     ;;
10383   *)
10384     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10385     ;;
10386   esac
10387   # Ok, now we have the path, separated by spaces, we can step through it
10388   # and add multilib dir if necessary.
10389   lt_tmp_lt_search_path_spec=
10390   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10391   for lt_sys_path in $lt_search_path_spec; do
10392     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10393       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10394     else
10395       test -d "$lt_sys_path" && \
10396         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10397     fi
10398   done
10399   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10400 BEGIN {RS=" "; FS="/|\n";} {
10401   lt_foo="";
10402   lt_count=0;
10403   for (lt_i = NF; lt_i > 0; lt_i--) {
10404     if ($lt_i != "" && $lt_i != ".") {
10405       if ($lt_i == "..") {
10406         lt_count++;
10407       } else {
10408         if (lt_count == 0) {
10409           lt_foo="/" $lt_i lt_foo;
10410         } else {
10411           lt_count--;
10412         }
10413       }
10414     }
10415   }
10416   if (lt_foo != "") { lt_freq[lt_foo]++; }
10417   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10418 }'`
10419   # AWK program above erroneously prepends '/' to C:/dos/paths
10420   # for these hosts.
10421   case $host_os in
10422     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10423       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10424   esac
10425   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10426 else
10427   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10428 fi
10429 library_names_spec=
10430 libname_spec='lib$name'
10431 soname_spec=
10432 shrext_cmds=".so"
10433 postinstall_cmds=
10434 postuninstall_cmds=
10435 finish_cmds=
10436 finish_eval=
10437 shlibpath_var=
10438 shlibpath_overrides_runpath=unknown
10439 version_type=none
10440 dynamic_linker="$host_os ld.so"
10441 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10442 need_lib_prefix=unknown
10443 hardcode_into_libs=no
10444
10445 # when you set need_version to no, make sure it does not cause -set_version
10446 # flags to be left without arguments
10447 need_version=unknown
10448
10449 case $host_os in
10450 aix3*)
10451   version_type=linux # correct to gnu/linux during the next big refactor
10452   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10453   shlibpath_var=LIBPATH
10454
10455   # AIX 3 has no versioning support, so we append a major version to the name.
10456   soname_spec='${libname}${release}${shared_ext}$major'
10457   ;;
10458
10459 aix[4-9]*)
10460   version_type=linux # correct to gnu/linux during the next big refactor
10461   need_lib_prefix=no
10462   need_version=no
10463   hardcode_into_libs=yes
10464   if test "$host_cpu" = ia64; then
10465     # AIX 5 supports IA64
10466     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10467     shlibpath_var=LD_LIBRARY_PATH
10468   else
10469     # With GCC up to 2.95.x, collect2 would create an import file
10470     # for dependence libraries.  The import file would start with
10471     # the line `#! .'.  This would cause the generated library to
10472     # depend on `.', always an invalid library.  This was fixed in
10473     # development snapshots of GCC prior to 3.0.
10474     case $host_os in
10475       aix4 | aix4.[01] | aix4.[01].*)
10476       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10477            echo ' yes '
10478            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10479         :
10480       else
10481         can_build_shared=no
10482       fi
10483       ;;
10484     esac
10485     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10486     # soname into executable. Probably we can add versioning support to
10487     # collect2, so additional links can be useful in future.
10488     if test "$aix_use_runtimelinking" = yes; then
10489       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10490       # instead of lib<name>.a to let people know that these are not
10491       # typical AIX shared libraries.
10492       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493     else
10494       # We preserve .a as extension for shared libraries through AIX4.2
10495       # and later when we are not doing run time linking.
10496       library_names_spec='${libname}${release}.a $libname.a'
10497       soname_spec='${libname}${release}${shared_ext}$major'
10498     fi
10499     shlibpath_var=LIBPATH
10500   fi
10501   ;;
10502
10503 amigaos*)
10504   case $host_cpu in
10505   powerpc)
10506     # Since July 2007 AmigaOS4 officially supports .so libraries.
10507     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10508     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509     ;;
10510   m68k)
10511     library_names_spec='$libname.ixlibrary $libname.a'
10512     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10513     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'
10514     ;;
10515   esac
10516   ;;
10517
10518 beos*)
10519   library_names_spec='${libname}${shared_ext}'
10520   dynamic_linker="$host_os ld.so"
10521   shlibpath_var=LIBRARY_PATH
10522   ;;
10523
10524 bsdi[45]*)
10525   version_type=linux # correct to gnu/linux during the next big refactor
10526   need_version=no
10527   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528   soname_spec='${libname}${release}${shared_ext}$major'
10529   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10530   shlibpath_var=LD_LIBRARY_PATH
10531   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10532   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10533   # the default ld.so.conf also contains /usr/contrib/lib and
10534   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10535   # libtool to hard-code these into programs
10536   ;;
10537
10538 cygwin* | mingw* | pw32* | cegcc*)
10539   version_type=windows
10540   shrext_cmds=".dll"
10541   need_version=no
10542   need_lib_prefix=no
10543
10544   case $GCC,$cc_basename in
10545   yes,*)
10546     # gcc
10547     library_names_spec='$libname.dll.a'
10548     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10549     postinstall_cmds='base_file=`basename \${file}`~
10550       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10551       dldir=$destdir/`dirname \$dlpath`~
10552       test -d \$dldir || mkdir -p \$dldir~
10553       $install_prog $dir/$dlname \$dldir/$dlname~
10554       chmod a+x \$dldir/$dlname~
10555       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10556         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10557       fi'
10558     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559       dlpath=$dir/\$dldll~
10560        $RM \$dlpath'
10561     shlibpath_overrides_runpath=yes
10562
10563     case $host_os in
10564     cygwin*)
10565       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10566       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567
10568       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10569       ;;
10570     mingw* | cegcc*)
10571       # MinGW DLLs use traditional 'lib' prefix
10572       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10573       ;;
10574     pw32*)
10575       # pw32 DLLs use 'pw' prefix rather than 'lib'
10576       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10577       ;;
10578     esac
10579     dynamic_linker='Win32 ld.exe'
10580     ;;
10581
10582   *,cl*)
10583     # Native MSVC
10584     libname_spec='$name'
10585     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10586     library_names_spec='${libname}.dll.lib'
10587
10588     case $build_os in
10589     mingw*)
10590       sys_lib_search_path_spec=
10591       lt_save_ifs=$IFS
10592       IFS=';'
10593       for lt_path in $LIB
10594       do
10595         IFS=$lt_save_ifs
10596         # Let DOS variable expansion print the short 8.3 style file name.
10597         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10598         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10599       done
10600       IFS=$lt_save_ifs
10601       # Convert to MSYS style.
10602       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10603       ;;
10604     cygwin*)
10605       # Convert to unix form, then to dos form, then back to unix form
10606       # but this time dos style (no spaces!) so that the unix form looks
10607       # like /cygdrive/c/PROGRA~1:/cygdr...
10608       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10609       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10610       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10611       ;;
10612     *)
10613       sys_lib_search_path_spec="$LIB"
10614       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10615         # It is most probably a Windows format PATH.
10616         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10617       else
10618         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10619       fi
10620       # FIXME: find the short name or the path components, as spaces are
10621       # common. (e.g. "Program Files" -> "PROGRA~1")
10622       ;;
10623     esac
10624
10625     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10626     postinstall_cmds='base_file=`basename \${file}`~
10627       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10628       dldir=$destdir/`dirname \$dlpath`~
10629       test -d \$dldir || mkdir -p \$dldir~
10630       $install_prog $dir/$dlname \$dldir/$dlname'
10631     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10632       dlpath=$dir/\$dldll~
10633        $RM \$dlpath'
10634     shlibpath_overrides_runpath=yes
10635     dynamic_linker='Win32 link.exe'
10636     ;;
10637
10638   *)
10639     # Assume MSVC wrapper
10640     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10641     dynamic_linker='Win32 ld.exe'
10642     ;;
10643   esac
10644   # FIXME: first we should search . and the directory the executable is in
10645   shlibpath_var=PATH
10646   ;;
10647
10648 darwin* | rhapsody*)
10649   dynamic_linker="$host_os dyld"
10650   version_type=darwin
10651   need_lib_prefix=no
10652   need_version=no
10653   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10654   soname_spec='${libname}${release}${major}$shared_ext'
10655   shlibpath_overrides_runpath=yes
10656   shlibpath_var=DYLD_LIBRARY_PATH
10657   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10658
10659   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10660   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10661   ;;
10662
10663 dgux*)
10664   version_type=linux # correct to gnu/linux during the next big refactor
10665   need_lib_prefix=no
10666   need_version=no
10667   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10668   soname_spec='${libname}${release}${shared_ext}$major'
10669   shlibpath_var=LD_LIBRARY_PATH
10670   ;;
10671
10672 freebsd* | dragonfly*)
10673   # DragonFly does not have aout.  When/if they implement a new
10674   # versioning mechanism, adjust this.
10675   if test -x /usr/bin/objformat; then
10676     objformat=`/usr/bin/objformat`
10677   else
10678     case $host_os in
10679     freebsd[23].*) objformat=aout ;;
10680     *) objformat=elf ;;
10681     esac
10682   fi
10683   version_type=freebsd-$objformat
10684   case $version_type in
10685     freebsd-elf*)
10686       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10687       need_version=no
10688       need_lib_prefix=no
10689       ;;
10690     freebsd-*)
10691       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10692       need_version=yes
10693       ;;
10694   esac
10695   shlibpath_var=LD_LIBRARY_PATH
10696   case $host_os in
10697   freebsd2.*)
10698     shlibpath_overrides_runpath=yes
10699     ;;
10700   freebsd3.[01]* | freebsdelf3.[01]*)
10701     shlibpath_overrides_runpath=yes
10702     hardcode_into_libs=yes
10703     ;;
10704   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10705   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10706     shlibpath_overrides_runpath=no
10707     hardcode_into_libs=yes
10708     ;;
10709   *) # from 4.6 on, and DragonFly
10710     shlibpath_overrides_runpath=yes
10711     hardcode_into_libs=yes
10712     ;;
10713   esac
10714   ;;
10715
10716 gnu*)
10717   version_type=linux # correct to gnu/linux during the next big refactor
10718   need_lib_prefix=no
10719   need_version=no
10720   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10721   soname_spec='${libname}${release}${shared_ext}$major'
10722   shlibpath_var=LD_LIBRARY_PATH
10723   shlibpath_overrides_runpath=no
10724   hardcode_into_libs=yes
10725   ;;
10726
10727 haiku*)
10728   version_type=linux # correct to gnu/linux during the next big refactor
10729   need_lib_prefix=no
10730   need_version=no
10731   dynamic_linker="$host_os runtime_loader"
10732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10733   soname_spec='${libname}${release}${shared_ext}$major'
10734   shlibpath_var=LIBRARY_PATH
10735   shlibpath_overrides_runpath=yes
10736   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10737   hardcode_into_libs=yes
10738   ;;
10739
10740 hpux9* | hpux10* | hpux11*)
10741   # Give a soname corresponding to the major version so that dld.sl refuses to
10742   # link against other versions.
10743   version_type=sunos
10744   need_lib_prefix=no
10745   need_version=no
10746   case $host_cpu in
10747   ia64*)
10748     shrext_cmds='.so'
10749     hardcode_into_libs=yes
10750     dynamic_linker="$host_os dld.so"
10751     shlibpath_var=LD_LIBRARY_PATH
10752     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10753     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10754     soname_spec='${libname}${release}${shared_ext}$major'
10755     if test "X$HPUX_IA64_MODE" = X32; then
10756       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10757     else
10758       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10759     fi
10760     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10761     ;;
10762   hppa*64*)
10763     shrext_cmds='.sl'
10764     hardcode_into_libs=yes
10765     dynamic_linker="$host_os dld.sl"
10766     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10767     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10768     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769     soname_spec='${libname}${release}${shared_ext}$major'
10770     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10771     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10772     ;;
10773   *)
10774     shrext_cmds='.sl'
10775     dynamic_linker="$host_os dld.sl"
10776     shlibpath_var=SHLIB_PATH
10777     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10778     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10779     soname_spec='${libname}${release}${shared_ext}$major'
10780     ;;
10781   esac
10782   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10783   postinstall_cmds='chmod 555 $lib'
10784   # or fails outright, so override atomically:
10785   install_override_mode=555
10786   ;;
10787
10788 interix[3-9]*)
10789   version_type=linux # correct to gnu/linux during the next big refactor
10790   need_lib_prefix=no
10791   need_version=no
10792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10793   soname_spec='${libname}${release}${shared_ext}$major'
10794   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10795   shlibpath_var=LD_LIBRARY_PATH
10796   shlibpath_overrides_runpath=no
10797   hardcode_into_libs=yes
10798   ;;
10799
10800 irix5* | irix6* | nonstopux*)
10801   case $host_os in
10802     nonstopux*) version_type=nonstopux ;;
10803     *)
10804         if test "$lt_cv_prog_gnu_ld" = yes; then
10805                 version_type=linux # correct to gnu/linux during the next big refactor
10806         else
10807                 version_type=irix
10808         fi ;;
10809   esac
10810   need_lib_prefix=no
10811   need_version=no
10812   soname_spec='${libname}${release}${shared_ext}$major'
10813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10814   case $host_os in
10815   irix5* | nonstopux*)
10816     libsuff= shlibsuff=
10817     ;;
10818   *)
10819     case $LD in # libtool.m4 will add one of these switches to LD
10820     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10821       libsuff= shlibsuff= libmagic=32-bit;;
10822     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10823       libsuff=32 shlibsuff=N32 libmagic=N32;;
10824     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10825       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10826     *) libsuff= shlibsuff= libmagic=never-match;;
10827     esac
10828     ;;
10829   esac
10830   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10831   shlibpath_overrides_runpath=no
10832   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10833   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10834   hardcode_into_libs=yes
10835   ;;
10836
10837 # No shared lib support for Linux oldld, aout, or coff.
10838 linux*oldld* | linux*aout* | linux*coff*)
10839   dynamic_linker=no
10840   ;;
10841
10842 # This must be glibc/ELF.
10843 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10844   version_type=linux # correct to gnu/linux during the next big refactor
10845   need_lib_prefix=no
10846   need_version=no
10847   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10848   soname_spec='${libname}${release}${shared_ext}$major'
10849   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10850   shlibpath_var=LD_LIBRARY_PATH
10851   shlibpath_overrides_runpath=no
10852
10853   # Some binutils ld are patched to set DT_RUNPATH
10854   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10855   $as_echo_n "(cached) " >&6
10856 else
10857   lt_cv_shlibpath_overrides_runpath=no
10858     save_LDFLAGS=$LDFLAGS
10859     save_libdir=$libdir
10860     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10861          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10862     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h.  */
10864
10865 int
10866 main ()
10867 {
10868
10869   ;
10870   return 0;
10871 }
10872 _ACEOF
10873 if ac_fn_c_try_link "$LINENO"; then :
10874   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10875   lt_cv_shlibpath_overrides_runpath=yes
10876 fi
10877 fi
10878 rm -f core conftest.err conftest.$ac_objext \
10879     conftest$ac_exeext conftest.$ac_ext
10880     LDFLAGS=$save_LDFLAGS
10881     libdir=$save_libdir
10882
10883 fi
10884
10885   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10886
10887   # This implies no fast_install, which is unacceptable.
10888   # Some rework will be needed to allow for fast_install
10889   # before this can be enabled.
10890   hardcode_into_libs=yes
10891
10892   # Add ABI-specific directories to the system library path.
10893   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10894
10895   # Append ld.so.conf contents to the search path
10896   if test -f /etc/ld.so.conf; then
10897     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' ' '`
10898     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10899
10900   fi
10901
10902   # We used to test for /lib/ld.so.1 and disable shared libraries on
10903   # powerpc, because MkLinux only supported shared libraries with the
10904   # GNU dynamic linker.  Since this was broken with cross compilers,
10905   # most powerpc-linux boxes support dynamic linking these days and
10906   # people can always --disable-shared, the test was removed, and we
10907   # assume the GNU/Linux dynamic linker is in use.
10908   dynamic_linker='GNU/Linux ld.so'
10909   ;;
10910
10911 netbsd*)
10912   version_type=sunos
10913   need_lib_prefix=no
10914   need_version=no
10915   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10916     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10917     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10918     dynamic_linker='NetBSD (a.out) ld.so'
10919   else
10920     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10921     soname_spec='${libname}${release}${shared_ext}$major'
10922     dynamic_linker='NetBSD ld.elf_so'
10923   fi
10924   shlibpath_var=LD_LIBRARY_PATH
10925   shlibpath_overrides_runpath=yes
10926   hardcode_into_libs=yes
10927   ;;
10928
10929 newsos6)
10930   version_type=linux # correct to gnu/linux during the next big refactor
10931   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932   shlibpath_var=LD_LIBRARY_PATH
10933   shlibpath_overrides_runpath=yes
10934   ;;
10935
10936 *nto* | *qnx*)
10937   version_type=qnx
10938   need_lib_prefix=no
10939   need_version=no
10940   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10941   soname_spec='${libname}${release}${shared_ext}$major'
10942   shlibpath_var=LD_LIBRARY_PATH
10943   shlibpath_overrides_runpath=no
10944   hardcode_into_libs=yes
10945   dynamic_linker='ldqnx.so'
10946   ;;
10947
10948 openbsd*)
10949   version_type=sunos
10950   sys_lib_dlsearch_path_spec="/usr/lib"
10951   need_lib_prefix=no
10952   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10953   case $host_os in
10954     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10955     *)                          need_version=no  ;;
10956   esac
10957   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10958   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10959   shlibpath_var=LD_LIBRARY_PATH
10960   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10961     case $host_os in
10962       openbsd2.[89] | openbsd2.[89].*)
10963         shlibpath_overrides_runpath=no
10964         ;;
10965       *)
10966         shlibpath_overrides_runpath=yes
10967         ;;
10968       esac
10969   else
10970     shlibpath_overrides_runpath=yes
10971   fi
10972   ;;
10973
10974 os2*)
10975   libname_spec='$name'
10976   shrext_cmds=".dll"
10977   need_lib_prefix=no
10978   library_names_spec='$libname${shared_ext} $libname.a'
10979   dynamic_linker='OS/2 ld.exe'
10980   shlibpath_var=LIBPATH
10981   ;;
10982
10983 osf3* | osf4* | osf5*)
10984   version_type=osf
10985   need_lib_prefix=no
10986   need_version=no
10987   soname_spec='${libname}${release}${shared_ext}$major'
10988   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989   shlibpath_var=LD_LIBRARY_PATH
10990   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10991   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10992   ;;
10993
10994 rdos*)
10995   dynamic_linker=no
10996   ;;
10997
10998 solaris*)
10999   version_type=linux # correct to gnu/linux during the next big refactor
11000   need_lib_prefix=no
11001   need_version=no
11002   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003   soname_spec='${libname}${release}${shared_ext}$major'
11004   shlibpath_var=LD_LIBRARY_PATH
11005   shlibpath_overrides_runpath=yes
11006   hardcode_into_libs=yes
11007   # ldd complains unless libraries are executable
11008   postinstall_cmds='chmod +x $lib'
11009   ;;
11010
11011 sunos4*)
11012   version_type=sunos
11013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11014   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11015   shlibpath_var=LD_LIBRARY_PATH
11016   shlibpath_overrides_runpath=yes
11017   if test "$with_gnu_ld" = yes; then
11018     need_lib_prefix=no
11019   fi
11020   need_version=yes
11021   ;;
11022
11023 sysv4 | sysv4.3*)
11024   version_type=linux # correct to gnu/linux during the next big refactor
11025   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026   soname_spec='${libname}${release}${shared_ext}$major'
11027   shlibpath_var=LD_LIBRARY_PATH
11028   case $host_vendor in
11029     sni)
11030       shlibpath_overrides_runpath=no
11031       need_lib_prefix=no
11032       runpath_var=LD_RUN_PATH
11033       ;;
11034     siemens)
11035       need_lib_prefix=no
11036       ;;
11037     motorola)
11038       need_lib_prefix=no
11039       need_version=no
11040       shlibpath_overrides_runpath=no
11041       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11042       ;;
11043   esac
11044   ;;
11045
11046 sysv4*MP*)
11047   if test -d /usr/nec ;then
11048     version_type=linux # correct to gnu/linux during the next big refactor
11049     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11050     soname_spec='$libname${shared_ext}.$major'
11051     shlibpath_var=LD_LIBRARY_PATH
11052   fi
11053   ;;
11054
11055 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11056   version_type=freebsd-elf
11057   need_lib_prefix=no
11058   need_version=no
11059   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11060   soname_spec='${libname}${release}${shared_ext}$major'
11061   shlibpath_var=LD_LIBRARY_PATH
11062   shlibpath_overrides_runpath=yes
11063   hardcode_into_libs=yes
11064   if test "$with_gnu_ld" = yes; then
11065     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11066   else
11067     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11068     case $host_os in
11069       sco3.2v5*)
11070         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11071         ;;
11072     esac
11073   fi
11074   sys_lib_dlsearch_path_spec='/usr/lib'
11075   ;;
11076
11077 tpf*)
11078   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11079   version_type=linux # correct to gnu/linux during the next big refactor
11080   need_lib_prefix=no
11081   need_version=no
11082   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083   shlibpath_var=LD_LIBRARY_PATH
11084   shlibpath_overrides_runpath=no
11085   hardcode_into_libs=yes
11086   ;;
11087
11088 uts4*)
11089   version_type=linux # correct to gnu/linux during the next big refactor
11090   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11091   soname_spec='${libname}${release}${shared_ext}$major'
11092   shlibpath_var=LD_LIBRARY_PATH
11093   ;;
11094
11095 *)
11096   dynamic_linker=no
11097   ;;
11098 esac
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11100 $as_echo "$dynamic_linker" >&6; }
11101 test "$dynamic_linker" = no && can_build_shared=no
11102
11103 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11104 if test "$GCC" = yes; then
11105   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11106 fi
11107
11108 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11109   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11110 fi
11111 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11112   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11113 fi
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
11201
11202
11203
11204
11205
11206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11207 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11208 hardcode_action=
11209 if test -n "$hardcode_libdir_flag_spec" ||
11210    test -n "$runpath_var" ||
11211    test "X$hardcode_automatic" = "Xyes" ; then
11212
11213   # We can hardcode non-existent directories.
11214   if test "$hardcode_direct" != no &&
11215      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11216      # have to relink, otherwise we might link with an installed library
11217      # when we should be linking with a yet-to-be-installed one
11218      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11219      test "$hardcode_minus_L" != no; then
11220     # Linking always hardcodes the temporary library directory.
11221     hardcode_action=relink
11222   else
11223     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11224     hardcode_action=immediate
11225   fi
11226 else
11227   # We cannot hardcode anything, or else we can only hardcode existing
11228   # directories.
11229   hardcode_action=unsupported
11230 fi
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11232 $as_echo "$hardcode_action" >&6; }
11233
11234 if test "$hardcode_action" = relink ||
11235    test "$inherit_rpath" = yes; then
11236   # Fast installation is not supported
11237   enable_fast_install=no
11238 elif test "$shlibpath_overrides_runpath" = yes ||
11239      test "$enable_shared" = no; then
11240   # Fast installation is not necessary
11241   enable_fast_install=needless
11242 fi
11243
11244
11245
11246
11247
11248
11249   if test "x$enable_dlopen" != xyes; then
11250   enable_dlopen=unknown
11251   enable_dlopen_self=unknown
11252   enable_dlopen_self_static=unknown
11253 else
11254   lt_cv_dlopen=no
11255   lt_cv_dlopen_libs=
11256
11257   case $host_os in
11258   beos*)
11259     lt_cv_dlopen="load_add_on"
11260     lt_cv_dlopen_libs=
11261     lt_cv_dlopen_self=yes
11262     ;;
11263
11264   mingw* | pw32* | cegcc*)
11265     lt_cv_dlopen="LoadLibrary"
11266     lt_cv_dlopen_libs=
11267     ;;
11268
11269   cygwin*)
11270     lt_cv_dlopen="dlopen"
11271     lt_cv_dlopen_libs=
11272     ;;
11273
11274   darwin*)
11275   # if libdl is installed we need to link against it
11276     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11277 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11278 if ${ac_cv_lib_dl_dlopen+:} false; then :
11279   $as_echo_n "(cached) " >&6
11280 else
11281   ac_check_lib_save_LIBS=$LIBS
11282 LIBS="-ldl  $LIBS"
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h.  */
11285
11286 /* Override any GCC internal prototype to avoid an error.
11287    Use char because int might match the return type of a GCC
11288    builtin and then its argument prototype would still apply.  */
11289 #ifdef __cplusplus
11290 extern "C"
11291 #endif
11292 char dlopen ();
11293 int
11294 main ()
11295 {
11296 return dlopen ();
11297   ;
11298   return 0;
11299 }
11300 _ACEOF
11301 if ac_fn_c_try_link "$LINENO"; then :
11302   ac_cv_lib_dl_dlopen=yes
11303 else
11304   ac_cv_lib_dl_dlopen=no
11305 fi
11306 rm -f core conftest.err conftest.$ac_objext \
11307     conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11309 fi
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11311 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11312 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11313   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11314 else
11315
11316     lt_cv_dlopen="dyld"
11317     lt_cv_dlopen_libs=
11318     lt_cv_dlopen_self=yes
11319
11320 fi
11321
11322     ;;
11323
11324   *)
11325     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11326 if test "x$ac_cv_func_shl_load" = xyes; then :
11327   lt_cv_dlopen="shl_load"
11328 else
11329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11330 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11331 if ${ac_cv_lib_dld_shl_load+:} false; then :
11332   $as_echo_n "(cached) " >&6
11333 else
11334   ac_check_lib_save_LIBS=$LIBS
11335 LIBS="-ldld  $LIBS"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h.  */
11338
11339 /* Override any GCC internal prototype to avoid an error.
11340    Use char because int might match the return type of a GCC
11341    builtin and then its argument prototype would still apply.  */
11342 #ifdef __cplusplus
11343 extern "C"
11344 #endif
11345 char shl_load ();
11346 int
11347 main ()
11348 {
11349 return shl_load ();
11350   ;
11351   return 0;
11352 }
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"; then :
11355   ac_cv_lib_dld_shl_load=yes
11356 else
11357   ac_cv_lib_dld_shl_load=no
11358 fi
11359 rm -f core conftest.err conftest.$ac_objext \
11360     conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_lib_save_LIBS
11362 fi
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11364 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11365 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11366   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11367 else
11368   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11369 if test "x$ac_cv_func_dlopen" = xyes; then :
11370   lt_cv_dlopen="dlopen"
11371 else
11372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11373 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11374 if ${ac_cv_lib_dl_dlopen+:} false; then :
11375   $as_echo_n "(cached) " >&6
11376 else
11377   ac_check_lib_save_LIBS=$LIBS
11378 LIBS="-ldl  $LIBS"
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h.  */
11381
11382 /* Override any GCC internal prototype to avoid an error.
11383    Use char because int might match the return type of a GCC
11384    builtin and then its argument prototype would still apply.  */
11385 #ifdef __cplusplus
11386 extern "C"
11387 #endif
11388 char dlopen ();
11389 int
11390 main ()
11391 {
11392 return dlopen ();
11393   ;
11394   return 0;
11395 }
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"; then :
11398   ac_cv_lib_dl_dlopen=yes
11399 else
11400   ac_cv_lib_dl_dlopen=no
11401 fi
11402 rm -f core conftest.err conftest.$ac_objext \
11403     conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_lib_save_LIBS
11405 fi
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11407 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11408 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11409   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11410 else
11411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11412 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11413 if ${ac_cv_lib_svld_dlopen+:} false; then :
11414   $as_echo_n "(cached) " >&6
11415 else
11416   ac_check_lib_save_LIBS=$LIBS
11417 LIBS="-lsvld  $LIBS"
11418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h.  */
11420
11421 /* Override any GCC internal prototype to avoid an error.
11422    Use char because int might match the return type of a GCC
11423    builtin and then its argument prototype would still apply.  */
11424 #ifdef __cplusplus
11425 extern "C"
11426 #endif
11427 char dlopen ();
11428 int
11429 main ()
11430 {
11431 return dlopen ();
11432   ;
11433   return 0;
11434 }
11435 _ACEOF
11436 if ac_fn_c_try_link "$LINENO"; then :
11437   ac_cv_lib_svld_dlopen=yes
11438 else
11439   ac_cv_lib_svld_dlopen=no
11440 fi
11441 rm -f core conftest.err conftest.$ac_objext \
11442     conftest$ac_exeext conftest.$ac_ext
11443 LIBS=$ac_check_lib_save_LIBS
11444 fi
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11446 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11447 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11448   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11449 else
11450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11451 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11452 if ${ac_cv_lib_dld_dld_link+:} false; then :
11453   $as_echo_n "(cached) " >&6
11454 else
11455   ac_check_lib_save_LIBS=$LIBS
11456 LIBS="-ldld  $LIBS"
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h.  */
11459
11460 /* Override any GCC internal prototype to avoid an error.
11461    Use char because int might match the return type of a GCC
11462    builtin and then its argument prototype would still apply.  */
11463 #ifdef __cplusplus
11464 extern "C"
11465 #endif
11466 char dld_link ();
11467 int
11468 main ()
11469 {
11470 return dld_link ();
11471   ;
11472   return 0;
11473 }
11474 _ACEOF
11475 if ac_fn_c_try_link "$LINENO"; then :
11476   ac_cv_lib_dld_dld_link=yes
11477 else
11478   ac_cv_lib_dld_dld_link=no
11479 fi
11480 rm -f core conftest.err conftest.$ac_objext \
11481     conftest$ac_exeext conftest.$ac_ext
11482 LIBS=$ac_check_lib_save_LIBS
11483 fi
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11485 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11486 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11487   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11488 fi
11489
11490
11491 fi
11492
11493
11494 fi
11495
11496
11497 fi
11498
11499
11500 fi
11501
11502
11503 fi
11504
11505     ;;
11506   esac
11507
11508   if test "x$lt_cv_dlopen" != xno; then
11509     enable_dlopen=yes
11510   else
11511     enable_dlopen=no
11512   fi
11513
11514   case $lt_cv_dlopen in
11515   dlopen)
11516     save_CPPFLAGS="$CPPFLAGS"
11517     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11518
11519     save_LDFLAGS="$LDFLAGS"
11520     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11521
11522     save_LIBS="$LIBS"
11523     LIBS="$lt_cv_dlopen_libs $LIBS"
11524
11525     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11526 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11527 if ${lt_cv_dlopen_self+:} false; then :
11528   $as_echo_n "(cached) " >&6
11529 else
11530           if test "$cross_compiling" = yes; then :
11531   lt_cv_dlopen_self=cross
11532 else
11533   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11534   lt_status=$lt_dlunknown
11535   cat > conftest.$ac_ext <<_LT_EOF
11536 #line $LINENO "configure"
11537 #include "confdefs.h"
11538
11539 #if HAVE_DLFCN_H
11540 #include <dlfcn.h>
11541 #endif
11542
11543 #include <stdio.h>
11544
11545 #ifdef RTLD_GLOBAL
11546 #  define LT_DLGLOBAL           RTLD_GLOBAL
11547 #else
11548 #  ifdef DL_GLOBAL
11549 #    define LT_DLGLOBAL         DL_GLOBAL
11550 #  else
11551 #    define LT_DLGLOBAL         0
11552 #  endif
11553 #endif
11554
11555 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11556    find out it does not work in some platform. */
11557 #ifndef LT_DLLAZY_OR_NOW
11558 #  ifdef RTLD_LAZY
11559 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11560 #  else
11561 #    ifdef DL_LAZY
11562 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11563 #    else
11564 #      ifdef RTLD_NOW
11565 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11566 #      else
11567 #        ifdef DL_NOW
11568 #          define LT_DLLAZY_OR_NOW      DL_NOW
11569 #        else
11570 #          define LT_DLLAZY_OR_NOW      0
11571 #        endif
11572 #      endif
11573 #    endif
11574 #  endif
11575 #endif
11576
11577 /* When -fvisbility=hidden is used, assume the code has been annotated
11578    correspondingly for the symbols needed.  */
11579 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11580 int fnord () __attribute__((visibility("default")));
11581 #endif
11582
11583 int fnord () { return 42; }
11584 int main ()
11585 {
11586   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11587   int status = $lt_dlunknown;
11588
11589   if (self)
11590     {
11591       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11592       else
11593         {
11594           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11595           else puts (dlerror ());
11596         }
11597       /* dlclose (self); */
11598     }
11599   else
11600     puts (dlerror ());
11601
11602   return status;
11603 }
11604 _LT_EOF
11605   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11606   (eval $ac_link) 2>&5
11607   ac_status=$?
11608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11609   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11610     (./conftest; exit; ) >&5 2>/dev/null
11611     lt_status=$?
11612     case x$lt_status in
11613       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11614       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11615       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11616     esac
11617   else :
11618     # compilation failed
11619     lt_cv_dlopen_self=no
11620   fi
11621 fi
11622 rm -fr conftest*
11623
11624
11625 fi
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11627 $as_echo "$lt_cv_dlopen_self" >&6; }
11628
11629     if test "x$lt_cv_dlopen_self" = xyes; then
11630       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11631       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11632 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11633 if ${lt_cv_dlopen_self_static+:} false; then :
11634   $as_echo_n "(cached) " >&6
11635 else
11636           if test "$cross_compiling" = yes; then :
11637   lt_cv_dlopen_self_static=cross
11638 else
11639   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11640   lt_status=$lt_dlunknown
11641   cat > conftest.$ac_ext <<_LT_EOF
11642 #line $LINENO "configure"
11643 #include "confdefs.h"
11644
11645 #if HAVE_DLFCN_H
11646 #include <dlfcn.h>
11647 #endif
11648
11649 #include <stdio.h>
11650
11651 #ifdef RTLD_GLOBAL
11652 #  define LT_DLGLOBAL           RTLD_GLOBAL
11653 #else
11654 #  ifdef DL_GLOBAL
11655 #    define LT_DLGLOBAL         DL_GLOBAL
11656 #  else
11657 #    define LT_DLGLOBAL         0
11658 #  endif
11659 #endif
11660
11661 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11662    find out it does not work in some platform. */
11663 #ifndef LT_DLLAZY_OR_NOW
11664 #  ifdef RTLD_LAZY
11665 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11666 #  else
11667 #    ifdef DL_LAZY
11668 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11669 #    else
11670 #      ifdef RTLD_NOW
11671 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11672 #      else
11673 #        ifdef DL_NOW
11674 #          define LT_DLLAZY_OR_NOW      DL_NOW
11675 #        else
11676 #          define LT_DLLAZY_OR_NOW      0
11677 #        endif
11678 #      endif
11679 #    endif
11680 #  endif
11681 #endif
11682
11683 /* When -fvisbility=hidden is used, assume the code has been annotated
11684    correspondingly for the symbols needed.  */
11685 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11686 int fnord () __attribute__((visibility("default")));
11687 #endif
11688
11689 int fnord () { return 42; }
11690 int main ()
11691 {
11692   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11693   int status = $lt_dlunknown;
11694
11695   if (self)
11696     {
11697       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11698       else
11699         {
11700           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11701           else puts (dlerror ());
11702         }
11703       /* dlclose (self); */
11704     }
11705   else
11706     puts (dlerror ());
11707
11708   return status;
11709 }
11710 _LT_EOF
11711   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11712   (eval $ac_link) 2>&5
11713   ac_status=$?
11714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11715   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11716     (./conftest; exit; ) >&5 2>/dev/null
11717     lt_status=$?
11718     case x$lt_status in
11719       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11720       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11721       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11722     esac
11723   else :
11724     # compilation failed
11725     lt_cv_dlopen_self_static=no
11726   fi
11727 fi
11728 rm -fr conftest*
11729
11730
11731 fi
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11733 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11734     fi
11735
11736     CPPFLAGS="$save_CPPFLAGS"
11737     LDFLAGS="$save_LDFLAGS"
11738     LIBS="$save_LIBS"
11739     ;;
11740   esac
11741
11742   case $lt_cv_dlopen_self in
11743   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11744   *) enable_dlopen_self=unknown ;;
11745   esac
11746
11747   case $lt_cv_dlopen_self_static in
11748   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11749   *) enable_dlopen_self_static=unknown ;;
11750   esac
11751 fi
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769 striplib=
11770 old_striplib=
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11772 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11773 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11774   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11775   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11777 $as_echo "yes" >&6; }
11778 else
11779 # FIXME - insert some real tests, host_os isn't really good enough
11780   case $host_os in
11781   darwin*)
11782     if test -n "$STRIP" ; then
11783       striplib="$STRIP -x"
11784       old_striplib="$STRIP -S"
11785       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11786 $as_echo "yes" >&6; }
11787     else
11788       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11789 $as_echo "no" >&6; }
11790     fi
11791     ;;
11792   *)
11793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11794 $as_echo "no" >&6; }
11795     ;;
11796   esac
11797 fi
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810   # Report which library types will actually be built
11811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11812 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11814 $as_echo "$can_build_shared" >&6; }
11815
11816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11817 $as_echo_n "checking whether to build shared libraries... " >&6; }
11818   test "$can_build_shared" = "no" && enable_shared=no
11819
11820   # On AIX, shared libraries and static libraries use the same namespace, and
11821   # are all built from PIC.
11822   case $host_os in
11823   aix3*)
11824     test "$enable_shared" = yes && enable_static=no
11825     if test -n "$RANLIB"; then
11826       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11827       postinstall_cmds='$RANLIB $lib'
11828     fi
11829     ;;
11830
11831   aix[4-9]*)
11832     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11833       test "$enable_shared" = yes && enable_static=no
11834     fi
11835     ;;
11836   esac
11837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11838 $as_echo "$enable_shared" >&6; }
11839
11840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11841 $as_echo_n "checking whether to build static libraries... " >&6; }
11842   # Make sure either enable_shared or enable_static is yes.
11843   test "$enable_shared" = yes || enable_static=yes
11844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11845 $as_echo "$enable_static" >&6; }
11846
11847
11848
11849
11850 fi
11851 ac_ext=c
11852 ac_cpp='$CPP $CPPFLAGS'
11853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11856
11857 CC="$lt_save_CC"
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873         ac_config_commands="$ac_config_commands libtool"
11874
11875
11876
11877
11878 # Only expand once:
11879
11880
11881
11882 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11883 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11884
11885
11886
11887 cat >>confdefs.h <<_ACEOF
11888 #define VMAJ 1
11889 _ACEOF
11890
11891
11892 cat >>confdefs.h <<_ACEOF
11893 #define VMIN 7
11894 _ACEOF
11895
11896
11897 cat >>confdefs.h <<_ACEOF
11898 #define VMIC 9
11899 _ACEOF
11900
11901
11902 cat >>confdefs.h <<_ACEOF
11903 #define VREV 0
11904 _ACEOF
11905
11906 version_info="8:9:7"
11907 release_info=""
11908
11909
11910 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11911 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11912 VMAJ=1
11913
11914
11915 ### Needed information
11916
11917
11918
11919
11920 want_ebluez="yes"
11921 want_econnman0_7x="yes"
11922 want_ehal="yes"
11923 want_enotify="yes"
11924 want_eofono="yes"
11925 want_eukit="yes"
11926
11927 case "$host_os" in
11928    mingw*)
11929       want_ebluez="no"
11930       want_econnman0_7x="no"
11931       want_ehal="no"
11932       want_enotify="no"
11933       want_eofono="no"
11934       want_eukit="no"
11935       ;;
11936 esac
11937
11938 requirement_ebluez="edbus >= 1.7.9"
11939 requirement_econnman0_7x="edbus >= 1.7.9"
11940 requirement_edbus="ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62"
11941 requirement_ehal="edbus >= 1.7.9"
11942 requirement_enotify="edbus >= 1.7.9"
11943 requirement_eofono="edbus >= 1.7.9"
11944 requirement_eukit="edbus >= 1.7.9"
11945
11946 ### Additional options to configure
11947
11948
11949 # Check whether --enable-ebluez was given.
11950 if test "${enable_ebluez+set}" = set; then :
11951   enableval=$enable_ebluez; enable_ebluez=$enableval
11952 else
11953   enable_ebluez="${want_ebluez}"
11954 fi
11955
11956
11957 # Check whether --enable-econnman0_7x was given.
11958 if test "${enable_econnman0_7x+set}" = set; then :
11959   enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
11960 else
11961   enable_econnman0_7x="${want_econnman0_7x}"
11962 fi
11963
11964
11965 # Check whether --enable-ehal was given.
11966 if test "${enable_ehal+set}" = set; then :
11967   enableval=$enable_ehal; enable_ehal=$enableval
11968 else
11969   enable_ehal="${want_ehal}"
11970 fi
11971
11972
11973 # Check whether --enable-enotify was given.
11974 if test "${enable_enotify+set}" = set; then :
11975   enableval=$enable_enotify; enable_enotify=$enableval
11976 else
11977   enable_enotify="${want_enotify}"
11978 fi
11979
11980
11981 # Check whether --enable-eofono was given.
11982 if test "${enable_eofono+set}" = set; then :
11983   enableval=$enable_eofono; enable_eofono=$enableval
11984 else
11985   enable_eofono="${want_eofono}"
11986 fi
11987
11988
11989 # Check whether --enable-eukit was given.
11990 if test "${enable_eukit+set}" = set; then :
11991   enableval=$enable_eukit; enable_eukit=$enableval
11992 else
11993   enable_eukit="${want_eukit}"
11994 fi
11995
11996
11997 ### Checks for programs
11998
11999 ac_ext=c
12000 ac_cpp='$CPP $CPPFLAGS'
12001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12004 if test -n "$ac_tool_prefix"; then
12005   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12006 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12008 $as_echo_n "checking for $ac_word... " >&6; }
12009 if ${ac_cv_prog_CC+:} false; then :
12010   $as_echo_n "(cached) " >&6
12011 else
12012   if test -n "$CC"; then
12013   ac_cv_prog_CC="$CC" # Let the user override the test.
12014 else
12015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12016 for as_dir in $PATH
12017 do
12018   IFS=$as_save_IFS
12019   test -z "$as_dir" && as_dir=.
12020     for ac_exec_ext in '' $ac_executable_extensions; do
12021   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12022     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12024     break 2
12025   fi
12026 done
12027   done
12028 IFS=$as_save_IFS
12029
12030 fi
12031 fi
12032 CC=$ac_cv_prog_CC
12033 if test -n "$CC"; then
12034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12035 $as_echo "$CC" >&6; }
12036 else
12037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12038 $as_echo "no" >&6; }
12039 fi
12040
12041
12042 fi
12043 if test -z "$ac_cv_prog_CC"; then
12044   ac_ct_CC=$CC
12045   # Extract the first word of "gcc", so it can be a program name with args.
12046 set dummy gcc; ac_word=$2
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12048 $as_echo_n "checking for $ac_word... " >&6; }
12049 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12050   $as_echo_n "(cached) " >&6
12051 else
12052   if test -n "$ac_ct_CC"; then
12053   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12054 else
12055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12056 for as_dir in $PATH
12057 do
12058   IFS=$as_save_IFS
12059   test -z "$as_dir" && as_dir=.
12060     for ac_exec_ext in '' $ac_executable_extensions; do
12061   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12062     ac_cv_prog_ac_ct_CC="gcc"
12063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12064     break 2
12065   fi
12066 done
12067   done
12068 IFS=$as_save_IFS
12069
12070 fi
12071 fi
12072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12073 if test -n "$ac_ct_CC"; then
12074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12075 $as_echo "$ac_ct_CC" >&6; }
12076 else
12077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12078 $as_echo "no" >&6; }
12079 fi
12080
12081   if test "x$ac_ct_CC" = x; then
12082     CC=""
12083   else
12084     case $cross_compiling:$ac_tool_warned in
12085 yes:)
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12088 ac_tool_warned=yes ;;
12089 esac
12090     CC=$ac_ct_CC
12091   fi
12092 else
12093   CC="$ac_cv_prog_CC"
12094 fi
12095
12096 if test -z "$CC"; then
12097           if test -n "$ac_tool_prefix"; then
12098     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12099 set dummy ${ac_tool_prefix}cc; ac_word=$2
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12101 $as_echo_n "checking for $ac_word... " >&6; }
12102 if ${ac_cv_prog_CC+:} false; then :
12103   $as_echo_n "(cached) " >&6
12104 else
12105   if test -n "$CC"; then
12106   ac_cv_prog_CC="$CC" # Let the user override the test.
12107 else
12108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12109 for as_dir in $PATH
12110 do
12111   IFS=$as_save_IFS
12112   test -z "$as_dir" && as_dir=.
12113     for ac_exec_ext in '' $ac_executable_extensions; do
12114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12115     ac_cv_prog_CC="${ac_tool_prefix}cc"
12116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12117     break 2
12118   fi
12119 done
12120   done
12121 IFS=$as_save_IFS
12122
12123 fi
12124 fi
12125 CC=$ac_cv_prog_CC
12126 if test -n "$CC"; then
12127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12128 $as_echo "$CC" >&6; }
12129 else
12130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12131 $as_echo "no" >&6; }
12132 fi
12133
12134
12135   fi
12136 fi
12137 if test -z "$CC"; then
12138   # Extract the first word of "cc", so it can be a program name with args.
12139 set dummy cc; ac_word=$2
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12141 $as_echo_n "checking for $ac_word... " >&6; }
12142 if ${ac_cv_prog_CC+:} false; then :
12143   $as_echo_n "(cached) " >&6
12144 else
12145   if test -n "$CC"; then
12146   ac_cv_prog_CC="$CC" # Let the user override the test.
12147 else
12148   ac_prog_rejected=no
12149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12150 for as_dir in $PATH
12151 do
12152   IFS=$as_save_IFS
12153   test -z "$as_dir" && as_dir=.
12154     for ac_exec_ext in '' $ac_executable_extensions; do
12155   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12156     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12157        ac_prog_rejected=yes
12158        continue
12159      fi
12160     ac_cv_prog_CC="cc"
12161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12162     break 2
12163   fi
12164 done
12165   done
12166 IFS=$as_save_IFS
12167
12168 if test $ac_prog_rejected = yes; then
12169   # We found a bogon in the path, so make sure we never use it.
12170   set dummy $ac_cv_prog_CC
12171   shift
12172   if test $# != 0; then
12173     # We chose a different compiler from the bogus one.
12174     # However, it has the same basename, so the bogon will be chosen
12175     # first if we set CC to just the basename; use the full file name.
12176     shift
12177     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12178   fi
12179 fi
12180 fi
12181 fi
12182 CC=$ac_cv_prog_CC
12183 if test -n "$CC"; then
12184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12185 $as_echo "$CC" >&6; }
12186 else
12187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12188 $as_echo "no" >&6; }
12189 fi
12190
12191
12192 fi
12193 if test -z "$CC"; then
12194   if test -n "$ac_tool_prefix"; then
12195   for ac_prog in cl.exe
12196   do
12197     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12198 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12200 $as_echo_n "checking for $ac_word... " >&6; }
12201 if ${ac_cv_prog_CC+:} false; then :
12202   $as_echo_n "(cached) " >&6
12203 else
12204   if test -n "$CC"; then
12205   ac_cv_prog_CC="$CC" # Let the user override the test.
12206 else
12207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12208 for as_dir in $PATH
12209 do
12210   IFS=$as_save_IFS
12211   test -z "$as_dir" && as_dir=.
12212     for ac_exec_ext in '' $ac_executable_extensions; do
12213   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12214     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12216     break 2
12217   fi
12218 done
12219   done
12220 IFS=$as_save_IFS
12221
12222 fi
12223 fi
12224 CC=$ac_cv_prog_CC
12225 if test -n "$CC"; then
12226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12227 $as_echo "$CC" >&6; }
12228 else
12229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12230 $as_echo "no" >&6; }
12231 fi
12232
12233
12234     test -n "$CC" && break
12235   done
12236 fi
12237 if test -z "$CC"; then
12238   ac_ct_CC=$CC
12239   for ac_prog in cl.exe
12240 do
12241   # Extract the first word of "$ac_prog", so it can be a program name with args.
12242 set dummy $ac_prog; ac_word=$2
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12244 $as_echo_n "checking for $ac_word... " >&6; }
12245 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12246   $as_echo_n "(cached) " >&6
12247 else
12248   if test -n "$ac_ct_CC"; then
12249   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12250 else
12251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12252 for as_dir in $PATH
12253 do
12254   IFS=$as_save_IFS
12255   test -z "$as_dir" && as_dir=.
12256     for ac_exec_ext in '' $ac_executable_extensions; do
12257   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12258     ac_cv_prog_ac_ct_CC="$ac_prog"
12259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12260     break 2
12261   fi
12262 done
12263   done
12264 IFS=$as_save_IFS
12265
12266 fi
12267 fi
12268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12269 if test -n "$ac_ct_CC"; then
12270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12271 $as_echo "$ac_ct_CC" >&6; }
12272 else
12273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12274 $as_echo "no" >&6; }
12275 fi
12276
12277
12278   test -n "$ac_ct_CC" && break
12279 done
12280
12281   if test "x$ac_ct_CC" = x; then
12282     CC=""
12283   else
12284     case $cross_compiling:$ac_tool_warned in
12285 yes:)
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12288 ac_tool_warned=yes ;;
12289 esac
12290     CC=$ac_ct_CC
12291   fi
12292 fi
12293
12294 fi
12295
12296
12297 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12299 as_fn_error $? "no acceptable C compiler found in \$PATH
12300 See \`config.log' for more details" "$LINENO" 5; }
12301
12302 # Provide some information about the compiler.
12303 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12304 set X $ac_compile
12305 ac_compiler=$2
12306 for ac_option in --version -v -V -qversion; do
12307   { { ac_try="$ac_compiler $ac_option >&5"
12308 case "(($ac_try" in
12309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12310   *) ac_try_echo=$ac_try;;
12311 esac
12312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12313 $as_echo "$ac_try_echo"; } >&5
12314   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12315   ac_status=$?
12316   if test -s conftest.err; then
12317     sed '10a\
12318 ... rest of stderr output deleted ...
12319          10q' conftest.err >conftest.er1
12320     cat conftest.er1 >&5
12321   fi
12322   rm -f conftest.er1 conftest.err
12323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12324   test $ac_status = 0; }
12325 done
12326
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12328 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12329 if ${ac_cv_c_compiler_gnu+:} false; then :
12330   $as_echo_n "(cached) " >&6
12331 else
12332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333 /* end confdefs.h.  */
12334
12335 int
12336 main ()
12337 {
12338 #ifndef __GNUC__
12339        choke me
12340 #endif
12341
12342   ;
12343   return 0;
12344 }
12345 _ACEOF
12346 if ac_fn_c_try_compile "$LINENO"; then :
12347   ac_compiler_gnu=yes
12348 else
12349   ac_compiler_gnu=no
12350 fi
12351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12352 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12353
12354 fi
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12356 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12357 if test $ac_compiler_gnu = yes; then
12358   GCC=yes
12359 else
12360   GCC=
12361 fi
12362 ac_test_CFLAGS=${CFLAGS+set}
12363 ac_save_CFLAGS=$CFLAGS
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12365 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12366 if ${ac_cv_prog_cc_g+:} false; then :
12367   $as_echo_n "(cached) " >&6
12368 else
12369   ac_save_c_werror_flag=$ac_c_werror_flag
12370    ac_c_werror_flag=yes
12371    ac_cv_prog_cc_g=no
12372    CFLAGS="-g"
12373    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12374 /* end confdefs.h.  */
12375
12376 int
12377 main ()
12378 {
12379
12380   ;
12381   return 0;
12382 }
12383 _ACEOF
12384 if ac_fn_c_try_compile "$LINENO"; then :
12385   ac_cv_prog_cc_g=yes
12386 else
12387   CFLAGS=""
12388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h.  */
12390
12391 int
12392 main ()
12393 {
12394
12395   ;
12396   return 0;
12397 }
12398 _ACEOF
12399 if ac_fn_c_try_compile "$LINENO"; then :
12400
12401 else
12402   ac_c_werror_flag=$ac_save_c_werror_flag
12403          CFLAGS="-g"
12404          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h.  */
12406
12407 int
12408 main ()
12409 {
12410
12411   ;
12412   return 0;
12413 }
12414 _ACEOF
12415 if ac_fn_c_try_compile "$LINENO"; then :
12416   ac_cv_prog_cc_g=yes
12417 fi
12418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12419 fi
12420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12421 fi
12422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12423    ac_c_werror_flag=$ac_save_c_werror_flag
12424 fi
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12426 $as_echo "$ac_cv_prog_cc_g" >&6; }
12427 if test "$ac_test_CFLAGS" = set; then
12428   CFLAGS=$ac_save_CFLAGS
12429 elif test $ac_cv_prog_cc_g = yes; then
12430   if test "$GCC" = yes; then
12431     CFLAGS="-g -O2"
12432   else
12433     CFLAGS="-g"
12434   fi
12435 else
12436   if test "$GCC" = yes; then
12437     CFLAGS="-O2"
12438   else
12439     CFLAGS=
12440   fi
12441 fi
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12443 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12444 if ${ac_cv_prog_cc_c89+:} false; then :
12445   $as_echo_n "(cached) " >&6
12446 else
12447   ac_cv_prog_cc_c89=no
12448 ac_save_CC=$CC
12449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h.  */
12451 #include <stdarg.h>
12452 #include <stdio.h>
12453 struct stat;
12454 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12455 struct buf { int x; };
12456 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12457 static char *e (p, i)
12458      char **p;
12459      int i;
12460 {
12461   return p[i];
12462 }
12463 static char *f (char * (*g) (char **, int), char **p, ...)
12464 {
12465   char *s;
12466   va_list v;
12467   va_start (v,p);
12468   s = g (p, va_arg (v,int));
12469   va_end (v);
12470   return s;
12471 }
12472
12473 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12474    function prototypes and stuff, but not '\xHH' hex character constants.
12475    These don't provoke an error unfortunately, instead are silently treated
12476    as 'x'.  The following induces an error, until -std is added to get
12477    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12478    array size at least.  It's necessary to write '\x00'==0 to get something
12479    that's true only with -std.  */
12480 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12481
12482 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12483    inside strings and character constants.  */
12484 #define FOO(x) 'x'
12485 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12486
12487 int test (int i, double x);
12488 struct s1 {int (*f) (int a);};
12489 struct s2 {int (*f) (double a);};
12490 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12491 int argc;
12492 char **argv;
12493 int
12494 main ()
12495 {
12496 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12497   ;
12498   return 0;
12499 }
12500 _ACEOF
12501 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12502         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12503 do
12504   CC="$ac_save_CC $ac_arg"
12505   if ac_fn_c_try_compile "$LINENO"; then :
12506   ac_cv_prog_cc_c89=$ac_arg
12507 fi
12508 rm -f core conftest.err conftest.$ac_objext
12509   test "x$ac_cv_prog_cc_c89" != "xno" && break
12510 done
12511 rm -f conftest.$ac_ext
12512 CC=$ac_save_CC
12513
12514 fi
12515 # AC_CACHE_VAL
12516 case "x$ac_cv_prog_cc_c89" in
12517   x)
12518     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12519 $as_echo "none needed" >&6; } ;;
12520   xno)
12521     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12522 $as_echo "unsupported" >&6; } ;;
12523   *)
12524     CC="$CC $ac_cv_prog_cc_c89"
12525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12526 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12527 esac
12528 if test "x$ac_cv_prog_cc_c89" != xno; then :
12529
12530 fi
12531
12532 ac_ext=c
12533 ac_cpp='$CPP $CPPFLAGS'
12534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12537
12538 depcc="$CC"   am_compiler_list=
12539
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12541 $as_echo_n "checking dependency style of $depcc... " >&6; }
12542 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12543   $as_echo_n "(cached) " >&6
12544 else
12545   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12546   # We make a subdir and do the tests there.  Otherwise we can end up
12547   # making bogus files that we don't know about and never remove.  For
12548   # instance it was reported that on HP-UX the gcc test will end up
12549   # making a dummy file named 'D' -- because '-MD' means "put the output
12550   # in D".
12551   rm -rf conftest.dir
12552   mkdir conftest.dir
12553   # Copy depcomp to subdir because otherwise we won't find it if we're
12554   # using a relative directory.
12555   cp "$am_depcomp" conftest.dir
12556   cd conftest.dir
12557   # We will build objects and dependencies in a subdirectory because
12558   # it helps to detect inapplicable dependency modes.  For instance
12559   # both Tru64's cc and ICC support -MD to output dependencies as a
12560   # side effect of compilation, but ICC will put the dependencies in
12561   # the current directory while Tru64 will put them in the object
12562   # directory.
12563   mkdir sub
12564
12565   am_cv_CC_dependencies_compiler_type=none
12566   if test "$am_compiler_list" = ""; then
12567      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12568   fi
12569   am__universal=false
12570   case " $depcc " in #(
12571      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12572      esac
12573
12574   for depmode in $am_compiler_list; do
12575     # Setup a source with many dependencies, because some compilers
12576     # like to wrap large dependency lists on column 80 (with \), and
12577     # we should not choose a depcomp mode which is confused by this.
12578     #
12579     # We need to recreate these files for each test, as the compiler may
12580     # overwrite some of them when testing with obscure command lines.
12581     # This happens at least with the AIX C compiler.
12582     : > sub/conftest.c
12583     for i in 1 2 3 4 5 6; do
12584       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12585       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12586       # Solaris 10 /bin/sh.
12587       echo '/* dummy */' > sub/conftst$i.h
12588     done
12589     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12590
12591     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12592     # mode.  It turns out that the SunPro C++ compiler does not properly
12593     # handle '-M -o', and we need to detect this.  Also, some Intel
12594     # versions had trouble with output in subdirs.
12595     am__obj=sub/conftest.${OBJEXT-o}
12596     am__minus_obj="-o $am__obj"
12597     case $depmode in
12598     gcc)
12599       # This depmode causes a compiler race in universal mode.
12600       test "$am__universal" = false || continue
12601       ;;
12602     nosideeffect)
12603       # After this tag, mechanisms are not by side-effect, so they'll
12604       # only be used when explicitly requested.
12605       if test "x$enable_dependency_tracking" = xyes; then
12606         continue
12607       else
12608         break
12609       fi
12610       ;;
12611     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12612       # This compiler won't grok '-c -o', but also, the minuso test has
12613       # not run yet.  These depmodes are late enough in the game, and
12614       # so weak that their functioning should not be impacted.
12615       am__obj=conftest.${OBJEXT-o}
12616       am__minus_obj=
12617       ;;
12618     none) break ;;
12619     esac
12620     if depmode=$depmode \
12621        source=sub/conftest.c object=$am__obj \
12622        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12623        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12624          >/dev/null 2>conftest.err &&
12625        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12626        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12627        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12628        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12629       # icc doesn't choke on unknown options, it will just issue warnings
12630       # or remarks (even with -Werror).  So we grep stderr for any message
12631       # that says an option was ignored or not supported.
12632       # When given -MP, icc 7.0 and 7.1 complain thusly:
12633       #   icc: Command line warning: ignoring option '-M'; no argument required
12634       # The diagnosis changed in icc 8.0:
12635       #   icc: Command line remark: option '-MP' not supported
12636       if (grep 'ignoring option' conftest.err ||
12637           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12638         am_cv_CC_dependencies_compiler_type=$depmode
12639         break
12640       fi
12641     fi
12642   done
12643
12644   cd ..
12645   rm -rf conftest.dir
12646 else
12647   am_cv_CC_dependencies_compiler_type=none
12648 fi
12649
12650 fi
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12652 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12653 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12654
12655  if
12656   test "x$enable_dependency_tracking" != xno \
12657   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12658   am__fastdepCC_TRUE=
12659   am__fastdepCC_FALSE='#'
12660 else
12661   am__fastdepCC_TRUE='#'
12662   am__fastdepCC_FALSE=
12663 fi
12664
12665
12666 if test "x$CC" != xcc; then
12667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12668 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12669 else
12670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12671 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12672 fi
12673 set dummy $CC; ac_cc=`$as_echo "$2" |
12674                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12675 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12676   $as_echo_n "(cached) " >&6
12677 else
12678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h.  */
12680
12681 int
12682 main ()
12683 {
12684
12685   ;
12686   return 0;
12687 }
12688 _ACEOF
12689 # Make sure it works both with $CC and with simple cc.
12690 # We do the test twice because some compilers refuse to overwrite an
12691 # existing .o file with -o, though they will create one.
12692 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12693 rm -f conftest2.*
12694 if { { case "(($ac_try" in
12695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12696   *) ac_try_echo=$ac_try;;
12697 esac
12698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12699 $as_echo "$ac_try_echo"; } >&5
12700   (eval "$ac_try") 2>&5
12701   ac_status=$?
12702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12703   test $ac_status = 0; } &&
12704    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12706   *) ac_try_echo=$ac_try;;
12707 esac
12708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12709 $as_echo "$ac_try_echo"; } >&5
12710   (eval "$ac_try") 2>&5
12711   ac_status=$?
12712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12713   test $ac_status = 0; };
12714 then
12715   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12716   if test "x$CC" != xcc; then
12717     # Test first that cc exists at all.
12718     if { ac_try='cc -c conftest.$ac_ext >&5'
12719   { { case "(($ac_try" in
12720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12721   *) ac_try_echo=$ac_try;;
12722 esac
12723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12724 $as_echo "$ac_try_echo"; } >&5
12725   (eval "$ac_try") 2>&5
12726   ac_status=$?
12727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12728   test $ac_status = 0; }; }; then
12729       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12730       rm -f conftest2.*
12731       if { { case "(($ac_try" in
12732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12733   *) ac_try_echo=$ac_try;;
12734 esac
12735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12736 $as_echo "$ac_try_echo"; } >&5
12737   (eval "$ac_try") 2>&5
12738   ac_status=$?
12739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12740   test $ac_status = 0; } &&
12741          test -f conftest2.$ac_objext && { { case "(($ac_try" in
12742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12743   *) ac_try_echo=$ac_try;;
12744 esac
12745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12746 $as_echo "$ac_try_echo"; } >&5
12747   (eval "$ac_try") 2>&5
12748   ac_status=$?
12749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12750   test $ac_status = 0; };
12751       then
12752         # cc works too.
12753         :
12754       else
12755         # cc exists but doesn't like -o.
12756         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12757       fi
12758     fi
12759   fi
12760 else
12761   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12762 fi
12763 rm -f core conftest*
12764
12765 fi
12766 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12768 $as_echo "yes" >&6; }
12769 else
12770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12771 $as_echo "no" >&6; }
12772
12773 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12774
12775 fi
12776
12777 # FIXME: we rely on the cache variable name because
12778 # there is no other way.
12779 set dummy $CC
12780 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12781 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12782 if test "$am_t" != yes; then
12783    # Losing compiler, so override with the script.
12784    # FIXME: It is wrong to rewrite CC.
12785    # But if we don't then we get into trouble of one sort or another.
12786    # A longer-term fix would be to have automake use am__CC in this case,
12787    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12788    CC="$am_aux_dir/compile $CC"
12789 fi
12790
12791
12792
12793 # pkg-config
12794
12795
12796
12797
12798
12799
12800
12801 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12802         if test -n "$ac_tool_prefix"; then
12803   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12804 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12806 $as_echo_n "checking for $ac_word... " >&6; }
12807 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12808   $as_echo_n "(cached) " >&6
12809 else
12810   case $PKG_CONFIG in
12811   [\\/]* | ?:[\\/]*)
12812   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12813   ;;
12814   *)
12815   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12816 for as_dir in $PATH
12817 do
12818   IFS=$as_save_IFS
12819   test -z "$as_dir" && as_dir=.
12820     for ac_exec_ext in '' $ac_executable_extensions; do
12821   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12822     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12824     break 2
12825   fi
12826 done
12827   done
12828 IFS=$as_save_IFS
12829
12830   ;;
12831 esac
12832 fi
12833 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12834 if test -n "$PKG_CONFIG"; then
12835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12836 $as_echo "$PKG_CONFIG" >&6; }
12837 else
12838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12839 $as_echo "no" >&6; }
12840 fi
12841
12842
12843 fi
12844 if test -z "$ac_cv_path_PKG_CONFIG"; then
12845   ac_pt_PKG_CONFIG=$PKG_CONFIG
12846   # Extract the first word of "pkg-config", so it can be a program name with args.
12847 set dummy pkg-config; ac_word=$2
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12849 $as_echo_n "checking for $ac_word... " >&6; }
12850 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12851   $as_echo_n "(cached) " >&6
12852 else
12853   case $ac_pt_PKG_CONFIG in
12854   [\\/]* | ?:[\\/]*)
12855   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12856   ;;
12857   *)
12858   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12859 for as_dir in $PATH
12860 do
12861   IFS=$as_save_IFS
12862   test -z "$as_dir" && as_dir=.
12863     for ac_exec_ext in '' $ac_executable_extensions; do
12864   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12865     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12867     break 2
12868   fi
12869 done
12870   done
12871 IFS=$as_save_IFS
12872
12873   ;;
12874 esac
12875 fi
12876 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12877 if test -n "$ac_pt_PKG_CONFIG"; then
12878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12879 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12880 else
12881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12882 $as_echo "no" >&6; }
12883 fi
12884
12885   if test "x$ac_pt_PKG_CONFIG" = x; then
12886     PKG_CONFIG=""
12887   else
12888     case $cross_compiling:$ac_tool_warned in
12889 yes:)
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12892 ac_tool_warned=yes ;;
12893 esac
12894     PKG_CONFIG=$ac_pt_PKG_CONFIG
12895   fi
12896 else
12897   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12898 fi
12899
12900 fi
12901 if test -n "$PKG_CONFIG"; then
12902         _pkg_min_version=0.9.0
12903         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12904 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12905         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12906                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12907 $as_echo "yes" >&6; }
12908         else
12909                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12910 $as_echo "no" >&6; }
12911                 PKG_CONFIG=""
12912         fi
12913 fi
12914
12915 # Check whether pkg-config supports Requires.private
12916 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
12917    pkgconfig_requires_private="Requires.private"
12918 else
12919    pkgconfig_requires_private="Requires"
12920 fi
12921
12922
12923 # doxygen program for documentation building
12924
12925
12926 # Check whether --enable-doc was given.
12927 if test "${enable_doc+set}" = set; then :
12928   enableval=$enable_doc;
12929     if test "x${enableval}" = "xyes" ; then
12930        efl_enable_doc="yes"
12931     else
12932        efl_enable_doc="no"
12933     fi
12934
12935 else
12936   efl_enable_doc="yes"
12937 fi
12938
12939
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12941 $as_echo_n "checking whether to build documentation... " >&6; }
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12943 $as_echo "${efl_enable_doc}" >&6; }
12944
12945 if test "x${efl_enable_doc}" = "xyes" ; then
12946
12947
12948    efl_doxygen="doxygen"
12949
12950
12951 # Check whether --with-doxygen was given.
12952 if test "${with_doxygen+set}" = set; then :
12953   withval=$with_doxygen;
12954       efl_doxygen=${withval}
12955        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12956 set dummy ${efl_doxygen}; ac_word=$2
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12958 $as_echo_n "checking for $ac_word... " >&6; }
12959 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12960   $as_echo_n "(cached) " >&6
12961 else
12962   if test -n "$efl_have_doxygen"; then
12963   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12964 else
12965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12966 for as_dir in $PATH
12967 do
12968   IFS=$as_save_IFS
12969   test -z "$as_dir" && as_dir=.
12970     for ac_exec_ext in '' $ac_executable_extensions; do
12971   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12972     ac_cv_prog_efl_have_doxygen="yes"
12973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12974     break 2
12975   fi
12976 done
12977   done
12978 IFS=$as_save_IFS
12979
12980   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12981 fi
12982 fi
12983 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12984 if test -n "$efl_have_doxygen"; then
12985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12986 $as_echo "$efl_have_doxygen" >&6; }
12987 else
12988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12989 $as_echo "no" >&6; }
12990 fi
12991
12992
12993        if test "x${efl_have_doxygen}" = "xno" ; then
12994           echo "WARNING:"
12995           echo "The doxygen program you specified:"
12996           echo "${efl_doxygen}"
12997           echo "was not found.  Please check the path and make sure "
12998           echo "the program exists and is executable."
12999           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13000 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13001        fi
13002
13003 else
13004   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13005 set dummy ${efl_doxygen}; ac_word=$2
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13007 $as_echo_n "checking for $ac_word... " >&6; }
13008 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13009   $as_echo_n "(cached) " >&6
13010 else
13011   if test -n "$efl_have_doxygen"; then
13012   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13013 else
13014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13015 for as_dir in $PATH
13016 do
13017   IFS=$as_save_IFS
13018   test -z "$as_dir" && as_dir=.
13019     for ac_exec_ext in '' $ac_executable_extensions; do
13020   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13021     ac_cv_prog_efl_have_doxygen="yes"
13022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13023     break 2
13024   fi
13025 done
13026   done
13027 IFS=$as_save_IFS
13028
13029   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13030 fi
13031 fi
13032 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13033 if test -n "$efl_have_doxygen"; then
13034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13035 $as_echo "$efl_have_doxygen" >&6; }
13036 else
13037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13038 $as_echo "no" >&6; }
13039 fi
13040
13041
13042        if test "x${efl_have_doxygen}" = "xno" ; then
13043           echo "WARNING:"
13044           echo "The doxygen program was not found in your execute path."
13045           echo "You may have doxygen installed somewhere not covered by your path."
13046           echo ""
13047           echo "If this is the case make sure you have the packages installed, AND"
13048           echo "that the doxygen program is in your execute path (see your"
13049           echo "shell manual page on setting the \$PATH environment variable), OR"
13050           echo "alternatively, specify the program to use with --with-doxygen."
13051           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13052 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13053        fi
13054
13055 fi
13056
13057 else
13058    efl_have_doxygen="no"
13059 fi
13060
13061
13062
13063 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13064    efl_enable_doc="no"
13065 fi
13066
13067  if test "x${efl_have_doxygen}" = "xyes"; then
13068   EFL_BUILD_DOC_TRUE=
13069   EFL_BUILD_DOC_FALSE='#'
13070 else
13071   EFL_BUILD_DOC_TRUE='#'
13072   EFL_BUILD_DOC_FALSE=
13073 fi
13074
13075
13076 if test "x$efl_have_doxygen" = "xyes"; then :
13077   build_doc="yes"
13078 else
13079   build_doc="no"
13080 fi
13081
13082
13083
13084 ### Checks for libraries
13085
13086 # Evil library for compilation on Windows
13087
13088 case "$host_os" in
13089    mingw*)
13090       if test -n "$PKG_CONFIG" && \
13091     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.9\""; } >&5
13092   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.9") 2>&5
13093   ac_status=$?
13094   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13095   test $ac_status = 0; }; then
13096   :
13097 fi
13098
13099 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13100
13101       requirement_edbus="${requirement_edbus} evil >= 1.7.9"
13102    ;;
13103 esac
13104
13105
13106 pkg_failed=no
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13108 $as_echo_n "checking for DBUS... " >&6; }
13109
13110 if test -n "$DBUS_CFLAGS"; then
13111     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13112  elif test -n "$PKG_CONFIG"; then
13113     if test -n "$PKG_CONFIG" && \
13114     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13115   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13116   ac_status=$?
13117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13118   test $ac_status = 0; }; then
13119   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
13120                       test "x$?" != "x0" && pkg_failed=yes
13121 else
13122   pkg_failed=yes
13123 fi
13124  else
13125     pkg_failed=untried
13126 fi
13127 if test -n "$DBUS_LIBS"; then
13128     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13129  elif test -n "$PKG_CONFIG"; then
13130     if test -n "$PKG_CONFIG" && \
13131     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13132   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13133   ac_status=$?
13134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13135   test $ac_status = 0; }; then
13136   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
13137                       test "x$?" != "x0" && pkg_failed=yes
13138 else
13139   pkg_failed=yes
13140 fi
13141  else
13142     pkg_failed=untried
13143 fi
13144
13145
13146
13147 if test $pkg_failed = yes; then
13148         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13149 $as_echo "no" >&6; }
13150
13151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13152         _pkg_short_errors_supported=yes
13153 else
13154         _pkg_short_errors_supported=no
13155 fi
13156         if test $_pkg_short_errors_supported = yes; then
13157                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13158         else
13159                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13160         fi
13161         # Put the nasty error message in config.log where it belongs
13162         echo "$DBUS_PKG_ERRORS" >&5
13163
13164         as_fn_error $? "Package requirements (dbus-1 >= 0.62) were not met:
13165
13166 $DBUS_PKG_ERRORS
13167
13168 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13169 installed software in a non-standard prefix.
13170
13171 Alternatively, you may set the environment variables DBUS_CFLAGS
13172 and DBUS_LIBS to avoid the need to call pkg-config.
13173 See the pkg-config man page for more details." "$LINENO" 5
13174 elif test $pkg_failed = untried; then
13175         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13176 $as_echo "no" >&6; }
13177         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13179 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13180 is in your PATH or set the PKG_CONFIG environment variable to the full
13181 path to pkg-config.
13182
13183 Alternatively, you may set the environment variables DBUS_CFLAGS
13184 and DBUS_LIBS to avoid the need to call pkg-config.
13185 See the pkg-config man page for more details.
13186
13187 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13188 See \`config.log' for more details" "$LINENO" 5; }
13189 else
13190         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13191         DBUS_LIBS=$pkg_cv_DBUS_LIBS
13192         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13193 $as_echo "yes" >&6; }
13194
13195 fi
13196
13197
13198 pkg_failed=no
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13200 $as_echo_n "checking for EDBUS... " >&6; }
13201
13202 if test -n "$EDBUS_CFLAGS"; then
13203     pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13204  elif test -n "$PKG_CONFIG"; then
13205     if test -n "$PKG_CONFIG" && \
13206     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13207   ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13208   ac_status=$?
13209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13210   test $ac_status = 0; }; then
13211   pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "${requirement_edbus}" 2>/dev/null`
13212                       test "x$?" != "x0" && pkg_failed=yes
13213 else
13214   pkg_failed=yes
13215 fi
13216  else
13217     pkg_failed=untried
13218 fi
13219 if test -n "$EDBUS_LIBS"; then
13220     pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13221  elif test -n "$PKG_CONFIG"; then
13222     if test -n "$PKG_CONFIG" && \
13223     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13224   ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13225   ac_status=$?
13226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13227   test $ac_status = 0; }; then
13228   pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "${requirement_edbus}" 2>/dev/null`
13229                       test "x$?" != "x0" && pkg_failed=yes
13230 else
13231   pkg_failed=yes
13232 fi
13233  else
13234     pkg_failed=untried
13235 fi
13236
13237
13238
13239 if test $pkg_failed = yes; then
13240         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13241 $as_echo "no" >&6; }
13242
13243 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13244         _pkg_short_errors_supported=yes
13245 else
13246         _pkg_short_errors_supported=no
13247 fi
13248         if test $_pkg_short_errors_supported = yes; then
13249                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13250         else
13251                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13252         fi
13253         # Put the nasty error message in config.log where it belongs
13254         echo "$EDBUS_PKG_ERRORS" >&5
13255
13256         as_fn_error $? "Package requirements (${requirement_edbus}) were not met:
13257
13258 $EDBUS_PKG_ERRORS
13259
13260 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13261 installed software in a non-standard prefix.
13262
13263 Alternatively, you may set the environment variables EDBUS_CFLAGS
13264 and EDBUS_LIBS to avoid the need to call pkg-config.
13265 See the pkg-config man page for more details." "$LINENO" 5
13266 elif test $pkg_failed = untried; then
13267         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13268 $as_echo "no" >&6; }
13269         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13271 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13272 is in your PATH or set the PKG_CONFIG environment variable to the full
13273 path to pkg-config.
13274
13275 Alternatively, you may set the environment variables EDBUS_CFLAGS
13276 and EDBUS_LIBS to avoid the need to call pkg-config.
13277 See the pkg-config man page for more details.
13278
13279 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13280 See \`config.log' for more details" "$LINENO" 5; }
13281 else
13282         EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13283         EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13284         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13285 $as_echo "yes" >&6; }
13286
13287 fi
13288
13289 # Find out the version of DBUS we're using
13290 dbus_version=`pkg-config --modversion dbus-1`
13291 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
13292 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
13293 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
13294
13295 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
13296    DBUS_VERSION_MAJOR="0"
13297 fi
13298
13299 if test "z$DBUS_VERSION_MINOR" = "z" ; then
13300    DBUS_VERSION_MINOR="0"
13301 fi
13302
13303 if test "z$DBUS_VERSION_MICRO" = "z" ; then
13304    DBUS_VERSION_MICRO="0"
13305 fi
13306
13307 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
13308 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
13309 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
13310
13311
13312 # Dependencies for the libraries
13313 if test "x${enable_enotify}" = "xyes" ; then
13314
13315 pkg_failed=no
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
13317 $as_echo_n "checking for EVAS... " >&6; }
13318
13319 if test -n "$EVAS_CFLAGS"; then
13320     pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
13321  elif test -n "$PKG_CONFIG"; then
13322     if test -n "$PKG_CONFIG" && \
13323     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.9\""; } >&5
13324   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.9") 2>&5
13325   ac_status=$?
13326   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13327   test $ac_status = 0; }; then
13328   pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.9" 2>/dev/null`
13329                       test "x$?" != "x0" && pkg_failed=yes
13330 else
13331   pkg_failed=yes
13332 fi
13333  else
13334     pkg_failed=untried
13335 fi
13336 if test -n "$EVAS_LIBS"; then
13337     pkg_cv_EVAS_LIBS="$EVAS_LIBS"
13338  elif test -n "$PKG_CONFIG"; then
13339     if test -n "$PKG_CONFIG" && \
13340     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.9\""; } >&5
13341   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.9") 2>&5
13342   ac_status=$?
13343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13344   test $ac_status = 0; }; then
13345   pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.9" 2>/dev/null`
13346                       test "x$?" != "x0" && pkg_failed=yes
13347 else
13348   pkg_failed=yes
13349 fi
13350  else
13351     pkg_failed=untried
13352 fi
13353
13354
13355
13356 if test $pkg_failed = yes; then
13357         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13358 $as_echo "no" >&6; }
13359
13360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13361         _pkg_short_errors_supported=yes
13362 else
13363         _pkg_short_errors_supported=no
13364 fi
13365         if test $_pkg_short_errors_supported = yes; then
13366                 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.7.9" 2>&1`
13367         else
13368                 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.7.9" 2>&1`
13369         fi
13370         # Put the nasty error message in config.log where it belongs
13371         echo "$EVAS_PKG_ERRORS" >&5
13372
13373         enable_enotify="no"
13374 elif test $pkg_failed = untried; then
13375         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13376 $as_echo "no" >&6; }
13377         enable_enotify="no"
13378 else
13379         EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
13380         EVAS_LIBS=$pkg_cv_EVAS_LIBS
13381         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13382 $as_echo "yes" >&6; }
13383         requirement_enotify="evas >= 1.7.9 ${requirement_enotify}"
13384 fi
13385 fi
13386
13387  if test "x${enable_ebluez}"   = "xyes"; then
13388   BUILD_EBLUEZ_TRUE=
13389   BUILD_EBLUEZ_FALSE='#'
13390 else
13391   BUILD_EBLUEZ_TRUE='#'
13392   BUILD_EBLUEZ_FALSE=
13393 fi
13394
13395  if test "x${enable_econnman0_7x}" = "xyes"; then
13396   BUILD_ECONNMAN0_7X_TRUE=
13397   BUILD_ECONNMAN0_7X_FALSE='#'
13398 else
13399   BUILD_ECONNMAN0_7X_TRUE='#'
13400   BUILD_ECONNMAN0_7X_FALSE=
13401 fi
13402
13403  if test "x${enable_ehal}"     = "xyes"; then
13404   BUILD_EHAL_TRUE=
13405   BUILD_EHAL_FALSE='#'
13406 else
13407   BUILD_EHAL_TRUE='#'
13408   BUILD_EHAL_FALSE=
13409 fi
13410
13411  if test "x${enable_enotify}"  = "xyes"; then
13412   BUILD_ENOTIFY_TRUE=
13413   BUILD_ENOTIFY_FALSE='#'
13414 else
13415   BUILD_ENOTIFY_TRUE='#'
13416   BUILD_ENOTIFY_FALSE=
13417 fi
13418
13419  if test "x${enable_eofono}"   = "xyes"; then
13420   BUILD_EOFONO_TRUE=
13421   BUILD_EOFONO_FALSE='#'
13422 else
13423   BUILD_EOFONO_TRUE='#'
13424   BUILD_EOFONO_FALSE=
13425 fi
13426
13427  if test "x${enable_eukit}"    = "xyes"; then
13428   BUILD_EUKIT_TRUE=
13429   BUILD_EUKIT_FALSE='#'
13430 else
13431   BUILD_EUKIT_TRUE='#'
13432   BUILD_EUKIT_FALSE=
13433 fi
13434
13435
13436 # Dependencies for the binaries
13437
13438
13439
13440
13441
13442 # Check whether --enable-edbus-test was given.
13443 if test "${enable_edbus_test+set}" = set; then :
13444   enableval=$enable_edbus_test;
13445     if test "x${enableval}" = "xyes" ; then
13446        have_edbus_test="yes"
13447     else
13448        have_edbus_test="no"
13449     fi
13450
13451 else
13452   have_edbus_test="yes"
13453 fi
13454
13455
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
13457 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
13459 $as_echo "$have_edbus_test" >&6; }
13460
13461 if test "x$have_edbus_test" = "xyes"; then
13462    EDBUS_TEST_PRG=edbus_test${EXEEXT}
13463 fi
13464
13465
13466
13467  if test "x$have_edbus_test" = "xyes"; then
13468   BUILD_EDBUS_TEST_TRUE=
13469   BUILD_EDBUS_TEST_FALSE='#'
13470 else
13471   BUILD_EDBUS_TEST_TRUE='#'
13472   BUILD_EDBUS_TEST_FALSE=
13473 fi
13474
13475
13476 if test "x$have_edbus_test" = "xyes"; then :
13477
13478 fi
13479
13480
13481
13482
13483
13484
13485 # Check whether --enable-edbus-test-client was given.
13486 if test "${enable_edbus_test_client+set}" = set; then :
13487   enableval=$enable_edbus_test_client;
13488     if test "x${enableval}" = "xyes" ; then
13489        have_edbus_test_client="yes"
13490     else
13491        have_edbus_test_client="no"
13492     fi
13493
13494 else
13495   have_edbus_test_client="yes"
13496 fi
13497
13498
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
13500 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
13502 $as_echo "$have_edbus_test_client" >&6; }
13503
13504 if test "x$have_edbus_test_client" = "xyes"; then
13505    EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
13506 fi
13507
13508
13509
13510  if test "x$have_edbus_test_client" = "xyes"; then
13511   BUILD_EDBUS_TEST_CLIENT_TRUE=
13512   BUILD_EDBUS_TEST_CLIENT_FALSE='#'
13513 else
13514   BUILD_EDBUS_TEST_CLIENT_TRUE='#'
13515   BUILD_EDBUS_TEST_CLIENT_FALSE=
13516 fi
13517
13518
13519 if test "x$have_edbus_test_client" = "xyes"; then :
13520
13521 fi
13522
13523
13524
13525
13526
13527
13528 # Check whether --enable-edbus-bluez-test was given.
13529 if test "${enable_edbus_bluez_test+set}" = set; then :
13530   enableval=$enable_edbus_bluez_test;
13531     if test "x${enableval}" = "xyes" ; then
13532        have_edbus_bluez_test="yes"
13533     else
13534        have_edbus_bluez_test="no"
13535     fi
13536
13537 else
13538   have_edbus_bluez_test=${enable_ebluez}
13539 fi
13540
13541
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
13543 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
13545 $as_echo "$have_edbus_bluez_test" >&6; }
13546
13547 if test "x$have_edbus_bluez_test" = "xyes"; then
13548    EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
13549 fi
13550
13551
13552
13553  if test "x$have_edbus_bluez_test" = "xyes"; then
13554   BUILD_EDBUS_BLUEZ_TEST_TRUE=
13555   BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
13556 else
13557   BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
13558   BUILD_EDBUS_BLUEZ_TEST_FALSE=
13559 fi
13560
13561
13562 if test "x$have_edbus_bluez_test" = "xyes"; then :
13563
13564 fi
13565
13566
13567
13568
13569
13570
13571 # Check whether --enable-edbus-connman0_7x-test was given.
13572 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
13573   enableval=$enable_edbus_connman0_7x_test;
13574     if test "x${enableval}" = "xyes" ; then
13575        have_edbus_connman0_7x_test="yes"
13576     else
13577        have_edbus_connman0_7x_test="no"
13578     fi
13579
13580 else
13581   have_edbus_connman0_7x_test=${enable_econnman0_7x}
13582 fi
13583
13584
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
13586 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
13588 $as_echo "$have_edbus_connman0_7x_test" >&6; }
13589
13590 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13591    EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
13592 fi
13593
13594
13595
13596  if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13597   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
13598   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
13599 else
13600   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
13601   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
13602 fi
13603
13604
13605 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
13606
13607 fi
13608
13609
13610
13611
13612
13613
13614 # Check whether --enable-edbus-notification-daemon-test was given.
13615 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
13616   enableval=$enable_edbus_notification_daemon_test;
13617     if test "x${enableval}" = "xyes" ; then
13618        have_edbus_notification_daemon_test="yes"
13619     else
13620        have_edbus_notification_daemon_test="no"
13621     fi
13622
13623 else
13624   have_edbus_notification_daemon_test=${enable_enotify}
13625 fi
13626
13627
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
13629 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
13631 $as_echo "$have_edbus_notification_daemon_test" >&6; }
13632
13633 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13634    EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
13635 fi
13636
13637
13638
13639  if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13640   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
13641   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
13642 else
13643   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
13644   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
13645 fi
13646
13647
13648 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
13649
13650 fi
13651
13652
13653
13654
13655
13656
13657 # Check whether --enable-edbus-notify-send was given.
13658 if test "${enable_edbus_notify_send+set}" = set; then :
13659   enableval=$enable_edbus_notify_send;
13660     if test "x${enableval}" = "xyes" ; then
13661        have_edbus_notify_send="yes"
13662     else
13663        have_edbus_notify_send="no"
13664     fi
13665
13666 else
13667   have_edbus_notify_send=${enable_enotify}
13668 fi
13669
13670
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
13672 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
13674 $as_echo "$have_edbus_notify_send" >&6; }
13675
13676 if test "x$have_edbus_notify_send" = "xyes"; then
13677    EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
13678 fi
13679
13680
13681
13682  if test "x$have_edbus_notify_send" = "xyes"; then
13683   BUILD_EDBUS_NOTIFY_SEND_TRUE=
13684   BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
13685 else
13686   BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
13687   BUILD_EDBUS_NOTIFY_SEND_FALSE=
13688 fi
13689
13690
13691 if test "x$have_edbus_notify_send" = "xyes"; then :
13692
13693 fi
13694
13695
13696
13697
13698
13699
13700 # Check whether --enable-edbus-notify-test was given.
13701 if test "${enable_edbus_notify_test+set}" = set; then :
13702   enableval=$enable_edbus_notify_test;
13703     if test "x${enableval}" = "xyes" ; then
13704        have_edbus_notify_test="yes"
13705     else
13706        have_edbus_notify_test="no"
13707     fi
13708
13709 else
13710   have_edbus_notify_test=${enable_enotify}
13711 fi
13712
13713
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
13715 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
13717 $as_echo "$have_edbus_notify_test" >&6; }
13718
13719 if test "x$have_edbus_notify_test" = "xyes"; then
13720    EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
13721 fi
13722
13723
13724
13725  if test "x$have_edbus_notify_test" = "xyes"; then
13726   BUILD_EDBUS_NOTIFY_TEST_TRUE=
13727   BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
13728 else
13729   BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
13730   BUILD_EDBUS_NOTIFY_TEST_FALSE=
13731 fi
13732
13733
13734 if test "x$have_edbus_notify_test" = "xyes"; then :
13735
13736 fi
13737
13738
13739
13740
13741
13742
13743 # Check whether --enable-edbus-ofono-test was given.
13744 if test "${enable_edbus_ofono_test+set}" = set; then :
13745   enableval=$enable_edbus_ofono_test;
13746     if test "x${enableval}" = "xyes" ; then
13747        have_edbus_ofono_test="yes"
13748     else
13749        have_edbus_ofono_test="no"
13750     fi
13751
13752 else
13753   have_edbus_ofono_test=${enable_eofono}
13754 fi
13755
13756
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
13758 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
13760 $as_echo "$have_edbus_ofono_test" >&6; }
13761
13762 if test "x$have_edbus_ofono_test" = "xyes"; then
13763    EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
13764 fi
13765
13766
13767
13768  if test "x$have_edbus_ofono_test" = "xyes"; then
13769   BUILD_EDBUS_OFONO_TEST_TRUE=
13770   BUILD_EDBUS_OFONO_TEST_FALSE='#'
13771 else
13772   BUILD_EDBUS_OFONO_TEST_TRUE='#'
13773   BUILD_EDBUS_OFONO_TEST_FALSE=
13774 fi
13775
13776
13777 if test "x$have_edbus_ofono_test" = "xyes"; then :
13778
13779 fi
13780
13781
13782
13783
13784
13785
13786 # Check whether --enable-edbus-ukit-test was given.
13787 if test "${enable_edbus_ukit_test+set}" = set; then :
13788   enableval=$enable_edbus_ukit_test;
13789     if test "x${enableval}" = "xyes" ; then
13790        have_edbus_ukit_test="yes"
13791     else
13792        have_edbus_ukit_test="no"
13793     fi
13794
13795 else
13796   have_edbus_ukit_test=${enable_eukit}
13797 fi
13798
13799
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
13801 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
13803 $as_echo "$have_edbus_ukit_test" >&6; }
13804
13805 if test "x$have_edbus_ukit_test" = "xyes"; then
13806    EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
13807 fi
13808
13809
13810
13811  if test "x$have_edbus_ukit_test" = "xyes"; then
13812   BUILD_EDBUS_UKIT_TEST_TRUE=
13813   BUILD_EDBUS_UKIT_TEST_FALSE='#'
13814 else
13815   BUILD_EDBUS_UKIT_TEST_TRUE='#'
13816   BUILD_EDBUS_UKIT_TEST_FALSE=
13817 fi
13818
13819
13820 if test "x$have_edbus_ukit_test" = "xyes"; then :
13821
13822 fi
13823
13824
13825
13826
13827
13828
13829 # Check whether --enable-edbus-performance-test was given.
13830 if test "${enable_edbus_performance_test+set}" = set; then :
13831   enableval=$enable_edbus_performance_test;
13832     if test "x${enableval}" = "xyes" ; then
13833        have_edbus_performance_test="yes"
13834     else
13835        have_edbus_performance_test="no"
13836     fi
13837
13838 else
13839   have_edbus_performance_test="no"
13840 fi
13841
13842
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
13844 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
13846 $as_echo "$have_edbus_performance_test" >&6; }
13847
13848 if test "x$have_edbus_performance_test" = "xyes"; then
13849    EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
13850 fi
13851
13852
13853
13854  if test "x$have_edbus_performance_test" = "xyes"; then
13855   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13856   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13857 else
13858   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13859   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13860 fi
13861
13862
13863 if test "x$have_edbus_performance_test" = "xyes"; then :
13864
13865 fi
13866
13867
13868
13869
13870
13871
13872 # Check whether --enable-edbus-async-test was given.
13873 if test "${enable_edbus_async_test+set}" = set; then :
13874   enableval=$enable_edbus_async_test;
13875     if test "x${enableval}" = "xyes" ; then
13876        have_edbus_async_test="yes"
13877     else
13878        have_edbus_async_test="no"
13879     fi
13880
13881 else
13882   have_edbus_async_test="yes"
13883 fi
13884
13885
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
13887 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
13889 $as_echo "$have_edbus_async_test" >&6; }
13890
13891 if test "x$have_edbus_async_test" = "xyes"; then
13892    EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
13893 fi
13894
13895
13896
13897  if test "x$have_edbus_async_test" = "xyes"; then
13898   BUILD_EDBUS_ASYNC_TEST_TRUE=
13899   BUILD_EDBUS_ASYNC_TEST_FALSE='#'
13900 else
13901   BUILD_EDBUS_ASYNC_TEST_TRUE='#'
13902   BUILD_EDBUS_ASYNC_TEST_FALSE=
13903 fi
13904
13905
13906 if test "x$have_edbus_async_test" = "xyes"; then :
13907
13908 fi
13909
13910
13911
13912 if test "x${have_edbus_test}" = "xyes" ; then
13913
13914 pkg_failed=no
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
13916 $as_echo_n "checking for EDBUS_TEST... " >&6; }
13917
13918 if test -n "$EDBUS_TEST_CFLAGS"; then
13919     pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
13920  elif test -n "$PKG_CONFIG"; then
13921     if test -n "$PKG_CONFIG" && \
13922     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
13923   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
13924   ac_status=$?
13925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13926   test $ac_status = 0; }; then
13927   pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
13928                       test "x$?" != "x0" && pkg_failed=yes
13929 else
13930   pkg_failed=yes
13931 fi
13932  else
13933     pkg_failed=untried
13934 fi
13935 if test -n "$EDBUS_TEST_LIBS"; then
13936     pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
13937  elif test -n "$PKG_CONFIG"; then
13938     if test -n "$PKG_CONFIG" && \
13939     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
13940   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
13941   ac_status=$?
13942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13943   test $ac_status = 0; }; then
13944   pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
13945                       test "x$?" != "x0" && pkg_failed=yes
13946 else
13947   pkg_failed=yes
13948 fi
13949  else
13950     pkg_failed=untried
13951 fi
13952
13953
13954
13955 if test $pkg_failed = yes; then
13956         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13957 $as_echo "no" >&6; }
13958
13959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13960         _pkg_short_errors_supported=yes
13961 else
13962         _pkg_short_errors_supported=no
13963 fi
13964         if test $_pkg_short_errors_supported = yes; then
13965                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
13966         else
13967                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
13968         fi
13969         # Put the nasty error message in config.log where it belongs
13970         echo "$EDBUS_TEST_PKG_ERRORS" >&5
13971
13972         have_edbus_test="no"
13973 elif test $pkg_failed = untried; then
13974         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13975 $as_echo "no" >&6; }
13976         have_edbus_test="no"
13977 else
13978         EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
13979         EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
13980         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13981 $as_echo "yes" >&6; }
13982         have_edbus_test="yes"
13983 fi
13984 fi
13985
13986 if test "x${have_edbus_test_client}" = "xyes" ; then
13987
13988 pkg_failed=no
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
13990 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
13991
13992 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
13993     pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
13994  elif test -n "$PKG_CONFIG"; then
13995     if test -n "$PKG_CONFIG" && \
13996     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
13997   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
13998   ac_status=$?
13999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14000   test $ac_status = 0; }; then
14001   pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14002                       test "x$?" != "x0" && pkg_failed=yes
14003 else
14004   pkg_failed=yes
14005 fi
14006  else
14007     pkg_failed=untried
14008 fi
14009 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
14010     pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
14011  elif test -n "$PKG_CONFIG"; then
14012     if test -n "$PKG_CONFIG" && \
14013     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14014   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
14015   ac_status=$?
14016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14017   test $ac_status = 0; }; then
14018   pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14019                       test "x$?" != "x0" && pkg_failed=yes
14020 else
14021   pkg_failed=yes
14022 fi
14023  else
14024     pkg_failed=untried
14025 fi
14026
14027
14028
14029 if test $pkg_failed = yes; then
14030         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14031 $as_echo "no" >&6; }
14032
14033 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14034         _pkg_short_errors_supported=yes
14035 else
14036         _pkg_short_errors_supported=no
14037 fi
14038         if test $_pkg_short_errors_supported = yes; then
14039                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14040         else
14041                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14042         fi
14043         # Put the nasty error message in config.log where it belongs
14044         echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
14045
14046         have_edbus_test_client="no"
14047 elif test $pkg_failed = untried; then
14048         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14049 $as_echo "no" >&6; }
14050         have_edbus_test_client="no"
14051 else
14052         EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
14053         EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
14054         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14055 $as_echo "yes" >&6; }
14056         have_edbus_test_client="yes"
14057 fi
14058 fi
14059
14060 if test "x${have_edbus_bluez_test}" = "xyes" ; then
14061
14062 pkg_failed=no
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
14064 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
14065
14066 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
14067     pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
14068  elif test -n "$PKG_CONFIG"; then
14069     if test -n "$PKG_CONFIG" && \
14070     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14071   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14072   ac_status=$?
14073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14074   test $ac_status = 0; }; then
14075   pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14076                       test "x$?" != "x0" && pkg_failed=yes
14077 else
14078   pkg_failed=yes
14079 fi
14080  else
14081     pkg_failed=untried
14082 fi
14083 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
14084     pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
14085  elif test -n "$PKG_CONFIG"; then
14086     if test -n "$PKG_CONFIG" && \
14087     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14088   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14089   ac_status=$?
14090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14091   test $ac_status = 0; }; then
14092   pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14093                       test "x$?" != "x0" && pkg_failed=yes
14094 else
14095   pkg_failed=yes
14096 fi
14097  else
14098     pkg_failed=untried
14099 fi
14100
14101
14102
14103 if test $pkg_failed = yes; then
14104         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14105 $as_echo "no" >&6; }
14106
14107 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14108         _pkg_short_errors_supported=yes
14109 else
14110         _pkg_short_errors_supported=no
14111 fi
14112         if test $_pkg_short_errors_supported = yes; then
14113                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14114         else
14115                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14116         fi
14117         # Put the nasty error message in config.log where it belongs
14118         echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
14119
14120         have_edbus_bluez_test="no"
14121 elif test $pkg_failed = untried; then
14122         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14123 $as_echo "no" >&6; }
14124         have_edbus_bluez_test="no"
14125 else
14126         EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
14127         EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
14128         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14129 $as_echo "yes" >&6; }
14130         have_edbus_bluez_test="yes"
14131 fi
14132 fi
14133
14134 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
14135
14136 pkg_failed=no
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
14138 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
14139
14140 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
14141     pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
14142  elif test -n "$PKG_CONFIG"; then
14143     if test -n "$PKG_CONFIG" && \
14144     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14145   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14146   ac_status=$?
14147   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14148   test $ac_status = 0; }; then
14149   pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14150                       test "x$?" != "x0" && pkg_failed=yes
14151 else
14152   pkg_failed=yes
14153 fi
14154  else
14155     pkg_failed=untried
14156 fi
14157 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
14158     pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
14159  elif test -n "$PKG_CONFIG"; then
14160     if test -n "$PKG_CONFIG" && \
14161     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14162   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14163   ac_status=$?
14164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14165   test $ac_status = 0; }; then
14166   pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14167                       test "x$?" != "x0" && pkg_failed=yes
14168 else
14169   pkg_failed=yes
14170 fi
14171  else
14172     pkg_failed=untried
14173 fi
14174
14175
14176
14177 if test $pkg_failed = yes; then
14178         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14179 $as_echo "no" >&6; }
14180
14181 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14182         _pkg_short_errors_supported=yes
14183 else
14184         _pkg_short_errors_supported=no
14185 fi
14186         if test $_pkg_short_errors_supported = yes; then
14187                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14188         else
14189                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14190         fi
14191         # Put the nasty error message in config.log where it belongs
14192         echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
14193
14194         have_edbus_connman0_7x_test="no"
14195 elif test $pkg_failed = untried; then
14196         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14197 $as_echo "no" >&6; }
14198         have_edbus_connman0_7x_test="no"
14199 else
14200         EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
14201         EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
14202         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14203 $as_echo "yes" >&6; }
14204         have_edbus_connman0_7x_test="yes"
14205 fi
14206 fi
14207
14208 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
14209
14210 pkg_failed=no
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
14212 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
14213
14214 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
14215     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
14216  elif test -n "$PKG_CONFIG"; then
14217     if test -n "$PKG_CONFIG" && \
14218     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14219   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14220   ac_status=$?
14221   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14222   test $ac_status = 0; }; then
14223   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14224                       test "x$?" != "x0" && pkg_failed=yes
14225 else
14226   pkg_failed=yes
14227 fi
14228  else
14229     pkg_failed=untried
14230 fi
14231 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
14232     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
14233  elif test -n "$PKG_CONFIG"; then
14234     if test -n "$PKG_CONFIG" && \
14235     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14236   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14237   ac_status=$?
14238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14239   test $ac_status = 0; }; then
14240   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14241                       test "x$?" != "x0" && pkg_failed=yes
14242 else
14243   pkg_failed=yes
14244 fi
14245  else
14246     pkg_failed=untried
14247 fi
14248
14249
14250
14251 if test $pkg_failed = yes; then
14252         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14253 $as_echo "no" >&6; }
14254
14255 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14256         _pkg_short_errors_supported=yes
14257 else
14258         _pkg_short_errors_supported=no
14259 fi
14260         if test $_pkg_short_errors_supported = yes; then
14261                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14262         else
14263                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14264         fi
14265         # Put the nasty error message in config.log where it belongs
14266         echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
14267
14268         have_edbus_notification_daemon_test="no"
14269 elif test $pkg_failed = untried; then
14270         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14271 $as_echo "no" >&6; }
14272         have_edbus_notification_daemon_test="no"
14273 else
14274         EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
14275         EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
14276         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14277 $as_echo "yes" >&6; }
14278         have_edbus_notification_daemon_test="yes"
14279 fi
14280 fi
14281
14282 if test "x${have_edbus_notify_send}" = "xyes" ; then
14283
14284 pkg_failed=no
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
14286 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
14287
14288 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
14289     pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
14290  elif test -n "$PKG_CONFIG"; then
14291     if test -n "$PKG_CONFIG" && \
14292     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14293   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14294   ac_status=$?
14295   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14296   test $ac_status = 0; }; then
14297   pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14298                       test "x$?" != "x0" && pkg_failed=yes
14299 else
14300   pkg_failed=yes
14301 fi
14302  else
14303     pkg_failed=untried
14304 fi
14305 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
14306     pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
14307  elif test -n "$PKG_CONFIG"; then
14308     if test -n "$PKG_CONFIG" && \
14309     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14310   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14311   ac_status=$?
14312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14313   test $ac_status = 0; }; then
14314   pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14315                       test "x$?" != "x0" && pkg_failed=yes
14316 else
14317   pkg_failed=yes
14318 fi
14319  else
14320     pkg_failed=untried
14321 fi
14322
14323
14324
14325 if test $pkg_failed = yes; then
14326         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14327 $as_echo "no" >&6; }
14328
14329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14330         _pkg_short_errors_supported=yes
14331 else
14332         _pkg_short_errors_supported=no
14333 fi
14334         if test $_pkg_short_errors_supported = yes; then
14335                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14336         else
14337                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14338         fi
14339         # Put the nasty error message in config.log where it belongs
14340         echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
14341
14342         have_edbus_notify_send="no"
14343 elif test $pkg_failed = untried; then
14344         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14345 $as_echo "no" >&6; }
14346         have_edbus_notify_send="no"
14347 else
14348         EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
14349         EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
14350         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14351 $as_echo "yes" >&6; }
14352         have_edbus_notify_send="yes"
14353 fi
14354 fi
14355
14356 if test "x${have_edbus_notify_test}" = "xyes" ; then
14357
14358 pkg_failed=no
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
14360 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
14361
14362 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
14363     pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
14364  elif test -n "$PKG_CONFIG"; then
14365     if test -n "$PKG_CONFIG" && \
14366     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14367   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14368   ac_status=$?
14369   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14370   test $ac_status = 0; }; then
14371   pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14372                       test "x$?" != "x0" && pkg_failed=yes
14373 else
14374   pkg_failed=yes
14375 fi
14376  else
14377     pkg_failed=untried
14378 fi
14379 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
14380     pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
14381  elif test -n "$PKG_CONFIG"; then
14382     if test -n "$PKG_CONFIG" && \
14383     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14384   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14385   ac_status=$?
14386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14387   test $ac_status = 0; }; then
14388   pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14389                       test "x$?" != "x0" && pkg_failed=yes
14390 else
14391   pkg_failed=yes
14392 fi
14393  else
14394     pkg_failed=untried
14395 fi
14396
14397
14398
14399 if test $pkg_failed = yes; then
14400         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14401 $as_echo "no" >&6; }
14402
14403 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14404         _pkg_short_errors_supported=yes
14405 else
14406         _pkg_short_errors_supported=no
14407 fi
14408         if test $_pkg_short_errors_supported = yes; then
14409                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14410         else
14411                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14412         fi
14413         # Put the nasty error message in config.log where it belongs
14414         echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
14415
14416         have_edbus_notify_test="no"
14417 elif test $pkg_failed = untried; then
14418         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14419 $as_echo "no" >&6; }
14420         have_edbus_notify_test="no"
14421 else
14422         EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
14423         EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
14424         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14425 $as_echo "yes" >&6; }
14426         have_edbus_notify_test="yes"
14427 fi
14428 fi
14429
14430 if test "x${have_edbus_ofono_test}" = "xyes" ; then
14431
14432 pkg_failed=no
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
14434 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
14435
14436 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
14437     pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
14438  elif test -n "$PKG_CONFIG"; then
14439     if test -n "$PKG_CONFIG" && \
14440     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14441   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14442   ac_status=$?
14443   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14444   test $ac_status = 0; }; then
14445   pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14446                       test "x$?" != "x0" && pkg_failed=yes
14447 else
14448   pkg_failed=yes
14449 fi
14450  else
14451     pkg_failed=untried
14452 fi
14453 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
14454     pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
14455  elif test -n "$PKG_CONFIG"; then
14456     if test -n "$PKG_CONFIG" && \
14457     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14458   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14459   ac_status=$?
14460   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14461   test $ac_status = 0; }; then
14462   pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14463                       test "x$?" != "x0" && pkg_failed=yes
14464 else
14465   pkg_failed=yes
14466 fi
14467  else
14468     pkg_failed=untried
14469 fi
14470
14471
14472
14473 if test $pkg_failed = yes; then
14474         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14475 $as_echo "no" >&6; }
14476
14477 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14478         _pkg_short_errors_supported=yes
14479 else
14480         _pkg_short_errors_supported=no
14481 fi
14482         if test $_pkg_short_errors_supported = yes; then
14483                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14484         else
14485                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14486         fi
14487         # Put the nasty error message in config.log where it belongs
14488         echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
14489
14490         have_edbus_ofono_test="no"
14491 elif test $pkg_failed = untried; then
14492         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14493 $as_echo "no" >&6; }
14494         have_edbus_ofono_test="no"
14495 else
14496         EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
14497         EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
14498         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14499 $as_echo "yes" >&6; }
14500         have_edbus_ofono_test="yes"
14501 fi
14502 fi
14503
14504 if test "x${have_edbus_ukit_test}" = "xyes" ; then
14505
14506 pkg_failed=no
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
14508 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
14509
14510 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
14511     pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
14512  elif test -n "$PKG_CONFIG"; then
14513     if test -n "$PKG_CONFIG" && \
14514     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14515   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14516   ac_status=$?
14517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14518   test $ac_status = 0; }; then
14519   pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14520                       test "x$?" != "x0" && pkg_failed=yes
14521 else
14522   pkg_failed=yes
14523 fi
14524  else
14525     pkg_failed=untried
14526 fi
14527 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
14528     pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
14529  elif test -n "$PKG_CONFIG"; then
14530     if test -n "$PKG_CONFIG" && \
14531     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14532   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14533   ac_status=$?
14534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14535   test $ac_status = 0; }; then
14536   pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14537                       test "x$?" != "x0" && pkg_failed=yes
14538 else
14539   pkg_failed=yes
14540 fi
14541  else
14542     pkg_failed=untried
14543 fi
14544
14545
14546
14547 if test $pkg_failed = yes; then
14548         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14549 $as_echo "no" >&6; }
14550
14551 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14552         _pkg_short_errors_supported=yes
14553 else
14554         _pkg_short_errors_supported=no
14555 fi
14556         if test $_pkg_short_errors_supported = yes; then
14557                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14558         else
14559                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14560         fi
14561         # Put the nasty error message in config.log where it belongs
14562         echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
14563
14564         have_edbus_ukit_test="no"
14565 elif test $pkg_failed = untried; then
14566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14567 $as_echo "no" >&6; }
14568         have_edbus_ukit_test="no"
14569 else
14570         EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
14571         EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
14572         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14573 $as_echo "yes" >&6; }
14574         have_edbus_ukit_test="yes"
14575 fi
14576 fi
14577
14578 if test "x${have_edbus_performance_test}" = "xyes" ; then
14579
14580 pkg_failed=no
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
14582 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
14583
14584 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
14585     pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
14586  elif test -n "$PKG_CONFIG"; then
14587     if test -n "$PKG_CONFIG" && \
14588     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9\""; } >&5
14589   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9") 2>&5
14590   ac_status=$?
14591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14592   test $ac_status = 0; }; then
14593   pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9" 2>/dev/null`
14594                       test "x$?" != "x0" && pkg_failed=yes
14595 else
14596   pkg_failed=yes
14597 fi
14598  else
14599     pkg_failed=untried
14600 fi
14601 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
14602     pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
14603  elif test -n "$PKG_CONFIG"; then
14604     if test -n "$PKG_CONFIG" && \
14605     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9\""; } >&5
14606   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9") 2>&5
14607   ac_status=$?
14608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14609   test $ac_status = 0; }; then
14610   pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9" 2>/dev/null`
14611                       test "x$?" != "x0" && pkg_failed=yes
14612 else
14613   pkg_failed=yes
14614 fi
14615  else
14616     pkg_failed=untried
14617 fi
14618
14619
14620
14621 if test $pkg_failed = yes; then
14622         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14623 $as_echo "no" >&6; }
14624
14625 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14626         _pkg_short_errors_supported=yes
14627 else
14628         _pkg_short_errors_supported=no
14629 fi
14630         if test $_pkg_short_errors_supported = yes; then
14631                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9" 2>&1`
14632         else
14633                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9" 2>&1`
14634         fi
14635         # Put the nasty error message in config.log where it belongs
14636         echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
14637
14638         have_edbus_performance_test="no"
14639 elif test $pkg_failed = untried; then
14640         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14641 $as_echo "no" >&6; }
14642         have_edbus_performance_test="no"
14643 else
14644         EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
14645         EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
14646         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14647 $as_echo "yes" >&6; }
14648         have_edbus_performance_test="yes"
14649 fi
14650 fi
14651
14652  if test "x${have_edbus_performance_test}" = "xyes"; then
14653   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
14654   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
14655 else
14656   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
14657   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
14658 fi
14659
14660
14661 if test "x${have_edbus_async_test}" = "xyes" ; then
14662
14663 pkg_failed=no
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
14665 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
14666
14667 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
14668     pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
14669  elif test -n "$PKG_CONFIG"; then
14670     if test -n "$PKG_CONFIG" && \
14671     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14672   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
14673   ac_status=$?
14674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14675   test $ac_status = 0; }; then
14676   pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14677                       test "x$?" != "x0" && pkg_failed=yes
14678 else
14679   pkg_failed=yes
14680 fi
14681  else
14682     pkg_failed=untried
14683 fi
14684 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
14685     pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
14686  elif test -n "$PKG_CONFIG"; then
14687     if test -n "$PKG_CONFIG" && \
14688     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14689   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
14690   ac_status=$?
14691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14692   test $ac_status = 0; }; then
14693   pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14694                       test "x$?" != "x0" && pkg_failed=yes
14695 else
14696   pkg_failed=yes
14697 fi
14698  else
14699     pkg_failed=untried
14700 fi
14701
14702
14703
14704 if test $pkg_failed = yes; then
14705         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14706 $as_echo "no" >&6; }
14707
14708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14709         _pkg_short_errors_supported=yes
14710 else
14711         _pkg_short_errors_supported=no
14712 fi
14713         if test $_pkg_short_errors_supported = yes; then
14714                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14715         else
14716                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14717         fi
14718         # Put the nasty error message in config.log where it belongs
14719         echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
14720
14721         have_edbus_async_test="no"
14722 elif test $pkg_failed = untried; then
14723         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14724 $as_echo "no" >&6; }
14725         have_edbus_async_test="no"
14726 else
14727         EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
14728         EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
14729         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14730 $as_echo "yes" >&6; }
14731         have_edbus_async_test="yes"
14732 fi
14733 fi
14734
14735 ### Checks for header files
14736
14737
14738 ### Checks for types
14739
14740
14741 ### Checks for structures
14742
14743
14744 ### Checks for compiler characteristics
14745
14746 EFL_EDBUS_BUILD=""
14747 case "$host_os" in
14748    mingw*)
14749       EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
14750    ;;
14751 esac
14752
14753
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14755 $as_echo_n "checking for ANSI C header files... " >&6; }
14756 if ${ac_cv_header_stdc+:} false; then :
14757   $as_echo_n "(cached) " >&6
14758 else
14759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h.  */
14761 #include <stdlib.h>
14762 #include <stdarg.h>
14763 #include <string.h>
14764 #include <float.h>
14765
14766 int
14767 main ()
14768 {
14769
14770   ;
14771   return 0;
14772 }
14773 _ACEOF
14774 if ac_fn_c_try_compile "$LINENO"; then :
14775   ac_cv_header_stdc=yes
14776 else
14777   ac_cv_header_stdc=no
14778 fi
14779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14780
14781 if test $ac_cv_header_stdc = yes; then
14782   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h.  */
14785 #include <string.h>
14786
14787 _ACEOF
14788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14789   $EGREP "memchr" >/dev/null 2>&1; then :
14790
14791 else
14792   ac_cv_header_stdc=no
14793 fi
14794 rm -f conftest*
14795
14796 fi
14797
14798 if test $ac_cv_header_stdc = yes; then
14799   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h.  */
14802 #include <stdlib.h>
14803
14804 _ACEOF
14805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14806   $EGREP "free" >/dev/null 2>&1; then :
14807
14808 else
14809   ac_cv_header_stdc=no
14810 fi
14811 rm -f conftest*
14812
14813 fi
14814
14815 if test $ac_cv_header_stdc = yes; then
14816   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14817   if test "$cross_compiling" = yes; then :
14818   :
14819 else
14820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h.  */
14822 #include <ctype.h>
14823 #include <stdlib.h>
14824 #if ((' ' & 0x0FF) == 0x020)
14825 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14826 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14827 #else
14828 # define ISLOWER(c) \
14829                    (('a' <= (c) && (c) <= 'i') \
14830                      || ('j' <= (c) && (c) <= 'r') \
14831                      || ('s' <= (c) && (c) <= 'z'))
14832 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14833 #endif
14834
14835 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14836 int
14837 main ()
14838 {
14839   int i;
14840   for (i = 0; i < 256; i++)
14841     if (XOR (islower (i), ISLOWER (i))
14842         || toupper (i) != TOUPPER (i))
14843       return 2;
14844   return 0;
14845 }
14846 _ACEOF
14847 if ac_fn_c_try_run "$LINENO"; then :
14848
14849 else
14850   ac_cv_header_stdc=no
14851 fi
14852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14853   conftest.$ac_objext conftest.beam conftest.$ac_ext
14854 fi
14855
14856 fi
14857 fi
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14859 $as_echo "$ac_cv_header_stdc" >&6; }
14860 if test $ac_cv_header_stdc = yes; then
14861
14862 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14863
14864 fi
14865
14866
14867
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14869 $as_echo_n "checking for __attribute__... " >&6; }
14870
14871 if ${ac_cv___attribute__+:} false; then :
14872   $as_echo_n "(cached) " >&6
14873 else
14874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h.  */
14876
14877 #include <stdlib.h>
14878
14879 int func(int x);
14880 int foo(int x __attribute__ ((unused)))
14881 {
14882    exit(1);
14883 }
14884
14885 int
14886 main ()
14887 {
14888
14889   ;
14890   return 0;
14891 }
14892 _ACEOF
14893 if ac_fn_c_try_compile "$LINENO"; then :
14894   ac_cv___attribute__="yes"
14895 else
14896   ac_cv___attribute__="no"
14897
14898 fi
14899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14900 fi
14901
14902
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14904 $as_echo "$ac_cv___attribute__" >&6; }
14905
14906 if test "x${ac_cv___attribute__}" = "xyes" ; then
14907
14908 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14909
14910
14911 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14912
14913   else
14914
14915 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14916
14917 fi
14918
14919
14920
14921 if ! test "x${VMIC}" = "x" ; then
14922
14923
14924 CFLAGS_save="${CFLAGS}"
14925 CFLAGS="${CFLAGS} -Wall"
14926
14927 ac_ext=c
14928 ac_cpp='$CPP $CPPFLAGS'
14929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14932
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14934 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14935
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h.  */
14938
14939 int
14940 main ()
14941 {
14942
14943   ;
14944   return 0;
14945 }
14946 _ACEOF
14947 if ac_fn_c_try_compile "$LINENO"; then :
14948   have_flag="yes"
14949 else
14950   have_flag="no"
14951 fi
14952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14954 $as_echo "${have_flag}" >&6; }
14955
14956 if test "x${have_flag}" = "xno" ; then
14957    CFLAGS="${CFLAGS_save}"
14958 fi
14959 ac_ext=c
14960 ac_cpp='$CPP $CPPFLAGS'
14961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14964
14965
14966
14967
14968
14969 CFLAGS_save="${CFLAGS}"
14970 CFLAGS="${CFLAGS} -W"
14971
14972 ac_ext=c
14973 ac_cpp='$CPP $CPPFLAGS'
14974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14977
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14979 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14980
14981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h.  */
14983
14984 int
14985 main ()
14986 {
14987
14988   ;
14989   return 0;
14990 }
14991 _ACEOF
14992 if ac_fn_c_try_compile "$LINENO"; then :
14993   have_flag="yes"
14994 else
14995   have_flag="no"
14996 fi
14997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14999 $as_echo "${have_flag}" >&6; }
15000
15001 if test "x${have_flag}" = "xno" ; then
15002    CFLAGS="${CFLAGS_save}"
15003 fi
15004 ac_ext=c
15005 ac_cpp='$CPP $CPPFLAGS'
15006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15009
15010
15011
15012 fi
15013
15014
15015
15016 CFLAGS_save="${CFLAGS}"
15017 CFLAGS="${CFLAGS} -Wshadow"
15018
15019 ac_ext=c
15020 ac_cpp='$CPP $CPPFLAGS'
15021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15024
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
15026 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
15027
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h.  */
15030
15031 int
15032 main ()
15033 {
15034
15035   ;
15036   return 0;
15037 }
15038 _ACEOF
15039 if ac_fn_c_try_compile "$LINENO"; then :
15040   have_flag="yes"
15041 else
15042   have_flag="no"
15043 fi
15044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
15046 $as_echo "${have_flag}" >&6; }
15047
15048 if test "x${have_flag}" = "xno" ; then
15049    CFLAGS="${CFLAGS_save}"
15050 fi
15051 ac_ext=c
15052 ac_cpp='$CPP $CPPFLAGS'
15053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15056
15057
15058
15059
15060
15061 ### Checks for linker characteristics
15062
15063 lt_enable_auto_import=""
15064 case "$host_os" in
15065    mingw*)
15066       lt_enable_auto_import="-Wl,--enable-auto-import"
15067    ;;
15068 esac
15069
15070
15071
15072 ### Checks for library functions
15073
15074 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15075 if test "x$ac_cv_type_size_t" = xyes; then :
15076
15077 else
15078
15079 cat >>confdefs.h <<_ACEOF
15080 #define size_t unsigned int
15081 _ACEOF
15082
15083 fi
15084
15085 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15086 # for constant arguments.  Useless!
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15088 $as_echo_n "checking for working alloca.h... " >&6; }
15089 if ${ac_cv_working_alloca_h+:} false; then :
15090   $as_echo_n "(cached) " >&6
15091 else
15092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h.  */
15094 #include <alloca.h>
15095 int
15096 main ()
15097 {
15098 char *p = (char *) alloca (2 * sizeof (int));
15099                           if (p) return 0;
15100   ;
15101   return 0;
15102 }
15103 _ACEOF
15104 if ac_fn_c_try_link "$LINENO"; then :
15105   ac_cv_working_alloca_h=yes
15106 else
15107   ac_cv_working_alloca_h=no
15108 fi
15109 rm -f core conftest.err conftest.$ac_objext \
15110     conftest$ac_exeext conftest.$ac_ext
15111 fi
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15113 $as_echo "$ac_cv_working_alloca_h" >&6; }
15114 if test $ac_cv_working_alloca_h = yes; then
15115
15116 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15117
15118 fi
15119
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15121 $as_echo_n "checking for alloca... " >&6; }
15122 if ${ac_cv_func_alloca_works+:} false; then :
15123   $as_echo_n "(cached) " >&6
15124 else
15125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h.  */
15127 #ifdef __GNUC__
15128 # define alloca __builtin_alloca
15129 #else
15130 # ifdef _MSC_VER
15131 #  include <malloc.h>
15132 #  define alloca _alloca
15133 # else
15134 #  ifdef HAVE_ALLOCA_H
15135 #   include <alloca.h>
15136 #  else
15137 #   ifdef _AIX
15138  #pragma alloca
15139 #   else
15140 #    ifndef alloca /* predefined by HP cc +Olibcalls */
15141 void *alloca (size_t);
15142 #    endif
15143 #   endif
15144 #  endif
15145 # endif
15146 #endif
15147
15148 int
15149 main ()
15150 {
15151 char *p = (char *) alloca (1);
15152                                     if (p) return 0;
15153   ;
15154   return 0;
15155 }
15156 _ACEOF
15157 if ac_fn_c_try_link "$LINENO"; then :
15158   ac_cv_func_alloca_works=yes
15159 else
15160   ac_cv_func_alloca_works=no
15161 fi
15162 rm -f core conftest.err conftest.$ac_objext \
15163     conftest$ac_exeext conftest.$ac_ext
15164 fi
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15166 $as_echo "$ac_cv_func_alloca_works" >&6; }
15167
15168 if test $ac_cv_func_alloca_works = yes; then
15169
15170 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15171
15172 else
15173   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15174 # that cause trouble.  Some versions do not even contain alloca or
15175 # contain a buggy version.  If you still want to use their alloca,
15176 # use ar to extract alloca.o from them instead of compiling alloca.c.
15177
15178 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15179
15180 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15181
15182
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15184 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15185 if ${ac_cv_os_cray+:} false; then :
15186   $as_echo_n "(cached) " >&6
15187 else
15188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h.  */
15190 #if defined CRAY && ! defined CRAY2
15191 webecray
15192 #else
15193 wenotbecray
15194 #endif
15195
15196 _ACEOF
15197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15198   $EGREP "webecray" >/dev/null 2>&1; then :
15199   ac_cv_os_cray=yes
15200 else
15201   ac_cv_os_cray=no
15202 fi
15203 rm -f conftest*
15204
15205 fi
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15207 $as_echo "$ac_cv_os_cray" >&6; }
15208 if test $ac_cv_os_cray = yes; then
15209   for ac_func in _getb67 GETB67 getb67; do
15210     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15212 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15213
15214 cat >>confdefs.h <<_ACEOF
15215 #define CRAY_STACKSEG_END $ac_func
15216 _ACEOF
15217
15218     break
15219 fi
15220
15221   done
15222 fi
15223
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15225 $as_echo_n "checking stack direction for C alloca... " >&6; }
15226 if ${ac_cv_c_stack_direction+:} false; then :
15227   $as_echo_n "(cached) " >&6
15228 else
15229   if test "$cross_compiling" = yes; then :
15230   ac_cv_c_stack_direction=0
15231 else
15232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h.  */
15234 $ac_includes_default
15235 int
15236 find_stack_direction (int *addr, int depth)
15237 {
15238   int dir, dummy = 0;
15239   if (! addr)
15240     addr = &dummy;
15241   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
15242   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
15243   return dir + dummy;
15244 }
15245
15246 int
15247 main (int argc, char **argv)
15248 {
15249   return find_stack_direction (0, argc + !argv + 20) < 0;
15250 }
15251 _ACEOF
15252 if ac_fn_c_try_run "$LINENO"; then :
15253   ac_cv_c_stack_direction=1
15254 else
15255   ac_cv_c_stack_direction=-1
15256 fi
15257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15258   conftest.$ac_objext conftest.beam conftest.$ac_ext
15259 fi
15260
15261 fi
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15263 $as_echo "$ac_cv_c_stack_direction" >&6; }
15264 cat >>confdefs.h <<_ACEOF
15265 #define STACK_DIRECTION $ac_cv_c_stack_direction
15266 _ACEOF
15267
15268
15269 fi
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281 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"
15282
15283 cat >confcache <<\_ACEOF
15284 # This file is a shell script that caches the results of configure
15285 # tests run on this system so they can be shared between configure
15286 # scripts and configure runs, see configure's option --config-cache.
15287 # It is not useful on other systems.  If it contains results you don't
15288 # want to keep, you may remove or edit it.
15289 #
15290 # config.status only pays attention to the cache file if you give it
15291 # the --recheck option to rerun configure.
15292 #
15293 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15294 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15295 # following values.
15296
15297 _ACEOF
15298
15299 # The following way of writing the cache mishandles newlines in values,
15300 # but we know of no workaround that is simple, portable, and efficient.
15301 # So, we kill variables containing newlines.
15302 # Ultrix sh set writes to stderr and can't be redirected directly,
15303 # and sets the high bit in the cache file unless we assign to the vars.
15304 (
15305   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15306     eval ac_val=\$$ac_var
15307     case $ac_val in #(
15308     *${as_nl}*)
15309       case $ac_var in #(
15310       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15311 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15312       esac
15313       case $ac_var in #(
15314       _ | IFS | as_nl) ;; #(
15315       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15316       *) { eval $ac_var=; unset $ac_var;} ;;
15317       esac ;;
15318     esac
15319   done
15320
15321   (set) 2>&1 |
15322     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15323     *${as_nl}ac_space=\ *)
15324       # `set' does not quote correctly, so add quotes: double-quote
15325       # substitution turns \\\\ into \\, and sed turns \\ into \.
15326       sed -n \
15327         "s/'/'\\\\''/g;
15328           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15329       ;; #(
15330     *)
15331       # `set' quotes correctly as required by POSIX, so do not add quotes.
15332       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15333       ;;
15334     esac |
15335     sort
15336 ) |
15337   sed '
15338      /^ac_cv_env_/b end
15339      t clear
15340      :clear
15341      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15342      t end
15343      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15344      :end' >>confcache
15345 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15346   if test -w "$cache_file"; then
15347     if test "x$cache_file" != "x/dev/null"; then
15348       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15349 $as_echo "$as_me: updating cache $cache_file" >&6;}
15350       if test ! -f "$cache_file" || test -h "$cache_file"; then
15351         cat confcache >"$cache_file"
15352       else
15353         case $cache_file in #(
15354         */* | ?:*)
15355           mv -f confcache "$cache_file"$$ &&
15356           mv -f "$cache_file"$$ "$cache_file" ;; #(
15357         *)
15358           mv -f confcache "$cache_file" ;;
15359         esac
15360       fi
15361     fi
15362   else
15363     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15364 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15365   fi
15366 fi
15367 rm -f confcache
15368
15369 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15370 # Let make expand exec_prefix.
15371 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15372
15373 DEFS=-DHAVE_CONFIG_H
15374
15375 ac_libobjs=
15376 ac_ltlibobjs=
15377 U=
15378 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15379   # 1. Remove the extension, and $U if already installed.
15380   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15381   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15382   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15383   #    will be set to the directory where LIBOBJS objects are built.
15384   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15385   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15386 done
15387 LIBOBJS=$ac_libobjs
15388
15389 LTLIBOBJS=$ac_ltlibobjs
15390
15391
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15393 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15394    if test -n "$am_sleep_pid"; then
15395      # Hide warnings about reused PIDs.
15396      wait $am_sleep_pid 2>/dev/null
15397    fi
15398    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15399 $as_echo "done" >&6; }
15400  if test -n "$EXEEXT"; then
15401   am__EXEEXT_TRUE=
15402   am__EXEEXT_FALSE='#'
15403 else
15404   am__EXEEXT_TRUE='#'
15405   am__EXEEXT_FALSE=
15406 fi
15407
15408 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15409   as_fn_error $? "conditional \"AMDEP\" was never defined.
15410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15411 fi
15412 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15413   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15415 fi
15416 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15417   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15419 fi
15420 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15421   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15423 fi
15424 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
15425   as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
15426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15427 fi
15428 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
15429   as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
15430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15431 fi
15432 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
15433   as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
15434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15435 fi
15436 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
15437   as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
15438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15439 fi
15440 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
15441   as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
15442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15443 fi
15444 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
15445   as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
15446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15447 fi
15448 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
15449   as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
15450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15451 fi
15452 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
15453   as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
15454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15455 fi
15456 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
15457   as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
15458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15459 fi
15460 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
15461   as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
15462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15463 fi
15464 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
15465   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
15466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15467 fi
15468 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
15469   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
15470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15471 fi
15472 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
15473   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
15474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15475 fi
15476 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
15477   as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
15478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15479 fi
15480 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
15481   as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
15482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15483 fi
15484 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15485   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15487 fi
15488 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
15489   as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
15490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15491 fi
15492 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15493   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15495 fi
15496
15497 : "${CONFIG_STATUS=./config.status}"
15498 ac_write_fail=0
15499 ac_clean_files_save=$ac_clean_files
15500 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15502 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15503 as_write_fail=0
15504 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15505 #! $SHELL
15506 # Generated by $as_me.
15507 # Run this file to recreate the current configuration.
15508 # Compiler output produced by configure, useful for debugging
15509 # configure, is in config.log if it exists.
15510
15511 debug=false
15512 ac_cs_recheck=false
15513 ac_cs_silent=false
15514
15515 SHELL=\${CONFIG_SHELL-$SHELL}
15516 export SHELL
15517 _ASEOF
15518 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15519 ## -------------------- ##
15520 ## M4sh Initialization. ##
15521 ## -------------------- ##
15522
15523 # Be more Bourne compatible
15524 DUALCASE=1; export DUALCASE # for MKS sh
15525 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15526   emulate sh
15527   NULLCMD=:
15528   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15529   # is contrary to our usage.  Disable this feature.
15530   alias -g '${1+"$@"}'='"$@"'
15531   setopt NO_GLOB_SUBST
15532 else
15533   case `(set -o) 2>/dev/null` in #(
15534   *posix*) :
15535     set -o posix ;; #(
15536   *) :
15537      ;;
15538 esac
15539 fi
15540
15541
15542 as_nl='
15543 '
15544 export as_nl
15545 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15546 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15547 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15548 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15549 # Prefer a ksh shell builtin over an external printf program on Solaris,
15550 # but without wasting forks for bash or zsh.
15551 if test -z "$BASH_VERSION$ZSH_VERSION" \
15552     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15553   as_echo='print -r --'
15554   as_echo_n='print -rn --'
15555 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15556   as_echo='printf %s\n'
15557   as_echo_n='printf %s'
15558 else
15559   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15560     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15561     as_echo_n='/usr/ucb/echo -n'
15562   else
15563     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15564     as_echo_n_body='eval
15565       arg=$1;
15566       case $arg in #(
15567       *"$as_nl"*)
15568         expr "X$arg" : "X\\(.*\\)$as_nl";
15569         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15570       esac;
15571       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15572     '
15573     export as_echo_n_body
15574     as_echo_n='sh -c $as_echo_n_body as_echo'
15575   fi
15576   export as_echo_body
15577   as_echo='sh -c $as_echo_body as_echo'
15578 fi
15579
15580 # The user is always right.
15581 if test "${PATH_SEPARATOR+set}" != set; then
15582   PATH_SEPARATOR=:
15583   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15584     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15585       PATH_SEPARATOR=';'
15586   }
15587 fi
15588
15589
15590 # IFS
15591 # We need space, tab and new line, in precisely that order.  Quoting is
15592 # there to prevent editors from complaining about space-tab.
15593 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15594 # splitting by setting IFS to empty value.)
15595 IFS=" ""        $as_nl"
15596
15597 # Find who we are.  Look in the path if we contain no directory separator.
15598 as_myself=
15599 case $0 in #((
15600   *[\\/]* ) as_myself=$0 ;;
15601   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15602 for as_dir in $PATH
15603 do
15604   IFS=$as_save_IFS
15605   test -z "$as_dir" && as_dir=.
15606     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15607   done
15608 IFS=$as_save_IFS
15609
15610      ;;
15611 esac
15612 # We did not find ourselves, most probably we were run as `sh COMMAND'
15613 # in which case we are not to be found in the path.
15614 if test "x$as_myself" = x; then
15615   as_myself=$0
15616 fi
15617 if test ! -f "$as_myself"; then
15618   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15619   exit 1
15620 fi
15621
15622 # Unset variables that we do not need and which cause bugs (e.g. in
15623 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15624 # suppresses any "Segmentation fault" message there.  '((' could
15625 # trigger a bug in pdksh 5.2.14.
15626 for as_var in BASH_ENV ENV MAIL MAILPATH
15627 do eval test x\${$as_var+set} = xset \
15628   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15629 done
15630 PS1='$ '
15631 PS2='> '
15632 PS4='+ '
15633
15634 # NLS nuisances.
15635 LC_ALL=C
15636 export LC_ALL
15637 LANGUAGE=C
15638 export LANGUAGE
15639
15640 # CDPATH.
15641 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15642
15643
15644 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15645 # ----------------------------------------
15646 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15647 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15648 # script with STATUS, using 1 if that was 0.
15649 as_fn_error ()
15650 {
15651   as_status=$1; test $as_status -eq 0 && as_status=1
15652   if test "$4"; then
15653     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15654     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15655   fi
15656   $as_echo "$as_me: error: $2" >&2
15657   as_fn_exit $as_status
15658 } # as_fn_error
15659
15660
15661 # as_fn_set_status STATUS
15662 # -----------------------
15663 # Set $? to STATUS, without forking.
15664 as_fn_set_status ()
15665 {
15666   return $1
15667 } # as_fn_set_status
15668
15669 # as_fn_exit STATUS
15670 # -----------------
15671 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15672 as_fn_exit ()
15673 {
15674   set +e
15675   as_fn_set_status $1
15676   exit $1
15677 } # as_fn_exit
15678
15679 # as_fn_unset VAR
15680 # ---------------
15681 # Portably unset VAR.
15682 as_fn_unset ()
15683 {
15684   { eval $1=; unset $1;}
15685 }
15686 as_unset=as_fn_unset
15687 # as_fn_append VAR VALUE
15688 # ----------------------
15689 # Append the text in VALUE to the end of the definition contained in VAR. Take
15690 # advantage of any shell optimizations that allow amortized linear growth over
15691 # repeated appends, instead of the typical quadratic growth present in naive
15692 # implementations.
15693 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15694   eval 'as_fn_append ()
15695   {
15696     eval $1+=\$2
15697   }'
15698 else
15699   as_fn_append ()
15700   {
15701     eval $1=\$$1\$2
15702   }
15703 fi # as_fn_append
15704
15705 # as_fn_arith ARG...
15706 # ------------------
15707 # Perform arithmetic evaluation on the ARGs, and store the result in the
15708 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15709 # must be portable across $(()) and expr.
15710 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15711   eval 'as_fn_arith ()
15712   {
15713     as_val=$(( $* ))
15714   }'
15715 else
15716   as_fn_arith ()
15717   {
15718     as_val=`expr "$@" || test $? -eq 1`
15719   }
15720 fi # as_fn_arith
15721
15722
15723 if expr a : '\(a\)' >/dev/null 2>&1 &&
15724    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15725   as_expr=expr
15726 else
15727   as_expr=false
15728 fi
15729
15730 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15731   as_basename=basename
15732 else
15733   as_basename=false
15734 fi
15735
15736 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15737   as_dirname=dirname
15738 else
15739   as_dirname=false
15740 fi
15741
15742 as_me=`$as_basename -- "$0" ||
15743 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15744          X"$0" : 'X\(//\)$' \| \
15745          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15746 $as_echo X/"$0" |
15747     sed '/^.*\/\([^/][^/]*\)\/*$/{
15748             s//\1/
15749             q
15750           }
15751           /^X\/\(\/\/\)$/{
15752             s//\1/
15753             q
15754           }
15755           /^X\/\(\/\).*/{
15756             s//\1/
15757             q
15758           }
15759           s/.*/./; q'`
15760
15761 # Avoid depending upon Character Ranges.
15762 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15763 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15764 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15765 as_cr_digits='0123456789'
15766 as_cr_alnum=$as_cr_Letters$as_cr_digits
15767
15768 ECHO_C= ECHO_N= ECHO_T=
15769 case `echo -n x` in #(((((
15770 -n*)
15771   case `echo 'xy\c'` in
15772   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15773   xy)  ECHO_C='\c';;
15774   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15775        ECHO_T=' ';;
15776   esac;;
15777 *)
15778   ECHO_N='-n';;
15779 esac
15780
15781 rm -f conf$$ conf$$.exe conf$$.file
15782 if test -d conf$$.dir; then
15783   rm -f conf$$.dir/conf$$.file
15784 else
15785   rm -f conf$$.dir
15786   mkdir conf$$.dir 2>/dev/null
15787 fi
15788 if (echo >conf$$.file) 2>/dev/null; then
15789   if ln -s conf$$.file conf$$ 2>/dev/null; then
15790     as_ln_s='ln -s'
15791     # ... but there are two gotchas:
15792     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15793     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15794     # In both cases, we have to default to `cp -pR'.
15795     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15796       as_ln_s='cp -pR'
15797   elif ln conf$$.file conf$$ 2>/dev/null; then
15798     as_ln_s=ln
15799   else
15800     as_ln_s='cp -pR'
15801   fi
15802 else
15803   as_ln_s='cp -pR'
15804 fi
15805 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15806 rmdir conf$$.dir 2>/dev/null
15807
15808
15809 # as_fn_mkdir_p
15810 # -------------
15811 # Create "$as_dir" as a directory, including parents if necessary.
15812 as_fn_mkdir_p ()
15813 {
15814
15815   case $as_dir in #(
15816   -*) as_dir=./$as_dir;;
15817   esac
15818   test -d "$as_dir" || eval $as_mkdir_p || {
15819     as_dirs=
15820     while :; do
15821       case $as_dir in #(
15822       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15823       *) as_qdir=$as_dir;;
15824       esac
15825       as_dirs="'$as_qdir' $as_dirs"
15826       as_dir=`$as_dirname -- "$as_dir" ||
15827 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15828          X"$as_dir" : 'X\(//\)[^/]' \| \
15829          X"$as_dir" : 'X\(//\)$' \| \
15830          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15831 $as_echo X"$as_dir" |
15832     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15833             s//\1/
15834             q
15835           }
15836           /^X\(\/\/\)[^/].*/{
15837             s//\1/
15838             q
15839           }
15840           /^X\(\/\/\)$/{
15841             s//\1/
15842             q
15843           }
15844           /^X\(\/\).*/{
15845             s//\1/
15846             q
15847           }
15848           s/.*/./; q'`
15849       test -d "$as_dir" && break
15850     done
15851     test -z "$as_dirs" || eval "mkdir $as_dirs"
15852   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15853
15854
15855 } # as_fn_mkdir_p
15856 if mkdir -p . 2>/dev/null; then
15857   as_mkdir_p='mkdir -p "$as_dir"'
15858 else
15859   test -d ./-p && rmdir ./-p
15860   as_mkdir_p=false
15861 fi
15862
15863
15864 # as_fn_executable_p FILE
15865 # -----------------------
15866 # Test if FILE is an executable regular file.
15867 as_fn_executable_p ()
15868 {
15869   test -f "$1" && test -x "$1"
15870 } # as_fn_executable_p
15871 as_test_x='test -x'
15872 as_executable_p=as_fn_executable_p
15873
15874 # Sed expression to map a string onto a valid CPP name.
15875 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15876
15877 # Sed expression to map a string onto a valid variable name.
15878 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15879
15880
15881 exec 6>&1
15882 ## ----------------------------------- ##
15883 ## Main body of $CONFIG_STATUS script. ##
15884 ## ----------------------------------- ##
15885 _ASEOF
15886 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15887
15888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15889 # Save the log message, to keep $0 and so on meaningful, and to
15890 # report actual input values of CONFIG_FILES etc. instead of their
15891 # values after options handling.
15892 ac_log="
15893 This file was extended by e_dbus $as_me 1.7.9, which was
15894 generated by GNU Autoconf 2.69.  Invocation command line was
15895
15896   CONFIG_FILES    = $CONFIG_FILES
15897   CONFIG_HEADERS  = $CONFIG_HEADERS
15898   CONFIG_LINKS    = $CONFIG_LINKS
15899   CONFIG_COMMANDS = $CONFIG_COMMANDS
15900   $ $0 $@
15901
15902 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15903 "
15904
15905 _ACEOF
15906
15907 case $ac_config_files in *"
15908 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15909 esac
15910
15911 case $ac_config_headers in *"
15912 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15913 esac
15914
15915
15916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15917 # Files that config.status was made for.
15918 config_files="$ac_config_files"
15919 config_headers="$ac_config_headers"
15920 config_commands="$ac_config_commands"
15921
15922 _ACEOF
15923
15924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15925 ac_cs_usage="\
15926 \`$as_me' instantiates files and other configuration actions
15927 from templates according to the current configuration.  Unless the files
15928 and actions are specified as TAGs, all are instantiated by default.
15929
15930 Usage: $0 [OPTION]... [TAG]...
15931
15932   -h, --help       print this help, then exit
15933   -V, --version    print version number and configuration settings, then exit
15934       --config     print configuration, then exit
15935   -q, --quiet, --silent
15936                    do not print progress messages
15937   -d, --debug      don't remove temporary files
15938       --recheck    update $as_me by reconfiguring in the same conditions
15939       --file=FILE[:TEMPLATE]
15940                    instantiate the configuration file FILE
15941       --header=FILE[:TEMPLATE]
15942                    instantiate the configuration header FILE
15943
15944 Configuration files:
15945 $config_files
15946
15947 Configuration headers:
15948 $config_headers
15949
15950 Configuration commands:
15951 $config_commands
15952
15953 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15954
15955 _ACEOF
15956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15957 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15958 ac_cs_version="\\
15959 e_dbus config.status 1.7.9
15960 configured by $0, generated by GNU Autoconf 2.69,
15961   with options \\"\$ac_cs_config\\"
15962
15963 Copyright (C) 2012 Free Software Foundation, Inc.
15964 This config.status script is free software; the Free Software Foundation
15965 gives unlimited permission to copy, distribute and modify it."
15966
15967 ac_pwd='$ac_pwd'
15968 srcdir='$srcdir'
15969 INSTALL='$INSTALL'
15970 MKDIR_P='$MKDIR_P'
15971 AWK='$AWK'
15972 test -n "\$AWK" || AWK=awk
15973 _ACEOF
15974
15975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15976 # The default lists apply if the user does not specify any file.
15977 ac_need_defaults=:
15978 while test $# != 0
15979 do
15980   case $1 in
15981   --*=?*)
15982     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15983     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15984     ac_shift=:
15985     ;;
15986   --*=)
15987     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15988     ac_optarg=
15989     ac_shift=:
15990     ;;
15991   *)
15992     ac_option=$1
15993     ac_optarg=$2
15994     ac_shift=shift
15995     ;;
15996   esac
15997
15998   case $ac_option in
15999   # Handling of the options.
16000   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16001     ac_cs_recheck=: ;;
16002   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16003     $as_echo "$ac_cs_version"; exit ;;
16004   --config | --confi | --conf | --con | --co | --c )
16005     $as_echo "$ac_cs_config"; exit ;;
16006   --debug | --debu | --deb | --de | --d | -d )
16007     debug=: ;;
16008   --file | --fil | --fi | --f )
16009     $ac_shift
16010     case $ac_optarg in
16011     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16012     '') as_fn_error $? "missing file argument" ;;
16013     esac
16014     as_fn_append CONFIG_FILES " '$ac_optarg'"
16015     ac_need_defaults=false;;
16016   --header | --heade | --head | --hea )
16017     $ac_shift
16018     case $ac_optarg in
16019     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16020     esac
16021     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16022     ac_need_defaults=false;;
16023   --he | --h)
16024     # Conflict between --help and --header
16025     as_fn_error $? "ambiguous option: \`$1'
16026 Try \`$0 --help' for more information.";;
16027   --help | --hel | -h )
16028     $as_echo "$ac_cs_usage"; exit ;;
16029   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16030   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16031     ac_cs_silent=: ;;
16032
16033   # This is an error.
16034   -*) as_fn_error $? "unrecognized option: \`$1'
16035 Try \`$0 --help' for more information." ;;
16036
16037   *) as_fn_append ac_config_targets " $1"
16038      ac_need_defaults=false ;;
16039
16040   esac
16041   shift
16042 done
16043
16044 ac_configure_extra_args=
16045
16046 if $ac_cs_silent; then
16047   exec 6>/dev/null
16048   ac_configure_extra_args="$ac_configure_extra_args --silent"
16049 fi
16050
16051 _ACEOF
16052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16053 if \$ac_cs_recheck; then
16054   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16055   shift
16056   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16057   CONFIG_SHELL='$SHELL'
16058   export CONFIG_SHELL
16059   exec "\$@"
16060 fi
16061
16062 _ACEOF
16063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16064 exec 5>>config.log
16065 {
16066   echo
16067   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16068 ## Running $as_me. ##
16069 _ASBOX
16070   $as_echo "$ac_log"
16071 } >&5
16072
16073 _ACEOF
16074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16075 #
16076 # INIT-COMMANDS
16077 #
16078 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16079
16080
16081 # The HP-UX ksh and POSIX shell print the target directory to stdout
16082 # if CDPATH is set.
16083 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16084
16085 sed_quote_subst='$sed_quote_subst'
16086 double_quote_subst='$double_quote_subst'
16087 delay_variable_subst='$delay_variable_subst'
16088 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16089 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16090 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16091 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16092 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16093 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16094 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16095 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16096 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16097 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16098 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16099 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16100 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16101 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16102 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16103 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16104 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16105 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16106 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16107 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16108 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16109 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16110 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16111 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16112 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16113 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16114 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16115 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16116 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16117 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16118 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16119 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16120 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16121 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16122 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16123 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16124 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16125 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16126 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16127 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16128 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16129 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16130 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16131 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16132 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16133 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16134 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16135 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16136 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16137 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16138 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16139 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16140 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16141 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16142 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16143 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16144 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16145 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"`'
16146 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16147 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16148 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16149 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16150 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16151 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16152 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16153 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16154 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16155 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16156 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16157 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16158 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16159 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16160 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16161 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16162 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16163 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16164 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16165 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16166 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16167 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16168 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16169 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16170 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16171 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16172 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16173 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16174 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16175 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16176 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16177 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16178 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16179 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16180 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16181 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16182 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16183 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16184 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16185 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16186 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16187 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16188 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16189 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16190 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16191 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16192 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16193 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16194 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16195 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16196 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16197 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16198 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16199 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16200 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16201 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16202 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16203 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16204 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16205 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16206 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16207 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16208 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16209 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16210 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16211 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16212 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16213 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16214 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16215 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16216 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16217 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16218 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16219
16220 LTCC='$LTCC'
16221 LTCFLAGS='$LTCFLAGS'
16222 compiler='$compiler_DEFAULT'
16223
16224 # A function that is used when there is no print builtin or printf.
16225 func_fallback_echo ()
16226 {
16227   eval 'cat <<_LTECHO_EOF
16228 \$1
16229 _LTECHO_EOF'
16230 }
16231
16232 # Quote evaled strings.
16233 for var in AS \
16234 DLLTOOL \
16235 OBJDUMP \
16236 SHELL \
16237 ECHO \
16238 PATH_SEPARATOR \
16239 SED \
16240 GREP \
16241 EGREP \
16242 FGREP \
16243 LD \
16244 NM \
16245 LN_S \
16246 lt_SP2NL \
16247 lt_NL2SP \
16248 reload_flag \
16249 deplibs_check_method \
16250 file_magic_cmd \
16251 file_magic_glob \
16252 want_nocaseglob \
16253 sharedlib_from_linklib_cmd \
16254 AR \
16255 AR_FLAGS \
16256 archiver_list_spec \
16257 STRIP \
16258 RANLIB \
16259 CC \
16260 CFLAGS \
16261 compiler \
16262 lt_cv_sys_global_symbol_pipe \
16263 lt_cv_sys_global_symbol_to_cdecl \
16264 lt_cv_sys_global_symbol_to_c_name_address \
16265 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16266 nm_file_list_spec \
16267 lt_prog_compiler_no_builtin_flag \
16268 lt_prog_compiler_pic \
16269 lt_prog_compiler_wl \
16270 lt_prog_compiler_static \
16271 lt_cv_prog_compiler_c_o \
16272 need_locks \
16273 MANIFEST_TOOL \
16274 DSYMUTIL \
16275 NMEDIT \
16276 LIPO \
16277 OTOOL \
16278 OTOOL64 \
16279 shrext_cmds \
16280 export_dynamic_flag_spec \
16281 whole_archive_flag_spec \
16282 compiler_needs_object \
16283 with_gnu_ld \
16284 allow_undefined_flag \
16285 no_undefined_flag \
16286 hardcode_libdir_flag_spec \
16287 hardcode_libdir_separator \
16288 exclude_expsyms \
16289 include_expsyms \
16290 file_list_spec \
16291 variables_saved_for_relink \
16292 libname_spec \
16293 library_names_spec \
16294 soname_spec \
16295 install_override_mode \
16296 finish_eval \
16297 old_striplib \
16298 striplib; do
16299     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16300     *[\\\\\\\`\\"\\\$]*)
16301       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16302       ;;
16303     *)
16304       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16305       ;;
16306     esac
16307 done
16308
16309 # Double-quote double-evaled strings.
16310 for var in reload_cmds \
16311 old_postinstall_cmds \
16312 old_postuninstall_cmds \
16313 old_archive_cmds \
16314 extract_expsyms_cmds \
16315 old_archive_from_new_cmds \
16316 old_archive_from_expsyms_cmds \
16317 archive_cmds \
16318 archive_expsym_cmds \
16319 module_cmds \
16320 module_expsym_cmds \
16321 export_symbols_cmds \
16322 prelink_cmds \
16323 postlink_cmds \
16324 postinstall_cmds \
16325 postuninstall_cmds \
16326 finish_cmds \
16327 sys_lib_search_path_spec \
16328 sys_lib_dlsearch_path_spec; do
16329     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16330     *[\\\\\\\`\\"\\\$]*)
16331       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16332       ;;
16333     *)
16334       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16335       ;;
16336     esac
16337 done
16338
16339 ac_aux_dir='$ac_aux_dir'
16340 xsi_shell='$xsi_shell'
16341 lt_shell_append='$lt_shell_append'
16342
16343 # See if we are running on zsh, and set the options which allow our
16344 # commands through without removal of \ escapes INIT.
16345 if test -n "\${ZSH_VERSION+set}" ; then
16346    setopt NO_GLOB_SUBST
16347 fi
16348
16349
16350     PACKAGE='$PACKAGE'
16351     VERSION='$VERSION'
16352     TIMESTAMP='$TIMESTAMP'
16353     RM='$RM'
16354     ofile='$ofile'
16355
16356
16357
16358
16359 _ACEOF
16360
16361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16362
16363 # Handling of arguments.
16364 for ac_config_target in $ac_config_targets
16365 do
16366   case $ac_config_target in
16367     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16368     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16369     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16370     "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
16371     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16372     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16373     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16374     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16375     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16376     "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
16377     "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
16378     "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
16379     "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
16380     "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
16381     "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
16382     "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
16383     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16384     "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
16385     "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
16386     "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
16387     "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
16388     "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
16389     "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
16390     "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
16391
16392   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16393   esac
16394 done
16395
16396
16397 # If the user did not use the arguments to specify the items to instantiate,
16398 # then the envvar interface is used.  Set only those that are not.
16399 # We use the long form for the default assignment because of an extremely
16400 # bizarre bug on SunOS 4.1.3.
16401 if $ac_need_defaults; then
16402   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16403   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16404   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16405 fi
16406
16407 # Have a temporary directory for convenience.  Make it in the build tree
16408 # simply because there is no reason against having it here, and in addition,
16409 # creating and moving files from /tmp can sometimes cause problems.
16410 # Hook for its removal unless debugging.
16411 # Note that there is a small window in which the directory will not be cleaned:
16412 # after its creation but before its name has been assigned to `$tmp'.
16413 $debug ||
16414 {
16415   tmp= ac_tmp=
16416   trap 'exit_status=$?
16417   : "${ac_tmp:=$tmp}"
16418   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16419 ' 0
16420   trap 'as_fn_exit 1' 1 2 13 15
16421 }
16422 # Create a (secure) tmp directory for tmp files.
16423
16424 {
16425   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16426   test -d "$tmp"
16427 }  ||
16428 {
16429   tmp=./conf$$-$RANDOM
16430   (umask 077 && mkdir "$tmp")
16431 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16432 ac_tmp=$tmp
16433
16434 # Set up the scripts for CONFIG_FILES section.
16435 # No need to generate them if there are no CONFIG_FILES.
16436 # This happens for instance with `./config.status config.h'.
16437 if test -n "$CONFIG_FILES"; then
16438
16439
16440 ac_cr=`echo X | tr X '\015'`
16441 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16442 # But we know of no other shell where ac_cr would be empty at this
16443 # point, so we can use a bashism as a fallback.
16444 if test "x$ac_cr" = x; then
16445   eval ac_cr=\$\'\\r\'
16446 fi
16447 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16448 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16449   ac_cs_awk_cr='\\r'
16450 else
16451   ac_cs_awk_cr=$ac_cr
16452 fi
16453
16454 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16455 _ACEOF
16456
16457
16458 {
16459   echo "cat >conf$$subs.awk <<_ACEOF" &&
16460   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16461   echo "_ACEOF"
16462 } >conf$$subs.sh ||
16463   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16464 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16465 ac_delim='%!_!# '
16466 for ac_last_try in false false false false false :; do
16467   . ./conf$$subs.sh ||
16468     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16469
16470   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16471   if test $ac_delim_n = $ac_delim_num; then
16472     break
16473   elif $ac_last_try; then
16474     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16475   else
16476     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16477   fi
16478 done
16479 rm -f conf$$subs.sh
16480
16481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16482 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16483 _ACEOF
16484 sed -n '
16485 h
16486 s/^/S["/; s/!.*/"]=/
16487 p
16488 g
16489 s/^[^!]*!//
16490 :repl
16491 t repl
16492 s/'"$ac_delim"'$//
16493 t delim
16494 :nl
16495 h
16496 s/\(.\{148\}\)..*/\1/
16497 t more1
16498 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16499 p
16500 n
16501 b repl
16502 :more1
16503 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16504 p
16505 g
16506 s/.\{148\}//
16507 t nl
16508 :delim
16509 h
16510 s/\(.\{148\}\)..*/\1/
16511 t more2
16512 s/["\\]/\\&/g; s/^/"/; s/$/"/
16513 p
16514 b
16515 :more2
16516 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16517 p
16518 g
16519 s/.\{148\}//
16520 t delim
16521 ' <conf$$subs.awk | sed '
16522 /^[^""]/{
16523   N
16524   s/\n//
16525 }
16526 ' >>$CONFIG_STATUS || ac_write_fail=1
16527 rm -f conf$$subs.awk
16528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16529 _ACAWK
16530 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16531   for (key in S) S_is_set[key] = 1
16532   FS = "\a"
16533
16534 }
16535 {
16536   line = $ 0
16537   nfields = split(line, field, "@")
16538   substed = 0
16539   len = length(field[1])
16540   for (i = 2; i < nfields; i++) {
16541     key = field[i]
16542     keylen = length(key)
16543     if (S_is_set[key]) {
16544       value = S[key]
16545       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16546       len += length(value) + length(field[++i])
16547       substed = 1
16548     } else
16549       len += 1 + keylen
16550   }
16551
16552   print line
16553 }
16554
16555 _ACAWK
16556 _ACEOF
16557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16558 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16559   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16560 else
16561   cat
16562 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16563   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16564 _ACEOF
16565
16566 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16567 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16568 # trailing colons and then remove the whole line if VPATH becomes empty
16569 # (actually we leave an empty line to preserve line numbers).
16570 if test "x$srcdir" = x.; then
16571   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16572 h
16573 s///
16574 s/^/:/
16575 s/[      ]*$/:/
16576 s/:\$(srcdir):/:/g
16577 s/:\${srcdir}:/:/g
16578 s/:@srcdir@:/:/g
16579 s/^:*//
16580 s/:*$//
16581 x
16582 s/\(=[   ]*\).*/\1/
16583 G
16584 s/\n//
16585 s/^[^=]*=[       ]*$//
16586 }'
16587 fi
16588
16589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16590 fi # test -n "$CONFIG_FILES"
16591
16592 # Set up the scripts for CONFIG_HEADERS section.
16593 # No need to generate them if there are no CONFIG_HEADERS.
16594 # This happens for instance with `./config.status Makefile'.
16595 if test -n "$CONFIG_HEADERS"; then
16596 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16597 BEGIN {
16598 _ACEOF
16599
16600 # Transform confdefs.h into an awk script `defines.awk', embedded as
16601 # here-document in config.status, that substitutes the proper values into
16602 # config.h.in to produce config.h.
16603
16604 # Create a delimiter string that does not exist in confdefs.h, to ease
16605 # handling of long lines.
16606 ac_delim='%!_!# '
16607 for ac_last_try in false false :; do
16608   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16609   if test -z "$ac_tt"; then
16610     break
16611   elif $ac_last_try; then
16612     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16613   else
16614     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16615   fi
16616 done
16617
16618 # For the awk script, D is an array of macro values keyed by name,
16619 # likewise P contains macro parameters if any.  Preserve backslash
16620 # newline sequences.
16621
16622 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16623 sed -n '
16624 s/.\{148\}/&'"$ac_delim"'/g
16625 t rset
16626 :rset
16627 s/^[     ]*#[    ]*define[       ][      ]*/ /
16628 t def
16629 d
16630 :def
16631 s/\\$//
16632 t bsnl
16633 s/["\\]/\\&/g
16634 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16635 D["\1"]=" \3"/p
16636 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16637 d
16638 :bsnl
16639 s/["\\]/\\&/g
16640 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16641 D["\1"]=" \3\\\\\\n"\\/p
16642 t cont
16643 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16644 t cont
16645 d
16646 :cont
16647 n
16648 s/.\{148\}/&'"$ac_delim"'/g
16649 t clear
16650 :clear
16651 s/\\$//
16652 t bsnlc
16653 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16654 d
16655 :bsnlc
16656 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16657 b cont
16658 ' <confdefs.h | sed '
16659 s/'"$ac_delim"'/"\\\
16660 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16661
16662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16663   for (key in D) D_is_set[key] = 1
16664   FS = "\a"
16665 }
16666 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16667   line = \$ 0
16668   split(line, arg, " ")
16669   if (arg[1] == "#") {
16670     defundef = arg[2]
16671     mac1 = arg[3]
16672   } else {
16673     defundef = substr(arg[1], 2)
16674     mac1 = arg[2]
16675   }
16676   split(mac1, mac2, "(") #)
16677   macro = mac2[1]
16678   prefix = substr(line, 1, index(line, defundef) - 1)
16679   if (D_is_set[macro]) {
16680     # Preserve the white space surrounding the "#".
16681     print prefix "define", macro P[macro] D[macro]
16682     next
16683   } else {
16684     # Replace #undef with comments.  This is necessary, for example,
16685     # in the case of _POSIX_SOURCE, which is predefined and required
16686     # on some systems where configure will not decide to define it.
16687     if (defundef == "undef") {
16688       print "/*", prefix defundef, macro, "*/"
16689       next
16690     }
16691   }
16692 }
16693 { print }
16694 _ACAWK
16695 _ACEOF
16696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16697   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16698 fi # test -n "$CONFIG_HEADERS"
16699
16700
16701 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16702 shift
16703 for ac_tag
16704 do
16705   case $ac_tag in
16706   :[FHLC]) ac_mode=$ac_tag; continue;;
16707   esac
16708   case $ac_mode$ac_tag in
16709   :[FHL]*:*);;
16710   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16711   :[FH]-) ac_tag=-:-;;
16712   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16713   esac
16714   ac_save_IFS=$IFS
16715   IFS=:
16716   set x $ac_tag
16717   IFS=$ac_save_IFS
16718   shift
16719   ac_file=$1
16720   shift
16721
16722   case $ac_mode in
16723   :L) ac_source=$1;;
16724   :[FH])
16725     ac_file_inputs=
16726     for ac_f
16727     do
16728       case $ac_f in
16729       -) ac_f="$ac_tmp/stdin";;
16730       *) # Look for the file first in the build tree, then in the source tree
16731          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16732          # because $ac_f cannot contain `:'.
16733          test -f "$ac_f" ||
16734            case $ac_f in
16735            [\\/$]*) false;;
16736            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16737            esac ||
16738            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16739       esac
16740       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16741       as_fn_append ac_file_inputs " '$ac_f'"
16742     done
16743
16744     # Let's still pretend it is `configure' which instantiates (i.e., don't
16745     # use $as_me), people would be surprised to read:
16746     #    /* config.h.  Generated by config.status.  */
16747     configure_input='Generated from '`
16748           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16749         `' by configure.'
16750     if test x"$ac_file" != x-; then
16751       configure_input="$ac_file.  $configure_input"
16752       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16753 $as_echo "$as_me: creating $ac_file" >&6;}
16754     fi
16755     # Neutralize special characters interpreted by sed in replacement strings.
16756     case $configure_input in #(
16757     *\&* | *\|* | *\\* )
16758        ac_sed_conf_input=`$as_echo "$configure_input" |
16759        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16760     *) ac_sed_conf_input=$configure_input;;
16761     esac
16762
16763     case $ac_tag in
16764     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16765       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16766     esac
16767     ;;
16768   esac
16769
16770   ac_dir=`$as_dirname -- "$ac_file" ||
16771 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16772          X"$ac_file" : 'X\(//\)[^/]' \| \
16773          X"$ac_file" : 'X\(//\)$' \| \
16774          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16775 $as_echo X"$ac_file" |
16776     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16777             s//\1/
16778             q
16779           }
16780           /^X\(\/\/\)[^/].*/{
16781             s//\1/
16782             q
16783           }
16784           /^X\(\/\/\)$/{
16785             s//\1/
16786             q
16787           }
16788           /^X\(\/\).*/{
16789             s//\1/
16790             q
16791           }
16792           s/.*/./; q'`
16793   as_dir="$ac_dir"; as_fn_mkdir_p
16794   ac_builddir=.
16795
16796 case "$ac_dir" in
16797 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16798 *)
16799   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16800   # A ".." for each directory in $ac_dir_suffix.
16801   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16802   case $ac_top_builddir_sub in
16803   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16804   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16805   esac ;;
16806 esac
16807 ac_abs_top_builddir=$ac_pwd
16808 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16809 # for backward compatibility:
16810 ac_top_builddir=$ac_top_build_prefix
16811
16812 case $srcdir in
16813   .)  # We are building in place.
16814     ac_srcdir=.
16815     ac_top_srcdir=$ac_top_builddir_sub
16816     ac_abs_top_srcdir=$ac_pwd ;;
16817   [\\/]* | ?:[\\/]* )  # Absolute name.
16818     ac_srcdir=$srcdir$ac_dir_suffix;
16819     ac_top_srcdir=$srcdir
16820     ac_abs_top_srcdir=$srcdir ;;
16821   *) # Relative name.
16822     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16823     ac_top_srcdir=$ac_top_build_prefix$srcdir
16824     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16825 esac
16826 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16827
16828
16829   case $ac_mode in
16830   :F)
16831   #
16832   # CONFIG_FILE
16833   #
16834
16835   case $INSTALL in
16836   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16837   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16838   esac
16839   ac_MKDIR_P=$MKDIR_P
16840   case $MKDIR_P in
16841   [\\/$]* | ?:[\\/]* ) ;;
16842   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16843   esac
16844 _ACEOF
16845
16846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16847 # If the template does not know about datarootdir, expand it.
16848 # FIXME: This hack should be removed a few years after 2.60.
16849 ac_datarootdir_hack=; ac_datarootdir_seen=
16850 ac_sed_dataroot='
16851 /datarootdir/ {
16852   p
16853   q
16854 }
16855 /@datadir@/p
16856 /@docdir@/p
16857 /@infodir@/p
16858 /@localedir@/p
16859 /@mandir@/p'
16860 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16861 *datarootdir*) ac_datarootdir_seen=yes;;
16862 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16863   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16864 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16865 _ACEOF
16866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16867   ac_datarootdir_hack='
16868   s&@datadir@&$datadir&g
16869   s&@docdir@&$docdir&g
16870   s&@infodir@&$infodir&g
16871   s&@localedir@&$localedir&g
16872   s&@mandir@&$mandir&g
16873   s&\\\${datarootdir}&$datarootdir&g' ;;
16874 esac
16875 _ACEOF
16876
16877 # Neutralize VPATH when `$srcdir' = `.'.
16878 # Shell code in configure.ac might set extrasub.
16879 # FIXME: do we really want to maintain this feature?
16880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16881 ac_sed_extra="$ac_vpsub
16882 $extrasub
16883 _ACEOF
16884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16885 :t
16886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16887 s|@configure_input@|$ac_sed_conf_input|;t t
16888 s&@top_builddir@&$ac_top_builddir_sub&;t t
16889 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16890 s&@srcdir@&$ac_srcdir&;t t
16891 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16892 s&@top_srcdir@&$ac_top_srcdir&;t t
16893 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16894 s&@builddir@&$ac_builddir&;t t
16895 s&@abs_builddir@&$ac_abs_builddir&;t t
16896 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16897 s&@INSTALL@&$ac_INSTALL&;t t
16898 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16899 $ac_datarootdir_hack
16900 "
16901 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16902   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16903
16904 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16905   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16906   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16907       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16908   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16909 which seems to be undefined.  Please make sure it is defined" >&5
16910 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16911 which seems to be undefined.  Please make sure it is defined" >&2;}
16912
16913   rm -f "$ac_tmp/stdin"
16914   case $ac_file in
16915   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16916   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16917   esac \
16918   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16919  ;;
16920   :H)
16921   #
16922   # CONFIG_HEADER
16923   #
16924   if test x"$ac_file" != x-; then
16925     {
16926       $as_echo "/* $configure_input  */" \
16927       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16928     } >"$ac_tmp/config.h" \
16929       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16930     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16931       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16932 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16933     else
16934       rm -f "$ac_file"
16935       mv "$ac_tmp/config.h" "$ac_file" \
16936         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16937     fi
16938   else
16939     $as_echo "/* $configure_input  */" \
16940       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16941       || as_fn_error $? "could not create -" "$LINENO" 5
16942   fi
16943 # Compute "$ac_file"'s index in $config_headers.
16944 _am_arg="$ac_file"
16945 _am_stamp_count=1
16946 for _am_header in $config_headers :; do
16947   case $_am_header in
16948     $_am_arg | $_am_arg:* )
16949       break ;;
16950     * )
16951       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16952   esac
16953 done
16954 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16955 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16956          X"$_am_arg" : 'X\(//\)[^/]' \| \
16957          X"$_am_arg" : 'X\(//\)$' \| \
16958          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16959 $as_echo X"$_am_arg" |
16960     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16961             s//\1/
16962             q
16963           }
16964           /^X\(\/\/\)[^/].*/{
16965             s//\1/
16966             q
16967           }
16968           /^X\(\/\/\)$/{
16969             s//\1/
16970             q
16971           }
16972           /^X\(\/\).*/{
16973             s//\1/
16974             q
16975           }
16976           s/.*/./; q'`/stamp-h$_am_stamp_count
16977  ;;
16978
16979   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16980 $as_echo "$as_me: executing $ac_file commands" >&6;}
16981  ;;
16982   esac
16983
16984
16985   case $ac_file$ac_mode in
16986     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16987   # Older Autoconf quotes --file arguments for eval, but not when files
16988   # are listed without --file.  Let's play safe and only enable the eval
16989   # if we detect the quoting.
16990   case $CONFIG_FILES in
16991   *\'*) eval set x "$CONFIG_FILES" ;;
16992   *)   set x $CONFIG_FILES ;;
16993   esac
16994   shift
16995   for mf
16996   do
16997     # Strip MF so we end up with the name of the file.
16998     mf=`echo "$mf" | sed -e 's/:.*$//'`
16999     # Check whether this is an Automake generated Makefile or not.
17000     # We used to match only the files named 'Makefile.in', but
17001     # some people rename them; so instead we look at the file content.
17002     # Grep'ing the first line is not enough: some people post-process
17003     # each Makefile.in and add a new line on top of each file to say so.
17004     # Grep'ing the whole file is not good either: AIX grep has a line
17005     # limit of 2048, but all sed's we know have understand at least 4000.
17006     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17007       dirpart=`$as_dirname -- "$mf" ||
17008 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17009          X"$mf" : 'X\(//\)[^/]' \| \
17010          X"$mf" : 'X\(//\)$' \| \
17011          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17012 $as_echo X"$mf" |
17013     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17014             s//\1/
17015             q
17016           }
17017           /^X\(\/\/\)[^/].*/{
17018             s//\1/
17019             q
17020           }
17021           /^X\(\/\/\)$/{
17022             s//\1/
17023             q
17024           }
17025           /^X\(\/\).*/{
17026             s//\1/
17027             q
17028           }
17029           s/.*/./; q'`
17030     else
17031       continue
17032     fi
17033     # Extract the definition of DEPDIR, am__include, and am__quote
17034     # from the Makefile without running 'make'.
17035     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17036     test -z "$DEPDIR" && continue
17037     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17038     test -z "$am__include" && continue
17039     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17040     # Find all dependency output files, they are included files with
17041     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17042     # simplest approach to changing $(DEPDIR) to its actual value in the
17043     # expansion.
17044     for file in `sed -n "
17045       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17046          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17047       # Make sure the directory exists.
17048       test -f "$dirpart/$file" && continue
17049       fdir=`$as_dirname -- "$file" ||
17050 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17051          X"$file" : 'X\(//\)[^/]' \| \
17052          X"$file" : 'X\(//\)$' \| \
17053          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17054 $as_echo X"$file" |
17055     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17056             s//\1/
17057             q
17058           }
17059           /^X\(\/\/\)[^/].*/{
17060             s//\1/
17061             q
17062           }
17063           /^X\(\/\/\)$/{
17064             s//\1/
17065             q
17066           }
17067           /^X\(\/\).*/{
17068             s//\1/
17069             q
17070           }
17071           s/.*/./; q'`
17072       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17073       # echo "creating $dirpart/$file"
17074       echo '# dummy' > "$dirpart/$file"
17075     done
17076   done
17077 }
17078  ;;
17079     "libtool":C)
17080
17081     # See if we are running on zsh, and set the options which allow our
17082     # commands through without removal of \ escapes.
17083     if test -n "${ZSH_VERSION+set}" ; then
17084       setopt NO_GLOB_SUBST
17085     fi
17086
17087     cfgfile="${ofile}T"
17088     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17089     $RM "$cfgfile"
17090
17091     cat <<_LT_EOF >> "$cfgfile"
17092 #! $SHELL
17093
17094 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17095 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17096 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17097 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17098 #
17099 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17100 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17101 #                 Foundation, Inc.
17102 #   Written by Gordon Matzigkeit, 1996
17103 #
17104 #   This file is part of GNU Libtool.
17105 #
17106 # GNU Libtool is free software; you can redistribute it and/or
17107 # modify it under the terms of the GNU General Public License as
17108 # published by the Free Software Foundation; either version 2 of
17109 # the License, or (at your option) any later version.
17110 #
17111 # As a special exception to the GNU General Public License,
17112 # if you distribute this file as part of a program or library that
17113 # is built using GNU Libtool, you may include this file under the
17114 # same distribution terms that you use for the rest of that program.
17115 #
17116 # GNU Libtool is distributed in the hope that it will be useful,
17117 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17118 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17119 # GNU General Public License for more details.
17120 #
17121 # You should have received a copy of the GNU General Public License
17122 # along with GNU Libtool; see the file COPYING.  If not, a copy
17123 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17124 # obtained by writing to the Free Software Foundation, Inc.,
17125 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17126
17127
17128 # The names of the tagged configurations supported by this script.
17129 available_tags=""
17130
17131 # ### BEGIN LIBTOOL CONFIG
17132
17133 # Assembler program.
17134 AS=$lt_AS
17135
17136 # DLL creation program.
17137 DLLTOOL=$lt_DLLTOOL
17138
17139 # Object dumper program.
17140 OBJDUMP=$lt_OBJDUMP
17141
17142 # Which release of libtool.m4 was used?
17143 macro_version=$macro_version
17144 macro_revision=$macro_revision
17145
17146 # Whether or not to build shared libraries.
17147 build_libtool_libs=$enable_shared
17148
17149 # Whether or not to build static libraries.
17150 build_old_libs=$enable_static
17151
17152 # What type of objects to build.
17153 pic_mode=$pic_mode
17154
17155 # Whether or not to optimize for fast installation.
17156 fast_install=$enable_fast_install
17157
17158 # Shell to use when invoking shell scripts.
17159 SHELL=$lt_SHELL
17160
17161 # An echo program that protects backslashes.
17162 ECHO=$lt_ECHO
17163
17164 # The PATH separator for the build system.
17165 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17166
17167 # The host system.
17168 host_alias=$host_alias
17169 host=$host
17170 host_os=$host_os
17171
17172 # The build system.
17173 build_alias=$build_alias
17174 build=$build
17175 build_os=$build_os
17176
17177 # A sed program that does not truncate output.
17178 SED=$lt_SED
17179
17180 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17181 Xsed="\$SED -e 1s/^X//"
17182
17183 # A grep program that handles long lines.
17184 GREP=$lt_GREP
17185
17186 # An ERE matcher.
17187 EGREP=$lt_EGREP
17188
17189 # A literal string matcher.
17190 FGREP=$lt_FGREP
17191
17192 # A BSD- or MS-compatible name lister.
17193 NM=$lt_NM
17194
17195 # Whether we need soft or hard links.
17196 LN_S=$lt_LN_S
17197
17198 # What is the maximum length of a command?
17199 max_cmd_len=$max_cmd_len
17200
17201 # Object file suffix (normally "o").
17202 objext=$ac_objext
17203
17204 # Executable file suffix (normally "").
17205 exeext=$exeext
17206
17207 # whether the shell understands "unset".
17208 lt_unset=$lt_unset
17209
17210 # turn spaces into newlines.
17211 SP2NL=$lt_lt_SP2NL
17212
17213 # turn newlines into spaces.
17214 NL2SP=$lt_lt_NL2SP
17215
17216 # convert \$build file names to \$host format.
17217 to_host_file_cmd=$lt_cv_to_host_file_cmd
17218
17219 # convert \$build files to toolchain format.
17220 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17221
17222 # Method to check whether dependent libraries are shared objects.
17223 deplibs_check_method=$lt_deplibs_check_method
17224
17225 # Command to use when deplibs_check_method = "file_magic".
17226 file_magic_cmd=$lt_file_magic_cmd
17227
17228 # How to find potential files when deplibs_check_method = "file_magic".
17229 file_magic_glob=$lt_file_magic_glob
17230
17231 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17232 want_nocaseglob=$lt_want_nocaseglob
17233
17234 # Command to associate shared and link libraries.
17235 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17236
17237 # The archiver.
17238 AR=$lt_AR
17239
17240 # Flags to create an archive.
17241 AR_FLAGS=$lt_AR_FLAGS
17242
17243 # How to feed a file listing to the archiver.
17244 archiver_list_spec=$lt_archiver_list_spec
17245
17246 # A symbol stripping program.
17247 STRIP=$lt_STRIP
17248
17249 # Commands used to install an old-style archive.
17250 RANLIB=$lt_RANLIB
17251 old_postinstall_cmds=$lt_old_postinstall_cmds
17252 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17253
17254 # Whether to use a lock for old archive extraction.
17255 lock_old_archive_extraction=$lock_old_archive_extraction
17256
17257 # A C compiler.
17258 LTCC=$lt_CC
17259
17260 # LTCC compiler flags.
17261 LTCFLAGS=$lt_CFLAGS
17262
17263 # Take the output of nm and produce a listing of raw symbols and C names.
17264 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17265
17266 # Transform the output of nm in a proper C declaration.
17267 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17268
17269 # Transform the output of nm in a C name address pair.
17270 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17271
17272 # Transform the output of nm in a C name address pair when lib prefix is needed.
17273 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17274
17275 # Specify filename containing input files for \$NM.
17276 nm_file_list_spec=$lt_nm_file_list_spec
17277
17278 # The root where to search for dependent libraries,and in which our libraries should be installed.
17279 lt_sysroot=$lt_sysroot
17280
17281 # The name of the directory that contains temporary libtool files.
17282 objdir=$objdir
17283
17284 # Used to examine libraries when file_magic_cmd begins with "file".
17285 MAGIC_CMD=$MAGIC_CMD
17286
17287 # Must we lock files when doing compilation?
17288 need_locks=$lt_need_locks
17289
17290 # Manifest tool.
17291 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17292
17293 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17294 DSYMUTIL=$lt_DSYMUTIL
17295
17296 # Tool to change global to local symbols on Mac OS X.
17297 NMEDIT=$lt_NMEDIT
17298
17299 # Tool to manipulate fat objects and archives on Mac OS X.
17300 LIPO=$lt_LIPO
17301
17302 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17303 OTOOL=$lt_OTOOL
17304
17305 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17306 OTOOL64=$lt_OTOOL64
17307
17308 # Old archive suffix (normally "a").
17309 libext=$libext
17310
17311 # Shared library suffix (normally ".so").
17312 shrext_cmds=$lt_shrext_cmds
17313
17314 # The commands to extract the exported symbol list from a shared archive.
17315 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17316
17317 # Variables whose values should be saved in libtool wrapper scripts and
17318 # restored at link time.
17319 variables_saved_for_relink=$lt_variables_saved_for_relink
17320
17321 # Do we need the "lib" prefix for modules?
17322 need_lib_prefix=$need_lib_prefix
17323
17324 # Do we need a version for libraries?
17325 need_version=$need_version
17326
17327 # Library versioning type.
17328 version_type=$version_type
17329
17330 # Shared library runtime path variable.
17331 runpath_var=$runpath_var
17332
17333 # Shared library path variable.
17334 shlibpath_var=$shlibpath_var
17335
17336 # Is shlibpath searched before the hard-coded library search path?
17337 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17338
17339 # Format of library name prefix.
17340 libname_spec=$lt_libname_spec
17341
17342 # List of archive names.  First name is the real one, the rest are links.
17343 # The last name is the one that the linker finds with -lNAME
17344 library_names_spec=$lt_library_names_spec
17345
17346 # The coded name of the library, if different from the real name.
17347 soname_spec=$lt_soname_spec
17348
17349 # Permission mode override for installation of shared libraries.
17350 install_override_mode=$lt_install_override_mode
17351
17352 # Command to use after installation of a shared archive.
17353 postinstall_cmds=$lt_postinstall_cmds
17354
17355 # Command to use after uninstallation of a shared archive.
17356 postuninstall_cmds=$lt_postuninstall_cmds
17357
17358 # Commands used to finish a libtool library installation in a directory.
17359 finish_cmds=$lt_finish_cmds
17360
17361 # As "finish_cmds", except a single script fragment to be evaled but
17362 # not shown.
17363 finish_eval=$lt_finish_eval
17364
17365 # Whether we should hardcode library paths into libraries.
17366 hardcode_into_libs=$hardcode_into_libs
17367
17368 # Compile-time system search path for libraries.
17369 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17370
17371 # Run-time system search path for libraries.
17372 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17373
17374 # Whether dlopen is supported.
17375 dlopen_support=$enable_dlopen
17376
17377 # Whether dlopen of programs is supported.
17378 dlopen_self=$enable_dlopen_self
17379
17380 # Whether dlopen of statically linked programs is supported.
17381 dlopen_self_static=$enable_dlopen_self_static
17382
17383 # Commands to strip libraries.
17384 old_striplib=$lt_old_striplib
17385 striplib=$lt_striplib
17386
17387
17388 # The linker used to build libraries.
17389 LD=$lt_LD
17390
17391 # How to create reloadable object files.
17392 reload_flag=$lt_reload_flag
17393 reload_cmds=$lt_reload_cmds
17394
17395 # Commands used to build an old-style archive.
17396 old_archive_cmds=$lt_old_archive_cmds
17397
17398 # A language specific compiler.
17399 CC=$lt_compiler
17400
17401 # Is the compiler the GNU compiler?
17402 with_gcc=$GCC
17403
17404 # Compiler flag to turn off builtin functions.
17405 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17406
17407 # Additional compiler flags for building library objects.
17408 pic_flag=$lt_lt_prog_compiler_pic
17409
17410 # How to pass a linker flag through the compiler.
17411 wl=$lt_lt_prog_compiler_wl
17412
17413 # Compiler flag to prevent dynamic linking.
17414 link_static_flag=$lt_lt_prog_compiler_static
17415
17416 # Does compiler simultaneously support -c and -o options?
17417 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17418
17419 # Whether or not to add -lc for building shared libraries.
17420 build_libtool_need_lc=$archive_cmds_need_lc
17421
17422 # Whether or not to disallow shared libs when runtime libs are static.
17423 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17424
17425 # Compiler flag to allow reflexive dlopens.
17426 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17427
17428 # Compiler flag to generate shared objects directly from archives.
17429 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17430
17431 # Whether the compiler copes with passing no objects directly.
17432 compiler_needs_object=$lt_compiler_needs_object
17433
17434 # Create an old-style archive from a shared archive.
17435 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17436
17437 # Create a temporary old-style archive to link instead of a shared archive.
17438 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17439
17440 # Commands used to build a shared archive.
17441 archive_cmds=$lt_archive_cmds
17442 archive_expsym_cmds=$lt_archive_expsym_cmds
17443
17444 # Commands used to build a loadable module if different from building
17445 # a shared archive.
17446 module_cmds=$lt_module_cmds
17447 module_expsym_cmds=$lt_module_expsym_cmds
17448
17449 # Whether we are building with GNU ld or not.
17450 with_gnu_ld=$lt_with_gnu_ld
17451
17452 # Flag that allows shared libraries with undefined symbols to be built.
17453 allow_undefined_flag=$lt_allow_undefined_flag
17454
17455 # Flag that enforces no undefined symbols.
17456 no_undefined_flag=$lt_no_undefined_flag
17457
17458 # Flag to hardcode \$libdir into a binary during linking.
17459 # This must work even if \$libdir does not exist
17460 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17461
17462 # Whether we need a single "-rpath" flag with a separated argument.
17463 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17464
17465 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17466 # DIR into the resulting binary.
17467 hardcode_direct=$hardcode_direct
17468
17469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17470 # DIR into the resulting binary and the resulting library dependency is
17471 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17472 # library is relocated.
17473 hardcode_direct_absolute=$hardcode_direct_absolute
17474
17475 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17476 # into the resulting binary.
17477 hardcode_minus_L=$hardcode_minus_L
17478
17479 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17480 # into the resulting binary.
17481 hardcode_shlibpath_var=$hardcode_shlibpath_var
17482
17483 # Set to "yes" if building a shared library automatically hardcodes DIR
17484 # into the library and all subsequent libraries and executables linked
17485 # against it.
17486 hardcode_automatic=$hardcode_automatic
17487
17488 # Set to yes if linker adds runtime paths of dependent libraries
17489 # to runtime path list.
17490 inherit_rpath=$inherit_rpath
17491
17492 # Whether libtool must link a program against all its dependency libraries.
17493 link_all_deplibs=$link_all_deplibs
17494
17495 # Set to "yes" if exported symbols are required.
17496 always_export_symbols=$always_export_symbols
17497
17498 # The commands to list exported symbols.
17499 export_symbols_cmds=$lt_export_symbols_cmds
17500
17501 # Symbols that should not be listed in the preloaded symbols.
17502 exclude_expsyms=$lt_exclude_expsyms
17503
17504 # Symbols that must always be exported.
17505 include_expsyms=$lt_include_expsyms
17506
17507 # Commands necessary for linking programs (against libraries) with templates.
17508 prelink_cmds=$lt_prelink_cmds
17509
17510 # Commands necessary for finishing linking programs.
17511 postlink_cmds=$lt_postlink_cmds
17512
17513 # Specify filename containing input files.
17514 file_list_spec=$lt_file_list_spec
17515
17516 # How to hardcode a shared library path into an executable.
17517 hardcode_action=$hardcode_action
17518
17519 # ### END LIBTOOL CONFIG
17520
17521 _LT_EOF
17522
17523   case $host_os in
17524   aix3*)
17525     cat <<\_LT_EOF >> "$cfgfile"
17526 # AIX sometimes has problems with the GCC collect2 program.  For some
17527 # reason, if we set the COLLECT_NAMES environment variable, the problems
17528 # vanish in a puff of smoke.
17529 if test "X${COLLECT_NAMES+set}" != Xset; then
17530   COLLECT_NAMES=
17531   export COLLECT_NAMES
17532 fi
17533 _LT_EOF
17534     ;;
17535   esac
17536
17537
17538 ltmain="$ac_aux_dir/ltmain.sh"
17539
17540
17541   # We use sed instead of cat because bash on DJGPP gets confused if
17542   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17543   # text mode, it properly converts lines to CR/LF.  This bash problem
17544   # is reportedly fixed, but why not run on old versions too?
17545   sed '$q' "$ltmain" >> "$cfgfile" \
17546      || (rm -f "$cfgfile"; exit 1)
17547
17548   if test x"$xsi_shell" = xyes; then
17549   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17550 func_dirname ()\
17551 {\
17552 \    case ${1} in\
17553 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17554 \      *  ) func_dirname_result="${3}" ;;\
17555 \    esac\
17556 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17557   && mv -f "$cfgfile.tmp" "$cfgfile" \
17558     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17559 test 0 -eq $? || _lt_function_replace_fail=:
17560
17561
17562   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17563 func_basename ()\
17564 {\
17565 \    func_basename_result="${1##*/}"\
17566 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17567   && mv -f "$cfgfile.tmp" "$cfgfile" \
17568     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17569 test 0 -eq $? || _lt_function_replace_fail=:
17570
17571
17572   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17573 func_dirname_and_basename ()\
17574 {\
17575 \    case ${1} in\
17576 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17577 \      *  ) func_dirname_result="${3}" ;;\
17578 \    esac\
17579 \    func_basename_result="${1##*/}"\
17580 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17581   && mv -f "$cfgfile.tmp" "$cfgfile" \
17582     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17583 test 0 -eq $? || _lt_function_replace_fail=:
17584
17585
17586   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17587 func_stripname ()\
17588 {\
17589 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17590 \    # positional parameters, so assign one to ordinary parameter first.\
17591 \    func_stripname_result=${3}\
17592 \    func_stripname_result=${func_stripname_result#"${1}"}\
17593 \    func_stripname_result=${func_stripname_result%"${2}"}\
17594 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17595   && mv -f "$cfgfile.tmp" "$cfgfile" \
17596     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17597 test 0 -eq $? || _lt_function_replace_fail=:
17598
17599
17600   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17601 func_split_long_opt ()\
17602 {\
17603 \    func_split_long_opt_name=${1%%=*}\
17604 \    func_split_long_opt_arg=${1#*=}\
17605 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17606   && mv -f "$cfgfile.tmp" "$cfgfile" \
17607     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17608 test 0 -eq $? || _lt_function_replace_fail=:
17609
17610
17611   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17612 func_split_short_opt ()\
17613 {\
17614 \    func_split_short_opt_arg=${1#??}\
17615 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17616 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17617   && mv -f "$cfgfile.tmp" "$cfgfile" \
17618     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17619 test 0 -eq $? || _lt_function_replace_fail=:
17620
17621
17622   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17623 func_lo2o ()\
17624 {\
17625 \    case ${1} in\
17626 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17627 \      *)    func_lo2o_result=${1} ;;\
17628 \    esac\
17629 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17630   && mv -f "$cfgfile.tmp" "$cfgfile" \
17631     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17632 test 0 -eq $? || _lt_function_replace_fail=:
17633
17634
17635   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17636 func_xform ()\
17637 {\
17638     func_xform_result=${1%.*}.lo\
17639 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17640   && mv -f "$cfgfile.tmp" "$cfgfile" \
17641     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17642 test 0 -eq $? || _lt_function_replace_fail=:
17643
17644
17645   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17646 func_arith ()\
17647 {\
17648     func_arith_result=$(( $* ))\
17649 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17650   && mv -f "$cfgfile.tmp" "$cfgfile" \
17651     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17652 test 0 -eq $? || _lt_function_replace_fail=:
17653
17654
17655   sed -e '/^func_len ()$/,/^} # func_len /c\
17656 func_len ()\
17657 {\
17658     func_len_result=${#1}\
17659 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17660   && mv -f "$cfgfile.tmp" "$cfgfile" \
17661     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17662 test 0 -eq $? || _lt_function_replace_fail=:
17663
17664 fi
17665
17666 if test x"$lt_shell_append" = xyes; then
17667   sed -e '/^func_append ()$/,/^} # func_append /c\
17668 func_append ()\
17669 {\
17670     eval "${1}+=\\${2}"\
17671 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17672   && mv -f "$cfgfile.tmp" "$cfgfile" \
17673     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17674 test 0 -eq $? || _lt_function_replace_fail=:
17675
17676
17677   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17678 func_append_quoted ()\
17679 {\
17680 \    func_quote_for_eval "${2}"\
17681 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17682 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17683   && mv -f "$cfgfile.tmp" "$cfgfile" \
17684     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17685 test 0 -eq $? || _lt_function_replace_fail=:
17686
17687
17688   # Save a `func_append' function call where possible by direct use of '+='
17689   sed -e 's%func_append \([a-zA-Z_]\{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 else
17694   # Save a `func_append' function call even when '+=' is not available
17695   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17696     && mv -f "$cfgfile.tmp" "$cfgfile" \
17697       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17698   test 0 -eq $? || _lt_function_replace_fail=:
17699 fi
17700
17701 if test x"$_lt_function_replace_fail" = x":"; then
17702   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17703 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17704 fi
17705
17706
17707    mv -f "$cfgfile" "$ofile" ||
17708     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17709   chmod +x "$ofile"
17710
17711  ;;
17712
17713   esac
17714 done # for ac_tag
17715
17716
17717 as_fn_exit 0
17718 _ACEOF
17719 ac_clean_files=$ac_clean_files_save
17720
17721 test $ac_write_fail = 0 ||
17722   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17723
17724
17725 # configure is writing to config.log, and then calls config.status.
17726 # config.status does its own redirection, appending to config.log.
17727 # Unfortunately, on DOS this fails, as config.log is still kept open
17728 # by configure, so config.status won't be able to write to it; its
17729 # output is simply discarded.  So we exec the FD to /dev/null,
17730 # effectively closing config.log, so it can be properly (re)opened and
17731 # appended to by config.status.  When coming back to configure, we
17732 # need to make the FD available again.
17733 if test "$no_create" != yes; then
17734   ac_cs_success=:
17735   ac_config_status_args=
17736   test "$silent" = yes &&
17737     ac_config_status_args="$ac_config_status_args --quiet"
17738   exec 5>/dev/null
17739   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17740   exec 5>>config.log
17741   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17742   # would make configure fail if this is the last instruction.
17743   $ac_cs_success || as_fn_exit 1
17744 fi
17745 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17746   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17747 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17748 fi
17749
17750
17751
17752 #####################################################################
17753 ## Info
17754
17755 echo
17756 echo
17757 echo
17758 echo "------------------------------------------------------------------------"
17759 echo "$PACKAGE $VERSION"
17760 echo "------------------------------------------------------------------------"
17761 echo
17762 echo "Configuration Options Summary:"
17763 echo
17764 echo "  Modules:"
17765 echo
17766 echo "    EBluez.............: $enable_ebluez"
17767 echo "    EConnman (0.7x)....: $enable_econnman0_7x"
17768 echo "    EHal...............: $enable_ehal"
17769 echo "    ENotify............: $enable_enotify"
17770 echo "    EOfono.............: $enable_eofono"
17771 echo "    EUkit..............: $enable_eukit"
17772 echo
17773 echo "  Binaries:"
17774 echo
17775 echo "    EDbus test.........: $have_edbus_test"
17776 echo "    EDbus client test..: $have_edbus_test_client"
17777 echo "    EDbus async test...: $have_edbus_async_test"
17778 echo "    EDbus performance..: $have_edbus_performance_test"
17779 echo "    EBluez test........: $have_edbus_bluez_test"
17780 echo "    EConnman (0.7x)test: $have_edbus_connman0_7x_test"
17781 echo "    ENotify Daemon test: $have_edbus_notification_daemon_test"
17782 echo "    ENotify send.......: $have_edbus_notify_send"
17783 echo "    ENotify test.......: $have_edbus_notify_test"
17784 echo "    EOfono test........: $have_edbus_ofono_test"
17785 echo "    EUkit test.........: $have_edbus_ukit_test"
17786 echo
17787 echo "Documentation..........: ${build_doc}"
17788 if test "x${build_doc}" = "xyes" ; then
17789 echo "    Installation.......: make install-doc"
17790 fi
17791 echo
17792 echo "Compilation............: make (or gmake)"
17793 echo "  CPPFLAGS.............: $CPPFLAGS"
17794 echo "  CFLAGS...............: $CFLAGS"
17795 echo "  LDFLAGS..............: $LDFLAGS"
17796 echo
17797 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17798 echo "  prefix...............: $prefix"
17799 echo