Imported Upstream version 1.7.1
[platform/upstream/edbus.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for e_dbus 1.7.1.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177   if (eval "$as_required") 2>/dev/null; then :
178   as_have_required=yes
179 else
180   as_have_required=no
181 fi
182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189   IFS=$as_save_IFS
190   test -z "$as_dir" && as_dir=.
191   as_found=:
192   case $as_dir in #(
193          /*)
194            for as_base in sh bash ksh sh5; do
195              # Try only shells that exist, to save several forks.
196              as_shell=$as_dir/$as_base
197              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   CONFIG_SHELL=$as_shell as_have_required=yes
200                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   break 2
202 fi
203 fi
204            done;;
205        esac
206   as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210   CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215       if test "x$CONFIG_SHELL" != x; then :
216   # We cannot yet assume a decent shell, so we have to provide a
217         # neutralization value for shells without unset; and this also
218         # works around shells that cannot unset nonexistent variables.
219         BASH_ENV=/dev/null
220         ENV=/dev/null
221         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222         export CONFIG_SHELL
223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226     if test x$as_have_required = xno; then :
227   $as_echo "$0: This script requires a shell more modern than all"
228   $as_echo "$0: the shells that I found on your system."
229   if test x${ZSH_VERSION+set} = xset ; then
230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232   else
233     $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: enlightenment-devel@lists.sourceforge.net about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
238   fi
239   exit 1
240 fi
241 fi
242 fi
243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
248
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
252 # as_fn_unset VAR
253 # ---------------
254 # Portably unset VAR.
255 as_fn_unset ()
256 {
257   { eval $1=; unset $1;}
258 }
259 as_unset=as_fn_unset
260
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
264 as_fn_set_status ()
265 {
266   return $1
267 } # as_fn_set_status
268
269 # as_fn_exit STATUS
270 # -----------------
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272 as_fn_exit ()
273 {
274   set +e
275   as_fn_set_status $1
276   exit $1
277 } # as_fn_exit
278
279 # as_fn_mkdir_p
280 # -------------
281 # Create "$as_dir" as a directory, including parents if necessary.
282 as_fn_mkdir_p ()
283 {
284
285   case $as_dir in #(
286   -*) as_dir=./$as_dir;;
287   esac
288   test -d "$as_dir" || eval $as_mkdir_p || {
289     as_dirs=
290     while :; do
291       case $as_dir in #(
292       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293       *) as_qdir=$as_dir;;
294       esac
295       as_dirs="'$as_qdir' $as_dirs"
296       as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298          X"$as_dir" : 'X\(//\)[^/]' \| \
299          X"$as_dir" : 'X\(//\)$' \| \
300          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303             s//\1/
304             q
305           }
306           /^X\(\/\/\)[^/].*/{
307             s//\1/
308             q
309           }
310           /^X\(\/\/\)$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\).*/{
315             s//\1/
316             q
317           }
318           s/.*/./; q'`
319       test -d "$as_dir" && break
320     done
321     test -z "$as_dirs" || eval "mkdir $as_dirs"
322   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
324
325 } # as_fn_mkdir_p
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
331 # implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333   eval 'as_fn_append ()
334   {
335     eval $1+=\$2
336   }'
337 else
338   as_fn_append ()
339   {
340     eval $1=\$$1\$2
341   }
342 fi # as_fn_append
343
344 # as_fn_arith ARG...
345 # ------------------
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350   eval 'as_fn_arith ()
351   {
352     as_val=$(( $* ))
353   }'
354 else
355   as_fn_arith ()
356   {
357     as_val=`expr "$@" || test $? -eq 1`
358   }
359 fi # as_fn_arith
360
361
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
367 as_fn_error ()
368 {
369   as_status=$1; test $as_status -eq 0 && as_status=1
370   if test "$4"; then
371     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373   fi
374   $as_echo "$as_me: error: $2" >&2
375   as_fn_exit $as_status
376 } # as_fn_error
377
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379    test "X`expr 00001 : '.*\(...\)'`" = X001; then
380   as_expr=expr
381 else
382   as_expr=false
383 fi
384
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386   as_basename=basename
387 else
388   as_basename=false
389 fi
390
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392   as_dirname=dirname
393 else
394   as_dirname=false
395 fi
396
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399          X"$0" : 'X\(//\)$' \| \
400          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 $as_echo X/"$0" |
402     sed '/^.*\/\([^/][^/]*\)\/*$/{
403             s//\1/
404             q
405           }
406           /^X\/\(\/\/\)$/{
407             s//\1/
408             q
409           }
410           /^X\/\(\/\).*/{
411             s//\1/
412             q
413           }
414           s/.*/./; q'`
415
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424   as_lineno_1=$LINENO as_lineno_1a=$LINENO
425   as_lineno_2=$LINENO as_lineno_2a=$LINENO
426   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429   sed -n '
430     p
431     /[$]LINENO/=
432   ' <$as_myself |
433     sed '
434       s/[$]LINENO.*/&-/
435       t lineno
436       b
437       :lineno
438       N
439       :loop
440       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441       t loop
442       s/-\n.*//
443     ' >$as_me.lineno &&
444   chmod +x "$as_me.lineno" ||
445     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447   # Don't try to exec as it changes $[0], causing all sort of problems
448   # (the dirname of $[0] is not the place where we might find the
449   # original and so on.  Autoconf is especially sensitive to this).
450   . "./$as_me.lineno"
451   # Exit status is that of the last command.
452   exit
453 }
454
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
457 -n*)
458   case `echo 'xy\c'` in
459   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
460   xy)  ECHO_C='\c';;
461   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462        ECHO_T=' ';;
463   esac;;
464 *)
465   ECHO_N='-n';;
466 esac
467
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470   rm -f conf$$.dir/conf$$.file
471 else
472   rm -f conf$$.dir
473   mkdir conf$$.dir 2>/dev/null
474 fi
475 if (echo >conf$$.file) 2>/dev/null; then
476   if ln -s conf$$.file conf$$ 2>/dev/null; then
477     as_ln_s='ln -s'
478     # ... but there are two gotchas:
479     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481     # In both cases, we have to default to `cp -p'.
482     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483       as_ln_s='cp -p'
484   elif ln conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s=ln
486   else
487     as_ln_s='cp -p'
488   fi
489 else
490   as_ln_s='cp -p'
491 fi
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
494
495 if mkdir -p . 2>/dev/null; then
496   as_mkdir_p='mkdir -p "$as_dir"'
497 else
498   test -d ./-p && rmdir ./-p
499   as_mkdir_p=false
500 fi
501
502 if test -x / >/dev/null 2>&1; then
503   as_test_x='test -x'
504 else
505   if ls -dL / >/dev/null 2>&1; then
506     as_ls_L_option=L
507   else
508     as_ls_L_option=
509   fi
510   as_test_x='
511     eval sh -c '\''
512       if test -d "$1"; then
513         test -d "$1/.";
514       else
515         case $1 in #(
516         -*)set "./$1";;
517         esac;
518         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519         ???[sx]*):;;*)false;;esac;fi
520     '\'' sh
521   '
522 fi
523 as_executable_p=$as_test_x
524
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536 case X$lt_ECHO in
537 X*--fallback-echo)
538   # Remove one level of quotation (which was required for Make).
539   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540   ;;
541 esac
542
543 ECHO=${lt_ECHO-echo}
544 if test "X$1" = X--no-reexec; then
545   # Discard the --no-reexec flag, and continue.
546   shift
547 elif test "X$1" = X--fallback-echo; then
548   # Avoid inline document here, it may be left over
549   :
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551   # Yippee, $ECHO works!
552   :
553 else
554   # Restart under the correct shell.
555   exec $SHELL "$0" --no-reexec ${1+"$@"}
556 fi
557
558 if test "X$1" = X--fallback-echo; then
559   # used as fallback echo
560   shift
561   cat <<_LT_EOF
562 $*
563 _LT_EOF
564   exit 0
565 fi
566
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 # if CDPATH is set.
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571 if test -z "$lt_ECHO"; then
572   if test "X${echo_test_string+set}" != Xset; then
573     # find a string as large as possible, as long as the shell can cope with it
574     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578       then
579         break
580       fi
581     done
582   fi
583
584   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586      test "X$echo_testing_string" = "X$echo_test_string"; then
587     :
588   else
589     # The Solaris, AIX, and Digital Unix default echo programs unquote
590     # backslashes.  This makes it impossible to quote backslashes using
591     #   echo "$something" | sed 's/\\/\\\\/g'
592     #
593     # So, first we look for a working echo in the user's PATH.
594
595     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596     for dir in $PATH /usr/ucb; do
597       IFS="$lt_save_ifs"
598       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601          test "X$echo_testing_string" = "X$echo_test_string"; then
602         ECHO="$dir/echo"
603         break
604       fi
605     done
606     IFS="$lt_save_ifs"
607
608     if test "X$ECHO" = Xecho; then
609       # We didn't find a better echo, so look for alternatives.
610       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612          test "X$echo_testing_string" = "X$echo_test_string"; then
613         # This shell has a builtin print -r that does the trick.
614         ECHO='print -r'
615       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616            test "X$CONFIG_SHELL" != X/bin/ksh; then
617         # If we have ksh, try running configure again with it.
618         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619         export ORIGINAL_CONFIG_SHELL
620         CONFIG_SHELL=/bin/ksh
621         export CONFIG_SHELL
622         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623       else
624         # Try using printf.
625         ECHO='printf %s\n'
626         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628            test "X$echo_testing_string" = "X$echo_test_string"; then
629           # Cool, printf works
630           :
631         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632              test "X$echo_testing_string" = 'X\t' &&
633              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634              test "X$echo_testing_string" = "X$echo_test_string"; then
635           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636           export CONFIG_SHELL
637           SHELL="$CONFIG_SHELL"
638           export SHELL
639           ECHO="$CONFIG_SHELL $0 --fallback-echo"
640         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641              test "X$echo_testing_string" = 'X\t' &&
642              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643              test "X$echo_testing_string" = "X$echo_test_string"; then
644           ECHO="$CONFIG_SHELL $0 --fallback-echo"
645         else
646           # maybe with a smaller string...
647           prev=:
648
649           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651             then
652               break
653             fi
654             prev="$cmd"
655           done
656
657           if test "$prev" != 'sed 50q "$0"'; then
658             echo_test_string=`eval $prev`
659             export echo_test_string
660             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661           else
662             # Oops.  We lost completely, so just stick with echo.
663             ECHO=echo
664           fi
665         fi
666       fi
667     fi
668   fi
669 fi
670
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
673 lt_ECHO=$ECHO
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 fi
677
678
679
680
681 test -n "$DJDIR" || exec 7<&0 </dev/null
682 exec 6>&1
683
684 # Name of the host.
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689 #
690 # Initializations.
691 #
692 ac_default_prefix=/usr/local
693 ac_clean_files=
694 ac_config_libobj_dir=.
695 LIBOBJS=
696 cross_compiling=no
697 subdirs=
698 MFLAGS=
699 MAKEFLAGS=
700
701 # Identity of this package.
702 PACKAGE_NAME='e_dbus'
703 PACKAGE_TARNAME='e_dbus'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='e_dbus 1.7.1'
706 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707 PACKAGE_URL=''
708
709 ac_unique_file="configure.ac"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
712 #include <stdio.h>
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
715 #endif
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
718 #endif
719 #ifdef STDC_HEADERS
720 # include <stdlib.h>
721 # include <stddef.h>
722 #else
723 # ifdef HAVE_STDLIB_H
724 #  include <stdlib.h>
725 # endif
726 #endif
727 #ifdef HAVE_STRING_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #  include <memory.h>
730 # endif
731 # include <string.h>
732 #endif
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
735 #endif
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
738 #endif
739 #ifdef HAVE_STDINT_H
740 # include <stdint.h>
741 #endif
742 #ifdef HAVE_UNISTD_H
743 # include <unistd.h>
744 #endif"
745
746 ac_subst_vars='am__EXEEXT_FALSE
747 am__EXEEXT_TRUE
748 LTLIBOBJS
749 LIBOBJS
750 requirement_dbus
751 requirement_eukit
752 requirement_eofono
753 requirement_enotify
754 requirement_ehal
755 requirement_edbus
756 requirement_econnman0_7x
757 requirement_ebluez
758 ALLOCA
759 lt_enable_auto_import
760 EFL_EDBUS_BUILD
761 EDBUS_ASYNC_TEST_LIBS
762 EDBUS_ASYNC_TEST_CFLAGS
763 EDBUS_PERFORMANCE_TEST_LIBS
764 EDBUS_PERFORMANCE_TEST_CFLAGS
765 EDBUS_UKIT_TEST_LIBS
766 EDBUS_UKIT_TEST_CFLAGS
767 EDBUS_OFONO_TEST_LIBS
768 EDBUS_OFONO_TEST_CFLAGS
769 EDBUS_NOTIFY_TEST_LIBS
770 EDBUS_NOTIFY_TEST_CFLAGS
771 EDBUS_NOTIFY_SEND_LIBS
772 EDBUS_NOTIFY_SEND_CFLAGS
773 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
774 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
775 EDBUS_CONNMAN0_7X_TEST_LIBS
776 EDBUS_CONNMAN0_7X_TEST_CFLAGS
777 EDBUS_BLUEZ_TEST_LIBS
778 EDBUS_BLUEZ_TEST_CFLAGS
779 EDBUS_TEST_CLIENT_LIBS
780 EDBUS_TEST_CLIENT_CFLAGS
781 EDBUS_TEST_LIBS
782 EDBUS_TEST_CFLAGS
783 BUILD_EDBUS_ASYNC_TEST_FALSE
784 BUILD_EDBUS_ASYNC_TEST_TRUE
785 EDBUS_ASYNC_TEST_PRG
786 BUILD_EDBUS_PERFORMANCE_TEST_FALSE
787 BUILD_EDBUS_PERFORMANCE_TEST_TRUE
788 EDBUS_PERFORMANCE_TEST_PRG
789 BUILD_EDBUS_UKIT_TEST_FALSE
790 BUILD_EDBUS_UKIT_TEST_TRUE
791 EDBUS_UKIT_TEST_PRG
792 BUILD_EDBUS_OFONO_TEST_FALSE
793 BUILD_EDBUS_OFONO_TEST_TRUE
794 EDBUS_OFONO_TEST_PRG
795 BUILD_EDBUS_NOTIFY_TEST_FALSE
796 BUILD_EDBUS_NOTIFY_TEST_TRUE
797 EDBUS_NOTIFY_TEST_PRG
798 BUILD_EDBUS_NOTIFY_SEND_FALSE
799 BUILD_EDBUS_NOTIFY_SEND_TRUE
800 EDBUS_NOTIFY_SEND_PRG
801 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE
802 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE
803 EDBUS_NOTIFICATION_DAEMON_TEST_PRG
804 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE
805 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE
806 EDBUS_CONNMAN0_7X_TEST_PRG
807 BUILD_EDBUS_BLUEZ_TEST_FALSE
808 BUILD_EDBUS_BLUEZ_TEST_TRUE
809 EDBUS_BLUEZ_TEST_PRG
810 BUILD_EDBUS_TEST_CLIENT_FALSE
811 BUILD_EDBUS_TEST_CLIENT_TRUE
812 EDBUS_TEST_CLIENT_PRG
813 BUILD_EDBUS_TEST_FALSE
814 BUILD_EDBUS_TEST_TRUE
815 EDBUS_TEST_PRG
816 BUILD_EUKIT_FALSE
817 BUILD_EUKIT_TRUE
818 BUILD_EOFONO_FALSE
819 BUILD_EOFONO_TRUE
820 BUILD_ENOTIFY_FALSE
821 BUILD_ENOTIFY_TRUE
822 BUILD_EHAL_FALSE
823 BUILD_EHAL_TRUE
824 BUILD_ECONNMAN0_7X_FALSE
825 BUILD_ECONNMAN0_7X_TRUE
826 BUILD_EBLUEZ_FALSE
827 BUILD_EBLUEZ_TRUE
828 EVAS_LIBS
829 EVAS_CFLAGS
830 DBUS_VERSION_CFLAGS
831 EDBUS_LIBS
832 EDBUS_CFLAGS
833 dbus_cflags
834 dbus_libs
835 DBUS_LIBS
836 DBUS_CFLAGS
837 EFL_BUILD_DOC_FALSE
838 EFL_BUILD_DOC_TRUE
839 efl_doxygen
840 efl_have_doxygen
841 pkgconfig_requires_private
842 PKG_CONFIG_LIBDIR
843 PKG_CONFIG_PATH
844 PKG_CONFIG
845 VMAJ
846 release_info
847 version_info
848 CPP
849 OTOOL64
850 OTOOL
851 LIPO
852 NMEDIT
853 DSYMUTIL
854 lt_ECHO
855 RANLIB
856 AR
857 LN_S
858 NM
859 ac_ct_DUMPBIN
860 DUMPBIN
861 LD
862 FGREP
863 EGREP
864 GREP
865 SED
866 am__fastdepCC_FALSE
867 am__fastdepCC_TRUE
868 CCDEPMODE
869 AMDEPBACKSLASH
870 AMDEP_FALSE
871 AMDEP_TRUE
872 am__quote
873 am__include
874 DEPDIR
875 OBJEXT
876 EXEEXT
877 ac_ct_CC
878 CPPFLAGS
879 LDFLAGS
880 CFLAGS
881 CC
882 LIBTOOL
883 OBJDUMP
884 DLLTOOL
885 AS
886 host_os
887 host_vendor
888 host_cpu
889 host
890 build_os
891 build_vendor
892 build_cpu
893 build
894 AM_BACKSLASH
895 AM_DEFAULT_VERBOSITY
896 am__untar
897 am__tar
898 AMTAR
899 am__leading_dot
900 SET_MAKE
901 AWK
902 mkdir_p
903 MKDIR_P
904 INSTALL_STRIP_PROGRAM
905 STRIP
906 install_sh
907 MAKEINFO
908 AUTOHEADER
909 AUTOMAKE
910 AUTOCONF
911 ACLOCAL
912 VERSION
913 PACKAGE
914 CYGPATH_W
915 am__isrc
916 INSTALL_DATA
917 INSTALL_SCRIPT
918 INSTALL_PROGRAM
919 target_alias
920 host_alias
921 build_alias
922 LIBS
923 ECHO_T
924 ECHO_N
925 ECHO_C
926 DEFS
927 mandir
928 localedir
929 libdir
930 psdir
931 pdfdir
932 dvidir
933 htmldir
934 infodir
935 docdir
936 oldincludedir
937 includedir
938 localstatedir
939 sharedstatedir
940 sysconfdir
941 datadir
942 datarootdir
943 libexecdir
944 sbindir
945 bindir
946 program_transform_name
947 prefix
948 exec_prefix
949 PACKAGE_URL
950 PACKAGE_BUGREPORT
951 PACKAGE_STRING
952 PACKAGE_VERSION
953 PACKAGE_TARNAME
954 PACKAGE_NAME
955 PATH_SEPARATOR
956 SHELL'
957 ac_subst_files=''
958 ac_user_opts='
959 enable_option_checking
960 enable_silent_rules
961 enable_shared
962 enable_static
963 with_pic
964 enable_fast_install
965 enable_dependency_tracking
966 with_gnu_ld
967 enable_libtool_lock
968 enable_ebluez
969 enable_econnman0_7x
970 enable_ehal
971 enable_enotify
972 enable_eofono
973 enable_eukit
974 enable_doc
975 with_doxygen
976 enable_edbus_test
977 enable_edbus_test_client
978 enable_edbus_bluez_test
979 enable_edbus_connman0_7x_test
980 enable_edbus_notification_daemon_test
981 enable_edbus_notify_send
982 enable_edbus_notify_test
983 enable_edbus_ofono_test
984 enable_edbus_ukit_test
985 enable_edbus_performance_test
986 enable_edbus_async_test
987 '
988       ac_precious_vars='build_alias
989 host_alias
990 target_alias
991 CC
992 CFLAGS
993 LDFLAGS
994 LIBS
995 CPPFLAGS
996 CPP
997 PKG_CONFIG
998 PKG_CONFIG_PATH
999 PKG_CONFIG_LIBDIR
1000 DBUS_CFLAGS
1001 DBUS_LIBS
1002 EDBUS_CFLAGS
1003 EDBUS_LIBS
1004 EVAS_CFLAGS
1005 EVAS_LIBS
1006 EDBUS_TEST_CFLAGS
1007 EDBUS_TEST_LIBS
1008 EDBUS_TEST_CLIENT_CFLAGS
1009 EDBUS_TEST_CLIENT_LIBS
1010 EDBUS_BLUEZ_TEST_CFLAGS
1011 EDBUS_BLUEZ_TEST_LIBS
1012 EDBUS_CONNMAN0_7X_TEST_CFLAGS
1013 EDBUS_CONNMAN0_7X_TEST_LIBS
1014 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1015 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1016 EDBUS_NOTIFY_SEND_CFLAGS
1017 EDBUS_NOTIFY_SEND_LIBS
1018 EDBUS_NOTIFY_TEST_CFLAGS
1019 EDBUS_NOTIFY_TEST_LIBS
1020 EDBUS_OFONO_TEST_CFLAGS
1021 EDBUS_OFONO_TEST_LIBS
1022 EDBUS_UKIT_TEST_CFLAGS
1023 EDBUS_UKIT_TEST_LIBS
1024 EDBUS_PERFORMANCE_TEST_CFLAGS
1025 EDBUS_PERFORMANCE_TEST_LIBS
1026 EDBUS_ASYNC_TEST_CFLAGS
1027 EDBUS_ASYNC_TEST_LIBS'
1028
1029
1030 # Initialize some variables set by options.
1031 ac_init_help=
1032 ac_init_version=false
1033 ac_unrecognized_opts=
1034 ac_unrecognized_sep=
1035 # The variables have the same names as the options, with
1036 # dashes changed to underlines.
1037 cache_file=/dev/null
1038 exec_prefix=NONE
1039 no_create=
1040 no_recursion=
1041 prefix=NONE
1042 program_prefix=NONE
1043 program_suffix=NONE
1044 program_transform_name=s,x,x,
1045 silent=
1046 site=
1047 srcdir=
1048 verbose=
1049 x_includes=NONE
1050 x_libraries=NONE
1051
1052 # Installation directory options.
1053 # These are left unexpanded so users can "make install exec_prefix=/foo"
1054 # and all the variables that are supposed to be based on exec_prefix
1055 # by default will actually change.
1056 # Use braces instead of parens because sh, perl, etc. also accept them.
1057 # (The list follows the same order as the GNU Coding Standards.)
1058 bindir='${exec_prefix}/bin'
1059 sbindir='${exec_prefix}/sbin'
1060 libexecdir='${exec_prefix}/libexec'
1061 datarootdir='${prefix}/share'
1062 datadir='${datarootdir}'
1063 sysconfdir='${prefix}/etc'
1064 sharedstatedir='${prefix}/com'
1065 localstatedir='${prefix}/var'
1066 includedir='${prefix}/include'
1067 oldincludedir='/usr/include'
1068 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1069 infodir='${datarootdir}/info'
1070 htmldir='${docdir}'
1071 dvidir='${docdir}'
1072 pdfdir='${docdir}'
1073 psdir='${docdir}'
1074 libdir='${exec_prefix}/lib'
1075 localedir='${datarootdir}/locale'
1076 mandir='${datarootdir}/man'
1077
1078 ac_prev=
1079 ac_dashdash=
1080 for ac_option
1081 do
1082   # If the previous option needs an argument, assign it.
1083   if test -n "$ac_prev"; then
1084     eval $ac_prev=\$ac_option
1085     ac_prev=
1086     continue
1087   fi
1088
1089   case $ac_option in
1090   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1091   *=)   ac_optarg= ;;
1092   *)    ac_optarg=yes ;;
1093   esac
1094
1095   # Accept the important Cygnus configure options, so we can diagnose typos.
1096
1097   case $ac_dashdash$ac_option in
1098   --)
1099     ac_dashdash=yes ;;
1100
1101   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1102     ac_prev=bindir ;;
1103   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1104     bindir=$ac_optarg ;;
1105
1106   -build | --build | --buil | --bui | --bu)
1107     ac_prev=build_alias ;;
1108   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1109     build_alias=$ac_optarg ;;
1110
1111   -cache-file | --cache-file | --cache-fil | --cache-fi \
1112   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1113     ac_prev=cache_file ;;
1114   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1115   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1116     cache_file=$ac_optarg ;;
1117
1118   --config-cache | -C)
1119     cache_file=config.cache ;;
1120
1121   -datadir | --datadir | --datadi | --datad)
1122     ac_prev=datadir ;;
1123   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1124     datadir=$ac_optarg ;;
1125
1126   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1127   | --dataroo | --dataro | --datar)
1128     ac_prev=datarootdir ;;
1129   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1130   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1131     datarootdir=$ac_optarg ;;
1132
1133   -disable-* | --disable-*)
1134     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1135     # Reject names that are not valid shell variable names.
1136     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137       as_fn_error $? "invalid feature name: $ac_useropt"
1138     ac_useropt_orig=$ac_useropt
1139     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140     case $ac_user_opts in
1141       *"
1142 "enable_$ac_useropt"
1143 "*) ;;
1144       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1145          ac_unrecognized_sep=', ';;
1146     esac
1147     eval enable_$ac_useropt=no ;;
1148
1149   -docdir | --docdir | --docdi | --doc | --do)
1150     ac_prev=docdir ;;
1151   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1152     docdir=$ac_optarg ;;
1153
1154   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1155     ac_prev=dvidir ;;
1156   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1157     dvidir=$ac_optarg ;;
1158
1159   -enable-* | --enable-*)
1160     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1161     # Reject names that are not valid shell variable names.
1162     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1163       as_fn_error $? "invalid feature name: $ac_useropt"
1164     ac_useropt_orig=$ac_useropt
1165     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166     case $ac_user_opts in
1167       *"
1168 "enable_$ac_useropt"
1169 "*) ;;
1170       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1171          ac_unrecognized_sep=', ';;
1172     esac
1173     eval enable_$ac_useropt=\$ac_optarg ;;
1174
1175   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1176   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1177   | --exec | --exe | --ex)
1178     ac_prev=exec_prefix ;;
1179   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1180   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1181   | --exec=* | --exe=* | --ex=*)
1182     exec_prefix=$ac_optarg ;;
1183
1184   -gas | --gas | --ga | --g)
1185     # Obsolete; use --with-gas.
1186     with_gas=yes ;;
1187
1188   -help | --help | --hel | --he | -h)
1189     ac_init_help=long ;;
1190   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1191     ac_init_help=recursive ;;
1192   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1193     ac_init_help=short ;;
1194
1195   -host | --host | --hos | --ho)
1196     ac_prev=host_alias ;;
1197   -host=* | --host=* | --hos=* | --ho=*)
1198     host_alias=$ac_optarg ;;
1199
1200   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1201     ac_prev=htmldir ;;
1202   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1203   | --ht=*)
1204     htmldir=$ac_optarg ;;
1205
1206   -includedir | --includedir | --includedi | --included | --include \
1207   | --includ | --inclu | --incl | --inc)
1208     ac_prev=includedir ;;
1209   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1210   | --includ=* | --inclu=* | --incl=* | --inc=*)
1211     includedir=$ac_optarg ;;
1212
1213   -infodir | --infodir | --infodi | --infod | --info | --inf)
1214     ac_prev=infodir ;;
1215   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1216     infodir=$ac_optarg ;;
1217
1218   -libdir | --libdir | --libdi | --libd)
1219     ac_prev=libdir ;;
1220   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1221     libdir=$ac_optarg ;;
1222
1223   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1224   | --libexe | --libex | --libe)
1225     ac_prev=libexecdir ;;
1226   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1227   | --libexe=* | --libex=* | --libe=*)
1228     libexecdir=$ac_optarg ;;
1229
1230   -localedir | --localedir | --localedi | --localed | --locale)
1231     ac_prev=localedir ;;
1232   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1233     localedir=$ac_optarg ;;
1234
1235   -localstatedir | --localstatedir | --localstatedi | --localstated \
1236   | --localstate | --localstat | --localsta | --localst | --locals)
1237     ac_prev=localstatedir ;;
1238   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1239   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1240     localstatedir=$ac_optarg ;;
1241
1242   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1243     ac_prev=mandir ;;
1244   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1245     mandir=$ac_optarg ;;
1246
1247   -nfp | --nfp | --nf)
1248     # Obsolete; use --without-fp.
1249     with_fp=no ;;
1250
1251   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1252   | --no-cr | --no-c | -n)
1253     no_create=yes ;;
1254
1255   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1256   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1257     no_recursion=yes ;;
1258
1259   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1260   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1261   | --oldin | --oldi | --old | --ol | --o)
1262     ac_prev=oldincludedir ;;
1263   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1264   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1265   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1266     oldincludedir=$ac_optarg ;;
1267
1268   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1269     ac_prev=prefix ;;
1270   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1271     prefix=$ac_optarg ;;
1272
1273   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1274   | --program-pre | --program-pr | --program-p)
1275     ac_prev=program_prefix ;;
1276   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1277   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1278     program_prefix=$ac_optarg ;;
1279
1280   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1281   | --program-suf | --program-su | --program-s)
1282     ac_prev=program_suffix ;;
1283   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1284   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1285     program_suffix=$ac_optarg ;;
1286
1287   -program-transform-name | --program-transform-name \
1288   | --program-transform-nam | --program-transform-na \
1289   | --program-transform-n | --program-transform- \
1290   | --program-transform | --program-transfor \
1291   | --program-transfo | --program-transf \
1292   | --program-trans | --program-tran \
1293   | --progr-tra | --program-tr | --program-t)
1294     ac_prev=program_transform_name ;;
1295   -program-transform-name=* | --program-transform-name=* \
1296   | --program-transform-nam=* | --program-transform-na=* \
1297   | --program-transform-n=* | --program-transform-=* \
1298   | --program-transform=* | --program-transfor=* \
1299   | --program-transfo=* | --program-transf=* \
1300   | --program-trans=* | --program-tran=* \
1301   | --progr-tra=* | --program-tr=* | --program-t=*)
1302     program_transform_name=$ac_optarg ;;
1303
1304   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1305     ac_prev=pdfdir ;;
1306   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1307     pdfdir=$ac_optarg ;;
1308
1309   -psdir | --psdir | --psdi | --psd | --ps)
1310     ac_prev=psdir ;;
1311   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1312     psdir=$ac_optarg ;;
1313
1314   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1315   | -silent | --silent | --silen | --sile | --sil)
1316     silent=yes ;;
1317
1318   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1319     ac_prev=sbindir ;;
1320   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1321   | --sbi=* | --sb=*)
1322     sbindir=$ac_optarg ;;
1323
1324   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1325   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1326   | --sharedst | --shareds | --shared | --share | --shar \
1327   | --sha | --sh)
1328     ac_prev=sharedstatedir ;;
1329   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1330   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1331   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1332   | --sha=* | --sh=*)
1333     sharedstatedir=$ac_optarg ;;
1334
1335   -site | --site | --sit)
1336     ac_prev=site ;;
1337   -site=* | --site=* | --sit=*)
1338     site=$ac_optarg ;;
1339
1340   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1341     ac_prev=srcdir ;;
1342   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1343     srcdir=$ac_optarg ;;
1344
1345   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1346   | --syscon | --sysco | --sysc | --sys | --sy)
1347     ac_prev=sysconfdir ;;
1348   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1349   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1350     sysconfdir=$ac_optarg ;;
1351
1352   -target | --target | --targe | --targ | --tar | --ta | --t)
1353     ac_prev=target_alias ;;
1354   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1355     target_alias=$ac_optarg ;;
1356
1357   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1358     verbose=yes ;;
1359
1360   -version | --version | --versio | --versi | --vers | -V)
1361     ac_init_version=: ;;
1362
1363   -with-* | --with-*)
1364     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1365     # Reject names that are not valid shell variable names.
1366     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1367       as_fn_error $? "invalid package name: $ac_useropt"
1368     ac_useropt_orig=$ac_useropt
1369     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1370     case $ac_user_opts in
1371       *"
1372 "with_$ac_useropt"
1373 "*) ;;
1374       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1375          ac_unrecognized_sep=', ';;
1376     esac
1377     eval with_$ac_useropt=\$ac_optarg ;;
1378
1379   -without-* | --without-*)
1380     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1381     # Reject names that are not valid shell variable names.
1382     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1383       as_fn_error $? "invalid package name: $ac_useropt"
1384     ac_useropt_orig=$ac_useropt
1385     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1386     case $ac_user_opts in
1387       *"
1388 "with_$ac_useropt"
1389 "*) ;;
1390       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1391          ac_unrecognized_sep=', ';;
1392     esac
1393     eval with_$ac_useropt=no ;;
1394
1395   --x)
1396     # Obsolete; use --with-x.
1397     with_x=yes ;;
1398
1399   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1400   | --x-incl | --x-inc | --x-in | --x-i)
1401     ac_prev=x_includes ;;
1402   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1403   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1404     x_includes=$ac_optarg ;;
1405
1406   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1407   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1408     ac_prev=x_libraries ;;
1409   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1410   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1411     x_libraries=$ac_optarg ;;
1412
1413   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1414 Try \`$0 --help' for more information"
1415     ;;
1416
1417   *=*)
1418     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1419     # Reject names that are not valid shell variable names.
1420     case $ac_envvar in #(
1421       '' | [0-9]* | *[!_$as_cr_alnum]* )
1422       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1423     esac
1424     eval $ac_envvar=\$ac_optarg
1425     export $ac_envvar ;;
1426
1427   *)
1428     # FIXME: should be removed in autoconf 3.0.
1429     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1430     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1431       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1432     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1433     ;;
1434
1435   esac
1436 done
1437
1438 if test -n "$ac_prev"; then
1439   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1440   as_fn_error $? "missing argument to $ac_option"
1441 fi
1442
1443 if test -n "$ac_unrecognized_opts"; then
1444   case $enable_option_checking in
1445     no) ;;
1446     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1447     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1448   esac
1449 fi
1450
1451 # Check all directory arguments for consistency.
1452 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1453                 datadir sysconfdir sharedstatedir localstatedir includedir \
1454                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1455                 libdir localedir mandir
1456 do
1457   eval ac_val=\$$ac_var
1458   # Remove trailing slashes.
1459   case $ac_val in
1460     */ )
1461       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1462       eval $ac_var=\$ac_val;;
1463   esac
1464   # Be sure to have absolute directory names.
1465   case $ac_val in
1466     [\\/$]* | ?:[\\/]* )  continue;;
1467     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1468   esac
1469   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1470 done
1471
1472 # There might be people who depend on the old broken behavior: `$host'
1473 # used to hold the argument of --host etc.
1474 # FIXME: To remove some day.
1475 build=$build_alias
1476 host=$host_alias
1477 target=$target_alias
1478
1479 # FIXME: To remove some day.
1480 if test "x$host_alias" != x; then
1481   if test "x$build_alias" = x; then
1482     cross_compiling=maybe
1483     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1484     If a cross compiler is detected then cross compile mode will be used" >&2
1485   elif test "x$build_alias" != "x$host_alias"; then
1486     cross_compiling=yes
1487   fi
1488 fi
1489
1490 ac_tool_prefix=
1491 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1492
1493 test "$silent" = yes && exec 6>/dev/null
1494
1495
1496 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1497 ac_ls_di=`ls -di .` &&
1498 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1499   as_fn_error $? "working directory cannot be determined"
1500 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1501   as_fn_error $? "pwd does not report name of working directory"
1502
1503
1504 # Find the source files, if location was not specified.
1505 if test -z "$srcdir"; then
1506   ac_srcdir_defaulted=yes
1507   # Try the directory containing this script, then the parent directory.
1508   ac_confdir=`$as_dirname -- "$as_myself" ||
1509 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1510          X"$as_myself" : 'X\(//\)[^/]' \| \
1511          X"$as_myself" : 'X\(//\)$' \| \
1512          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1513 $as_echo X"$as_myself" |
1514     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1515             s//\1/
1516             q
1517           }
1518           /^X\(\/\/\)[^/].*/{
1519             s//\1/
1520             q
1521           }
1522           /^X\(\/\/\)$/{
1523             s//\1/
1524             q
1525           }
1526           /^X\(\/\).*/{
1527             s//\1/
1528             q
1529           }
1530           s/.*/./; q'`
1531   srcdir=$ac_confdir
1532   if test ! -r "$srcdir/$ac_unique_file"; then
1533     srcdir=..
1534   fi
1535 else
1536   ac_srcdir_defaulted=no
1537 fi
1538 if test ! -r "$srcdir/$ac_unique_file"; then
1539   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1540   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1541 fi
1542 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1543 ac_abs_confdir=`(
1544         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1545         pwd)`
1546 # When building in place, set srcdir=.
1547 if test "$ac_abs_confdir" = "$ac_pwd"; then
1548   srcdir=.
1549 fi
1550 # Remove unnecessary trailing slashes from srcdir.
1551 # Double slashes in file names in object file debugging info
1552 # mess up M-x gdb in Emacs.
1553 case $srcdir in
1554 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1555 esac
1556 for ac_var in $ac_precious_vars; do
1557   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1558   eval ac_env_${ac_var}_value=\$${ac_var}
1559   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1560   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1561 done
1562
1563 #
1564 # Report the --help message.
1565 #
1566 if test "$ac_init_help" = "long"; then
1567   # Omit some internal or obsolete options to make the list less imposing.
1568   # This message is too long to be a string in the A/UX 3.1 sh.
1569   cat <<_ACEOF
1570 \`configure' configures e_dbus 1.7.1 to adapt to many kinds of systems.
1571
1572 Usage: $0 [OPTION]... [VAR=VALUE]...
1573
1574 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1575 VAR=VALUE.  See below for descriptions of some of the useful variables.
1576
1577 Defaults for the options are specified in brackets.
1578
1579 Configuration:
1580   -h, --help              display this help and exit
1581       --help=short        display options specific to this package
1582       --help=recursive    display the short help of all the included packages
1583   -V, --version           display version information and exit
1584   -q, --quiet, --silent   do not print \`checking ...' messages
1585       --cache-file=FILE   cache test results in FILE [disabled]
1586   -C, --config-cache      alias for \`--cache-file=config.cache'
1587   -n, --no-create         do not create output files
1588       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1589
1590 Installation directories:
1591   --prefix=PREFIX         install architecture-independent files in PREFIX
1592                           [$ac_default_prefix]
1593   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1594                           [PREFIX]
1595
1596 By default, \`make install' will install all the files in
1597 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1598 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1599 for instance \`--prefix=\$HOME'.
1600
1601 For better control, use the options below.
1602
1603 Fine tuning of the installation directories:
1604   --bindir=DIR            user executables [EPREFIX/bin]
1605   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1606   --libexecdir=DIR        program executables [EPREFIX/libexec]
1607   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1608   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1609   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1610   --libdir=DIR            object code libraries [EPREFIX/lib]
1611   --includedir=DIR        C header files [PREFIX/include]
1612   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1613   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1614   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1615   --infodir=DIR           info documentation [DATAROOTDIR/info]
1616   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1617   --mandir=DIR            man documentation [DATAROOTDIR/man]
1618   --docdir=DIR            documentation root [DATAROOTDIR/doc/e_dbus]
1619   --htmldir=DIR           html documentation [DOCDIR]
1620   --dvidir=DIR            dvi documentation [DOCDIR]
1621   --pdfdir=DIR            pdf documentation [DOCDIR]
1622   --psdir=DIR             ps documentation [DOCDIR]
1623 _ACEOF
1624
1625   cat <<\_ACEOF
1626
1627 Program names:
1628   --program-prefix=PREFIX            prepend PREFIX to installed program names
1629   --program-suffix=SUFFIX            append SUFFIX to installed program names
1630   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1631
1632 System types:
1633   --build=BUILD     configure for building on BUILD [guessed]
1634   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1635 _ACEOF
1636 fi
1637
1638 if test -n "$ac_init_help"; then
1639   case $ac_init_help in
1640      short | recursive ) echo "Configuration of e_dbus 1.7.1:";;
1641    esac
1642   cat <<\_ACEOF
1643
1644 Optional Features:
1645   --disable-option-checking  ignore unrecognized --enable/--with options
1646   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1647   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1648   --enable-silent-rules          less verbose build output (undo: `make V=1')
1649   --disable-silent-rules         verbose build output (undo: `make V=0')
1650   --enable-shared[=PKGS]  build shared libraries [default=yes]
1651   --enable-static[=PKGS]  build static libraries [default=yes]
1652   --enable-fast-install[=PKGS]
1653                           optimize for fast installation [default=yes]
1654   --disable-dependency-tracking  speeds up one-time build
1655   --enable-dependency-tracking   do not reject slow dependency extractors
1656   --disable-libtool-lock  avoid locking (might break parallel builds)
1657   --enable-ebluez         Enable ebluez build
1658   --enable-econnman0_7x   Enable econnman 0.7x build
1659   --disable-ehal          Disable ehal build
1660   --disable-enotify       Disable enotify build
1661   --enable-eofono         Enable eofono build
1662   --disable-eukit         Disable eukit build
1663   --disable-doc           Disable documentation build [default=enabled]
1664   --disable-edbus-test    disable building of edbus_test
1665   --disable-edbus-test-client
1666                           disable building of edbus_test_client
1667   --disable-edbus-bluez-test
1668                           disable building of edbus_bluez_test
1669   --disable-edbus-connman0_7x-test
1670                           disable building of edbus_connman0_7x_test
1671   --disable-edbus-notification-daemon-test
1672                           disable building of edbus_notification_daemon_test
1673   --disable-edbus-notify-send
1674                           disable building of edbus_notify_send
1675   --disable-edbus-notify-test
1676                           disable building of edbus_notify_test
1677   --disable-edbus-ofono-test
1678                           disable building of edbus_ofono_test
1679   --disable-edbus-ukit-test
1680                           disable building of edbus_ukit_test
1681   --disable-edbus-performance-test
1682                           disable building of edbus_performance_test
1683   --disable-edbus-async-test
1684                           disable building of edbus_async_test
1685
1686 Optional Packages:
1687   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1688   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1689   --with-pic              try to use only PIC/non-PIC objects [default=use
1690                           both]
1691   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1692   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1693
1694 Some influential environment variables:
1695   CC          C compiler command
1696   CFLAGS      C compiler flags
1697   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1698               nonstandard directory <lib dir>
1699   LIBS        libraries to pass to the linker, e.g. -l<library>
1700   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1701               you have headers in a nonstandard directory <include dir>
1702   CPP         C preprocessor
1703   PKG_CONFIG  path to pkg-config utility
1704   PKG_CONFIG_PATH
1705               directories to add to pkg-config's search path
1706   PKG_CONFIG_LIBDIR
1707               path overriding pkg-config's built-in search path
1708   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1709   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1710   EDBUS_CFLAGS
1711               C compiler flags for EDBUS, overriding pkg-config
1712   EDBUS_LIBS  linker flags for EDBUS, overriding pkg-config
1713   EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1714   EVAS_LIBS   linker flags for EVAS, overriding pkg-config
1715   EDBUS_TEST_CFLAGS
1716               C compiler flags for EDBUS_TEST, overriding pkg-config
1717   EDBUS_TEST_LIBS
1718               linker flags for EDBUS_TEST, overriding pkg-config
1719   EDBUS_TEST_CLIENT_CFLAGS
1720               C compiler flags for EDBUS_TEST_CLIENT, overriding pkg-config
1721   EDBUS_TEST_CLIENT_LIBS
1722               linker flags for EDBUS_TEST_CLIENT, overriding pkg-config
1723   EDBUS_BLUEZ_TEST_CFLAGS
1724               C compiler flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1725   EDBUS_BLUEZ_TEST_LIBS
1726               linker flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1727   EDBUS_CONNMAN0_7X_TEST_CFLAGS
1728               C compiler flags for EDBUS_CONNMAN0_7X_TEST, overriding
1729               pkg-config
1730   EDBUS_CONNMAN0_7X_TEST_LIBS
1731               linker flags for EDBUS_CONNMAN0_7X_TEST, overriding pkg-config
1732   EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1733               C compiler flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1734               pkg-config
1735   EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1736               linker flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1737               pkg-config
1738   EDBUS_NOTIFY_SEND_CFLAGS
1739               C compiler flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1740   EDBUS_NOTIFY_SEND_LIBS
1741               linker flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1742   EDBUS_NOTIFY_TEST_CFLAGS
1743               C compiler flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1744   EDBUS_NOTIFY_TEST_LIBS
1745               linker flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1746   EDBUS_OFONO_TEST_CFLAGS
1747               C compiler flags for EDBUS_OFONO_TEST, overriding pkg-config
1748   EDBUS_OFONO_TEST_LIBS
1749               linker flags for EDBUS_OFONO_TEST, overriding pkg-config
1750   EDBUS_UKIT_TEST_CFLAGS
1751               C compiler flags for EDBUS_UKIT_TEST, overriding pkg-config
1752   EDBUS_UKIT_TEST_LIBS
1753               linker flags for EDBUS_UKIT_TEST, overriding pkg-config
1754   EDBUS_PERFORMANCE_TEST_CFLAGS
1755               C compiler flags for EDBUS_PERFORMANCE_TEST, overriding
1756               pkg-config
1757   EDBUS_PERFORMANCE_TEST_LIBS
1758               linker flags for EDBUS_PERFORMANCE_TEST, overriding pkg-config
1759   EDBUS_ASYNC_TEST_CFLAGS
1760               C compiler flags for EDBUS_ASYNC_TEST, overriding pkg-config
1761   EDBUS_ASYNC_TEST_LIBS
1762               linker flags for EDBUS_ASYNC_TEST, overriding pkg-config
1763
1764 Use these variables to override the choices made by `configure' or to help
1765 it to find libraries and programs with nonstandard names/locations.
1766
1767 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1768 _ACEOF
1769 ac_status=$?
1770 fi
1771
1772 if test "$ac_init_help" = "recursive"; then
1773   # If there are subdirs, report their specific --help.
1774   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1775     test -d "$ac_dir" ||
1776       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1777       continue
1778     ac_builddir=.
1779
1780 case "$ac_dir" in
1781 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1782 *)
1783   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1784   # A ".." for each directory in $ac_dir_suffix.
1785   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1786   case $ac_top_builddir_sub in
1787   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1788   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1789   esac ;;
1790 esac
1791 ac_abs_top_builddir=$ac_pwd
1792 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1793 # for backward compatibility:
1794 ac_top_builddir=$ac_top_build_prefix
1795
1796 case $srcdir in
1797   .)  # We are building in place.
1798     ac_srcdir=.
1799     ac_top_srcdir=$ac_top_builddir_sub
1800     ac_abs_top_srcdir=$ac_pwd ;;
1801   [\\/]* | ?:[\\/]* )  # Absolute name.
1802     ac_srcdir=$srcdir$ac_dir_suffix;
1803     ac_top_srcdir=$srcdir
1804     ac_abs_top_srcdir=$srcdir ;;
1805   *) # Relative name.
1806     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1807     ac_top_srcdir=$ac_top_build_prefix$srcdir
1808     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1809 esac
1810 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1811
1812     cd "$ac_dir" || { ac_status=$?; continue; }
1813     # Check for guested configure.
1814     if test -f "$ac_srcdir/configure.gnu"; then
1815       echo &&
1816       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1817     elif test -f "$ac_srcdir/configure"; then
1818       echo &&
1819       $SHELL "$ac_srcdir/configure" --help=recursive
1820     else
1821       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1822     fi || ac_status=$?
1823     cd "$ac_pwd" || { ac_status=$?; break; }
1824   done
1825 fi
1826
1827 test -n "$ac_init_help" && exit $ac_status
1828 if $ac_init_version; then
1829   cat <<\_ACEOF
1830 e_dbus configure 1.7.1
1831 generated by GNU Autoconf 2.67
1832
1833 Copyright (C) 2010 Free Software Foundation, Inc.
1834 This configure script is free software; the Free Software Foundation
1835 gives unlimited permission to copy, distribute and modify it.
1836 _ACEOF
1837   exit
1838 fi
1839
1840 ## ------------------------ ##
1841 ## Autoconf initialization. ##
1842 ## ------------------------ ##
1843
1844 # ac_fn_c_try_compile LINENO
1845 # --------------------------
1846 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1847 ac_fn_c_try_compile ()
1848 {
1849   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850   rm -f conftest.$ac_objext
1851   if { { ac_try="$ac_compile"
1852 case "(($ac_try" in
1853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854   *) ac_try_echo=$ac_try;;
1855 esac
1856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858   (eval "$ac_compile") 2>conftest.err
1859   ac_status=$?
1860   if test -s conftest.err; then
1861     grep -v '^ *+' conftest.err >conftest.er1
1862     cat conftest.er1 >&5
1863     mv -f conftest.er1 conftest.err
1864   fi
1865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866   test $ac_status = 0; } && {
1867          test -z "$ac_c_werror_flag" ||
1868          test ! -s conftest.err
1869        } && test -s conftest.$ac_objext; then :
1870   ac_retval=0
1871 else
1872   $as_echo "$as_me: failed program was:" >&5
1873 sed 's/^/| /' conftest.$ac_ext >&5
1874
1875         ac_retval=1
1876 fi
1877   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878   as_fn_set_status $ac_retval
1879
1880 } # ac_fn_c_try_compile
1881
1882 # ac_fn_c_try_link LINENO
1883 # -----------------------
1884 # Try to link conftest.$ac_ext, and return whether this succeeded.
1885 ac_fn_c_try_link ()
1886 {
1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888   rm -f conftest.$ac_objext conftest$ac_exeext
1889   if { { ac_try="$ac_link"
1890 case "(($ac_try" in
1891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892   *) ac_try_echo=$ac_try;;
1893 esac
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896   (eval "$ac_link") 2>conftest.err
1897   ac_status=$?
1898   if test -s conftest.err; then
1899     grep -v '^ *+' conftest.err >conftest.er1
1900     cat conftest.er1 >&5
1901     mv -f conftest.er1 conftest.err
1902   fi
1903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904   test $ac_status = 0; } && {
1905          test -z "$ac_c_werror_flag" ||
1906          test ! -s conftest.err
1907        } && test -s conftest$ac_exeext && {
1908          test "$cross_compiling" = yes ||
1909          $as_test_x conftest$ac_exeext
1910        }; then :
1911   ac_retval=0
1912 else
1913   $as_echo "$as_me: failed program was:" >&5
1914 sed 's/^/| /' conftest.$ac_ext >&5
1915
1916         ac_retval=1
1917 fi
1918   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1919   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1920   # interfere with the next link command; also delete a directory that is
1921   # left behind by Apple's compiler.  We do this before executing the actions.
1922   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1923   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1924   as_fn_set_status $ac_retval
1925
1926 } # ac_fn_c_try_link
1927
1928 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1929 # -------------------------------------------------------
1930 # Tests whether HEADER exists and can be compiled using the include files in
1931 # INCLUDES, setting the cache variable VAR accordingly.
1932 ac_fn_c_check_header_compile ()
1933 {
1934   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936 $as_echo_n "checking for $2... " >&6; }
1937 if eval "test \"\${$3+set}\"" = set; then :
1938   $as_echo_n "(cached) " >&6
1939 else
1940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h.  */
1942 $4
1943 #include <$2>
1944 _ACEOF
1945 if ac_fn_c_try_compile "$LINENO"; then :
1946   eval "$3=yes"
1947 else
1948   eval "$3=no"
1949 fi
1950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951 fi
1952 eval ac_res=\$$3
1953                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1955   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1956
1957 } # ac_fn_c_check_header_compile
1958
1959 # ac_fn_c_try_cpp LINENO
1960 # ----------------------
1961 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1962 ac_fn_c_try_cpp ()
1963 {
1964   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965   if { { ac_try="$ac_cpp conftest.$ac_ext"
1966 case "(($ac_try" in
1967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968   *) ac_try_echo=$ac_try;;
1969 esac
1970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971 $as_echo "$ac_try_echo"; } >&5
1972   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1973   ac_status=$?
1974   if test -s conftest.err; then
1975     grep -v '^ *+' conftest.err >conftest.er1
1976     cat conftest.er1 >&5
1977     mv -f conftest.er1 conftest.err
1978   fi
1979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980   test $ac_status = 0; } > conftest.i && {
1981          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1982          test ! -s conftest.err
1983        }; then :
1984   ac_retval=0
1985 else
1986   $as_echo "$as_me: failed program was:" >&5
1987 sed 's/^/| /' conftest.$ac_ext >&5
1988
1989     ac_retval=1
1990 fi
1991   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1992   as_fn_set_status $ac_retval
1993
1994 } # ac_fn_c_try_cpp
1995
1996 # ac_fn_c_try_run LINENO
1997 # ----------------------
1998 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1999 # that executables *can* be run.
2000 ac_fn_c_try_run ()
2001 {
2002   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003   if { { ac_try="$ac_link"
2004 case "(($ac_try" in
2005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2006   *) ac_try_echo=$ac_try;;
2007 esac
2008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2009 $as_echo "$ac_try_echo"; } >&5
2010   (eval "$ac_link") 2>&5
2011   ac_status=$?
2012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2013   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2014   { { case "(($ac_try" in
2015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2016   *) ac_try_echo=$ac_try;;
2017 esac
2018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2019 $as_echo "$ac_try_echo"; } >&5
2020   (eval "$ac_try") 2>&5
2021   ac_status=$?
2022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2023   test $ac_status = 0; }; }; then :
2024   ac_retval=0
2025 else
2026   $as_echo "$as_me: program exited with status $ac_status" >&5
2027        $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2029
2030        ac_retval=$ac_status
2031 fi
2032   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2033   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2034   as_fn_set_status $ac_retval
2035
2036 } # ac_fn_c_try_run
2037
2038 # ac_fn_c_check_func LINENO FUNC VAR
2039 # ----------------------------------
2040 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2041 ac_fn_c_check_func ()
2042 {
2043   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2045 $as_echo_n "checking for $2... " >&6; }
2046 if eval "test \"\${$3+set}\"" = set; then :
2047   $as_echo_n "(cached) " >&6
2048 else
2049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h.  */
2051 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2052    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2053 #define $2 innocuous_$2
2054
2055 /* System header to define __stub macros and hopefully few prototypes,
2056     which can conflict with char $2 (); below.
2057     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2058     <limits.h> exists even on freestanding compilers.  */
2059
2060 #ifdef __STDC__
2061 # include <limits.h>
2062 #else
2063 # include <assert.h>
2064 #endif
2065
2066 #undef $2
2067
2068 /* Override any GCC internal prototype to avoid an error.
2069    Use char because int might match the return type of a GCC
2070    builtin and then its argument prototype would still apply.  */
2071 #ifdef __cplusplus
2072 extern "C"
2073 #endif
2074 char $2 ();
2075 /* The GNU C library defines this for functions which it implements
2076     to always fail with ENOSYS.  Some functions are actually named
2077     something starting with __ and the normal name is an alias.  */
2078 #if defined __stub_$2 || defined __stub___$2
2079 choke me
2080 #endif
2081
2082 int
2083 main ()
2084 {
2085 return $2 ();
2086   ;
2087   return 0;
2088 }
2089 _ACEOF
2090 if ac_fn_c_try_link "$LINENO"; then :
2091   eval "$3=yes"
2092 else
2093   eval "$3=no"
2094 fi
2095 rm -f core conftest.err conftest.$ac_objext \
2096     conftest$ac_exeext conftest.$ac_ext
2097 fi
2098 eval ac_res=\$$3
2099                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2100 $as_echo "$ac_res" >&6; }
2101   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2102
2103 } # ac_fn_c_check_func
2104 cat >config.log <<_ACEOF
2105 This file contains any messages produced by compilers while
2106 running configure, to aid debugging if configure makes a mistake.
2107
2108 It was created by e_dbus $as_me 1.7.1, which was
2109 generated by GNU Autoconf 2.67.  Invocation command line was
2110
2111   $ $0 $@
2112
2113 _ACEOF
2114 exec 5>>config.log
2115 {
2116 cat <<_ASUNAME
2117 ## --------- ##
2118 ## Platform. ##
2119 ## --------- ##
2120
2121 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2122 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2123 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2124 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2125 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2126
2127 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2128 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2129
2130 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2131 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2132 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2133 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2134 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2135 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2136 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2137
2138 _ASUNAME
2139
2140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 for as_dir in $PATH
2142 do
2143   IFS=$as_save_IFS
2144   test -z "$as_dir" && as_dir=.
2145     $as_echo "PATH: $as_dir"
2146   done
2147 IFS=$as_save_IFS
2148
2149 } >&5
2150
2151 cat >&5 <<_ACEOF
2152
2153
2154 ## ----------- ##
2155 ## Core tests. ##
2156 ## ----------- ##
2157
2158 _ACEOF
2159
2160
2161 # Keep a trace of the command line.
2162 # Strip out --no-create and --no-recursion so they do not pile up.
2163 # Strip out --silent because we don't want to record it for future runs.
2164 # Also quote any args containing shell meta-characters.
2165 # Make two passes to allow for proper duplicate-argument suppression.
2166 ac_configure_args=
2167 ac_configure_args0=
2168 ac_configure_args1=
2169 ac_must_keep_next=false
2170 for ac_pass in 1 2
2171 do
2172   for ac_arg
2173   do
2174     case $ac_arg in
2175     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2176     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2177     | -silent | --silent | --silen | --sile | --sil)
2178       continue ;;
2179     *\'*)
2180       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2181     esac
2182     case $ac_pass in
2183     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2184     2)
2185       as_fn_append ac_configure_args1 " '$ac_arg'"
2186       if test $ac_must_keep_next = true; then
2187         ac_must_keep_next=false # Got value, back to normal.
2188       else
2189         case $ac_arg in
2190           *=* | --config-cache | -C | -disable-* | --disable-* \
2191           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2192           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2193           | -with-* | --with-* | -without-* | --without-* | --x)
2194             case "$ac_configure_args0 " in
2195               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2196             esac
2197             ;;
2198           -* ) ac_must_keep_next=true ;;
2199         esac
2200       fi
2201       as_fn_append ac_configure_args " '$ac_arg'"
2202       ;;
2203     esac
2204   done
2205 done
2206 { ac_configure_args0=; unset ac_configure_args0;}
2207 { ac_configure_args1=; unset ac_configure_args1;}
2208
2209 # When interrupted or exit'd, cleanup temporary files, and complete
2210 # config.log.  We remove comments because anyway the quotes in there
2211 # would cause problems or look ugly.
2212 # WARNING: Use '\'' to represent an apostrophe within the trap.
2213 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2214 trap 'exit_status=$?
2215   # Save into config.log some information that might help in debugging.
2216   {
2217     echo
2218
2219     $as_echo "## ---------------- ##
2220 ## Cache variables. ##
2221 ## ---------------- ##"
2222     echo
2223     # The following way of writing the cache mishandles newlines in values,
2224 (
2225   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2226     eval ac_val=\$$ac_var
2227     case $ac_val in #(
2228     *${as_nl}*)
2229       case $ac_var in #(
2230       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2231 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2232       esac
2233       case $ac_var in #(
2234       _ | IFS | as_nl) ;; #(
2235       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2236       *) { eval $ac_var=; unset $ac_var;} ;;
2237       esac ;;
2238     esac
2239   done
2240   (set) 2>&1 |
2241     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2242     *${as_nl}ac_space=\ *)
2243       sed -n \
2244         "s/'\''/'\''\\\\'\'''\''/g;
2245           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2246       ;; #(
2247     *)
2248       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2249       ;;
2250     esac |
2251     sort
2252 )
2253     echo
2254
2255     $as_echo "## ----------------- ##
2256 ## Output variables. ##
2257 ## ----------------- ##"
2258     echo
2259     for ac_var in $ac_subst_vars
2260     do
2261       eval ac_val=\$$ac_var
2262       case $ac_val in
2263       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264       esac
2265       $as_echo "$ac_var='\''$ac_val'\''"
2266     done | sort
2267     echo
2268
2269     if test -n "$ac_subst_files"; then
2270       $as_echo "## ------------------- ##
2271 ## File substitutions. ##
2272 ## ------------------- ##"
2273       echo
2274       for ac_var in $ac_subst_files
2275       do
2276         eval ac_val=\$$ac_var
2277         case $ac_val in
2278         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2279         esac
2280         $as_echo "$ac_var='\''$ac_val'\''"
2281       done | sort
2282       echo
2283     fi
2284
2285     if test -s confdefs.h; then
2286       $as_echo "## ----------- ##
2287 ## confdefs.h. ##
2288 ## ----------- ##"
2289       echo
2290       cat confdefs.h
2291       echo
2292     fi
2293     test "$ac_signal" != 0 &&
2294       $as_echo "$as_me: caught signal $ac_signal"
2295     $as_echo "$as_me: exit $exit_status"
2296   } >&5
2297   rm -f core *.core core.conftest.* &&
2298     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2299     exit $exit_status
2300 ' 0
2301 for ac_signal in 1 2 13 15; do
2302   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2303 done
2304 ac_signal=0
2305
2306 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2307 rm -f -r conftest* confdefs.h
2308
2309 $as_echo "/* confdefs.h */" > confdefs.h
2310
2311 # Predefined preprocessor variables.
2312
2313 cat >>confdefs.h <<_ACEOF
2314 #define PACKAGE_NAME "$PACKAGE_NAME"
2315 _ACEOF
2316
2317 cat >>confdefs.h <<_ACEOF
2318 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2319 _ACEOF
2320
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2323 _ACEOF
2324
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_STRING "$PACKAGE_STRING"
2327 _ACEOF
2328
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2331 _ACEOF
2332
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_URL "$PACKAGE_URL"
2335 _ACEOF
2336
2337
2338 # Let the site file select an alternate cache file if it wants to.
2339 # Prefer an explicitly selected file to automatically selected ones.
2340 ac_site_file1=NONE
2341 ac_site_file2=NONE
2342 if test -n "$CONFIG_SITE"; then
2343   # We do not want a PATH search for config.site.
2344   case $CONFIG_SITE in #((
2345     -*)  ac_site_file1=./$CONFIG_SITE;;
2346     */*) ac_site_file1=$CONFIG_SITE;;
2347     *)   ac_site_file1=./$CONFIG_SITE;;
2348   esac
2349 elif test "x$prefix" != xNONE; then
2350   ac_site_file1=$prefix/share/config.site
2351   ac_site_file2=$prefix/etc/config.site
2352 else
2353   ac_site_file1=$ac_default_prefix/share/config.site
2354   ac_site_file2=$ac_default_prefix/etc/config.site
2355 fi
2356 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2357 do
2358   test "x$ac_site_file" = xNONE && continue
2359   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2360     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2361 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2362     sed 's/^/| /' "$ac_site_file" >&5
2363     . "$ac_site_file" \
2364       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2366 as_fn_error $? "failed to load site script $ac_site_file
2367 See \`config.log' for more details" "$LINENO" 5 ; }
2368   fi
2369 done
2370
2371 if test -r "$cache_file"; then
2372   # Some versions of bash will fail to source /dev/null (special files
2373   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2374   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2375     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2376 $as_echo "$as_me: loading cache $cache_file" >&6;}
2377     case $cache_file in
2378       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2379       *)                      . "./$cache_file";;
2380     esac
2381   fi
2382 else
2383   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2384 $as_echo "$as_me: creating cache $cache_file" >&6;}
2385   >$cache_file
2386 fi
2387
2388 # Check that the precious variables saved in the cache have kept the same
2389 # value.
2390 ac_cache_corrupted=false
2391 for ac_var in $ac_precious_vars; do
2392   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2393   eval ac_new_set=\$ac_env_${ac_var}_set
2394   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2395   eval ac_new_val=\$ac_env_${ac_var}_value
2396   case $ac_old_set,$ac_new_set in
2397     set,)
2398       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2399 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2400       ac_cache_corrupted=: ;;
2401     ,set)
2402       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2403 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2404       ac_cache_corrupted=: ;;
2405     ,);;
2406     *)
2407       if test "x$ac_old_val" != "x$ac_new_val"; then
2408         # differences in whitespace do not lead to failure.
2409         ac_old_val_w=`echo x $ac_old_val`
2410         ac_new_val_w=`echo x $ac_new_val`
2411         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2412           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2413 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2414           ac_cache_corrupted=:
2415         else
2416           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2417 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2418           eval $ac_var=\$ac_old_val
2419         fi
2420         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2421 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2422         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2423 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2424       fi;;
2425   esac
2426   # Pass precious variables to config.status.
2427   if test "$ac_new_set" = set; then
2428     case $ac_new_val in
2429     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2430     *) ac_arg=$ac_var=$ac_new_val ;;
2431     esac
2432     case " $ac_configure_args " in
2433       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2434       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2435     esac
2436   fi
2437 done
2438 if $ac_cache_corrupted; then
2439   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2441   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2442 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2443   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2444 fi
2445 ## -------------------- ##
2446 ## Main body of script. ##
2447 ## -------------------- ##
2448
2449 ac_ext=c
2450 ac_cpp='$CPP $CPPFLAGS'
2451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2454
2455
2456
2457
2458
2459
2460 ac_config_headers="$ac_config_headers config.h"
2461
2462
2463
2464
2465 am__api_version='1.11'
2466
2467 ac_aux_dir=
2468 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2469   if test -f "$ac_dir/install-sh"; then
2470     ac_aux_dir=$ac_dir
2471     ac_install_sh="$ac_aux_dir/install-sh -c"
2472     break
2473   elif test -f "$ac_dir/install.sh"; then
2474     ac_aux_dir=$ac_dir
2475     ac_install_sh="$ac_aux_dir/install.sh -c"
2476     break
2477   elif test -f "$ac_dir/shtool"; then
2478     ac_aux_dir=$ac_dir
2479     ac_install_sh="$ac_aux_dir/shtool install -c"
2480     break
2481   fi
2482 done
2483 if test -z "$ac_aux_dir"; then
2484   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2485 fi
2486
2487 # These three variables are undocumented and unsupported,
2488 # and are intended to be withdrawn in a future Autoconf release.
2489 # They can cause serious problems if a builder's source tree is in a directory
2490 # whose full name contains unusual characters.
2491 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2492 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2493 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2494
2495
2496 # Find a good install program.  We prefer a C program (faster),
2497 # so one script is as good as another.  But avoid the broken or
2498 # incompatible versions:
2499 # SysV /etc/install, /usr/sbin/install
2500 # SunOS /usr/etc/install
2501 # IRIX /sbin/install
2502 # AIX /bin/install
2503 # AmigaOS /C/install, which installs bootblocks on floppy discs
2504 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2505 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2506 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2507 # OS/2's system install, which has a completely different semantic
2508 # ./install, which can be erroneously created by make from ./install.sh.
2509 # Reject install programs that cannot install multiple files.
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2511 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2512 if test -z "$INSTALL"; then
2513 if test "${ac_cv_path_install+set}" = set; then :
2514   $as_echo_n "(cached) " >&6
2515 else
2516   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517 for as_dir in $PATH
2518 do
2519   IFS=$as_save_IFS
2520   test -z "$as_dir" && as_dir=.
2521     # Account for people who put trailing slashes in PATH elements.
2522 case $as_dir/ in #((
2523   ./ | .// | /[cC]/* | \
2524   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2525   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2526   /usr/ucb/* ) ;;
2527   *)
2528     # OSF1 and SCO ODT 3.0 have their own names for install.
2529     # Don't use installbsd from OSF since it installs stuff as root
2530     # by default.
2531     for ac_prog in ginstall scoinst install; do
2532       for ac_exec_ext in '' $ac_executable_extensions; do
2533         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2534           if test $ac_prog = install &&
2535             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2536             # AIX install.  It has an incompatible calling convention.
2537             :
2538           elif test $ac_prog = install &&
2539             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2540             # program-specific install script used by HP pwplus--don't use.
2541             :
2542           else
2543             rm -rf conftest.one conftest.two conftest.dir
2544             echo one > conftest.one
2545             echo two > conftest.two
2546             mkdir conftest.dir
2547             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2548               test -s conftest.one && test -s conftest.two &&
2549               test -s conftest.dir/conftest.one &&
2550               test -s conftest.dir/conftest.two
2551             then
2552               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2553               break 3
2554             fi
2555           fi
2556         fi
2557       done
2558     done
2559     ;;
2560 esac
2561
2562   done
2563 IFS=$as_save_IFS
2564
2565 rm -rf conftest.one conftest.two conftest.dir
2566
2567 fi
2568   if test "${ac_cv_path_install+set}" = set; then
2569     INSTALL=$ac_cv_path_install
2570   else
2571     # As a last resort, use the slow shell script.  Don't cache a
2572     # value for INSTALL within a source directory, because that will
2573     # break other packages using the cache if that directory is
2574     # removed, or if the value is a relative name.
2575     INSTALL=$ac_install_sh
2576   fi
2577 fi
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2579 $as_echo "$INSTALL" >&6; }
2580
2581 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2582 # It thinks the first close brace ends the variable substitution.
2583 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2584
2585 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2586
2587 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2588
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2590 $as_echo_n "checking whether build environment is sane... " >&6; }
2591 # Just in case
2592 sleep 1
2593 echo timestamp > conftest.file
2594 # Reject unsafe characters in $srcdir or the absolute working directory
2595 # name.  Accept space and tab only in the latter.
2596 am_lf='
2597 '
2598 case `pwd` in
2599   *[\\\"\#\$\&\'\`$am_lf]*)
2600     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2601 esac
2602 case $srcdir in
2603   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2604     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2605 esac
2606
2607 # Do `set' in a subshell so we don't clobber the current shell's
2608 # arguments.  Must try -L first in case configure is actually a
2609 # symlink; some systems play weird games with the mod time of symlinks
2610 # (eg FreeBSD returns the mod time of the symlink's containing
2611 # directory).
2612 if (
2613    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2614    if test "$*" = "X"; then
2615       # -L didn't work.
2616       set X `ls -t "$srcdir/configure" conftest.file`
2617    fi
2618    rm -f conftest.file
2619    if test "$*" != "X $srcdir/configure conftest.file" \
2620       && test "$*" != "X conftest.file $srcdir/configure"; then
2621
2622       # If neither matched, then we have a broken ls.  This can happen
2623       # if, for instance, CONFIG_SHELL is bash and it inherits a
2624       # broken ls alias from the environment.  This has actually
2625       # happened.  Such a system could not be considered "sane".
2626       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2627 alias in your environment" "$LINENO" 5
2628    fi
2629
2630    test "$2" = conftest.file
2631    )
2632 then
2633    # Ok.
2634    :
2635 else
2636    as_fn_error $? "newly created file is older than distributed files!
2637 Check your system clock" "$LINENO" 5
2638 fi
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2640 $as_echo "yes" >&6; }
2641 test "$program_prefix" != NONE &&
2642   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2643 # Use a double $ so make ignores it.
2644 test "$program_suffix" != NONE &&
2645   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2646 # Double any \ or $.
2647 # By default was `s,x,x', remove it if useless.
2648 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2649 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2650
2651 # expand $ac_aux_dir to an absolute path
2652 am_aux_dir=`cd $ac_aux_dir && pwd`
2653
2654 if test x"${MISSING+set}" != xset; then
2655   case $am_aux_dir in
2656   *\ * | *\     *)
2657     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2658   *)
2659     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2660   esac
2661 fi
2662 # Use eval to expand $SHELL
2663 if eval "$MISSING --run true"; then
2664   am_missing_run="$MISSING --run "
2665 else
2666   am_missing_run=
2667   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2668 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2669 fi
2670
2671 if test x"${install_sh}" != xset; then
2672   case $am_aux_dir in
2673   *\ * | *\     *)
2674     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2675   *)
2676     install_sh="\${SHELL} $am_aux_dir/install-sh"
2677   esac
2678 fi
2679
2680 # Installed binaries are usually stripped using `strip' when the user
2681 # run `make install-strip'.  However `strip' might not be the right
2682 # tool to use in cross-compilation environments, therefore Automake
2683 # will honor the `STRIP' environment variable to overrule this program.
2684 if test "$cross_compiling" != no; then
2685   if test -n "$ac_tool_prefix"; then
2686   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2687 set dummy ${ac_tool_prefix}strip; ac_word=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if test "${ac_cv_prog_STRIP+set}" = set; then :
2691   $as_echo_n "(cached) " >&6
2692 else
2693   if test -n "$STRIP"; then
2694   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2695 else
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 for as_dir in $PATH
2698 do
2699   IFS=$as_save_IFS
2700   test -z "$as_dir" && as_dir=.
2701     for ac_exec_ext in '' $ac_executable_extensions; do
2702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705     break 2
2706   fi
2707 done
2708   done
2709 IFS=$as_save_IFS
2710
2711 fi
2712 fi
2713 STRIP=$ac_cv_prog_STRIP
2714 if test -n "$STRIP"; then
2715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2716 $as_echo "$STRIP" >&6; }
2717 else
2718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2720 fi
2721
2722
2723 fi
2724 if test -z "$ac_cv_prog_STRIP"; then
2725   ac_ct_STRIP=$STRIP
2726   # Extract the first word of "strip", so it can be a program name with args.
2727 set dummy strip; ac_word=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2731   $as_echo_n "(cached) " >&6
2732 else
2733   if test -n "$ac_ct_STRIP"; then
2734   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2735 else
2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737 for as_dir in $PATH
2738 do
2739   IFS=$as_save_IFS
2740   test -z "$as_dir" && as_dir=.
2741     for ac_exec_ext in '' $ac_executable_extensions; do
2742   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2743     ac_cv_prog_ac_ct_STRIP="strip"
2744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745     break 2
2746   fi
2747 done
2748   done
2749 IFS=$as_save_IFS
2750
2751 fi
2752 fi
2753 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2754 if test -n "$ac_ct_STRIP"; then
2755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2756 $as_echo "$ac_ct_STRIP" >&6; }
2757 else
2758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2760 fi
2761
2762   if test "x$ac_ct_STRIP" = x; then
2763     STRIP=":"
2764   else
2765     case $cross_compiling:$ac_tool_warned in
2766 yes:)
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2769 ac_tool_warned=yes ;;
2770 esac
2771     STRIP=$ac_ct_STRIP
2772   fi
2773 else
2774   STRIP="$ac_cv_prog_STRIP"
2775 fi
2776
2777 fi
2778 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2779
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2781 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2782 if test -z "$MKDIR_P"; then
2783   if test "${ac_cv_path_mkdir+set}" = set; then :
2784   $as_echo_n "(cached) " >&6
2785 else
2786   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2788 do
2789   IFS=$as_save_IFS
2790   test -z "$as_dir" && as_dir=.
2791     for ac_prog in mkdir gmkdir; do
2792          for ac_exec_ext in '' $ac_executable_extensions; do
2793            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2794            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2795              'mkdir (GNU coreutils) '* | \
2796              'mkdir (coreutils) '* | \
2797              'mkdir (fileutils) '4.1*)
2798                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2799                break 3;;
2800            esac
2801          done
2802        done
2803   done
2804 IFS=$as_save_IFS
2805
2806 fi
2807
2808   test -d ./--version && rmdir ./--version
2809   if test "${ac_cv_path_mkdir+set}" = set; then
2810     MKDIR_P="$ac_cv_path_mkdir -p"
2811   else
2812     # As a last resort, use the slow shell script.  Don't cache a
2813     # value for MKDIR_P within a source directory, because that will
2814     # break other packages using the cache if that directory is
2815     # removed, or if the value is a relative name.
2816     MKDIR_P="$ac_install_sh -d"
2817   fi
2818 fi
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2820 $as_echo "$MKDIR_P" >&6; }
2821
2822 mkdir_p="$MKDIR_P"
2823 case $mkdir_p in
2824   [\\/$]* | ?:[\\/]*) ;;
2825   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2826 esac
2827
2828 for ac_prog in gawk mawk nawk awk
2829 do
2830   # Extract the first word of "$ac_prog", so it can be a program name with args.
2831 set dummy $ac_prog; ac_word=$2
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2833 $as_echo_n "checking for $ac_word... " >&6; }
2834 if test "${ac_cv_prog_AWK+set}" = set; then :
2835   $as_echo_n "(cached) " >&6
2836 else
2837   if test -n "$AWK"; then
2838   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2839 else
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 for as_dir in $PATH
2842 do
2843   IFS=$as_save_IFS
2844   test -z "$as_dir" && as_dir=.
2845     for ac_exec_ext in '' $ac_executable_extensions; do
2846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847     ac_cv_prog_AWK="$ac_prog"
2848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849     break 2
2850   fi
2851 done
2852   done
2853 IFS=$as_save_IFS
2854
2855 fi
2856 fi
2857 AWK=$ac_cv_prog_AWK
2858 if test -n "$AWK"; then
2859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2860 $as_echo "$AWK" >&6; }
2861 else
2862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863 $as_echo "no" >&6; }
2864 fi
2865
2866
2867   test -n "$AWK" && break
2868 done
2869
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2871 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2872 set x ${MAKE-make}
2873 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2874 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2875   $as_echo_n "(cached) " >&6
2876 else
2877   cat >conftest.make <<\_ACEOF
2878 SHELL = /bin/sh
2879 all:
2880         @echo '@@@%%%=$(MAKE)=@@@%%%'
2881 _ACEOF
2882 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2883 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2884   *@@@%%%=?*=@@@%%%*)
2885     eval ac_cv_prog_make_${ac_make}_set=yes;;
2886   *)
2887     eval ac_cv_prog_make_${ac_make}_set=no;;
2888 esac
2889 rm -f conftest.make
2890 fi
2891 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2893 $as_echo "yes" >&6; }
2894   SET_MAKE=
2895 else
2896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897 $as_echo "no" >&6; }
2898   SET_MAKE="MAKE=${MAKE-make}"
2899 fi
2900
2901 rm -rf .tst 2>/dev/null
2902 mkdir .tst 2>/dev/null
2903 if test -d .tst; then
2904   am__leading_dot=.
2905 else
2906   am__leading_dot=_
2907 fi
2908 rmdir .tst 2>/dev/null
2909
2910 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2911   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2912   # is not polluted with repeated "-I."
2913   am__isrc=' -I$(srcdir)'
2914   # test to see if srcdir already configured
2915   if test -f $srcdir/config.status; then
2916     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2917   fi
2918 fi
2919
2920 # test whether we have cygpath
2921 if test -z "$CYGPATH_W"; then
2922   if (cygpath --version) >/dev/null 2>/dev/null; then
2923     CYGPATH_W='cygpath -w'
2924   else
2925     CYGPATH_W=echo
2926   fi
2927 fi
2928
2929
2930 # Define the identity of the package.
2931  PACKAGE='e_dbus'
2932  VERSION='1.7.1'
2933
2934
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE "$PACKAGE"
2937 _ACEOF
2938
2939
2940 cat >>confdefs.h <<_ACEOF
2941 #define VERSION "$VERSION"
2942 _ACEOF
2943
2944 # Some tools Automake needs.
2945
2946 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2947
2948
2949 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2950
2951
2952 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2953
2954
2955 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2956
2957
2958 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2959
2960 # We need awk for the "check" target.  The system "awk" is bad on
2961 # some platforms.
2962 # Always define AMTAR for backward compatibility.
2963
2964 AMTAR=${AMTAR-"${am_missing_run}tar"}
2965
2966 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2967
2968
2969
2970
2971
2972 # Check whether --enable-silent-rules was given.
2973 if test "${enable_silent_rules+set}" = set; then :
2974   enableval=$enable_silent_rules;
2975 fi
2976
2977 case $enable_silent_rules in
2978 yes) AM_DEFAULT_VERBOSITY=0;;
2979 no)  AM_DEFAULT_VERBOSITY=1;;
2980 *)   AM_DEFAULT_VERBOSITY=0;;
2981 esac
2982 AM_BACKSLASH='\'
2983
2984
2985 # Make sure we can run config.sub.
2986 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2987   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2988
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2990 $as_echo_n "checking build system type... " >&6; }
2991 if test "${ac_cv_build+set}" = set; then :
2992   $as_echo_n "(cached) " >&6
2993 else
2994   ac_build_alias=$build_alias
2995 test "x$ac_build_alias" = x &&
2996   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2997 test "x$ac_build_alias" = x &&
2998   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2999 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3000   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3001
3002 fi
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3004 $as_echo "$ac_cv_build" >&6; }
3005 case $ac_cv_build in
3006 *-*-*) ;;
3007 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3008 esac
3009 build=$ac_cv_build
3010 ac_save_IFS=$IFS; IFS='-'
3011 set x $ac_cv_build
3012 shift
3013 build_cpu=$1
3014 build_vendor=$2
3015 shift; shift
3016 # Remember, the first character of IFS is used to create $*,
3017 # except with old shells:
3018 build_os=$*
3019 IFS=$ac_save_IFS
3020 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3021
3022
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3024 $as_echo_n "checking host system type... " >&6; }
3025 if test "${ac_cv_host+set}" = set; then :
3026   $as_echo_n "(cached) " >&6
3027 else
3028   if test "x$host_alias" = x; then
3029   ac_cv_host=$ac_cv_build
3030 else
3031   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3032     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3033 fi
3034
3035 fi
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3037 $as_echo "$ac_cv_host" >&6; }
3038 case $ac_cv_host in
3039 *-*-*) ;;
3040 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3041 esac
3042 host=$ac_cv_host
3043 ac_save_IFS=$IFS; IFS='-'
3044 set x $ac_cv_host
3045 shift
3046 host_cpu=$1
3047 host_vendor=$2
3048 shift; shift
3049 # Remember, the first character of IFS is used to create $*,
3050 # except with old shells:
3051 host_os=$*
3052 IFS=$ac_save_IFS
3053 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3054
3055
3056 enable_win32_dll=yes
3057
3058 case $host in
3059 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3060   if test -n "$ac_tool_prefix"; then
3061   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3062 set dummy ${ac_tool_prefix}as; ac_word=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if test "${ac_cv_prog_AS+set}" = set; then :
3066   $as_echo_n "(cached) " >&6
3067 else
3068   if test -n "$AS"; then
3069   ac_cv_prog_AS="$AS" # Let the user override the test.
3070 else
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072 for as_dir in $PATH
3073 do
3074   IFS=$as_save_IFS
3075   test -z "$as_dir" && as_dir=.
3076     for ac_exec_ext in '' $ac_executable_extensions; do
3077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3078     ac_cv_prog_AS="${ac_tool_prefix}as"
3079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080     break 2
3081   fi
3082 done
3083   done
3084 IFS=$as_save_IFS
3085
3086 fi
3087 fi
3088 AS=$ac_cv_prog_AS
3089 if test -n "$AS"; then
3090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3091 $as_echo "$AS" >&6; }
3092 else
3093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3095 fi
3096
3097
3098 fi
3099 if test -z "$ac_cv_prog_AS"; then
3100   ac_ct_AS=$AS
3101   # Extract the first word of "as", so it can be a program name with args.
3102 set dummy as; ac_word=$2
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3104 $as_echo_n "checking for $ac_word... " >&6; }
3105 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3106   $as_echo_n "(cached) " >&6
3107 else
3108   if test -n "$ac_ct_AS"; then
3109   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3110 else
3111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3112 for as_dir in $PATH
3113 do
3114   IFS=$as_save_IFS
3115   test -z "$as_dir" && as_dir=.
3116     for ac_exec_ext in '' $ac_executable_extensions; do
3117   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3118     ac_cv_prog_ac_ct_AS="as"
3119     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120     break 2
3121   fi
3122 done
3123   done
3124 IFS=$as_save_IFS
3125
3126 fi
3127 fi
3128 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3129 if test -n "$ac_ct_AS"; then
3130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3131 $as_echo "$ac_ct_AS" >&6; }
3132 else
3133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134 $as_echo "no" >&6; }
3135 fi
3136
3137   if test "x$ac_ct_AS" = x; then
3138     AS="false"
3139   else
3140     case $cross_compiling:$ac_tool_warned in
3141 yes:)
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3144 ac_tool_warned=yes ;;
3145 esac
3146     AS=$ac_ct_AS
3147   fi
3148 else
3149   AS="$ac_cv_prog_AS"
3150 fi
3151
3152   if test -n "$ac_tool_prefix"; then
3153   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3154 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3158   $as_echo_n "(cached) " >&6
3159 else
3160   if test -n "$DLLTOOL"; then
3161   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3162 else
3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 for as_dir in $PATH
3165 do
3166   IFS=$as_save_IFS
3167   test -z "$as_dir" && as_dir=.
3168     for ac_exec_ext in '' $ac_executable_extensions; do
3169   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3170     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172     break 2
3173   fi
3174 done
3175   done
3176 IFS=$as_save_IFS
3177
3178 fi
3179 fi
3180 DLLTOOL=$ac_cv_prog_DLLTOOL
3181 if test -n "$DLLTOOL"; then
3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3183 $as_echo "$DLLTOOL" >&6; }
3184 else
3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3187 fi
3188
3189
3190 fi
3191 if test -z "$ac_cv_prog_DLLTOOL"; then
3192   ac_ct_DLLTOOL=$DLLTOOL
3193   # Extract the first word of "dlltool", so it can be a program name with args.
3194 set dummy dlltool; ac_word=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3198   $as_echo_n "(cached) " >&6
3199 else
3200   if test -n "$ac_ct_DLLTOOL"; then
3201   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3202 else
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 for as_dir in $PATH
3205 do
3206   IFS=$as_save_IFS
3207   test -z "$as_dir" && as_dir=.
3208     for ac_exec_ext in '' $ac_executable_extensions; do
3209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3210     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212     break 2
3213   fi
3214 done
3215   done
3216 IFS=$as_save_IFS
3217
3218 fi
3219 fi
3220 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3221 if test -n "$ac_ct_DLLTOOL"; then
3222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3223 $as_echo "$ac_ct_DLLTOOL" >&6; }
3224 else
3225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3227 fi
3228
3229   if test "x$ac_ct_DLLTOOL" = x; then
3230     DLLTOOL="false"
3231   else
3232     case $cross_compiling:$ac_tool_warned in
3233 yes:)
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3236 ac_tool_warned=yes ;;
3237 esac
3238     DLLTOOL=$ac_ct_DLLTOOL
3239   fi
3240 else
3241   DLLTOOL="$ac_cv_prog_DLLTOOL"
3242 fi
3243
3244   if test -n "$ac_tool_prefix"; then
3245   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3246 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248 $as_echo_n "checking for $ac_word... " >&6; }
3249 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3250   $as_echo_n "(cached) " >&6
3251 else
3252   if test -n "$OBJDUMP"; then
3253   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3254 else
3255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256 for as_dir in $PATH
3257 do
3258   IFS=$as_save_IFS
3259   test -z "$as_dir" && as_dir=.
3260     for ac_exec_ext in '' $ac_executable_extensions; do
3261   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3262     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3263     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264     break 2
3265   fi
3266 done
3267   done
3268 IFS=$as_save_IFS
3269
3270 fi
3271 fi
3272 OBJDUMP=$ac_cv_prog_OBJDUMP
3273 if test -n "$OBJDUMP"; then
3274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3275 $as_echo "$OBJDUMP" >&6; }
3276 else
3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 $as_echo "no" >&6; }
3279 fi
3280
3281
3282 fi
3283 if test -z "$ac_cv_prog_OBJDUMP"; then
3284   ac_ct_OBJDUMP=$OBJDUMP
3285   # Extract the first word of "objdump", so it can be a program name with args.
3286 set dummy objdump; ac_word=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3290   $as_echo_n "(cached) " >&6
3291 else
3292   if test -n "$ac_ct_OBJDUMP"; then
3293   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3294 else
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 for as_dir in $PATH
3297 do
3298   IFS=$as_save_IFS
3299   test -z "$as_dir" && as_dir=.
3300     for ac_exec_ext in '' $ac_executable_extensions; do
3301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304     break 2
3305   fi
3306 done
3307   done
3308 IFS=$as_save_IFS
3309
3310 fi
3311 fi
3312 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3313 if test -n "$ac_ct_OBJDUMP"; then
3314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3315 $as_echo "$ac_ct_OBJDUMP" >&6; }
3316 else
3317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3319 fi
3320
3321   if test "x$ac_ct_OBJDUMP" = x; then
3322     OBJDUMP="false"
3323   else
3324     case $cross_compiling:$ac_tool_warned in
3325 yes:)
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3328 ac_tool_warned=yes ;;
3329 esac
3330     OBJDUMP=$ac_ct_OBJDUMP
3331   fi
3332 else
3333   OBJDUMP="$ac_cv_prog_OBJDUMP"
3334 fi
3335
3336   ;;
3337 esac
3338
3339 test -z "$AS" && AS=as
3340
3341
3342
3343
3344
3345 test -z "$DLLTOOL" && DLLTOOL=dlltool
3346
3347
3348
3349
3350
3351 test -z "$OBJDUMP" && OBJDUMP=objdump
3352
3353
3354
3355
3356
3357
3358
3359 case `pwd` in
3360   *\ * | *\     *)
3361     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3362 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3363 esac
3364
3365
3366
3367 macro_version='2.2.6b'
3368 macro_revision='1.3017'
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382 ltmain="$ac_aux_dir/ltmain.sh"
3383
3384 DEPDIR="${am__leading_dot}deps"
3385
3386 ac_config_commands="$ac_config_commands depfiles"
3387
3388
3389 am_make=${MAKE-make}
3390 cat > confinc << 'END'
3391 am__doit:
3392         @echo this is the am__doit target
3393 .PHONY: am__doit
3394 END
3395 # If we don't find an include directive, just comment out the code.
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3397 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3398 am__include="#"
3399 am__quote=
3400 _am_result=none
3401 # First try GNU make style include.
3402 echo "include confinc" > confmf
3403 # Ignore all kinds of additional output from `make'.
3404 case `$am_make -s -f confmf 2> /dev/null` in #(
3405 *the\ am__doit\ target*)
3406   am__include=include
3407   am__quote=
3408   _am_result=GNU
3409   ;;
3410 esac
3411 # Now try BSD make style include.
3412 if test "$am__include" = "#"; then
3413    echo '.include "confinc"' > confmf
3414    case `$am_make -s -f confmf 2> /dev/null` in #(
3415    *the\ am__doit\ target*)
3416      am__include=.include
3417      am__quote="\""
3418      _am_result=BSD
3419      ;;
3420    esac
3421 fi
3422
3423
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3425 $as_echo "$_am_result" >&6; }
3426 rm -f confinc confmf
3427
3428 # Check whether --enable-dependency-tracking was given.
3429 if test "${enable_dependency_tracking+set}" = set; then :
3430   enableval=$enable_dependency_tracking;
3431 fi
3432
3433 if test "x$enable_dependency_tracking" != xno; then
3434   am_depcomp="$ac_aux_dir/depcomp"
3435   AMDEPBACKSLASH='\'
3436 fi
3437  if test "x$enable_dependency_tracking" != xno; then
3438   AMDEP_TRUE=
3439   AMDEP_FALSE='#'
3440 else
3441   AMDEP_TRUE='#'
3442   AMDEP_FALSE=
3443 fi
3444
3445
3446 ac_ext=c
3447 ac_cpp='$CPP $CPPFLAGS'
3448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3451 if test -n "$ac_tool_prefix"; then
3452   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3453 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3455 $as_echo_n "checking for $ac_word... " >&6; }
3456 if test "${ac_cv_prog_CC+set}" = set; then :
3457   $as_echo_n "(cached) " >&6
3458 else
3459   if test -n "$CC"; then
3460   ac_cv_prog_CC="$CC" # Let the user override the test.
3461 else
3462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3463 for as_dir in $PATH
3464 do
3465   IFS=$as_save_IFS
3466   test -z "$as_dir" && as_dir=.
3467     for ac_exec_ext in '' $ac_executable_extensions; do
3468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3469     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3471     break 2
3472   fi
3473 done
3474   done
3475 IFS=$as_save_IFS
3476
3477 fi
3478 fi
3479 CC=$ac_cv_prog_CC
3480 if test -n "$CC"; then
3481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3482 $as_echo "$CC" >&6; }
3483 else
3484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3485 $as_echo "no" >&6; }
3486 fi
3487
3488
3489 fi
3490 if test -z "$ac_cv_prog_CC"; then
3491   ac_ct_CC=$CC
3492   # Extract the first word of "gcc", so it can be a program name with args.
3493 set dummy gcc; ac_word=$2
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3495 $as_echo_n "checking for $ac_word... " >&6; }
3496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3497   $as_echo_n "(cached) " >&6
3498 else
3499   if test -n "$ac_ct_CC"; then
3500   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3501 else
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 for as_dir in $PATH
3504 do
3505   IFS=$as_save_IFS
3506   test -z "$as_dir" && as_dir=.
3507     for ac_exec_ext in '' $ac_executable_extensions; do
3508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3509     ac_cv_prog_ac_ct_CC="gcc"
3510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3511     break 2
3512   fi
3513 done
3514   done
3515 IFS=$as_save_IFS
3516
3517 fi
3518 fi
3519 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3520 if test -n "$ac_ct_CC"; then
3521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3522 $as_echo "$ac_ct_CC" >&6; }
3523 else
3524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3525 $as_echo "no" >&6; }
3526 fi
3527
3528   if test "x$ac_ct_CC" = x; then
3529     CC=""
3530   else
3531     case $cross_compiling:$ac_tool_warned in
3532 yes:)
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3535 ac_tool_warned=yes ;;
3536 esac
3537     CC=$ac_ct_CC
3538   fi
3539 else
3540   CC="$ac_cv_prog_CC"
3541 fi
3542
3543 if test -z "$CC"; then
3544           if test -n "$ac_tool_prefix"; then
3545     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3546 set dummy ${ac_tool_prefix}cc; ac_word=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if test "${ac_cv_prog_CC+set}" = set; then :
3550   $as_echo_n "(cached) " >&6
3551 else
3552   if test -n "$CC"; then
3553   ac_cv_prog_CC="$CC" # Let the user override the test.
3554 else
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 for as_dir in $PATH
3557 do
3558   IFS=$as_save_IFS
3559   test -z "$as_dir" && as_dir=.
3560     for ac_exec_ext in '' $ac_executable_extensions; do
3561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562     ac_cv_prog_CC="${ac_tool_prefix}cc"
3563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564     break 2
3565   fi
3566 done
3567   done
3568 IFS=$as_save_IFS
3569
3570 fi
3571 fi
3572 CC=$ac_cv_prog_CC
3573 if test -n "$CC"; then
3574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3575 $as_echo "$CC" >&6; }
3576 else
3577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3579 fi
3580
3581
3582   fi
3583 fi
3584 if test -z "$CC"; then
3585   # Extract the first word of "cc", so it can be a program name with args.
3586 set dummy cc; ac_word=$2
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588 $as_echo_n "checking for $ac_word... " >&6; }
3589 if test "${ac_cv_prog_CC+set}" = set; then :
3590   $as_echo_n "(cached) " >&6
3591 else
3592   if test -n "$CC"; then
3593   ac_cv_prog_CC="$CC" # Let the user override the test.
3594 else
3595   ac_prog_rejected=no
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 for as_dir in $PATH
3598 do
3599   IFS=$as_save_IFS
3600   test -z "$as_dir" && as_dir=.
3601     for ac_exec_ext in '' $ac_executable_extensions; do
3602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3603     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3604        ac_prog_rejected=yes
3605        continue
3606      fi
3607     ac_cv_prog_CC="cc"
3608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609     break 2
3610   fi
3611 done
3612   done
3613 IFS=$as_save_IFS
3614
3615 if test $ac_prog_rejected = yes; then
3616   # We found a bogon in the path, so make sure we never use it.
3617   set dummy $ac_cv_prog_CC
3618   shift
3619   if test $# != 0; then
3620     # We chose a different compiler from the bogus one.
3621     # However, it has the same basename, so the bogon will be chosen
3622     # first if we set CC to just the basename; use the full file name.
3623     shift
3624     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3625   fi
3626 fi
3627 fi
3628 fi
3629 CC=$ac_cv_prog_CC
3630 if test -n "$CC"; then
3631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3632 $as_echo "$CC" >&6; }
3633 else
3634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3636 fi
3637
3638
3639 fi
3640 if test -z "$CC"; then
3641   if test -n "$ac_tool_prefix"; then
3642   for ac_prog in cl.exe
3643   do
3644     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3645 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if test "${ac_cv_prog_CC+set}" = set; then :
3649   $as_echo_n "(cached) " >&6
3650 else
3651   if test -n "$CC"; then
3652   ac_cv_prog_CC="$CC" # Let the user override the test.
3653 else
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3656 do
3657   IFS=$as_save_IFS
3658   test -z "$as_dir" && as_dir=.
3659     for ac_exec_ext in '' $ac_executable_extensions; do
3660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3661     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663     break 2
3664   fi
3665 done
3666   done
3667 IFS=$as_save_IFS
3668
3669 fi
3670 fi
3671 CC=$ac_cv_prog_CC
3672 if test -n "$CC"; then
3673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3674 $as_echo "$CC" >&6; }
3675 else
3676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3678 fi
3679
3680
3681     test -n "$CC" && break
3682   done
3683 fi
3684 if test -z "$CC"; then
3685   ac_ct_CC=$CC
3686   for ac_prog in cl.exe
3687 do
3688   # Extract the first word of "$ac_prog", so it can be a program name with args.
3689 set dummy $ac_prog; 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 test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3693   $as_echo_n "(cached) " >&6
3694 else
3695   if test -n "$ac_ct_CC"; then
3696   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3697 else
3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3699 for as_dir in $PATH
3700 do
3701   IFS=$as_save_IFS
3702   test -z "$as_dir" && as_dir=.
3703     for ac_exec_ext in '' $ac_executable_extensions; do
3704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3705     ac_cv_prog_ac_ct_CC="$ac_prog"
3706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707     break 2
3708   fi
3709 done
3710   done
3711 IFS=$as_save_IFS
3712
3713 fi
3714 fi
3715 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3716 if test -n "$ac_ct_CC"; then
3717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3718 $as_echo "$ac_ct_CC" >&6; }
3719 else
3720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3721 $as_echo "no" >&6; }
3722 fi
3723
3724
3725   test -n "$ac_ct_CC" && break
3726 done
3727
3728   if test "x$ac_ct_CC" = x; then
3729     CC=""
3730   else
3731     case $cross_compiling:$ac_tool_warned in
3732 yes:)
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3735 ac_tool_warned=yes ;;
3736 esac
3737     CC=$ac_ct_CC
3738   fi
3739 fi
3740
3741 fi
3742
3743
3744 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3746 as_fn_error $? "no acceptable C compiler found in \$PATH
3747 See \`config.log' for more details" "$LINENO" 5 ; }
3748
3749 # Provide some information about the compiler.
3750 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3751 set X $ac_compile
3752 ac_compiler=$2
3753 for ac_option in --version -v -V -qversion; do
3754   { { ac_try="$ac_compiler $ac_option >&5"
3755 case "(($ac_try" in
3756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757   *) ac_try_echo=$ac_try;;
3758 esac
3759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3760 $as_echo "$ac_try_echo"; } >&5
3761   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3762   ac_status=$?
3763   if test -s conftest.err; then
3764     sed '10a\
3765 ... rest of stderr output deleted ...
3766          10q' conftest.err >conftest.er1
3767     cat conftest.er1 >&5
3768   fi
3769   rm -f conftest.er1 conftest.err
3770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3771   test $ac_status = 0; }
3772 done
3773
3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h.  */
3776
3777 int
3778 main ()
3779 {
3780
3781   ;
3782   return 0;
3783 }
3784 _ACEOF
3785 ac_clean_files_save=$ac_clean_files
3786 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3787 # Try to create an executable without -o first, disregard a.out.
3788 # It will help us diagnose broken compilers, and finding out an intuition
3789 # of exeext.
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3791 $as_echo_n "checking whether the C compiler works... " >&6; }
3792 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3793
3794 # The possible output files:
3795 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3796
3797 ac_rmfiles=
3798 for ac_file in $ac_files
3799 do
3800   case $ac_file in
3801     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3802     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3803   esac
3804 done
3805 rm -f $ac_rmfiles
3806
3807 if { { ac_try="$ac_link_default"
3808 case "(($ac_try" in
3809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810   *) ac_try_echo=$ac_try;;
3811 esac
3812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3813 $as_echo "$ac_try_echo"; } >&5
3814   (eval "$ac_link_default") 2>&5
3815   ac_status=$?
3816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3817   test $ac_status = 0; }; then :
3818   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3819 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3820 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3821 # so that the user can short-circuit this test for compilers unknown to
3822 # Autoconf.
3823 for ac_file in $ac_files ''
3824 do
3825   test -f "$ac_file" || continue
3826   case $ac_file in
3827     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3828         ;;
3829     [ab].out )
3830         # We found the default executable, but exeext='' is most
3831         # certainly right.
3832         break;;
3833     *.* )
3834         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3835         then :; else
3836            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3837         fi
3838         # We set ac_cv_exeext here because the later test for it is not
3839         # safe: cross compilers may not add the suffix if given an `-o'
3840         # argument, so we may need to know it at that point already.
3841         # Even if this section looks crufty: it has the advantage of
3842         # actually working.
3843         break;;
3844     * )
3845         break;;
3846   esac
3847 done
3848 test "$ac_cv_exeext" = no && ac_cv_exeext=
3849
3850 else
3851   ac_file=''
3852 fi
3853 if test -z "$ac_file"; then :
3854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3856 $as_echo "$as_me: failed program was:" >&5
3857 sed 's/^/| /' conftest.$ac_ext >&5
3858
3859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3861 as_fn_error 77 "C compiler cannot create executables
3862 See \`config.log' for more details" "$LINENO" 5 ; }
3863 else
3864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3865 $as_echo "yes" >&6; }
3866 fi
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3868 $as_echo_n "checking for C compiler default output file name... " >&6; }
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3870 $as_echo "$ac_file" >&6; }
3871 ac_exeext=$ac_cv_exeext
3872
3873 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3874 ac_clean_files=$ac_clean_files_save
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3876 $as_echo_n "checking for suffix of executables... " >&6; }
3877 if { { ac_try="$ac_link"
3878 case "(($ac_try" in
3879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3880   *) ac_try_echo=$ac_try;;
3881 esac
3882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3883 $as_echo "$ac_try_echo"; } >&5
3884   (eval "$ac_link") 2>&5
3885   ac_status=$?
3886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3887   test $ac_status = 0; }; then :
3888   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3889 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3890 # work properly (i.e., refer to `conftest.exe'), while it won't with
3891 # `rm'.
3892 for ac_file in conftest.exe conftest conftest.*; do
3893   test -f "$ac_file" || continue
3894   case $ac_file in
3895     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3896     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3897           break;;
3898     * ) break;;
3899   esac
3900 done
3901 else
3902   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3904 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3905 See \`config.log' for more details" "$LINENO" 5 ; }
3906 fi
3907 rm -f conftest conftest$ac_cv_exeext
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3909 $as_echo "$ac_cv_exeext" >&6; }
3910
3911 rm -f conftest.$ac_ext
3912 EXEEXT=$ac_cv_exeext
3913 ac_exeext=$EXEEXT
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h.  */
3916 #include <stdio.h>
3917 int
3918 main ()
3919 {
3920 FILE *f = fopen ("conftest.out", "w");
3921  return ferror (f) || fclose (f) != 0;
3922
3923   ;
3924   return 0;
3925 }
3926 _ACEOF
3927 ac_clean_files="$ac_clean_files conftest.out"
3928 # Check that the compiler produces executables we can run.  If not, either
3929 # the compiler is broken, or we cross compile.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3931 $as_echo_n "checking whether we are cross compiling... " >&6; }
3932 if test "$cross_compiling" != yes; then
3933   { { ac_try="$ac_link"
3934 case "(($ac_try" in
3935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936   *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940   (eval "$ac_link") 2>&5
3941   ac_status=$?
3942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943   test $ac_status = 0; }
3944   if { ac_try='./conftest$ac_cv_exeext'
3945   { { case "(($ac_try" in
3946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3947   *) ac_try_echo=$ac_try;;
3948 esac
3949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3950 $as_echo "$ac_try_echo"; } >&5
3951   (eval "$ac_try") 2>&5
3952   ac_status=$?
3953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954   test $ac_status = 0; }; }; then
3955     cross_compiling=no
3956   else
3957     if test "$cross_compiling" = maybe; then
3958         cross_compiling=yes
3959     else
3960         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error $? "cannot run C compiled programs.
3963 If you meant to cross compile, use \`--host'.
3964 See \`config.log' for more details" "$LINENO" 5 ; }
3965     fi
3966   fi
3967 fi
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3969 $as_echo "$cross_compiling" >&6; }
3970
3971 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3972 ac_clean_files=$ac_clean_files_save
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3974 $as_echo_n "checking for suffix of object files... " >&6; }
3975 if test "${ac_cv_objext+set}" = set; then :
3976   $as_echo_n "(cached) " >&6
3977 else
3978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h.  */
3980
3981 int
3982 main ()
3983 {
3984
3985   ;
3986   return 0;
3987 }
3988 _ACEOF
3989 rm -f conftest.o conftest.obj
3990 if { { ac_try="$ac_compile"
3991 case "(($ac_try" in
3992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993   *) ac_try_echo=$ac_try;;
3994 esac
3995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3996 $as_echo "$ac_try_echo"; } >&5
3997   (eval "$ac_compile") 2>&5
3998   ac_status=$?
3999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4000   test $ac_status = 0; }; then :
4001   for ac_file in conftest.o conftest.obj conftest.*; do
4002   test -f "$ac_file" || continue;
4003   case $ac_file in
4004     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4005     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4006        break;;
4007   esac
4008 done
4009 else
4010   $as_echo "$as_me: failed program was:" >&5
4011 sed 's/^/| /' conftest.$ac_ext >&5
4012
4013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error $? "cannot compute suffix of object files: cannot compile
4016 See \`config.log' for more details" "$LINENO" 5 ; }
4017 fi
4018 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4019 fi
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4021 $as_echo "$ac_cv_objext" >&6; }
4022 OBJEXT=$ac_cv_objext
4023 ac_objext=$OBJEXT
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4025 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4026 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4027   $as_echo_n "(cached) " >&6
4028 else
4029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h.  */
4031
4032 int
4033 main ()
4034 {
4035 #ifndef __GNUC__
4036        choke me
4037 #endif
4038
4039   ;
4040   return 0;
4041 }
4042 _ACEOF
4043 if ac_fn_c_try_compile "$LINENO"; then :
4044   ac_compiler_gnu=yes
4045 else
4046   ac_compiler_gnu=no
4047 fi
4048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4049 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4050
4051 fi
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4053 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4054 if test $ac_compiler_gnu = yes; then
4055   GCC=yes
4056 else
4057   GCC=
4058 fi
4059 ac_test_CFLAGS=${CFLAGS+set}
4060 ac_save_CFLAGS=$CFLAGS
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4062 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4063 if test "${ac_cv_prog_cc_g+set}" = set; then :
4064   $as_echo_n "(cached) " >&6
4065 else
4066   ac_save_c_werror_flag=$ac_c_werror_flag
4067    ac_c_werror_flag=yes
4068    ac_cv_prog_cc_g=no
4069    CFLAGS="-g"
4070    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h.  */
4072
4073 int
4074 main ()
4075 {
4076
4077   ;
4078   return 0;
4079 }
4080 _ACEOF
4081 if ac_fn_c_try_compile "$LINENO"; then :
4082   ac_cv_prog_cc_g=yes
4083 else
4084   CFLAGS=""
4085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h.  */
4087
4088 int
4089 main ()
4090 {
4091
4092   ;
4093   return 0;
4094 }
4095 _ACEOF
4096 if ac_fn_c_try_compile "$LINENO"; then :
4097
4098 else
4099   ac_c_werror_flag=$ac_save_c_werror_flag
4100          CFLAGS="-g"
4101          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h.  */
4103
4104 int
4105 main ()
4106 {
4107
4108   ;
4109   return 0;
4110 }
4111 _ACEOF
4112 if ac_fn_c_try_compile "$LINENO"; then :
4113   ac_cv_prog_cc_g=yes
4114 fi
4115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116 fi
4117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4118 fi
4119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4120    ac_c_werror_flag=$ac_save_c_werror_flag
4121 fi
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4123 $as_echo "$ac_cv_prog_cc_g" >&6; }
4124 if test "$ac_test_CFLAGS" = set; then
4125   CFLAGS=$ac_save_CFLAGS
4126 elif test $ac_cv_prog_cc_g = yes; then
4127   if test "$GCC" = yes; then
4128     CFLAGS="-g -O2"
4129   else
4130     CFLAGS="-g"
4131   fi
4132 else
4133   if test "$GCC" = yes; then
4134     CFLAGS="-O2"
4135   else
4136     CFLAGS=
4137   fi
4138 fi
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4140 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4141 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4142   $as_echo_n "(cached) " >&6
4143 else
4144   ac_cv_prog_cc_c89=no
4145 ac_save_CC=$CC
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h.  */
4148 #include <stdarg.h>
4149 #include <stdio.h>
4150 #include <sys/types.h>
4151 #include <sys/stat.h>
4152 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4153 struct buf { int x; };
4154 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4155 static char *e (p, i)
4156      char **p;
4157      int i;
4158 {
4159   return p[i];
4160 }
4161 static char *f (char * (*g) (char **, int), char **p, ...)
4162 {
4163   char *s;
4164   va_list v;
4165   va_start (v,p);
4166   s = g (p, va_arg (v,int));
4167   va_end (v);
4168   return s;
4169 }
4170
4171 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4172    function prototypes and stuff, but not '\xHH' hex character constants.
4173    These don't provoke an error unfortunately, instead are silently treated
4174    as 'x'.  The following induces an error, until -std is added to get
4175    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4176    array size at least.  It's necessary to write '\x00'==0 to get something
4177    that's true only with -std.  */
4178 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4179
4180 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4181    inside strings and character constants.  */
4182 #define FOO(x) 'x'
4183 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4184
4185 int test (int i, double x);
4186 struct s1 {int (*f) (int a);};
4187 struct s2 {int (*f) (double a);};
4188 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4189 int argc;
4190 char **argv;
4191 int
4192 main ()
4193 {
4194 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4195   ;
4196   return 0;
4197 }
4198 _ACEOF
4199 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4200         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4201 do
4202   CC="$ac_save_CC $ac_arg"
4203   if ac_fn_c_try_compile "$LINENO"; then :
4204   ac_cv_prog_cc_c89=$ac_arg
4205 fi
4206 rm -f core conftest.err conftest.$ac_objext
4207   test "x$ac_cv_prog_cc_c89" != "xno" && break
4208 done
4209 rm -f conftest.$ac_ext
4210 CC=$ac_save_CC
4211
4212 fi
4213 # AC_CACHE_VAL
4214 case "x$ac_cv_prog_cc_c89" in
4215   x)
4216     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4217 $as_echo "none needed" >&6; } ;;
4218   xno)
4219     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4220 $as_echo "unsupported" >&6; } ;;
4221   *)
4222     CC="$CC $ac_cv_prog_cc_c89"
4223     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4224 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4225 esac
4226 if test "x$ac_cv_prog_cc_c89" != xno; then :
4227
4228 fi
4229
4230 ac_ext=c
4231 ac_cpp='$CPP $CPPFLAGS'
4232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4235
4236 depcc="$CC"   am_compiler_list=
4237
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4239 $as_echo_n "checking dependency style of $depcc... " >&6; }
4240 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4241   $as_echo_n "(cached) " >&6
4242 else
4243   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4244   # We make a subdir and do the tests there.  Otherwise we can end up
4245   # making bogus files that we don't know about and never remove.  For
4246   # instance it was reported that on HP-UX the gcc test will end up
4247   # making a dummy file named `D' -- because `-MD' means `put the output
4248   # in D'.
4249   mkdir conftest.dir
4250   # Copy depcomp to subdir because otherwise we won't find it if we're
4251   # using a relative directory.
4252   cp "$am_depcomp" conftest.dir
4253   cd conftest.dir
4254   # We will build objects and dependencies in a subdirectory because
4255   # it helps to detect inapplicable dependency modes.  For instance
4256   # both Tru64's cc and ICC support -MD to output dependencies as a
4257   # side effect of compilation, but ICC will put the dependencies in
4258   # the current directory while Tru64 will put them in the object
4259   # directory.
4260   mkdir sub
4261
4262   am_cv_CC_dependencies_compiler_type=none
4263   if test "$am_compiler_list" = ""; then
4264      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4265   fi
4266   am__universal=false
4267   case " $depcc " in #(
4268      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4269      esac
4270
4271   for depmode in $am_compiler_list; do
4272     # Setup a source with many dependencies, because some compilers
4273     # like to wrap large dependency lists on column 80 (with \), and
4274     # we should not choose a depcomp mode which is confused by this.
4275     #
4276     # We need to recreate these files for each test, as the compiler may
4277     # overwrite some of them when testing with obscure command lines.
4278     # This happens at least with the AIX C compiler.
4279     : > sub/conftest.c
4280     for i in 1 2 3 4 5 6; do
4281       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4282       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4283       # Solaris 8's {/usr,}/bin/sh.
4284       touch sub/conftst$i.h
4285     done
4286     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4287
4288     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4289     # mode.  It turns out that the SunPro C++ compiler does not properly
4290     # handle `-M -o', and we need to detect this.  Also, some Intel
4291     # versions had trouble with output in subdirs
4292     am__obj=sub/conftest.${OBJEXT-o}
4293     am__minus_obj="-o $am__obj"
4294     case $depmode in
4295     gcc)
4296       # This depmode causes a compiler race in universal mode.
4297       test "$am__universal" = false || continue
4298       ;;
4299     nosideeffect)
4300       # after this tag, mechanisms are not by side-effect, so they'll
4301       # only be used when explicitly requested
4302       if test "x$enable_dependency_tracking" = xyes; then
4303         continue
4304       else
4305         break
4306       fi
4307       ;;
4308     msvisualcpp | msvcmsys)
4309       # This compiler won't grok `-c -o', but also, the minuso test has
4310       # not run yet.  These depmodes are late enough in the game, and
4311       # so weak that their functioning should not be impacted.
4312       am__obj=conftest.${OBJEXT-o}
4313       am__minus_obj=
4314       ;;
4315     none) break ;;
4316     esac
4317     if depmode=$depmode \
4318        source=sub/conftest.c object=$am__obj \
4319        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4320        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4321          >/dev/null 2>conftest.err &&
4322        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4323        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4324        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4325        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4326       # icc doesn't choke on unknown options, it will just issue warnings
4327       # or remarks (even with -Werror).  So we grep stderr for any message
4328       # that says an option was ignored or not supported.
4329       # When given -MP, icc 7.0 and 7.1 complain thusly:
4330       #   icc: Command line warning: ignoring option '-M'; no argument required
4331       # The diagnosis changed in icc 8.0:
4332       #   icc: Command line remark: option '-MP' not supported
4333       if (grep 'ignoring option' conftest.err ||
4334           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4335         am_cv_CC_dependencies_compiler_type=$depmode
4336         break
4337       fi
4338     fi
4339   done
4340
4341   cd ..
4342   rm -rf conftest.dir
4343 else
4344   am_cv_CC_dependencies_compiler_type=none
4345 fi
4346
4347 fi
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4349 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4350 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4351
4352  if
4353   test "x$enable_dependency_tracking" != xno \
4354   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4355   am__fastdepCC_TRUE=
4356   am__fastdepCC_FALSE='#'
4357 else
4358   am__fastdepCC_TRUE='#'
4359   am__fastdepCC_FALSE=
4360 fi
4361
4362
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4364 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4365 if test "${ac_cv_path_SED+set}" = set; then :
4366   $as_echo_n "(cached) " >&6
4367 else
4368             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4369      for ac_i in 1 2 3 4 5 6 7; do
4370        ac_script="$ac_script$as_nl$ac_script"
4371      done
4372      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4373      { ac_script=; unset ac_script;}
4374      if test -z "$SED"; then
4375   ac_path_SED_found=false
4376   # Loop through the user's path and test for each of PROGNAME-LIST
4377   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 for as_dir in $PATH
4379 do
4380   IFS=$as_save_IFS
4381   test -z "$as_dir" && as_dir=.
4382     for ac_prog in sed gsed; do
4383     for ac_exec_ext in '' $ac_executable_extensions; do
4384       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4385       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4386 # Check for GNU ac_path_SED and select it if it is found.
4387   # Check for GNU $ac_path_SED
4388 case `"$ac_path_SED" --version 2>&1` in
4389 *GNU*)
4390   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4391 *)
4392   ac_count=0
4393   $as_echo_n 0123456789 >"conftest.in"
4394   while :
4395   do
4396     cat "conftest.in" "conftest.in" >"conftest.tmp"
4397     mv "conftest.tmp" "conftest.in"
4398     cp "conftest.in" "conftest.nl"
4399     $as_echo '' >> "conftest.nl"
4400     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4401     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4402     as_fn_arith $ac_count + 1 && ac_count=$as_val
4403     if test $ac_count -gt ${ac_path_SED_max-0}; then
4404       # Best one so far, save it but keep looking for a better one
4405       ac_cv_path_SED="$ac_path_SED"
4406       ac_path_SED_max=$ac_count
4407     fi
4408     # 10*(2^10) chars as input seems more than enough
4409     test $ac_count -gt 10 && break
4410   done
4411   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4412 esac
4413
4414       $ac_path_SED_found && break 3
4415     done
4416   done
4417   done
4418 IFS=$as_save_IFS
4419   if test -z "$ac_cv_path_SED"; then
4420     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4421   fi
4422 else
4423   ac_cv_path_SED=$SED
4424 fi
4425
4426 fi
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4428 $as_echo "$ac_cv_path_SED" >&6; }
4429  SED="$ac_cv_path_SED"
4430   rm -f conftest.sed
4431
4432 test -z "$SED" && SED=sed
4433 Xsed="$SED -e 1s/^X//"
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4446 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4447 if test "${ac_cv_path_GREP+set}" = set; then :
4448   $as_echo_n "(cached) " >&6
4449 else
4450   if test -z "$GREP"; then
4451   ac_path_GREP_found=false
4452   # Loop through the user's path and test for each of PROGNAME-LIST
4453   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4455 do
4456   IFS=$as_save_IFS
4457   test -z "$as_dir" && as_dir=.
4458     for ac_prog in grep ggrep; do
4459     for ac_exec_ext in '' $ac_executable_extensions; do
4460       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4461       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4462 # Check for GNU ac_path_GREP and select it if it is found.
4463   # Check for GNU $ac_path_GREP
4464 case `"$ac_path_GREP" --version 2>&1` in
4465 *GNU*)
4466   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4467 *)
4468   ac_count=0
4469   $as_echo_n 0123456789 >"conftest.in"
4470   while :
4471   do
4472     cat "conftest.in" "conftest.in" >"conftest.tmp"
4473     mv "conftest.tmp" "conftest.in"
4474     cp "conftest.in" "conftest.nl"
4475     $as_echo 'GREP' >> "conftest.nl"
4476     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4477     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4478     as_fn_arith $ac_count + 1 && ac_count=$as_val
4479     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4480       # Best one so far, save it but keep looking for a better one
4481       ac_cv_path_GREP="$ac_path_GREP"
4482       ac_path_GREP_max=$ac_count
4483     fi
4484     # 10*(2^10) chars as input seems more than enough
4485     test $ac_count -gt 10 && break
4486   done
4487   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4488 esac
4489
4490       $ac_path_GREP_found && break 3
4491     done
4492   done
4493   done
4494 IFS=$as_save_IFS
4495   if test -z "$ac_cv_path_GREP"; then
4496     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4497   fi
4498 else
4499   ac_cv_path_GREP=$GREP
4500 fi
4501
4502 fi
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4504 $as_echo "$ac_cv_path_GREP" >&6; }
4505  GREP="$ac_cv_path_GREP"
4506
4507
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4509 $as_echo_n "checking for egrep... " >&6; }
4510 if test "${ac_cv_path_EGREP+set}" = set; then :
4511   $as_echo_n "(cached) " >&6
4512 else
4513   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4514    then ac_cv_path_EGREP="$GREP -E"
4515    else
4516      if test -z "$EGREP"; then
4517   ac_path_EGREP_found=false
4518   # Loop through the user's path and test for each of PROGNAME-LIST
4519   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4521 do
4522   IFS=$as_save_IFS
4523   test -z "$as_dir" && as_dir=.
4524     for ac_prog in egrep; do
4525     for ac_exec_ext in '' $ac_executable_extensions; do
4526       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4527       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4528 # Check for GNU ac_path_EGREP and select it if it is found.
4529   # Check for GNU $ac_path_EGREP
4530 case `"$ac_path_EGREP" --version 2>&1` in
4531 *GNU*)
4532   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4533 *)
4534   ac_count=0
4535   $as_echo_n 0123456789 >"conftest.in"
4536   while :
4537   do
4538     cat "conftest.in" "conftest.in" >"conftest.tmp"
4539     mv "conftest.tmp" "conftest.in"
4540     cp "conftest.in" "conftest.nl"
4541     $as_echo 'EGREP' >> "conftest.nl"
4542     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4543     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4544     as_fn_arith $ac_count + 1 && ac_count=$as_val
4545     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4546       # Best one so far, save it but keep looking for a better one
4547       ac_cv_path_EGREP="$ac_path_EGREP"
4548       ac_path_EGREP_max=$ac_count
4549     fi
4550     # 10*(2^10) chars as input seems more than enough
4551     test $ac_count -gt 10 && break
4552   done
4553   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4554 esac
4555
4556       $ac_path_EGREP_found && break 3
4557     done
4558   done
4559   done
4560 IFS=$as_save_IFS
4561   if test -z "$ac_cv_path_EGREP"; then
4562     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4563   fi
4564 else
4565   ac_cv_path_EGREP=$EGREP
4566 fi
4567
4568    fi
4569 fi
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4571 $as_echo "$ac_cv_path_EGREP" >&6; }
4572  EGREP="$ac_cv_path_EGREP"
4573
4574
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4576 $as_echo_n "checking for fgrep... " >&6; }
4577 if test "${ac_cv_path_FGREP+set}" = set; then :
4578   $as_echo_n "(cached) " >&6
4579 else
4580   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4581    then ac_cv_path_FGREP="$GREP -F"
4582    else
4583      if test -z "$FGREP"; then
4584   ac_path_FGREP_found=false
4585   # Loop through the user's path and test for each of PROGNAME-LIST
4586   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4588 do
4589   IFS=$as_save_IFS
4590   test -z "$as_dir" && as_dir=.
4591     for ac_prog in fgrep; do
4592     for ac_exec_ext in '' $ac_executable_extensions; do
4593       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4594       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4595 # Check for GNU ac_path_FGREP and select it if it is found.
4596   # Check for GNU $ac_path_FGREP
4597 case `"$ac_path_FGREP" --version 2>&1` in
4598 *GNU*)
4599   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4600 *)
4601   ac_count=0
4602   $as_echo_n 0123456789 >"conftest.in"
4603   while :
4604   do
4605     cat "conftest.in" "conftest.in" >"conftest.tmp"
4606     mv "conftest.tmp" "conftest.in"
4607     cp "conftest.in" "conftest.nl"
4608     $as_echo 'FGREP' >> "conftest.nl"
4609     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4610     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4611     as_fn_arith $ac_count + 1 && ac_count=$as_val
4612     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4613       # Best one so far, save it but keep looking for a better one
4614       ac_cv_path_FGREP="$ac_path_FGREP"
4615       ac_path_FGREP_max=$ac_count
4616     fi
4617     # 10*(2^10) chars as input seems more than enough
4618     test $ac_count -gt 10 && break
4619   done
4620   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4621 esac
4622
4623       $ac_path_FGREP_found && break 3
4624     done
4625   done
4626   done
4627 IFS=$as_save_IFS
4628   if test -z "$ac_cv_path_FGREP"; then
4629     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4630   fi
4631 else
4632   ac_cv_path_FGREP=$FGREP
4633 fi
4634
4635    fi
4636 fi
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4638 $as_echo "$ac_cv_path_FGREP" >&6; }
4639  FGREP="$ac_cv_path_FGREP"
4640
4641
4642 test -z "$GREP" && GREP=grep
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662 # Check whether --with-gnu-ld was given.
4663 if test "${with_gnu_ld+set}" = set; then :
4664   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4665 else
4666   with_gnu_ld=no
4667 fi
4668
4669 ac_prog=ld
4670 if test "$GCC" = yes; then
4671   # Check if gcc -print-prog-name=ld gives a path.
4672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4673 $as_echo_n "checking for ld used by $CC... " >&6; }
4674   case $host in
4675   *-*-mingw*)
4676     # gcc leaves a trailing carriage return which upsets mingw
4677     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4678   *)
4679     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4680   esac
4681   case $ac_prog in
4682     # Accept absolute paths.
4683     [\\/]* | ?:[\\/]*)
4684       re_direlt='/[^/][^/]*/\.\./'
4685       # Canonicalize the pathname of ld
4686       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4687       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4688         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4689       done
4690       test -z "$LD" && LD="$ac_prog"
4691       ;;
4692   "")
4693     # If it fails, then pretend we aren't using GCC.
4694     ac_prog=ld
4695     ;;
4696   *)
4697     # If it is relative, then search for the first ld in PATH.
4698     with_gnu_ld=unknown
4699     ;;
4700   esac
4701 elif test "$with_gnu_ld" = yes; then
4702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4703 $as_echo_n "checking for GNU ld... " >&6; }
4704 else
4705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4706 $as_echo_n "checking for non-GNU ld... " >&6; }
4707 fi
4708 if test "${lt_cv_path_LD+set}" = set; then :
4709   $as_echo_n "(cached) " >&6
4710 else
4711   if test -z "$LD"; then
4712   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4713   for ac_dir in $PATH; do
4714     IFS="$lt_save_ifs"
4715     test -z "$ac_dir" && ac_dir=.
4716     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4717       lt_cv_path_LD="$ac_dir/$ac_prog"
4718       # Check to see if the program is GNU ld.  I'd rather use --version,
4719       # but apparently some variants of GNU ld only accept -v.
4720       # Break only if it was the GNU/non-GNU ld that we prefer.
4721       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4722       *GNU* | *'with BFD'*)
4723         test "$with_gnu_ld" != no && break
4724         ;;
4725       *)
4726         test "$with_gnu_ld" != yes && break
4727         ;;
4728       esac
4729     fi
4730   done
4731   IFS="$lt_save_ifs"
4732 else
4733   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4734 fi
4735 fi
4736
4737 LD="$lt_cv_path_LD"
4738 if test -n "$LD"; then
4739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4740 $as_echo "$LD" >&6; }
4741 else
4742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4744 fi
4745 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4747 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4748 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4749   $as_echo_n "(cached) " >&6
4750 else
4751   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4752 case `$LD -v 2>&1 </dev/null` in
4753 *GNU* | *'with BFD'*)
4754   lt_cv_prog_gnu_ld=yes
4755   ;;
4756 *)
4757   lt_cv_prog_gnu_ld=no
4758   ;;
4759 esac
4760 fi
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4762 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4763 with_gnu_ld=$lt_cv_prog_gnu_ld
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4774 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4775 if test "${lt_cv_path_NM+set}" = set; then :
4776   $as_echo_n "(cached) " >&6
4777 else
4778   if test -n "$NM"; then
4779   # Let the user override the test.
4780   lt_cv_path_NM="$NM"
4781 else
4782   lt_nm_to_check="${ac_tool_prefix}nm"
4783   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4784     lt_nm_to_check="$lt_nm_to_check nm"
4785   fi
4786   for lt_tmp_nm in $lt_nm_to_check; do
4787     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4788     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4789       IFS="$lt_save_ifs"
4790       test -z "$ac_dir" && ac_dir=.
4791       tmp_nm="$ac_dir/$lt_tmp_nm"
4792       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4793         # Check to see if the nm accepts a BSD-compat flag.
4794         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4795         #   nm: unknown option "B" ignored
4796         # Tru64's nm complains that /dev/null is an invalid object file
4797         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4798         */dev/null* | *'Invalid file or object type'*)
4799           lt_cv_path_NM="$tmp_nm -B"
4800           break
4801           ;;
4802         *)
4803           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4804           */dev/null*)
4805             lt_cv_path_NM="$tmp_nm -p"
4806             break
4807             ;;
4808           *)
4809             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4810             continue # so that we can try to find one that supports BSD flags
4811             ;;
4812           esac
4813           ;;
4814         esac
4815       fi
4816     done
4817     IFS="$lt_save_ifs"
4818   done
4819   : ${lt_cv_path_NM=no}
4820 fi
4821 fi
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4823 $as_echo "$lt_cv_path_NM" >&6; }
4824 if test "$lt_cv_path_NM" != "no"; then
4825   NM="$lt_cv_path_NM"
4826 else
4827   # Didn't find any BSD compatible name lister, look for dumpbin.
4828   if test -n "$ac_tool_prefix"; then
4829   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4830   do
4831     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 $as_echo_n "checking for $ac_word... " >&6; }
4835 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4836   $as_echo_n "(cached) " >&6
4837 else
4838   if test -n "$DUMPBIN"; then
4839   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4840 else
4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 for as_dir in $PATH
4843 do
4844   IFS=$as_save_IFS
4845   test -z "$as_dir" && as_dir=.
4846     for ac_exec_ext in '' $ac_executable_extensions; do
4847   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4848     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4850     break 2
4851   fi
4852 done
4853   done
4854 IFS=$as_save_IFS
4855
4856 fi
4857 fi
4858 DUMPBIN=$ac_cv_prog_DUMPBIN
4859 if test -n "$DUMPBIN"; then
4860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4861 $as_echo "$DUMPBIN" >&6; }
4862 else
4863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864 $as_echo "no" >&6; }
4865 fi
4866
4867
4868     test -n "$DUMPBIN" && break
4869   done
4870 fi
4871 if test -z "$DUMPBIN"; then
4872   ac_ct_DUMPBIN=$DUMPBIN
4873   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4874 do
4875   # Extract the first word of "$ac_prog", so it can be a program name with args.
4876 set dummy $ac_prog; ac_word=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4880   $as_echo_n "(cached) " >&6
4881 else
4882   if test -n "$ac_ct_DUMPBIN"; then
4883   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4884 else
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH
4887 do
4888   IFS=$as_save_IFS
4889   test -z "$as_dir" && as_dir=.
4890     for ac_exec_ext in '' $ac_executable_extensions; do
4891   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4892     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894     break 2
4895   fi
4896 done
4897   done
4898 IFS=$as_save_IFS
4899
4900 fi
4901 fi
4902 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4903 if test -n "$ac_ct_DUMPBIN"; then
4904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4905 $as_echo "$ac_ct_DUMPBIN" >&6; }
4906 else
4907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4909 fi
4910
4911
4912   test -n "$ac_ct_DUMPBIN" && break
4913 done
4914
4915   if test "x$ac_ct_DUMPBIN" = x; then
4916     DUMPBIN=":"
4917   else
4918     case $cross_compiling:$ac_tool_warned in
4919 yes:)
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4922 ac_tool_warned=yes ;;
4923 esac
4924     DUMPBIN=$ac_ct_DUMPBIN
4925   fi
4926 fi
4927
4928
4929   if test "$DUMPBIN" != ":"; then
4930     NM="$DUMPBIN"
4931   fi
4932 fi
4933 test -z "$NM" && NM=nm
4934
4935
4936
4937
4938
4939
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4941 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4942 if test "${lt_cv_nm_interface+set}" = set; then :
4943   $as_echo_n "(cached) " >&6
4944 else
4945   lt_cv_nm_interface="BSD nm"
4946   echo "int some_variable = 0;" > conftest.$ac_ext
4947   (eval echo "\"\$as_me:4947: $ac_compile\"" >&5)
4948   (eval "$ac_compile" 2>conftest.err)
4949   cat conftest.err >&5
4950   (eval echo "\"\$as_me:4950: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4951   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4952   cat conftest.err >&5
4953   (eval echo "\"\$as_me:4953: output\"" >&5)
4954   cat conftest.out >&5
4955   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4956     lt_cv_nm_interface="MS dumpbin"
4957   fi
4958   rm -f conftest*
4959 fi
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4961 $as_echo "$lt_cv_nm_interface" >&6; }
4962
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4964 $as_echo_n "checking whether ln -s works... " >&6; }
4965 LN_S=$as_ln_s
4966 if test "$LN_S" = "ln -s"; then
4967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4968 $as_echo "yes" >&6; }
4969 else
4970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4971 $as_echo "no, using $LN_S" >&6; }
4972 fi
4973
4974 # find the maximum length of command line arguments
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4976 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4977 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4978   $as_echo_n "(cached) " >&6
4979 else
4980     i=0
4981   teststring="ABCD"
4982
4983   case $build_os in
4984   msdosdjgpp*)
4985     # On DJGPP, this test can blow up pretty badly due to problems in libc
4986     # (any single argument exceeding 2000 bytes causes a buffer overrun
4987     # during glob expansion).  Even if it were fixed, the result of this
4988     # check would be larger than it should be.
4989     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4990     ;;
4991
4992   gnu*)
4993     # Under GNU Hurd, this test is not required because there is
4994     # no limit to the length of command line arguments.
4995     # Libtool will interpret -1 as no limit whatsoever
4996     lt_cv_sys_max_cmd_len=-1;
4997     ;;
4998
4999   cygwin* | mingw* | cegcc*)
5000     # On Win9x/ME, this test blows up -- it succeeds, but takes
5001     # about 5 minutes as the teststring grows exponentially.
5002     # Worse, since 9x/ME are not pre-emptively multitasking,
5003     # you end up with a "frozen" computer, even though with patience
5004     # the test eventually succeeds (with a max line length of 256k).
5005     # Instead, let's just punt: use the minimum linelength reported by
5006     # all of the supported platforms: 8192 (on NT/2K/XP).
5007     lt_cv_sys_max_cmd_len=8192;
5008     ;;
5009
5010   amigaos*)
5011     # On AmigaOS with pdksh, this test takes hours, literally.
5012     # So we just punt and use a minimum line length of 8192.
5013     lt_cv_sys_max_cmd_len=8192;
5014     ;;
5015
5016   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5017     # This has been around since 386BSD, at least.  Likely further.
5018     if test -x /sbin/sysctl; then
5019       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5020     elif test -x /usr/sbin/sysctl; then
5021       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5022     else
5023       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5024     fi
5025     # And add a safety zone
5026     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5027     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5028     ;;
5029
5030   interix*)
5031     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5032     lt_cv_sys_max_cmd_len=196608
5033     ;;
5034
5035   osf*)
5036     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5037     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5038     # nice to cause kernel panics so lets avoid the loop below.
5039     # First set a reasonable default.
5040     lt_cv_sys_max_cmd_len=16384
5041     #
5042     if test -x /sbin/sysconfig; then
5043       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5044         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5045       esac
5046     fi
5047     ;;
5048   sco3.2v5*)
5049     lt_cv_sys_max_cmd_len=102400
5050     ;;
5051   sysv5* | sco5v6* | sysv4.2uw2*)
5052     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5053     if test -n "$kargmax"; then
5054       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5055     else
5056       lt_cv_sys_max_cmd_len=32768
5057     fi
5058     ;;
5059   *)
5060     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5061     if test -n "$lt_cv_sys_max_cmd_len"; then
5062       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5063       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5064     else
5065       # Make teststring a little bigger before we do anything with it.
5066       # a 1K string should be a reasonable start.
5067       for i in 1 2 3 4 5 6 7 8 ; do
5068         teststring=$teststring$teststring
5069       done
5070       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5071       # If test is not a shell built-in, we'll probably end up computing a
5072       # maximum length that is only half of the actual maximum length, but
5073       # we can't tell.
5074       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5075                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5076               test $i != 17 # 1/2 MB should be enough
5077       do
5078         i=`expr $i + 1`
5079         teststring=$teststring$teststring
5080       done
5081       # Only check the string length outside the loop.
5082       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5083       teststring=
5084       # Add a significant safety factor because C++ compilers can tack on
5085       # massive amounts of additional arguments before passing them to the
5086       # linker.  It appears as though 1/2 is a usable value.
5087       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5088     fi
5089     ;;
5090   esac
5091
5092 fi
5093
5094 if test -n $lt_cv_sys_max_cmd_len ; then
5095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5096 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5097 else
5098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5099 $as_echo "none" >&6; }
5100 fi
5101 max_cmd_len=$lt_cv_sys_max_cmd_len
5102
5103
5104
5105
5106
5107
5108 : ${CP="cp -f"}
5109 : ${MV="mv -f"}
5110 : ${RM="rm -f"}
5111
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5113 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5114 # Try some XSI features
5115 xsi_shell=no
5116 ( _lt_dummy="a/b/c"
5117   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5118       = c,a/b,, \
5119     && eval 'test $(( 1 + 1 )) -eq 2 \
5120     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5121   && xsi_shell=yes
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5123 $as_echo "$xsi_shell" >&6; }
5124
5125
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5127 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5128 lt_shell_append=no
5129 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5130     >/dev/null 2>&1 \
5131   && lt_shell_append=yes
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5133 $as_echo "$lt_shell_append" >&6; }
5134
5135
5136 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5137   lt_unset=unset
5138 else
5139   lt_unset=false
5140 fi
5141
5142
5143
5144
5145
5146 # test EBCDIC or ASCII
5147 case `echo X|tr X '\101'` in
5148  A) # ASCII based system
5149     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5150   lt_SP2NL='tr \040 \012'
5151   lt_NL2SP='tr \015\012 \040\040'
5152   ;;
5153  *) # EBCDIC based system
5154   lt_SP2NL='tr \100 \n'
5155   lt_NL2SP='tr \r\n \100\100'
5156   ;;
5157 esac
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5168 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5169 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5170   $as_echo_n "(cached) " >&6
5171 else
5172   lt_cv_ld_reload_flag='-r'
5173 fi
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5175 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5176 reload_flag=$lt_cv_ld_reload_flag
5177 case $reload_flag in
5178 "" | " "*) ;;
5179 *) reload_flag=" $reload_flag" ;;
5180 esac
5181 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5182 case $host_os in
5183   darwin*)
5184     if test "$GCC" = yes; then
5185       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5186     else
5187       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5188     fi
5189     ;;
5190 esac
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200 if test -n "$ac_tool_prefix"; then
5201   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5202 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5206   $as_echo_n "(cached) " >&6
5207 else
5208   if test -n "$OBJDUMP"; then
5209   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5210 else
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 for as_dir in $PATH
5213 do
5214   IFS=$as_save_IFS
5215   test -z "$as_dir" && as_dir=.
5216     for ac_exec_ext in '' $ac_executable_extensions; do
5217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220     break 2
5221   fi
5222 done
5223   done
5224 IFS=$as_save_IFS
5225
5226 fi
5227 fi
5228 OBJDUMP=$ac_cv_prog_OBJDUMP
5229 if test -n "$OBJDUMP"; then
5230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5231 $as_echo "$OBJDUMP" >&6; }
5232 else
5233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5235 fi
5236
5237
5238 fi
5239 if test -z "$ac_cv_prog_OBJDUMP"; then
5240   ac_ct_OBJDUMP=$OBJDUMP
5241   # Extract the first word of "objdump", so it can be a program name with args.
5242 set dummy objdump; ac_word=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5246   $as_echo_n "(cached) " >&6
5247 else
5248   if test -n "$ac_ct_OBJDUMP"; then
5249   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5250 else
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH
5253 do
5254   IFS=$as_save_IFS
5255   test -z "$as_dir" && as_dir=.
5256     for ac_exec_ext in '' $ac_executable_extensions; do
5257   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5260     break 2
5261   fi
5262 done
5263   done
5264 IFS=$as_save_IFS
5265
5266 fi
5267 fi
5268 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5269 if test -n "$ac_ct_OBJDUMP"; then
5270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5271 $as_echo "$ac_ct_OBJDUMP" >&6; }
5272 else
5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5275 fi
5276
5277   if test "x$ac_ct_OBJDUMP" = x; then
5278     OBJDUMP="false"
5279   else
5280     case $cross_compiling:$ac_tool_warned in
5281 yes:)
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5284 ac_tool_warned=yes ;;
5285 esac
5286     OBJDUMP=$ac_ct_OBJDUMP
5287   fi
5288 else
5289   OBJDUMP="$ac_cv_prog_OBJDUMP"
5290 fi
5291
5292 test -z "$OBJDUMP" && OBJDUMP=objdump
5293
5294
5295
5296
5297
5298
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5300 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5301 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5302   $as_echo_n "(cached) " >&6
5303 else
5304   lt_cv_file_magic_cmd='$MAGIC_CMD'
5305 lt_cv_file_magic_test_file=
5306 lt_cv_deplibs_check_method='unknown'
5307 # Need to set the preceding variable on all platforms that support
5308 # interlibrary dependencies.
5309 # 'none' -- dependencies not supported.
5310 # `unknown' -- same as none, but documents that we really don't know.
5311 # 'pass_all' -- all dependencies passed with no checks.
5312 # 'test_compile' -- check by making test program.
5313 # 'file_magic [[regex]]' -- check by looking for files in library path
5314 # which responds to the $file_magic_cmd with a given extended regex.
5315 # If you have `file' or equivalent on your system and you're not sure
5316 # whether `pass_all' will *always* work, you probably want this one.
5317
5318 case $host_os in
5319 aix[4-9]*)
5320   lt_cv_deplibs_check_method=pass_all
5321   ;;
5322
5323 beos*)
5324   lt_cv_deplibs_check_method=pass_all
5325   ;;
5326
5327 bsdi[45]*)
5328   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5329   lt_cv_file_magic_cmd='/usr/bin/file -L'
5330   lt_cv_file_magic_test_file=/shlib/libc.so
5331   ;;
5332
5333 cygwin*)
5334   # func_win32_libid is a shell function defined in ltmain.sh
5335   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5336   lt_cv_file_magic_cmd='func_win32_libid'
5337   ;;
5338
5339 mingw* | pw32*)
5340   # Base MSYS/MinGW do not provide the 'file' command needed by
5341   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5342   # unless we find 'file', for example because we are cross-compiling.
5343   if ( file / ) >/dev/null 2>&1; then
5344     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5345     lt_cv_file_magic_cmd='func_win32_libid'
5346   else
5347     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5348     lt_cv_file_magic_cmd='$OBJDUMP -f'
5349   fi
5350   ;;
5351
5352 cegcc)
5353   # use the weaker test based on 'objdump'. See mingw*.
5354   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5355   lt_cv_file_magic_cmd='$OBJDUMP -f'
5356   ;;
5357
5358 darwin* | rhapsody*)
5359   lt_cv_deplibs_check_method=pass_all
5360   ;;
5361
5362 freebsd* | dragonfly*)
5363   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5364     case $host_cpu in
5365     i*86 )
5366       # Not sure whether the presence of OpenBSD here was a mistake.
5367       # Let's accept both of them until this is cleared up.
5368       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5369       lt_cv_file_magic_cmd=/usr/bin/file
5370       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5371       ;;
5372     esac
5373   else
5374     lt_cv_deplibs_check_method=pass_all
5375   fi
5376   ;;
5377
5378 gnu*)
5379   lt_cv_deplibs_check_method=pass_all
5380   ;;
5381
5382 hpux10.20* | hpux11*)
5383   lt_cv_file_magic_cmd=/usr/bin/file
5384   case $host_cpu in
5385   ia64*)
5386     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5387     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5388     ;;
5389   hppa*64*)
5390     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5391     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5392     ;;
5393   *)
5394     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5395     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5396     ;;
5397   esac
5398   ;;
5399
5400 interix[3-9]*)
5401   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5402   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5403   ;;
5404
5405 irix5* | irix6* | nonstopux*)
5406   case $LD in
5407   *-32|*"-32 ") libmagic=32-bit;;
5408   *-n32|*"-n32 ") libmagic=N32;;
5409   *-64|*"-64 ") libmagic=64-bit;;
5410   *) libmagic=never-match;;
5411   esac
5412   lt_cv_deplibs_check_method=pass_all
5413   ;;
5414
5415 # This must be Linux ELF.
5416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5417   lt_cv_deplibs_check_method=pass_all
5418   ;;
5419
5420 netbsd* | netbsdelf*-gnu)
5421   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5422     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5423   else
5424     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5425   fi
5426   ;;
5427
5428 newos6*)
5429   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5430   lt_cv_file_magic_cmd=/usr/bin/file
5431   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5432   ;;
5433
5434 *nto* | *qnx*)
5435   lt_cv_deplibs_check_method=pass_all
5436   ;;
5437
5438 openbsd*)
5439   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5440     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5441   else
5442     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5443   fi
5444   ;;
5445
5446 osf3* | osf4* | osf5*)
5447   lt_cv_deplibs_check_method=pass_all
5448   ;;
5449
5450 rdos*)
5451   lt_cv_deplibs_check_method=pass_all
5452   ;;
5453
5454 solaris*)
5455   lt_cv_deplibs_check_method=pass_all
5456   ;;
5457
5458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5459   lt_cv_deplibs_check_method=pass_all
5460   ;;
5461
5462 sysv4 | sysv4.3*)
5463   case $host_vendor in
5464   motorola)
5465     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]'
5466     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5467     ;;
5468   ncr)
5469     lt_cv_deplibs_check_method=pass_all
5470     ;;
5471   sequent)
5472     lt_cv_file_magic_cmd='/bin/file'
5473     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5474     ;;
5475   sni)
5476     lt_cv_file_magic_cmd='/bin/file'
5477     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5478     lt_cv_file_magic_test_file=/lib/libc.so
5479     ;;
5480   siemens)
5481     lt_cv_deplibs_check_method=pass_all
5482     ;;
5483   pc)
5484     lt_cv_deplibs_check_method=pass_all
5485     ;;
5486   esac
5487   ;;
5488
5489 tpf*)
5490   lt_cv_deplibs_check_method=pass_all
5491   ;;
5492 esac
5493
5494 fi
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5496 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5497 file_magic_cmd=$lt_cv_file_magic_cmd
5498 deplibs_check_method=$lt_cv_deplibs_check_method
5499 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512 if test -n "$ac_tool_prefix"; then
5513   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5514 set dummy ${ac_tool_prefix}ar; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if test "${ac_cv_prog_AR+set}" = set; then :
5518   $as_echo_n "(cached) " >&6
5519 else
5520   if test -n "$AR"; then
5521   ac_cv_prog_AR="$AR" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5525 do
5526   IFS=$as_save_IFS
5527   test -z "$as_dir" && as_dir=.
5528     for ac_exec_ext in '' $ac_executable_extensions; do
5529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5530     ac_cv_prog_AR="${ac_tool_prefix}ar"
5531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532     break 2
5533   fi
5534 done
5535   done
5536 IFS=$as_save_IFS
5537
5538 fi
5539 fi
5540 AR=$ac_cv_prog_AR
5541 if test -n "$AR"; then
5542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5543 $as_echo "$AR" >&6; }
5544 else
5545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5547 fi
5548
5549
5550 fi
5551 if test -z "$ac_cv_prog_AR"; then
5552   ac_ct_AR=$AR
5553   # Extract the first word of "ar", so it can be a program name with args.
5554 set dummy ar; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5558   $as_echo_n "(cached) " >&6
5559 else
5560   if test -n "$ac_ct_AR"; then
5561   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5562 else
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 for as_dir in $PATH
5565 do
5566   IFS=$as_save_IFS
5567   test -z "$as_dir" && as_dir=.
5568     for ac_exec_ext in '' $ac_executable_extensions; do
5569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5570     ac_cv_prog_ac_ct_AR="ar"
5571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572     break 2
5573   fi
5574 done
5575   done
5576 IFS=$as_save_IFS
5577
5578 fi
5579 fi
5580 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5581 if test -n "$ac_ct_AR"; then
5582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5583 $as_echo "$ac_ct_AR" >&6; }
5584 else
5585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5587 fi
5588
5589   if test "x$ac_ct_AR" = x; then
5590     AR="false"
5591   else
5592     case $cross_compiling:$ac_tool_warned in
5593 yes:)
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5596 ac_tool_warned=yes ;;
5597 esac
5598     AR=$ac_ct_AR
5599   fi
5600 else
5601   AR="$ac_cv_prog_AR"
5602 fi
5603
5604 test -z "$AR" && AR=ar
5605 test -z "$AR_FLAGS" && AR_FLAGS=cru
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617 if test -n "$ac_tool_prefix"; then
5618   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5619 set dummy ${ac_tool_prefix}strip; ac_word=$2
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5621 $as_echo_n "checking for $ac_word... " >&6; }
5622 if test "${ac_cv_prog_STRIP+set}" = set; then :
5623   $as_echo_n "(cached) " >&6
5624 else
5625   if test -n "$STRIP"; then
5626   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5627 else
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH
5630 do
5631   IFS=$as_save_IFS
5632   test -z "$as_dir" && as_dir=.
5633     for ac_exec_ext in '' $ac_executable_extensions; do
5634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5637     break 2
5638   fi
5639 done
5640   done
5641 IFS=$as_save_IFS
5642
5643 fi
5644 fi
5645 STRIP=$ac_cv_prog_STRIP
5646 if test -n "$STRIP"; then
5647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5648 $as_echo "$STRIP" >&6; }
5649 else
5650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651 $as_echo "no" >&6; }
5652 fi
5653
5654
5655 fi
5656 if test -z "$ac_cv_prog_STRIP"; then
5657   ac_ct_STRIP=$STRIP
5658   # Extract the first word of "strip", so it can be a program name with args.
5659 set dummy strip; ac_word=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5663   $as_echo_n "(cached) " >&6
5664 else
5665   if test -n "$ac_ct_STRIP"; then
5666   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5667 else
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 for as_dir in $PATH
5670 do
5671   IFS=$as_save_IFS
5672   test -z "$as_dir" && as_dir=.
5673     for ac_exec_ext in '' $ac_executable_extensions; do
5674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5675     ac_cv_prog_ac_ct_STRIP="strip"
5676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5677     break 2
5678   fi
5679 done
5680   done
5681 IFS=$as_save_IFS
5682
5683 fi
5684 fi
5685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5686 if test -n "$ac_ct_STRIP"; then
5687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5688 $as_echo "$ac_ct_STRIP" >&6; }
5689 else
5690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5692 fi
5693
5694   if test "x$ac_ct_STRIP" = x; then
5695     STRIP=":"
5696   else
5697     case $cross_compiling:$ac_tool_warned in
5698 yes:)
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5701 ac_tool_warned=yes ;;
5702 esac
5703     STRIP=$ac_ct_STRIP
5704   fi
5705 else
5706   STRIP="$ac_cv_prog_STRIP"
5707 fi
5708
5709 test -z "$STRIP" && STRIP=:
5710
5711
5712
5713
5714
5715
5716 if test -n "$ac_tool_prefix"; then
5717   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5718 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5722   $as_echo_n "(cached) " >&6
5723 else
5724   if test -n "$RANLIB"; then
5725   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5726 else
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH
5729 do
5730   IFS=$as_save_IFS
5731   test -z "$as_dir" && as_dir=.
5732     for ac_exec_ext in '' $ac_executable_extensions; do
5733   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736     break 2
5737   fi
5738 done
5739   done
5740 IFS=$as_save_IFS
5741
5742 fi
5743 fi
5744 RANLIB=$ac_cv_prog_RANLIB
5745 if test -n "$RANLIB"; then
5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5747 $as_echo "$RANLIB" >&6; }
5748 else
5749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5751 fi
5752
5753
5754 fi
5755 if test -z "$ac_cv_prog_RANLIB"; then
5756   ac_ct_RANLIB=$RANLIB
5757   # Extract the first word of "ranlib", so it can be a program name with args.
5758 set dummy ranlib; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5762   $as_echo_n "(cached) " >&6
5763 else
5764   if test -n "$ac_ct_RANLIB"; then
5765   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5766 else
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 for as_dir in $PATH
5769 do
5770   IFS=$as_save_IFS
5771   test -z "$as_dir" && as_dir=.
5772     for ac_exec_ext in '' $ac_executable_extensions; do
5773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5774     ac_cv_prog_ac_ct_RANLIB="ranlib"
5775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776     break 2
5777   fi
5778 done
5779   done
5780 IFS=$as_save_IFS
5781
5782 fi
5783 fi
5784 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5785 if test -n "$ac_ct_RANLIB"; then
5786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5787 $as_echo "$ac_ct_RANLIB" >&6; }
5788 else
5789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5791 fi
5792
5793   if test "x$ac_ct_RANLIB" = x; then
5794     RANLIB=":"
5795   else
5796     case $cross_compiling:$ac_tool_warned in
5797 yes:)
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800 ac_tool_warned=yes ;;
5801 esac
5802     RANLIB=$ac_ct_RANLIB
5803   fi
5804 else
5805   RANLIB="$ac_cv_prog_RANLIB"
5806 fi
5807
5808 test -z "$RANLIB" && RANLIB=:
5809
5810
5811
5812
5813
5814
5815 # Determine commands to create old-style static archives.
5816 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5817 old_postinstall_cmds='chmod 644 $oldlib'
5818 old_postuninstall_cmds=
5819
5820 if test -n "$RANLIB"; then
5821   case $host_os in
5822   openbsd*)
5823     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5824     ;;
5825   *)
5826     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5827     ;;
5828   esac
5829   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5830 fi
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865 # If no C compiler was specified, use CC.
5866 LTCC=${LTCC-"$CC"}
5867
5868 # If no C compiler flags were specified, use CFLAGS.
5869 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5870
5871 # Allow CC to be a program name with arguments.
5872 compiler=$CC
5873
5874
5875 # Check for command to grab the raw symbol name followed by C symbol from nm.
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5877 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5878 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5879   $as_echo_n "(cached) " >&6
5880 else
5881
5882 # These are sane defaults that work on at least a few old systems.
5883 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5884
5885 # Character class describing NM global symbol codes.
5886 symcode='[BCDEGRST]'
5887
5888 # Regexp to match symbols that can be accessed directly from C.
5889 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5890
5891 # Define system-specific variables.
5892 case $host_os in
5893 aix*)
5894   symcode='[BCDT]'
5895   ;;
5896 cygwin* | mingw* | pw32* | cegcc*)
5897   symcode='[ABCDGISTW]'
5898   ;;
5899 hpux*)
5900   if test "$host_cpu" = ia64; then
5901     symcode='[ABCDEGRST]'
5902   fi
5903   ;;
5904 irix* | nonstopux*)
5905   symcode='[BCDEGRST]'
5906   ;;
5907 osf*)
5908   symcode='[BCDEGQRST]'
5909   ;;
5910 solaris*)
5911   symcode='[BDRT]'
5912   ;;
5913 sco3.2v5*)
5914   symcode='[DT]'
5915   ;;
5916 sysv4.2uw2*)
5917   symcode='[DT]'
5918   ;;
5919 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5920   symcode='[ABDT]'
5921   ;;
5922 sysv4)
5923   symcode='[DFNSTU]'
5924   ;;
5925 esac
5926
5927 # If we're using GNU nm, then use its standard symbol codes.
5928 case `$NM -V 2>&1` in
5929 *GNU* | *'with BFD'*)
5930   symcode='[ABCDGIRSTW]' ;;
5931 esac
5932
5933 # Transform an extracted symbol line into a proper C declaration.
5934 # Some systems (esp. on ia64) link data and code symbols differently,
5935 # so use this general approach.
5936 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5937
5938 # Transform an extracted symbol line into symbol name and symbol address
5939 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5940 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'"
5941
5942 # Handle CRLF in mingw tool chain
5943 opt_cr=
5944 case $build_os in
5945 mingw*)
5946   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5947   ;;
5948 esac
5949
5950 # Try without a prefix underscore, then with it.
5951 for ac_symprfx in "" "_"; do
5952
5953   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5954   symxfrm="\\1 $ac_symprfx\\2 \\2"
5955
5956   # Write the raw and C identifiers.
5957   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5958     # Fake it for dumpbin and say T for any non-static function
5959     # and D for any global variable.
5960     # Also find C++ and __fastcall symbols from MSVC++,
5961     # which start with @ or ?.
5962     lt_cv_sys_global_symbol_pipe="$AWK '"\
5963 "     {last_section=section; section=\$ 3};"\
5964 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5965 "     \$ 0!~/External *\|/{next};"\
5966 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5967 "     {if(hide[section]) next};"\
5968 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5969 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5970 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5971 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5972 "     ' prfx=^$ac_symprfx"
5973   else
5974     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5975   fi
5976
5977   # Check to see that the pipe works correctly.
5978   pipe_works=no
5979
5980   rm -f conftest*
5981   cat > conftest.$ac_ext <<_LT_EOF
5982 #ifdef __cplusplus
5983 extern "C" {
5984 #endif
5985 char nm_test_var;
5986 void nm_test_func(void);
5987 void nm_test_func(void){}
5988 #ifdef __cplusplus
5989 }
5990 #endif
5991 int main(){nm_test_var='a';nm_test_func();return(0);}
5992 _LT_EOF
5993
5994   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5995   (eval $ac_compile) 2>&5
5996   ac_status=$?
5997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5998   test $ac_status = 0; }; then
5999     # Now try to grab the symbols.
6000     nlist=conftest.nm
6001     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6002   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6003   ac_status=$?
6004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6005   test $ac_status = 0; } && test -s "$nlist"; then
6006       # Try sorting and uniquifying the output.
6007       if sort "$nlist" | uniq > "$nlist"T; then
6008         mv -f "$nlist"T "$nlist"
6009       else
6010         rm -f "$nlist"T
6011       fi
6012
6013       # Make sure that we snagged all the symbols we need.
6014       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6015         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6016           cat <<_LT_EOF > conftest.$ac_ext
6017 #ifdef __cplusplus
6018 extern "C" {
6019 #endif
6020
6021 _LT_EOF
6022           # Now generate the symbol file.
6023           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6024
6025           cat <<_LT_EOF >> conftest.$ac_ext
6026
6027 /* The mapping between symbol names and symbols.  */
6028 const struct {
6029   const char *name;
6030   void       *address;
6031 }
6032 lt__PROGRAM__LTX_preloaded_symbols[] =
6033 {
6034   { "@PROGRAM@", (void *) 0 },
6035 _LT_EOF
6036           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6037           cat <<\_LT_EOF >> conftest.$ac_ext
6038   {0, (void *) 0}
6039 };
6040
6041 /* This works around a problem in FreeBSD linker */
6042 #ifdef FREEBSD_WORKAROUND
6043 static const void *lt_preloaded_setup() {
6044   return lt__PROGRAM__LTX_preloaded_symbols;
6045 }
6046 #endif
6047
6048 #ifdef __cplusplus
6049 }
6050 #endif
6051 _LT_EOF
6052           # Now try linking the two files.
6053           mv conftest.$ac_objext conftstm.$ac_objext
6054           lt_save_LIBS="$LIBS"
6055           lt_save_CFLAGS="$CFLAGS"
6056           LIBS="conftstm.$ac_objext"
6057           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6058           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6059   (eval $ac_link) 2>&5
6060   ac_status=$?
6061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6062   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6063             pipe_works=yes
6064           fi
6065           LIBS="$lt_save_LIBS"
6066           CFLAGS="$lt_save_CFLAGS"
6067         else
6068           echo "cannot find nm_test_func in $nlist" >&5
6069         fi
6070       else
6071         echo "cannot find nm_test_var in $nlist" >&5
6072       fi
6073     else
6074       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6075     fi
6076   else
6077     echo "$progname: failed program was:" >&5
6078     cat conftest.$ac_ext >&5
6079   fi
6080   rm -rf conftest* conftst*
6081
6082   # Do not use the global_symbol_pipe unless it works.
6083   if test "$pipe_works" = yes; then
6084     break
6085   else
6086     lt_cv_sys_global_symbol_pipe=
6087   fi
6088 done
6089
6090 fi
6091
6092 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6093   lt_cv_sys_global_symbol_to_cdecl=
6094 fi
6095 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6097 $as_echo "failed" >&6; }
6098 else
6099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6100 $as_echo "ok" >&6; }
6101 fi
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125 # Check whether --enable-libtool-lock was given.
6126 if test "${enable_libtool_lock+set}" = set; then :
6127   enableval=$enable_libtool_lock;
6128 fi
6129
6130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6131
6132 # Some flags need to be propagated to the compiler or linker for good
6133 # libtool support.
6134 case $host in
6135 ia64-*-hpux*)
6136   # Find out which ABI we are using.
6137   echo 'int i;' > conftest.$ac_ext
6138   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6139   (eval $ac_compile) 2>&5
6140   ac_status=$?
6141   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6142   test $ac_status = 0; }; then
6143     case `/usr/bin/file conftest.$ac_objext` in
6144       *ELF-32*)
6145         HPUX_IA64_MODE="32"
6146         ;;
6147       *ELF-64*)
6148         HPUX_IA64_MODE="64"
6149         ;;
6150     esac
6151   fi
6152   rm -rf conftest*
6153   ;;
6154 *-*-irix6*)
6155   # Find out which ABI we are using.
6156   echo '#line 6156 "configure"' > conftest.$ac_ext
6157   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6158   (eval $ac_compile) 2>&5
6159   ac_status=$?
6160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6161   test $ac_status = 0; }; then
6162     if test "$lt_cv_prog_gnu_ld" = yes; then
6163       case `/usr/bin/file conftest.$ac_objext` in
6164         *32-bit*)
6165           LD="${LD-ld} -melf32bsmip"
6166           ;;
6167         *N32*)
6168           LD="${LD-ld} -melf32bmipn32"
6169           ;;
6170         *64-bit*)
6171           LD="${LD-ld} -melf64bmip"
6172         ;;
6173       esac
6174     else
6175       case `/usr/bin/file conftest.$ac_objext` in
6176         *32-bit*)
6177           LD="${LD-ld} -32"
6178           ;;
6179         *N32*)
6180           LD="${LD-ld} -n32"
6181           ;;
6182         *64-bit*)
6183           LD="${LD-ld} -64"
6184           ;;
6185       esac
6186     fi
6187   fi
6188   rm -rf conftest*
6189   ;;
6190
6191 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6192 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6193   # Find out which ABI we are using.
6194   echo 'int i;' > conftest.$ac_ext
6195   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6196   (eval $ac_compile) 2>&5
6197   ac_status=$?
6198   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6199   test $ac_status = 0; }; then
6200     case `/usr/bin/file conftest.o` in
6201       *32-bit*)
6202         case $host in
6203           x86_64-*kfreebsd*-gnu)
6204             LD="${LD-ld} -m elf_i386_fbsd"
6205             ;;
6206           x86_64-*linux*)
6207             LD="${LD-ld} -m elf_i386"
6208             ;;
6209           ppc64-*linux*|powerpc64-*linux*)
6210             LD="${LD-ld} -m elf32ppclinux"
6211             ;;
6212           s390x-*linux*)
6213             LD="${LD-ld} -m elf_s390"
6214             ;;
6215           sparc64-*linux*)
6216             LD="${LD-ld} -m elf32_sparc"
6217             ;;
6218         esac
6219         ;;
6220       *64-bit*)
6221         case $host in
6222           x86_64-*kfreebsd*-gnu)
6223             LD="${LD-ld} -m elf_x86_64_fbsd"
6224             ;;
6225           x86_64-*linux*)
6226             LD="${LD-ld} -m elf_x86_64"
6227             ;;
6228           ppc*-*linux*|powerpc*-*linux*)
6229             LD="${LD-ld} -m elf64ppc"
6230             ;;
6231           s390*-*linux*|s390*-*tpf*)
6232             LD="${LD-ld} -m elf64_s390"
6233             ;;
6234           sparc*-*linux*)
6235             LD="${LD-ld} -m elf64_sparc"
6236             ;;
6237         esac
6238         ;;
6239     esac
6240   fi
6241   rm -rf conftest*
6242   ;;
6243
6244 *-*-sco3.2v5*)
6245   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6246   SAVE_CFLAGS="$CFLAGS"
6247   CFLAGS="$CFLAGS -belf"
6248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6249 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6250 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6251   $as_echo_n "(cached) " >&6
6252 else
6253   ac_ext=c
6254 ac_cpp='$CPP $CPPFLAGS'
6255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6258
6259      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h.  */
6261
6262 int
6263 main ()
6264 {
6265
6266   ;
6267   return 0;
6268 }
6269 _ACEOF
6270 if ac_fn_c_try_link "$LINENO"; then :
6271   lt_cv_cc_needs_belf=yes
6272 else
6273   lt_cv_cc_needs_belf=no
6274 fi
6275 rm -f core conftest.err conftest.$ac_objext \
6276     conftest$ac_exeext conftest.$ac_ext
6277      ac_ext=c
6278 ac_cpp='$CPP $CPPFLAGS'
6279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6282
6283 fi
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6285 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6286   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6287     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6288     CFLAGS="$SAVE_CFLAGS"
6289   fi
6290   ;;
6291 sparc*-*solaris*)
6292   # Find out which ABI we are using.
6293   echo 'int i;' > conftest.$ac_ext
6294   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6295   (eval $ac_compile) 2>&5
6296   ac_status=$?
6297   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6298   test $ac_status = 0; }; then
6299     case `/usr/bin/file conftest.o` in
6300     *64-bit*)
6301       case $lt_cv_prog_gnu_ld in
6302       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6303       *)
6304         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6305           LD="${LD-ld} -64"
6306         fi
6307         ;;
6308       esac
6309       ;;
6310     esac
6311   fi
6312   rm -rf conftest*
6313   ;;
6314 esac
6315
6316 need_locks="$enable_libtool_lock"
6317
6318
6319   case $host_os in
6320     rhapsody* | darwin*)
6321     if test -n "$ac_tool_prefix"; then
6322   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6323 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6325 $as_echo_n "checking for $ac_word... " >&6; }
6326 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6327   $as_echo_n "(cached) " >&6
6328 else
6329   if test -n "$DSYMUTIL"; then
6330   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6331 else
6332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6333 for as_dir in $PATH
6334 do
6335   IFS=$as_save_IFS
6336   test -z "$as_dir" && as_dir=.
6337     for ac_exec_ext in '' $ac_executable_extensions; do
6338   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6341     break 2
6342   fi
6343 done
6344   done
6345 IFS=$as_save_IFS
6346
6347 fi
6348 fi
6349 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6350 if test -n "$DSYMUTIL"; then
6351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6352 $as_echo "$DSYMUTIL" >&6; }
6353 else
6354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6355 $as_echo "no" >&6; }
6356 fi
6357
6358
6359 fi
6360 if test -z "$ac_cv_prog_DSYMUTIL"; then
6361   ac_ct_DSYMUTIL=$DSYMUTIL
6362   # Extract the first word of "dsymutil", so it can be a program name with args.
6363 set dummy dsymutil; ac_word=$2
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365 $as_echo_n "checking for $ac_word... " >&6; }
6366 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6367   $as_echo_n "(cached) " >&6
6368 else
6369   if test -n "$ac_ct_DSYMUTIL"; then
6370   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6371 else
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 for as_dir in $PATH
6374 do
6375   IFS=$as_save_IFS
6376   test -z "$as_dir" && as_dir=.
6377     for ac_exec_ext in '' $ac_executable_extensions; do
6378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6381     break 2
6382   fi
6383 done
6384   done
6385 IFS=$as_save_IFS
6386
6387 fi
6388 fi
6389 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6390 if test -n "$ac_ct_DSYMUTIL"; then
6391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6392 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6393 else
6394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395 $as_echo "no" >&6; }
6396 fi
6397
6398   if test "x$ac_ct_DSYMUTIL" = x; then
6399     DSYMUTIL=":"
6400   else
6401     case $cross_compiling:$ac_tool_warned in
6402 yes:)
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6405 ac_tool_warned=yes ;;
6406 esac
6407     DSYMUTIL=$ac_ct_DSYMUTIL
6408   fi
6409 else
6410   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6411 fi
6412
6413     if test -n "$ac_tool_prefix"; then
6414   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6415 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6417 $as_echo_n "checking for $ac_word... " >&6; }
6418 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6419   $as_echo_n "(cached) " >&6
6420 else
6421   if test -n "$NMEDIT"; then
6422   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6423 else
6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425 for as_dir in $PATH
6426 do
6427   IFS=$as_save_IFS
6428   test -z "$as_dir" && as_dir=.
6429     for ac_exec_ext in '' $ac_executable_extensions; do
6430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6431     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6433     break 2
6434   fi
6435 done
6436   done
6437 IFS=$as_save_IFS
6438
6439 fi
6440 fi
6441 NMEDIT=$ac_cv_prog_NMEDIT
6442 if test -n "$NMEDIT"; then
6443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6444 $as_echo "$NMEDIT" >&6; }
6445 else
6446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447 $as_echo "no" >&6; }
6448 fi
6449
6450
6451 fi
6452 if test -z "$ac_cv_prog_NMEDIT"; then
6453   ac_ct_NMEDIT=$NMEDIT
6454   # Extract the first word of "nmedit", so it can be a program name with args.
6455 set dummy nmedit; ac_word=$2
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 $as_echo_n "checking for $ac_word... " >&6; }
6458 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6459   $as_echo_n "(cached) " >&6
6460 else
6461   if test -n "$ac_ct_NMEDIT"; then
6462   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6463 else
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 for as_dir in $PATH
6466 do
6467   IFS=$as_save_IFS
6468   test -z "$as_dir" && as_dir=.
6469     for ac_exec_ext in '' $ac_executable_extensions; do
6470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6473     break 2
6474   fi
6475 done
6476   done
6477 IFS=$as_save_IFS
6478
6479 fi
6480 fi
6481 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6482 if test -n "$ac_ct_NMEDIT"; then
6483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6484 $as_echo "$ac_ct_NMEDIT" >&6; }
6485 else
6486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 $as_echo "no" >&6; }
6488 fi
6489
6490   if test "x$ac_ct_NMEDIT" = x; then
6491     NMEDIT=":"
6492   else
6493     case $cross_compiling:$ac_tool_warned in
6494 yes:)
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6497 ac_tool_warned=yes ;;
6498 esac
6499     NMEDIT=$ac_ct_NMEDIT
6500   fi
6501 else
6502   NMEDIT="$ac_cv_prog_NMEDIT"
6503 fi
6504
6505     if test -n "$ac_tool_prefix"; then
6506   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6507 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6509 $as_echo_n "checking for $ac_word... " >&6; }
6510 if test "${ac_cv_prog_LIPO+set}" = set; then :
6511   $as_echo_n "(cached) " >&6
6512 else
6513   if test -n "$LIPO"; then
6514   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6515 else
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 for as_dir in $PATH
6518 do
6519   IFS=$as_save_IFS
6520   test -z "$as_dir" && as_dir=.
6521     for ac_exec_ext in '' $ac_executable_extensions; do
6522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6523     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6525     break 2
6526   fi
6527 done
6528   done
6529 IFS=$as_save_IFS
6530
6531 fi
6532 fi
6533 LIPO=$ac_cv_prog_LIPO
6534 if test -n "$LIPO"; then
6535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6536 $as_echo "$LIPO" >&6; }
6537 else
6538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 $as_echo "no" >&6; }
6540 fi
6541
6542
6543 fi
6544 if test -z "$ac_cv_prog_LIPO"; then
6545   ac_ct_LIPO=$LIPO
6546   # Extract the first word of "lipo", so it can be a program name with args.
6547 set dummy lipo; ac_word=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6551   $as_echo_n "(cached) " >&6
6552 else
6553   if test -n "$ac_ct_LIPO"; then
6554   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6555 else
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 for as_dir in $PATH
6558 do
6559   IFS=$as_save_IFS
6560   test -z "$as_dir" && as_dir=.
6561     for ac_exec_ext in '' $ac_executable_extensions; do
6562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563     ac_cv_prog_ac_ct_LIPO="lipo"
6564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6565     break 2
6566   fi
6567 done
6568   done
6569 IFS=$as_save_IFS
6570
6571 fi
6572 fi
6573 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6574 if test -n "$ac_ct_LIPO"; then
6575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6576 $as_echo "$ac_ct_LIPO" >&6; }
6577 else
6578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6580 fi
6581
6582   if test "x$ac_ct_LIPO" = x; then
6583     LIPO=":"
6584   else
6585     case $cross_compiling:$ac_tool_warned in
6586 yes:)
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6589 ac_tool_warned=yes ;;
6590 esac
6591     LIPO=$ac_ct_LIPO
6592   fi
6593 else
6594   LIPO="$ac_cv_prog_LIPO"
6595 fi
6596
6597     if test -n "$ac_tool_prefix"; then
6598   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6599 set dummy ${ac_tool_prefix}otool; ac_word=$2
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 $as_echo_n "checking for $ac_word... " >&6; }
6602 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6603   $as_echo_n "(cached) " >&6
6604 else
6605   if test -n "$OTOOL"; then
6606   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6607 else
6608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6609 for as_dir in $PATH
6610 do
6611   IFS=$as_save_IFS
6612   test -z "$as_dir" && as_dir=.
6613     for ac_exec_ext in '' $ac_executable_extensions; do
6614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6617     break 2
6618   fi
6619 done
6620   done
6621 IFS=$as_save_IFS
6622
6623 fi
6624 fi
6625 OTOOL=$ac_cv_prog_OTOOL
6626 if test -n "$OTOOL"; then
6627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6628 $as_echo "$OTOOL" >&6; }
6629 else
6630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631 $as_echo "no" >&6; }
6632 fi
6633
6634
6635 fi
6636 if test -z "$ac_cv_prog_OTOOL"; then
6637   ac_ct_OTOOL=$OTOOL
6638   # Extract the first word of "otool", so it can be a program name with args.
6639 set dummy otool; ac_word=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6643   $as_echo_n "(cached) " >&6
6644 else
6645   if test -n "$ac_ct_OTOOL"; then
6646   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6647 else
6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6649 for as_dir in $PATH
6650 do
6651   IFS=$as_save_IFS
6652   test -z "$as_dir" && as_dir=.
6653     for ac_exec_ext in '' $ac_executable_extensions; do
6654   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6655     ac_cv_prog_ac_ct_OTOOL="otool"
6656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6657     break 2
6658   fi
6659 done
6660   done
6661 IFS=$as_save_IFS
6662
6663 fi
6664 fi
6665 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6666 if test -n "$ac_ct_OTOOL"; then
6667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6668 $as_echo "$ac_ct_OTOOL" >&6; }
6669 else
6670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6672 fi
6673
6674   if test "x$ac_ct_OTOOL" = x; then
6675     OTOOL=":"
6676   else
6677     case $cross_compiling:$ac_tool_warned in
6678 yes:)
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6681 ac_tool_warned=yes ;;
6682 esac
6683     OTOOL=$ac_ct_OTOOL
6684   fi
6685 else
6686   OTOOL="$ac_cv_prog_OTOOL"
6687 fi
6688
6689     if test -n "$ac_tool_prefix"; then
6690   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6691 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6693 $as_echo_n "checking for $ac_word... " >&6; }
6694 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6695   $as_echo_n "(cached) " >&6
6696 else
6697   if test -n "$OTOOL64"; then
6698   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6699 else
6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6701 for as_dir in $PATH
6702 do
6703   IFS=$as_save_IFS
6704   test -z "$as_dir" && as_dir=.
6705     for ac_exec_ext in '' $ac_executable_extensions; do
6706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6707     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709     break 2
6710   fi
6711 done
6712   done
6713 IFS=$as_save_IFS
6714
6715 fi
6716 fi
6717 OTOOL64=$ac_cv_prog_OTOOL64
6718 if test -n "$OTOOL64"; then
6719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6720 $as_echo "$OTOOL64" >&6; }
6721 else
6722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723 $as_echo "no" >&6; }
6724 fi
6725
6726
6727 fi
6728 if test -z "$ac_cv_prog_OTOOL64"; then
6729   ac_ct_OTOOL64=$OTOOL64
6730   # Extract the first word of "otool64", so it can be a program name with args.
6731 set dummy otool64; ac_word=$2
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733 $as_echo_n "checking for $ac_word... " >&6; }
6734 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6735   $as_echo_n "(cached) " >&6
6736 else
6737   if test -n "$ac_ct_OTOOL64"; then
6738   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6739 else
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 for as_dir in $PATH
6742 do
6743   IFS=$as_save_IFS
6744   test -z "$as_dir" && as_dir=.
6745     for ac_exec_ext in '' $ac_executable_extensions; do
6746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6747     ac_cv_prog_ac_ct_OTOOL64="otool64"
6748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749     break 2
6750   fi
6751 done
6752   done
6753 IFS=$as_save_IFS
6754
6755 fi
6756 fi
6757 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6758 if test -n "$ac_ct_OTOOL64"; then
6759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6760 $as_echo "$ac_ct_OTOOL64" >&6; }
6761 else
6762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763 $as_echo "no" >&6; }
6764 fi
6765
6766   if test "x$ac_ct_OTOOL64" = x; then
6767     OTOOL64=":"
6768   else
6769     case $cross_compiling:$ac_tool_warned in
6770 yes:)
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6773 ac_tool_warned=yes ;;
6774 esac
6775     OTOOL64=$ac_ct_OTOOL64
6776   fi
6777 else
6778   OTOOL64="$ac_cv_prog_OTOOL64"
6779 fi
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6808 $as_echo_n "checking for -single_module linker flag... " >&6; }
6809 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6810   $as_echo_n "(cached) " >&6
6811 else
6812   lt_cv_apple_cc_single_mod=no
6813       if test -z "${LT_MULTI_MODULE}"; then
6814         # By default we will add the -single_module flag. You can override
6815         # by either setting the environment variable LT_MULTI_MODULE
6816         # non-empty at configure time, or by adding -multi_module to the
6817         # link flags.
6818         rm -rf libconftest.dylib*
6819         echo "int foo(void){return 1;}" > conftest.c
6820         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6821 -dynamiclib -Wl,-single_module conftest.c" >&5
6822         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6823           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6824         _lt_result=$?
6825         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6826           lt_cv_apple_cc_single_mod=yes
6827         else
6828           cat conftest.err >&5
6829         fi
6830         rm -rf libconftest.dylib*
6831         rm -f conftest.*
6832       fi
6833 fi
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6835 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6837 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6838 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6839   $as_echo_n "(cached) " >&6
6840 else
6841   lt_cv_ld_exported_symbols_list=no
6842       save_LDFLAGS=$LDFLAGS
6843       echo "_main" > conftest.sym
6844       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h.  */
6847
6848 int
6849 main ()
6850 {
6851
6852   ;
6853   return 0;
6854 }
6855 _ACEOF
6856 if ac_fn_c_try_link "$LINENO"; then :
6857   lt_cv_ld_exported_symbols_list=yes
6858 else
6859   lt_cv_ld_exported_symbols_list=no
6860 fi
6861 rm -f core conftest.err conftest.$ac_objext \
6862     conftest$ac_exeext conftest.$ac_ext
6863         LDFLAGS="$save_LDFLAGS"
6864
6865 fi
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6867 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6868     case $host_os in
6869     rhapsody* | darwin1.[012])
6870       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6871     darwin1.*)
6872       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6873     darwin*) # darwin 5.x on
6874       # if running on 10.5 or later, the deployment target defaults
6875       # to the OS version, if on x86, and 10.4, the deployment
6876       # target defaults to 10.4. Don't you love it?
6877       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6878         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6879           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6880         10.[012]*)
6881           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6882         10.*)
6883           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6884       esac
6885     ;;
6886   esac
6887     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6888       _lt_dar_single_mod='$single_module'
6889     fi
6890     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6891       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6892     else
6893       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6894     fi
6895     if test "$DSYMUTIL" != ":"; then
6896       _lt_dsymutil='~$DSYMUTIL $lib || :'
6897     else
6898       _lt_dsymutil=
6899     fi
6900     ;;
6901   esac
6902
6903 ac_ext=c
6904 ac_cpp='$CPP $CPPFLAGS'
6905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6909 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6910 # On Suns, sometimes $CPP names a directory.
6911 if test -n "$CPP" && test -d "$CPP"; then
6912   CPP=
6913 fi
6914 if test -z "$CPP"; then
6915   if test "${ac_cv_prog_CPP+set}" = set; then :
6916   $as_echo_n "(cached) " >&6
6917 else
6918       # Double quotes because CPP needs to be expanded
6919     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6920     do
6921       ac_preproc_ok=false
6922 for ac_c_preproc_warn_flag in '' yes
6923 do
6924   # Use a header file that comes with gcc, so configuring glibc
6925   # with a fresh cross-compiler works.
6926   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6927   # <limits.h> exists even on freestanding compilers.
6928   # On the NeXT, cc -E runs the code through the compiler's parser,
6929   # not just through cpp. "Syntax error" is here to catch this case.
6930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h.  */
6932 #ifdef __STDC__
6933 # include <limits.h>
6934 #else
6935 # include <assert.h>
6936 #endif
6937                      Syntax error
6938 _ACEOF
6939 if ac_fn_c_try_cpp "$LINENO"; then :
6940
6941 else
6942   # Broken: fails on valid input.
6943 continue
6944 fi
6945 rm -f conftest.err conftest.i conftest.$ac_ext
6946
6947   # OK, works on sane cases.  Now check whether nonexistent headers
6948   # can be detected and how.
6949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6950 /* end confdefs.h.  */
6951 #include <ac_nonexistent.h>
6952 _ACEOF
6953 if ac_fn_c_try_cpp "$LINENO"; then :
6954   # Broken: success on invalid input.
6955 continue
6956 else
6957   # Passes both tests.
6958 ac_preproc_ok=:
6959 break
6960 fi
6961 rm -f conftest.err conftest.i conftest.$ac_ext
6962
6963 done
6964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6965 rm -f conftest.i conftest.err conftest.$ac_ext
6966 if $ac_preproc_ok; then :
6967   break
6968 fi
6969
6970     done
6971     ac_cv_prog_CPP=$CPP
6972
6973 fi
6974   CPP=$ac_cv_prog_CPP
6975 else
6976   ac_cv_prog_CPP=$CPP
6977 fi
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6979 $as_echo "$CPP" >&6; }
6980 ac_preproc_ok=false
6981 for ac_c_preproc_warn_flag in '' yes
6982 do
6983   # Use a header file that comes with gcc, so configuring glibc
6984   # with a fresh cross-compiler works.
6985   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6986   # <limits.h> exists even on freestanding compilers.
6987   # On the NeXT, cc -E runs the code through the compiler's parser,
6988   # not just through cpp. "Syntax error" is here to catch this case.
6989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6990 /* end confdefs.h.  */
6991 #ifdef __STDC__
6992 # include <limits.h>
6993 #else
6994 # include <assert.h>
6995 #endif
6996                      Syntax error
6997 _ACEOF
6998 if ac_fn_c_try_cpp "$LINENO"; then :
6999
7000 else
7001   # Broken: fails on valid input.
7002 continue
7003 fi
7004 rm -f conftest.err conftest.i conftest.$ac_ext
7005
7006   # OK, works on sane cases.  Now check whether nonexistent headers
7007   # can be detected and how.
7008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h.  */
7010 #include <ac_nonexistent.h>
7011 _ACEOF
7012 if ac_fn_c_try_cpp "$LINENO"; then :
7013   # Broken: success on invalid input.
7014 continue
7015 else
7016   # Passes both tests.
7017 ac_preproc_ok=:
7018 break
7019 fi
7020 rm -f conftest.err conftest.i conftest.$ac_ext
7021
7022 done
7023 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7024 rm -f conftest.i conftest.err conftest.$ac_ext
7025 if $ac_preproc_ok; then :
7026
7027 else
7028   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7030 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7031 See \`config.log' for more details" "$LINENO" 5 ; }
7032 fi
7033
7034 ac_ext=c
7035 ac_cpp='$CPP $CPPFLAGS'
7036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7039
7040
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7042 $as_echo_n "checking for ANSI C header files... " >&6; }
7043 if test "${ac_cv_header_stdc+set}" = set; then :
7044   $as_echo_n "(cached) " >&6
7045 else
7046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h.  */
7048 #include <stdlib.h>
7049 #include <stdarg.h>
7050 #include <string.h>
7051 #include <float.h>
7052
7053 int
7054 main ()
7055 {
7056
7057   ;
7058   return 0;
7059 }
7060 _ACEOF
7061 if ac_fn_c_try_compile "$LINENO"; then :
7062   ac_cv_header_stdc=yes
7063 else
7064   ac_cv_header_stdc=no
7065 fi
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067
7068 if test $ac_cv_header_stdc = yes; then
7069   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7071 /* end confdefs.h.  */
7072 #include <string.h>
7073
7074 _ACEOF
7075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7076   $EGREP "memchr" >/dev/null 2>&1; then :
7077
7078 else
7079   ac_cv_header_stdc=no
7080 fi
7081 rm -f conftest*
7082
7083 fi
7084
7085 if test $ac_cv_header_stdc = yes; then
7086   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h.  */
7089 #include <stdlib.h>
7090
7091 _ACEOF
7092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7093   $EGREP "free" >/dev/null 2>&1; then :
7094
7095 else
7096   ac_cv_header_stdc=no
7097 fi
7098 rm -f conftest*
7099
7100 fi
7101
7102 if test $ac_cv_header_stdc = yes; then
7103   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7104   if test "$cross_compiling" = yes; then :
7105   :
7106 else
7107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7108 /* end confdefs.h.  */
7109 #include <ctype.h>
7110 #include <stdlib.h>
7111 #if ((' ' & 0x0FF) == 0x020)
7112 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7113 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7114 #else
7115 # define ISLOWER(c) \
7116                    (('a' <= (c) && (c) <= 'i') \
7117                      || ('j' <= (c) && (c) <= 'r') \
7118                      || ('s' <= (c) && (c) <= 'z'))
7119 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7120 #endif
7121
7122 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7123 int
7124 main ()
7125 {
7126   int i;
7127   for (i = 0; i < 256; i++)
7128     if (XOR (islower (i), ISLOWER (i))
7129         || toupper (i) != TOUPPER (i))
7130       return 2;
7131   return 0;
7132 }
7133 _ACEOF
7134 if ac_fn_c_try_run "$LINENO"; then :
7135
7136 else
7137   ac_cv_header_stdc=no
7138 fi
7139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7140   conftest.$ac_objext conftest.beam conftest.$ac_ext
7141 fi
7142
7143 fi
7144 fi
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7146 $as_echo "$ac_cv_header_stdc" >&6; }
7147 if test $ac_cv_header_stdc = yes; then
7148
7149 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7150
7151 fi
7152
7153 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7154 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7155                   inttypes.h stdint.h unistd.h
7156 do :
7157   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7158 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7159 "
7160 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7161   cat >>confdefs.h <<_ACEOF
7162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7163 _ACEOF
7164
7165 fi
7166
7167 done
7168
7169
7170 for ac_header in dlfcn.h
7171 do :
7172   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7173 "
7174 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7175   cat >>confdefs.h <<_ACEOF
7176 #define HAVE_DLFCN_H 1
7177 _ACEOF
7178
7179 fi
7180
7181 done
7182
7183
7184
7185 # Set options
7186
7187
7188
7189         enable_dlopen=no
7190
7191
7192
7193             # Check whether --enable-shared was given.
7194 if test "${enable_shared+set}" = set; then :
7195   enableval=$enable_shared; p=${PACKAGE-default}
7196     case $enableval in
7197     yes) enable_shared=yes ;;
7198     no) enable_shared=no ;;
7199     *)
7200       enable_shared=no
7201       # Look at the argument we got.  We use all the common list separators.
7202       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7203       for pkg in $enableval; do
7204         IFS="$lt_save_ifs"
7205         if test "X$pkg" = "X$p"; then
7206           enable_shared=yes
7207         fi
7208       done
7209       IFS="$lt_save_ifs"
7210       ;;
7211     esac
7212 else
7213   enable_shared=yes
7214 fi
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224   # Check whether --enable-static was given.
7225 if test "${enable_static+set}" = set; then :
7226   enableval=$enable_static; p=${PACKAGE-default}
7227     case $enableval in
7228     yes) enable_static=yes ;;
7229     no) enable_static=no ;;
7230     *)
7231      enable_static=no
7232       # Look at the argument we got.  We use all the common list separators.
7233       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7234       for pkg in $enableval; do
7235         IFS="$lt_save_ifs"
7236         if test "X$pkg" = "X$p"; then
7237           enable_static=yes
7238         fi
7239       done
7240       IFS="$lt_save_ifs"
7241       ;;
7242     esac
7243 else
7244   enable_static=yes
7245 fi
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256 # Check whether --with-pic was given.
7257 if test "${with_pic+set}" = set; then :
7258   withval=$with_pic; pic_mode="$withval"
7259 else
7260   pic_mode=default
7261 fi
7262
7263
7264 test -z "$pic_mode" && pic_mode=default
7265
7266
7267
7268
7269
7270
7271
7272   # Check whether --enable-fast-install was given.
7273 if test "${enable_fast_install+set}" = set; then :
7274   enableval=$enable_fast_install; p=${PACKAGE-default}
7275     case $enableval in
7276     yes) enable_fast_install=yes ;;
7277     no) enable_fast_install=no ;;
7278     *)
7279       enable_fast_install=no
7280       # Look at the argument we got.  We use all the common list separators.
7281       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7282       for pkg in $enableval; do
7283         IFS="$lt_save_ifs"
7284         if test "X$pkg" = "X$p"; then
7285           enable_fast_install=yes
7286         fi
7287       done
7288       IFS="$lt_save_ifs"
7289       ;;
7290     esac
7291 else
7292   enable_fast_install=yes
7293 fi
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305 # This can be used to rebuild libtool when needed
7306 LIBTOOL_DEPS="$ltmain"
7307
7308 # Always use our own libtool.
7309 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335 test -z "$LN_S" && LN_S="ln -s"
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350 if test -n "${ZSH_VERSION+set}" ; then
7351    setopt NO_GLOB_SUBST
7352 fi
7353
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7355 $as_echo_n "checking for objdir... " >&6; }
7356 if test "${lt_cv_objdir+set}" = set; then :
7357   $as_echo_n "(cached) " >&6
7358 else
7359   rm -f .libs 2>/dev/null
7360 mkdir .libs 2>/dev/null
7361 if test -d .libs; then
7362   lt_cv_objdir=.libs
7363 else
7364   # MS-DOS does not allow filenames that begin with a dot.
7365   lt_cv_objdir=_libs
7366 fi
7367 rmdir .libs 2>/dev/null
7368 fi
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7370 $as_echo "$lt_cv_objdir" >&6; }
7371 objdir=$lt_cv_objdir
7372
7373
7374
7375
7376
7377 cat >>confdefs.h <<_ACEOF
7378 #define LT_OBJDIR "$lt_cv_objdir/"
7379 _ACEOF
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397 case $host_os in
7398 aix3*)
7399   # AIX sometimes has problems with the GCC collect2 program.  For some
7400   # reason, if we set the COLLECT_NAMES environment variable, the problems
7401   # vanish in a puff of smoke.
7402   if test "X${COLLECT_NAMES+set}" != Xset; then
7403     COLLECT_NAMES=
7404     export COLLECT_NAMES
7405   fi
7406   ;;
7407 esac
7408
7409 # Sed substitution that helps us do robust quoting.  It backslashifies
7410 # metacharacters that are still active within double-quoted strings.
7411 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7412
7413 # Same as above, but do not quote variable references.
7414 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7415
7416 # Sed substitution to delay expansion of an escaped shell variable in a
7417 # double_quote_subst'ed string.
7418 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7419
7420 # Sed substitution to delay expansion of an escaped single quote.
7421 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7422
7423 # Sed substitution to avoid accidental globbing in evaled expressions
7424 no_glob_subst='s/\*/\\\*/g'
7425
7426 # Global variables:
7427 ofile=libtool
7428 can_build_shared=yes
7429
7430 # All known linkers require a `.a' archive for static linking (except MSVC,
7431 # which needs '.lib').
7432 libext=a
7433
7434 with_gnu_ld="$lt_cv_prog_gnu_ld"
7435
7436 old_CC="$CC"
7437 old_CFLAGS="$CFLAGS"
7438
7439 # Set sane defaults for various variables
7440 test -z "$CC" && CC=cc
7441 test -z "$LTCC" && LTCC=$CC
7442 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7443 test -z "$LD" && LD=ld
7444 test -z "$ac_objext" && ac_objext=o
7445
7446 for cc_temp in $compiler""; do
7447   case $cc_temp in
7448     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7449     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7450     \-*) ;;
7451     *) break;;
7452   esac
7453 done
7454 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7455
7456
7457 # Only perform the check for file, if the check method requires it
7458 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7459 case $deplibs_check_method in
7460 file_magic*)
7461   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7462     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7463 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7464 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7465   $as_echo_n "(cached) " >&6
7466 else
7467   case $MAGIC_CMD in
7468 [\\/*] |  ?:[\\/]*)
7469   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7470   ;;
7471 *)
7472   lt_save_MAGIC_CMD="$MAGIC_CMD"
7473   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7474   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7475   for ac_dir in $ac_dummy; do
7476     IFS="$lt_save_ifs"
7477     test -z "$ac_dir" && ac_dir=.
7478     if test -f $ac_dir/${ac_tool_prefix}file; then
7479       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7480       if test -n "$file_magic_test_file"; then
7481         case $deplibs_check_method in
7482         "file_magic "*)
7483           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7484           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7485           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7486             $EGREP "$file_magic_regex" > /dev/null; then
7487             :
7488           else
7489             cat <<_LT_EOF 1>&2
7490
7491 *** Warning: the command libtool uses to detect shared libraries,
7492 *** $file_magic_cmd, produces output that libtool cannot recognize.
7493 *** The result is that libtool may fail to recognize shared libraries
7494 *** as such.  This will affect the creation of libtool libraries that
7495 *** depend on shared libraries, but programs linked with such libtool
7496 *** libraries will work regardless of this problem.  Nevertheless, you
7497 *** may want to report the problem to your system manager and/or to
7498 *** bug-libtool@gnu.org
7499
7500 _LT_EOF
7501           fi ;;
7502         esac
7503       fi
7504       break
7505     fi
7506   done
7507   IFS="$lt_save_ifs"
7508   MAGIC_CMD="$lt_save_MAGIC_CMD"
7509   ;;
7510 esac
7511 fi
7512
7513 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7514 if test -n "$MAGIC_CMD"; then
7515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7516 $as_echo "$MAGIC_CMD" >&6; }
7517 else
7518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7520 fi
7521
7522
7523
7524
7525
7526 if test -z "$lt_cv_path_MAGIC_CMD"; then
7527   if test -n "$ac_tool_prefix"; then
7528     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7529 $as_echo_n "checking for file... " >&6; }
7530 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7531   $as_echo_n "(cached) " >&6
7532 else
7533   case $MAGIC_CMD in
7534 [\\/*] |  ?:[\\/]*)
7535   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7536   ;;
7537 *)
7538   lt_save_MAGIC_CMD="$MAGIC_CMD"
7539   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7540   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7541   for ac_dir in $ac_dummy; do
7542     IFS="$lt_save_ifs"
7543     test -z "$ac_dir" && ac_dir=.
7544     if test -f $ac_dir/file; then
7545       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7546       if test -n "$file_magic_test_file"; then
7547         case $deplibs_check_method in
7548         "file_magic "*)
7549           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7550           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7551           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7552             $EGREP "$file_magic_regex" > /dev/null; then
7553             :
7554           else
7555             cat <<_LT_EOF 1>&2
7556
7557 *** Warning: the command libtool uses to detect shared libraries,
7558 *** $file_magic_cmd, produces output that libtool cannot recognize.
7559 *** The result is that libtool may fail to recognize shared libraries
7560 *** as such.  This will affect the creation of libtool libraries that
7561 *** depend on shared libraries, but programs linked with such libtool
7562 *** libraries will work regardless of this problem.  Nevertheless, you
7563 *** may want to report the problem to your system manager and/or to
7564 *** bug-libtool@gnu.org
7565
7566 _LT_EOF
7567           fi ;;
7568         esac
7569       fi
7570       break
7571     fi
7572   done
7573   IFS="$lt_save_ifs"
7574   MAGIC_CMD="$lt_save_MAGIC_CMD"
7575   ;;
7576 esac
7577 fi
7578
7579 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7580 if test -n "$MAGIC_CMD"; then
7581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7582 $as_echo "$MAGIC_CMD" >&6; }
7583 else
7584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7585 $as_echo "no" >&6; }
7586 fi
7587
7588
7589   else
7590     MAGIC_CMD=:
7591   fi
7592 fi
7593
7594   fi
7595   ;;
7596 esac
7597
7598 # Use C for the default configuration in the libtool script
7599
7600 lt_save_CC="$CC"
7601 ac_ext=c
7602 ac_cpp='$CPP $CPPFLAGS'
7603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7606
7607
7608 # Source file extension for C test sources.
7609 ac_ext=c
7610
7611 # Object file extension for compiled C test sources.
7612 objext=o
7613 objext=$objext
7614
7615 # Code to be used in simple compile tests
7616 lt_simple_compile_test_code="int some_variable = 0;"
7617
7618 # Code to be used in simple link tests
7619 lt_simple_link_test_code='int main(){return(0);}'
7620
7621
7622
7623
7624
7625
7626
7627 # If no C compiler was specified, use CC.
7628 LTCC=${LTCC-"$CC"}
7629
7630 # If no C compiler flags were specified, use CFLAGS.
7631 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7632
7633 # Allow CC to be a program name with arguments.
7634 compiler=$CC
7635
7636 # Save the default compiler, since it gets overwritten when the other
7637 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7638 compiler_DEFAULT=$CC
7639
7640 # save warnings/boilerplate of simple test code
7641 ac_outfile=conftest.$ac_objext
7642 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7643 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7644 _lt_compiler_boilerplate=`cat conftest.err`
7645 $RM conftest*
7646
7647 ac_outfile=conftest.$ac_objext
7648 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7649 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7650 _lt_linker_boilerplate=`cat conftest.err`
7651 $RM -r conftest*
7652
7653
7654 ## CAVEAT EMPTOR:
7655 ## There is no encapsulation within the following macros, do not change
7656 ## the running order or otherwise move them around unless you know exactly
7657 ## what you are doing...
7658 if test -n "$compiler"; then
7659
7660 lt_prog_compiler_no_builtin_flag=
7661
7662 if test "$GCC" = yes; then
7663   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7664
7665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7666 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7667 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7668   $as_echo_n "(cached) " >&6
7669 else
7670   lt_cv_prog_compiler_rtti_exceptions=no
7671    ac_outfile=conftest.$ac_objext
7672    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7673    lt_compiler_flag="-fno-rtti -fno-exceptions"
7674    # Insert the option either (1) after the last *FLAGS variable, or
7675    # (2) before a word containing "conftest.", or (3) at the end.
7676    # Note that $ac_compile itself does not contain backslashes and begins
7677    # with a dollar sign (not a hyphen), so the echo should work correctly.
7678    # The option is referenced via a variable to avoid confusing sed.
7679    lt_compile=`echo "$ac_compile" | $SED \
7680    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7681    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7682    -e 's:$: $lt_compiler_flag:'`
7683    (eval echo "\"\$as_me:7683: $lt_compile\"" >&5)
7684    (eval "$lt_compile" 2>conftest.err)
7685    ac_status=$?
7686    cat conftest.err >&5
7687    echo "$as_me:7687: \$? = $ac_status" >&5
7688    if (exit $ac_status) && test -s "$ac_outfile"; then
7689      # The compiler can only warn and ignore the option if not recognized
7690      # So say no if there are warnings other than the usual output.
7691      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7692      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7693      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7694        lt_cv_prog_compiler_rtti_exceptions=yes
7695      fi
7696    fi
7697    $RM conftest*
7698
7699 fi
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7701 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7702
7703 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7704     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7705 else
7706     :
7707 fi
7708
7709 fi
7710
7711
7712
7713
7714
7715
7716   lt_prog_compiler_wl=
7717 lt_prog_compiler_pic=
7718 lt_prog_compiler_static=
7719
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7721 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7722
7723   if test "$GCC" = yes; then
7724     lt_prog_compiler_wl='-Wl,'
7725     lt_prog_compiler_static='-static'
7726
7727     case $host_os in
7728       aix*)
7729       # All AIX code is PIC.
7730       if test "$host_cpu" = ia64; then
7731         # AIX 5 now supports IA64 processor
7732         lt_prog_compiler_static='-Bstatic'
7733       fi
7734       ;;
7735
7736     amigaos*)
7737       case $host_cpu in
7738       powerpc)
7739             # see comment about AmigaOS4 .so support
7740             lt_prog_compiler_pic='-fPIC'
7741         ;;
7742       m68k)
7743             # FIXME: we need at least 68020 code to build shared libraries, but
7744             # adding the `-m68020' flag to GCC prevents building anything better,
7745             # like `-m68040'.
7746             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7747         ;;
7748       esac
7749       ;;
7750
7751     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7752       # PIC is the default for these OSes.
7753       ;;
7754
7755     mingw* | cygwin* | pw32* | os2* | cegcc*)
7756       # This hack is so that the source file can tell whether it is being
7757       # built for inclusion in a dll (and should export symbols for example).
7758       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7759       # (--disable-auto-import) libraries
7760       lt_prog_compiler_pic='-DDLL_EXPORT'
7761       ;;
7762
7763     darwin* | rhapsody*)
7764       # PIC is the default on this platform
7765       # Common symbols not allowed in MH_DYLIB files
7766       lt_prog_compiler_pic='-fno-common'
7767       ;;
7768
7769     hpux*)
7770       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7771       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7772       # sets the default TLS model and affects inlining.
7773       case $host_cpu in
7774       hppa*64*)
7775         # +Z the default
7776         ;;
7777       *)
7778         lt_prog_compiler_pic='-fPIC'
7779         ;;
7780       esac
7781       ;;
7782
7783     interix[3-9]*)
7784       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7785       # Instead, we relocate shared libraries at runtime.
7786       ;;
7787
7788     msdosdjgpp*)
7789       # Just because we use GCC doesn't mean we suddenly get shared libraries
7790       # on systems that don't support them.
7791       lt_prog_compiler_can_build_shared=no
7792       enable_shared=no
7793       ;;
7794
7795     *nto* | *qnx*)
7796       # QNX uses GNU C++, but need to define -shared option too, otherwise
7797       # it will coredump.
7798       lt_prog_compiler_pic='-fPIC -shared'
7799       ;;
7800
7801     sysv4*MP*)
7802       if test -d /usr/nec; then
7803         lt_prog_compiler_pic=-Kconform_pic
7804       fi
7805       ;;
7806
7807     *)
7808       lt_prog_compiler_pic='-fPIC'
7809       ;;
7810     esac
7811   else
7812     # PORTME Check for flag to pass linker flags through the system compiler.
7813     case $host_os in
7814     aix*)
7815       lt_prog_compiler_wl='-Wl,'
7816       if test "$host_cpu" = ia64; then
7817         # AIX 5 now supports IA64 processor
7818         lt_prog_compiler_static='-Bstatic'
7819       else
7820         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7821       fi
7822       ;;
7823
7824     mingw* | cygwin* | pw32* | os2* | cegcc*)
7825       # This hack is so that the source file can tell whether it is being
7826       # built for inclusion in a dll (and should export symbols for example).
7827       lt_prog_compiler_pic='-DDLL_EXPORT'
7828       ;;
7829
7830     hpux9* | hpux10* | hpux11*)
7831       lt_prog_compiler_wl='-Wl,'
7832       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7833       # not for PA HP-UX.
7834       case $host_cpu in
7835       hppa*64*|ia64*)
7836         # +Z the default
7837         ;;
7838       *)
7839         lt_prog_compiler_pic='+Z'
7840         ;;
7841       esac
7842       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7843       lt_prog_compiler_static='${wl}-a ${wl}archive'
7844       ;;
7845
7846     irix5* | irix6* | nonstopux*)
7847       lt_prog_compiler_wl='-Wl,'
7848       # PIC (with -KPIC) is the default.
7849       lt_prog_compiler_static='-non_shared'
7850       ;;
7851
7852     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7853       case $cc_basename in
7854       # old Intel for x86_64 which still supported -KPIC.
7855       ecc*)
7856         lt_prog_compiler_wl='-Wl,'
7857         lt_prog_compiler_pic='-KPIC'
7858         lt_prog_compiler_static='-static'
7859         ;;
7860       # icc used to be incompatible with GCC.
7861       # ICC 10 doesn't accept -KPIC any more.
7862       icc* | ifort*)
7863         lt_prog_compiler_wl='-Wl,'
7864         lt_prog_compiler_pic='-fPIC'
7865         lt_prog_compiler_static='-static'
7866         ;;
7867       # Lahey Fortran 8.1.
7868       lf95*)
7869         lt_prog_compiler_wl='-Wl,'
7870         lt_prog_compiler_pic='--shared'
7871         lt_prog_compiler_static='--static'
7872         ;;
7873       pgcc* | pgf77* | pgf90* | pgf95*)
7874         # Portland Group compilers (*not* the Pentium gcc compiler,
7875         # which looks to be a dead project)
7876         lt_prog_compiler_wl='-Wl,'
7877         lt_prog_compiler_pic='-fpic'
7878         lt_prog_compiler_static='-Bstatic'
7879         ;;
7880       ccc*)
7881         lt_prog_compiler_wl='-Wl,'
7882         # All Alpha code is PIC.
7883         lt_prog_compiler_static='-non_shared'
7884         ;;
7885       xl*)
7886         # IBM XL C 8.0/Fortran 10.1 on PPC
7887         lt_prog_compiler_wl='-Wl,'
7888         lt_prog_compiler_pic='-qpic'
7889         lt_prog_compiler_static='-qstaticlink'
7890         ;;
7891       *)
7892         case `$CC -V 2>&1 | sed 5q` in
7893         *Sun\ C*)
7894           # Sun C 5.9
7895           lt_prog_compiler_pic='-KPIC'
7896           lt_prog_compiler_static='-Bstatic'
7897           lt_prog_compiler_wl='-Wl,'
7898           ;;
7899         *Sun\ F*)
7900           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7901           lt_prog_compiler_pic='-KPIC'
7902           lt_prog_compiler_static='-Bstatic'
7903           lt_prog_compiler_wl=''
7904           ;;
7905         esac
7906         ;;
7907       esac
7908       ;;
7909
7910     newsos6)
7911       lt_prog_compiler_pic='-KPIC'
7912       lt_prog_compiler_static='-Bstatic'
7913       ;;
7914
7915     *nto* | *qnx*)
7916       # QNX uses GNU C++, but need to define -shared option too, otherwise
7917       # it will coredump.
7918       lt_prog_compiler_pic='-fPIC -shared'
7919       ;;
7920
7921     osf3* | osf4* | osf5*)
7922       lt_prog_compiler_wl='-Wl,'
7923       # All OSF/1 code is PIC.
7924       lt_prog_compiler_static='-non_shared'
7925       ;;
7926
7927     rdos*)
7928       lt_prog_compiler_static='-non_shared'
7929       ;;
7930
7931     solaris*)
7932       lt_prog_compiler_pic='-KPIC'
7933       lt_prog_compiler_static='-Bstatic'
7934       case $cc_basename in
7935       f77* | f90* | f95*)
7936         lt_prog_compiler_wl='-Qoption ld ';;
7937       *)
7938         lt_prog_compiler_wl='-Wl,';;
7939       esac
7940       ;;
7941
7942     sunos4*)
7943       lt_prog_compiler_wl='-Qoption ld '
7944       lt_prog_compiler_pic='-PIC'
7945       lt_prog_compiler_static='-Bstatic'
7946       ;;
7947
7948     sysv4 | sysv4.2uw2* | sysv4.3*)
7949       lt_prog_compiler_wl='-Wl,'
7950       lt_prog_compiler_pic='-KPIC'
7951       lt_prog_compiler_static='-Bstatic'
7952       ;;
7953
7954     sysv4*MP*)
7955       if test -d /usr/nec ;then
7956         lt_prog_compiler_pic='-Kconform_pic'
7957         lt_prog_compiler_static='-Bstatic'
7958       fi
7959       ;;
7960
7961     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7962       lt_prog_compiler_wl='-Wl,'
7963       lt_prog_compiler_pic='-KPIC'
7964       lt_prog_compiler_static='-Bstatic'
7965       ;;
7966
7967     unicos*)
7968       lt_prog_compiler_wl='-Wl,'
7969       lt_prog_compiler_can_build_shared=no
7970       ;;
7971
7972     uts4*)
7973       lt_prog_compiler_pic='-pic'
7974       lt_prog_compiler_static='-Bstatic'
7975       ;;
7976
7977     *)
7978       lt_prog_compiler_can_build_shared=no
7979       ;;
7980     esac
7981   fi
7982
7983 case $host_os in
7984   # For platforms which do not support PIC, -DPIC is meaningless:
7985   *djgpp*)
7986     lt_prog_compiler_pic=
7987     ;;
7988   *)
7989     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7990     ;;
7991 esac
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7993 $as_echo "$lt_prog_compiler_pic" >&6; }
7994
7995
7996
7997
7998
7999
8000 #
8001 # Check to make sure the PIC flag actually works.
8002 #
8003 if test -n "$lt_prog_compiler_pic"; then
8004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8005 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8006 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8007   $as_echo_n "(cached) " >&6
8008 else
8009   lt_cv_prog_compiler_pic_works=no
8010    ac_outfile=conftest.$ac_objext
8011    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8012    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8013    # Insert the option either (1) after the last *FLAGS variable, or
8014    # (2) before a word containing "conftest.", or (3) at the end.
8015    # Note that $ac_compile itself does not contain backslashes and begins
8016    # with a dollar sign (not a hyphen), so the echo should work correctly.
8017    # The option is referenced via a variable to avoid confusing sed.
8018    lt_compile=`echo "$ac_compile" | $SED \
8019    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8020    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8021    -e 's:$: $lt_compiler_flag:'`
8022    (eval echo "\"\$as_me:8022: $lt_compile\"" >&5)
8023    (eval "$lt_compile" 2>conftest.err)
8024    ac_status=$?
8025    cat conftest.err >&5
8026    echo "$as_me:8026: \$? = $ac_status" >&5
8027    if (exit $ac_status) && test -s "$ac_outfile"; then
8028      # The compiler can only warn and ignore the option if not recognized
8029      # So say no if there are warnings other than the usual output.
8030      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8031      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8032      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8033        lt_cv_prog_compiler_pic_works=yes
8034      fi
8035    fi
8036    $RM conftest*
8037
8038 fi
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8040 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8041
8042 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8043     case $lt_prog_compiler_pic in
8044      "" | " "*) ;;
8045      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8046      esac
8047 else
8048     lt_prog_compiler_pic=
8049      lt_prog_compiler_can_build_shared=no
8050 fi
8051
8052 fi
8053
8054
8055
8056
8057
8058
8059 #
8060 # Check to make sure the static flag actually works.
8061 #
8062 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8064 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8065 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8066   $as_echo_n "(cached) " >&6
8067 else
8068   lt_cv_prog_compiler_static_works=no
8069    save_LDFLAGS="$LDFLAGS"
8070    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8071    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8072    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8073      # The linker can only warn and ignore the option if not recognized
8074      # So say no if there are warnings
8075      if test -s conftest.err; then
8076        # Append any errors to the config.log.
8077        cat conftest.err 1>&5
8078        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8079        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8080        if diff conftest.exp conftest.er2 >/dev/null; then
8081          lt_cv_prog_compiler_static_works=yes
8082        fi
8083      else
8084        lt_cv_prog_compiler_static_works=yes
8085      fi
8086    fi
8087    $RM -r conftest*
8088    LDFLAGS="$save_LDFLAGS"
8089
8090 fi
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8092 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8093
8094 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8095     :
8096 else
8097     lt_prog_compiler_static=
8098 fi
8099
8100
8101
8102
8103
8104
8105
8106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8107 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8108 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8109   $as_echo_n "(cached) " >&6
8110 else
8111   lt_cv_prog_compiler_c_o=no
8112    $RM -r conftest 2>/dev/null
8113    mkdir conftest
8114    cd conftest
8115    mkdir out
8116    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8117
8118    lt_compiler_flag="-o out/conftest2.$ac_objext"
8119    # Insert the option either (1) after the last *FLAGS variable, or
8120    # (2) before a word containing "conftest.", or (3) at the end.
8121    # Note that $ac_compile itself does not contain backslashes and begins
8122    # with a dollar sign (not a hyphen), so the echo should work correctly.
8123    lt_compile=`echo "$ac_compile" | $SED \
8124    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8125    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8126    -e 's:$: $lt_compiler_flag:'`
8127    (eval echo "\"\$as_me:8127: $lt_compile\"" >&5)
8128    (eval "$lt_compile" 2>out/conftest.err)
8129    ac_status=$?
8130    cat out/conftest.err >&5
8131    echo "$as_me:8131: \$? = $ac_status" >&5
8132    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8133    then
8134      # The compiler can only warn and ignore the option if not recognized
8135      # So say no if there are warnings
8136      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8137      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8138      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8139        lt_cv_prog_compiler_c_o=yes
8140      fi
8141    fi
8142    chmod u+w . 2>&5
8143    $RM conftest*
8144    # SGI C++ compiler will create directory out/ii_files/ for
8145    # template instantiation
8146    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8147    $RM out/* && rmdir out
8148    cd ..
8149    $RM -r conftest
8150    $RM conftest*
8151
8152 fi
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8154 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8155
8156
8157
8158
8159
8160
8161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8162 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8163 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8164   $as_echo_n "(cached) " >&6
8165 else
8166   lt_cv_prog_compiler_c_o=no
8167    $RM -r conftest 2>/dev/null
8168    mkdir conftest
8169    cd conftest
8170    mkdir out
8171    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8172
8173    lt_compiler_flag="-o out/conftest2.$ac_objext"
8174    # Insert the option either (1) after the last *FLAGS variable, or
8175    # (2) before a word containing "conftest.", or (3) at the end.
8176    # Note that $ac_compile itself does not contain backslashes and begins
8177    # with a dollar sign (not a hyphen), so the echo should work correctly.
8178    lt_compile=`echo "$ac_compile" | $SED \
8179    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8180    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8181    -e 's:$: $lt_compiler_flag:'`
8182    (eval echo "\"\$as_me:8182: $lt_compile\"" >&5)
8183    (eval "$lt_compile" 2>out/conftest.err)
8184    ac_status=$?
8185    cat out/conftest.err >&5
8186    echo "$as_me:8186: \$? = $ac_status" >&5
8187    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8188    then
8189      # The compiler can only warn and ignore the option if not recognized
8190      # So say no if there are warnings
8191      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8192      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8193      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8194        lt_cv_prog_compiler_c_o=yes
8195      fi
8196    fi
8197    chmod u+w . 2>&5
8198    $RM conftest*
8199    # SGI C++ compiler will create directory out/ii_files/ for
8200    # template instantiation
8201    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8202    $RM out/* && rmdir out
8203    cd ..
8204    $RM -r conftest
8205    $RM conftest*
8206
8207 fi
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8209 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8210
8211
8212
8213
8214 hard_links="nottested"
8215 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8216   # do not overwrite the value of need_locks provided by the user
8217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8218 $as_echo_n "checking if we can lock with hard links... " >&6; }
8219   hard_links=yes
8220   $RM conftest*
8221   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8222   touch conftest.a
8223   ln conftest.a conftest.b 2>&5 || hard_links=no
8224   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8226 $as_echo "$hard_links" >&6; }
8227   if test "$hard_links" = no; then
8228     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8229 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8230     need_locks=warn
8231   fi
8232 else
8233   need_locks=no
8234 fi
8235
8236
8237
8238
8239
8240
8241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8242 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8243
8244   runpath_var=
8245   allow_undefined_flag=
8246   always_export_symbols=no
8247   archive_cmds=
8248   archive_expsym_cmds=
8249   compiler_needs_object=no
8250   enable_shared_with_static_runtimes=no
8251   export_dynamic_flag_spec=
8252   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8253   hardcode_automatic=no
8254   hardcode_direct=no
8255   hardcode_direct_absolute=no
8256   hardcode_libdir_flag_spec=
8257   hardcode_libdir_flag_spec_ld=
8258   hardcode_libdir_separator=
8259   hardcode_minus_L=no
8260   hardcode_shlibpath_var=unsupported
8261   inherit_rpath=no
8262   link_all_deplibs=unknown
8263   module_cmds=
8264   module_expsym_cmds=
8265   old_archive_from_new_cmds=
8266   old_archive_from_expsyms_cmds=
8267   thread_safe_flag_spec=
8268   whole_archive_flag_spec=
8269   # include_expsyms should be a list of space-separated symbols to be *always*
8270   # included in the symbol list
8271   include_expsyms=
8272   # exclude_expsyms can be an extended regexp of symbols to exclude
8273   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8274   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8275   # as well as any symbol that contains `d'.
8276   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8277   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8278   # platforms (ab)use it in PIC code, but their linkers get confused if
8279   # the symbol is explicitly referenced.  Since portable code cannot
8280   # rely on this symbol name, it's probably fine to never include it in
8281   # preloaded symbol tables.
8282   # Exclude shared library initialization/finalization symbols.
8283   extract_expsyms_cmds=
8284
8285   case $host_os in
8286   cygwin* | mingw* | pw32* | cegcc*)
8287     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8288     # When not using gcc, we currently assume that we are using
8289     # Microsoft Visual C++.
8290     if test "$GCC" != yes; then
8291       with_gnu_ld=no
8292     fi
8293     ;;
8294   interix*)
8295     # we just hope/assume this is gcc and not c89 (= MSVC++)
8296     with_gnu_ld=yes
8297     ;;
8298   openbsd*)
8299     with_gnu_ld=no
8300     ;;
8301   linux* | k*bsd*-gnu)
8302     link_all_deplibs=no
8303     ;;
8304   esac
8305
8306   ld_shlibs=yes
8307   if test "$with_gnu_ld" = yes; then
8308     # If archive_cmds runs LD, not CC, wlarc should be empty
8309     wlarc='${wl}'
8310
8311     # Set some defaults for GNU ld with shared library support. These
8312     # are reset later if shared libraries are not supported. Putting them
8313     # here allows them to be overridden if necessary.
8314     runpath_var=LD_RUN_PATH
8315     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8316     export_dynamic_flag_spec='${wl}--export-dynamic'
8317     # ancient GNU ld didn't support --whole-archive et. al.
8318     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8319       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8320     else
8321       whole_archive_flag_spec=
8322     fi
8323     supports_anon_versioning=no
8324     case `$LD -v 2>&1` in
8325       *GNU\ gold*) supports_anon_versioning=yes ;;
8326       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8327       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8328       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8329       *\ 2.11.*) ;; # other 2.11 versions
8330       *) supports_anon_versioning=yes ;;
8331     esac
8332
8333     # See if GNU ld supports shared libraries.
8334     case $host_os in
8335     aix[3-9]*)
8336       # On AIX/PPC, the GNU linker is very broken
8337       if test "$host_cpu" != ia64; then
8338         ld_shlibs=no
8339         cat <<_LT_EOF 1>&2
8340
8341 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8342 *** to be unable to reliably create shared libraries on AIX.
8343 *** Therefore, libtool is disabling shared libraries support.  If you
8344 *** really care for shared libraries, you may want to modify your PATH
8345 *** so that a non-GNU linker is found, and then restart.
8346
8347 _LT_EOF
8348       fi
8349       ;;
8350
8351     amigaos*)
8352       case $host_cpu in
8353       powerpc)
8354             # see comment about AmigaOS4 .so support
8355             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8356             archive_expsym_cmds=''
8357         ;;
8358       m68k)
8359             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)'
8360             hardcode_libdir_flag_spec='-L$libdir'
8361             hardcode_minus_L=yes
8362         ;;
8363       esac
8364       ;;
8365
8366     beos*)
8367       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8368         allow_undefined_flag=unsupported
8369         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8370         # support --undefined.  This deserves some investigation.  FIXME
8371         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8372       else
8373         ld_shlibs=no
8374       fi
8375       ;;
8376
8377     cygwin* | mingw* | pw32* | cegcc*)
8378       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8379       # as there is no search path for DLLs.
8380       hardcode_libdir_flag_spec='-L$libdir'
8381       allow_undefined_flag=unsupported
8382       always_export_symbols=no
8383       enable_shared_with_static_runtimes=yes
8384       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8385
8386       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8387         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8388         # If the export-symbols file already is a .def file (1st line
8389         # is EXPORTS), use it as is; otherwise, prepend...
8390         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8391           cp $export_symbols $output_objdir/$soname.def;
8392         else
8393           echo EXPORTS > $output_objdir/$soname.def;
8394           cat $export_symbols >> $output_objdir/$soname.def;
8395         fi~
8396         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8397       else
8398         ld_shlibs=no
8399       fi
8400       ;;
8401
8402     interix[3-9]*)
8403       hardcode_direct=no
8404       hardcode_shlibpath_var=no
8405       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8406       export_dynamic_flag_spec='${wl}-E'
8407       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8408       # Instead, shared libraries are loaded at an image base (0x10000000 by
8409       # default) and relocated if they conflict, which is a slow very memory
8410       # consuming and fragmenting process.  To avoid this, we pick a random,
8411       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8412       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8413       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8414       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'
8415       ;;
8416
8417     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8418       tmp_diet=no
8419       if test "$host_os" = linux-dietlibc; then
8420         case $cc_basename in
8421           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8422         esac
8423       fi
8424       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8425          && test "$tmp_diet" = no
8426       then
8427         tmp_addflag=
8428         tmp_sharedflag='-shared'
8429         case $cc_basename,$host_cpu in
8430         pgcc*)                          # Portland Group C compiler
8431           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8432           tmp_addflag=' $pic_flag'
8433           ;;
8434         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8435           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8436           tmp_addflag=' $pic_flag -Mnomain' ;;
8437         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8438           tmp_addflag=' -i_dynamic' ;;
8439         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8440           tmp_addflag=' -i_dynamic -nofor_main' ;;
8441         ifc* | ifort*)                  # Intel Fortran compiler
8442           tmp_addflag=' -nofor_main' ;;
8443         lf95*)                          # Lahey Fortran 8.1
8444           whole_archive_flag_spec=
8445           tmp_sharedflag='--shared' ;;
8446         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8447           tmp_sharedflag='-qmkshrobj'
8448           tmp_addflag= ;;
8449         esac
8450         case `$CC -V 2>&1 | sed 5q` in
8451         *Sun\ C*)                       # Sun C 5.9
8452           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8453           compiler_needs_object=yes
8454           tmp_sharedflag='-G' ;;
8455         *Sun\ F*)                       # Sun Fortran 8.3
8456           tmp_sharedflag='-G' ;;
8457         esac
8458         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8459
8460         if test "x$supports_anon_versioning" = xyes; then
8461           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8462             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8463             echo "local: *; };" >> $output_objdir/$libname.ver~
8464             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8465         fi
8466
8467         case $cc_basename in
8468         xlf*)
8469           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8470           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8471           hardcode_libdir_flag_spec=
8472           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8473           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8474           if test "x$supports_anon_versioning" = xyes; then
8475             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8476               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8477               echo "local: *; };" >> $output_objdir/$libname.ver~
8478               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8479           fi
8480           ;;
8481         esac
8482       else
8483         ld_shlibs=no
8484       fi
8485       ;;
8486
8487     netbsd* | netbsdelf*-gnu)
8488       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8489         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8490         wlarc=
8491       else
8492         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8493         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8494       fi
8495       ;;
8496
8497     solaris*)
8498       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8499         ld_shlibs=no
8500         cat <<_LT_EOF 1>&2
8501
8502 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8503 *** create shared libraries on Solaris systems.  Therefore, libtool
8504 *** is disabling shared libraries support.  We urge you to upgrade GNU
8505 *** binutils to release 2.9.1 or newer.  Another option is to modify
8506 *** your PATH or compiler configuration so that the native linker is
8507 *** used, and then restart.
8508
8509 _LT_EOF
8510       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8511         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8512         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8513       else
8514         ld_shlibs=no
8515       fi
8516       ;;
8517
8518     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8519       case `$LD -v 2>&1` in
8520         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8521         ld_shlibs=no
8522         cat <<_LT_EOF 1>&2
8523
8524 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8525 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8526 *** is disabling shared libraries support.  We urge you to upgrade GNU
8527 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8528 *** your PATH or compiler configuration so that the native linker is
8529 *** used, and then restart.
8530
8531 _LT_EOF
8532         ;;
8533         *)
8534           # For security reasons, it is highly recommended that you always
8535           # use absolute paths for naming shared libraries, and exclude the
8536           # DT_RUNPATH tag from executables and libraries.  But doing so
8537           # requires that you compile everything twice, which is a pain.
8538           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8539             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8540             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8541             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8542           else
8543             ld_shlibs=no
8544           fi
8545         ;;
8546       esac
8547       ;;
8548
8549     sunos4*)
8550       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8551       wlarc=
8552       hardcode_direct=yes
8553       hardcode_shlibpath_var=no
8554       ;;
8555
8556     *)
8557       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8558         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8559         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8560       else
8561         ld_shlibs=no
8562       fi
8563       ;;
8564     esac
8565
8566     if test "$ld_shlibs" = no; then
8567       runpath_var=
8568       hardcode_libdir_flag_spec=
8569       export_dynamic_flag_spec=
8570       whole_archive_flag_spec=
8571     fi
8572   else
8573     # PORTME fill in a description of your system's linker (not GNU ld)
8574     case $host_os in
8575     aix3*)
8576       allow_undefined_flag=unsupported
8577       always_export_symbols=yes
8578       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'
8579       # Note: this linker hardcodes the directories in LIBPATH if there
8580       # are no directories specified by -L.
8581       hardcode_minus_L=yes
8582       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8583         # Neither direct hardcoding nor static linking is supported with a
8584         # broken collect2.
8585         hardcode_direct=unsupported
8586       fi
8587       ;;
8588
8589     aix[4-9]*)
8590       if test "$host_cpu" = ia64; then
8591         # On IA64, the linker does run time linking by default, so we don't
8592         # have to do anything special.
8593         aix_use_runtimelinking=no
8594         exp_sym_flag='-Bexport'
8595         no_entry_flag=""
8596       else
8597         # If we're using GNU nm, then we don't want the "-C" option.
8598         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8599         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8600           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8601         else
8602           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'
8603         fi
8604         aix_use_runtimelinking=no
8605
8606         # Test if we are trying to use run time linking or normal
8607         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8608         # need to do runtime linking.
8609         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8610           for ld_flag in $LDFLAGS; do
8611           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8612             aix_use_runtimelinking=yes
8613             break
8614           fi
8615           done
8616           ;;
8617         esac
8618
8619         exp_sym_flag='-bexport'
8620         no_entry_flag='-bnoentry'
8621       fi
8622
8623       # When large executables or shared objects are built, AIX ld can
8624       # have problems creating the table of contents.  If linking a library
8625       # or program results in "error TOC overflow" add -mminimal-toc to
8626       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8627       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8628
8629       archive_cmds=''
8630       hardcode_direct=yes
8631       hardcode_direct_absolute=yes
8632       hardcode_libdir_separator=':'
8633       link_all_deplibs=yes
8634       file_list_spec='${wl}-f,'
8635
8636       if test "$GCC" = yes; then
8637         case $host_os in aix4.[012]|aix4.[012].*)
8638         # We only want to do this on AIX 4.2 and lower, the check
8639         # below for broken collect2 doesn't work under 4.3+
8640           collect2name=`${CC} -print-prog-name=collect2`
8641           if test -f "$collect2name" &&
8642            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8643           then
8644           # We have reworked collect2
8645           :
8646           else
8647           # We have old collect2
8648           hardcode_direct=unsupported
8649           # It fails to find uninstalled libraries when the uninstalled
8650           # path is not listed in the libpath.  Setting hardcode_minus_L
8651           # to unsupported forces relinking
8652           hardcode_minus_L=yes
8653           hardcode_libdir_flag_spec='-L$libdir'
8654           hardcode_libdir_separator=
8655           fi
8656           ;;
8657         esac
8658         shared_flag='-shared'
8659         if test "$aix_use_runtimelinking" = yes; then
8660           shared_flag="$shared_flag "'${wl}-G'
8661         fi
8662         link_all_deplibs=no
8663       else
8664         # not using gcc
8665         if test "$host_cpu" = ia64; then
8666         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8667         # chokes on -Wl,-G. The following line is correct:
8668           shared_flag='-G'
8669         else
8670           if test "$aix_use_runtimelinking" = yes; then
8671             shared_flag='${wl}-G'
8672           else
8673             shared_flag='${wl}-bM:SRE'
8674           fi
8675         fi
8676       fi
8677
8678       export_dynamic_flag_spec='${wl}-bexpall'
8679       # It seems that -bexpall does not export symbols beginning with
8680       # underscore (_), so it is better to generate a list of symbols to export.
8681       always_export_symbols=yes
8682       if test "$aix_use_runtimelinking" = yes; then
8683         # Warning - without using the other runtime loading flags (-brtl),
8684         # -berok will link without error, but may produce a broken library.
8685         allow_undefined_flag='-berok'
8686         # Determine the default libpath from the value encoded in an
8687         # empty executable.
8688         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h.  */
8690
8691 int
8692 main ()
8693 {
8694
8695   ;
8696   return 0;
8697 }
8698 _ACEOF
8699 if ac_fn_c_try_link "$LINENO"; then :
8700
8701 lt_aix_libpath_sed='
8702     /Import File Strings/,/^$/ {
8703         /^0/ {
8704             s/^0  *\(.*\)$/\1/
8705             p
8706         }
8707     }'
8708 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8709 # Check for a 64-bit object if we didn't find anything.
8710 if test -z "$aix_libpath"; then
8711   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8712 fi
8713 fi
8714 rm -f core conftest.err conftest.$ac_objext \
8715     conftest$ac_exeext conftest.$ac_ext
8716 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8717
8718         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8719         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8720       else
8721         if test "$host_cpu" = ia64; then
8722           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8723           allow_undefined_flag="-z nodefs"
8724           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"
8725         else
8726          # Determine the default libpath from the value encoded in an
8727          # empty executable.
8728          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h.  */
8730
8731 int
8732 main ()
8733 {
8734
8735   ;
8736   return 0;
8737 }
8738 _ACEOF
8739 if ac_fn_c_try_link "$LINENO"; then :
8740
8741 lt_aix_libpath_sed='
8742     /Import File Strings/,/^$/ {
8743         /^0/ {
8744             s/^0  *\(.*\)$/\1/
8745             p
8746         }
8747     }'
8748 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8749 # Check for a 64-bit object if we didn't find anything.
8750 if test -z "$aix_libpath"; then
8751   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8752 fi
8753 fi
8754 rm -f core conftest.err conftest.$ac_objext \
8755     conftest$ac_exeext conftest.$ac_ext
8756 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8757
8758          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8759           # Warning - without using the other run time loading flags,
8760           # -berok will link without error, but may produce a broken library.
8761           no_undefined_flag=' ${wl}-bernotok'
8762           allow_undefined_flag=' ${wl}-berok'
8763           # Exported symbols can be pulled into shared objects from archives
8764           whole_archive_flag_spec='$convenience'
8765           archive_cmds_need_lc=yes
8766           # This is similar to how AIX traditionally builds its shared libraries.
8767           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'
8768         fi
8769       fi
8770       ;;
8771
8772     amigaos*)
8773       case $host_cpu in
8774       powerpc)
8775             # see comment about AmigaOS4 .so support
8776             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8777             archive_expsym_cmds=''
8778         ;;
8779       m68k)
8780             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)'
8781             hardcode_libdir_flag_spec='-L$libdir'
8782             hardcode_minus_L=yes
8783         ;;
8784       esac
8785       ;;
8786
8787     bsdi[45]*)
8788       export_dynamic_flag_spec=-rdynamic
8789       ;;
8790
8791     cygwin* | mingw* | pw32* | cegcc*)
8792       # When not using gcc, we currently assume that we are using
8793       # Microsoft Visual C++.
8794       # hardcode_libdir_flag_spec is actually meaningless, as there is
8795       # no search path for DLLs.
8796       hardcode_libdir_flag_spec=' '
8797       allow_undefined_flag=unsupported
8798       # Tell ltmain to make .lib files, not .a files.
8799       libext=lib
8800       # Tell ltmain to make .dll files, not .so files.
8801       shrext_cmds=".dll"
8802       # FIXME: Setting linknames here is a bad hack.
8803       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8804       # The linker will automatically build a .lib file if we build a DLL.
8805       old_archive_from_new_cmds='true'
8806       # FIXME: Should let the user specify the lib program.
8807       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8808       fix_srcfile_path='`cygpath -w "$srcfile"`'
8809       enable_shared_with_static_runtimes=yes
8810       ;;
8811
8812     darwin* | rhapsody*)
8813
8814
8815   archive_cmds_need_lc=no
8816   hardcode_direct=no
8817   hardcode_automatic=yes
8818   hardcode_shlibpath_var=unsupported
8819   whole_archive_flag_spec=''
8820   link_all_deplibs=yes
8821   allow_undefined_flag="$_lt_dar_allow_undefined"
8822   case $cc_basename in
8823      ifort*) _lt_dar_can_shared=yes ;;
8824      *) _lt_dar_can_shared=$GCC ;;
8825   esac
8826   if test "$_lt_dar_can_shared" = "yes"; then
8827     output_verbose_link_cmd=echo
8828     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8829     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8830     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}"
8831     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}"
8832
8833   else
8834   ld_shlibs=no
8835   fi
8836
8837       ;;
8838
8839     dgux*)
8840       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8841       hardcode_libdir_flag_spec='-L$libdir'
8842       hardcode_shlibpath_var=no
8843       ;;
8844
8845     freebsd1*)
8846       ld_shlibs=no
8847       ;;
8848
8849     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8850     # support.  Future versions do this automatically, but an explicit c++rt0.o
8851     # does not break anything, and helps significantly (at the cost of a little
8852     # extra space).
8853     freebsd2.2*)
8854       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8855       hardcode_libdir_flag_spec='-R$libdir'
8856       hardcode_direct=yes
8857       hardcode_shlibpath_var=no
8858       ;;
8859
8860     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8861     freebsd2*)
8862       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8863       hardcode_direct=yes
8864       hardcode_minus_L=yes
8865       hardcode_shlibpath_var=no
8866       ;;
8867
8868     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8869     freebsd* | dragonfly*)
8870       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8871       hardcode_libdir_flag_spec='-R$libdir'
8872       hardcode_direct=yes
8873       hardcode_shlibpath_var=no
8874       ;;
8875
8876     hpux9*)
8877       if test "$GCC" = yes; then
8878         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8879       else
8880         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'
8881       fi
8882       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8883       hardcode_libdir_separator=:
8884       hardcode_direct=yes
8885
8886       # hardcode_minus_L: Not really in the search PATH,
8887       # but as the default location of the library.
8888       hardcode_minus_L=yes
8889       export_dynamic_flag_spec='${wl}-E'
8890       ;;
8891
8892     hpux10*)
8893       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8894         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8895       else
8896         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8897       fi
8898       if test "$with_gnu_ld" = no; then
8899         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8900         hardcode_libdir_flag_spec_ld='+b $libdir'
8901         hardcode_libdir_separator=:
8902         hardcode_direct=yes
8903         hardcode_direct_absolute=yes
8904         export_dynamic_flag_spec='${wl}-E'
8905         # hardcode_minus_L: Not really in the search PATH,
8906         # but as the default location of the library.
8907         hardcode_minus_L=yes
8908       fi
8909       ;;
8910
8911     hpux11*)
8912       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8913         case $host_cpu in
8914         hppa*64*)
8915           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8916           ;;
8917         ia64*)
8918           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8919           ;;
8920         *)
8921           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8922           ;;
8923         esac
8924       else
8925         case $host_cpu in
8926         hppa*64*)
8927           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8928           ;;
8929         ia64*)
8930           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8931           ;;
8932         *)
8933           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8934           ;;
8935         esac
8936       fi
8937       if test "$with_gnu_ld" = no; then
8938         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8939         hardcode_libdir_separator=:
8940
8941         case $host_cpu in
8942         hppa*64*|ia64*)
8943           hardcode_direct=no
8944           hardcode_shlibpath_var=no
8945           ;;
8946         *)
8947           hardcode_direct=yes
8948           hardcode_direct_absolute=yes
8949           export_dynamic_flag_spec='${wl}-E'
8950
8951           # hardcode_minus_L: Not really in the search PATH,
8952           # but as the default location of the library.
8953           hardcode_minus_L=yes
8954           ;;
8955         esac
8956       fi
8957       ;;
8958
8959     irix5* | irix6* | nonstopux*)
8960       if test "$GCC" = yes; then
8961         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8962         # Try to use the -exported_symbol ld option, if it does not
8963         # work, assume that -exports_file does not work either and
8964         # implicitly export all symbols.
8965         save_LDFLAGS="$LDFLAGS"
8966         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8967         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8968 /* end confdefs.h.  */
8969 int foo(void) {}
8970 _ACEOF
8971 if ac_fn_c_try_link "$LINENO"; then :
8972   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8973
8974 fi
8975 rm -f core conftest.err conftest.$ac_objext \
8976     conftest$ac_exeext conftest.$ac_ext
8977         LDFLAGS="$save_LDFLAGS"
8978       else
8979         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8980         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8981       fi
8982       archive_cmds_need_lc='no'
8983       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8984       hardcode_libdir_separator=:
8985       inherit_rpath=yes
8986       link_all_deplibs=yes
8987       ;;
8988
8989     netbsd* | netbsdelf*-gnu)
8990       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8991         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8992       else
8993         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8994       fi
8995       hardcode_libdir_flag_spec='-R$libdir'
8996       hardcode_direct=yes
8997       hardcode_shlibpath_var=no
8998       ;;
8999
9000     newsos6)
9001       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9002       hardcode_direct=yes
9003       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9004       hardcode_libdir_separator=:
9005       hardcode_shlibpath_var=no
9006       ;;
9007
9008     *nto* | *qnx*)
9009       ;;
9010
9011     openbsd*)
9012       if test -f /usr/libexec/ld.so; then
9013         hardcode_direct=yes
9014         hardcode_shlibpath_var=no
9015         hardcode_direct_absolute=yes
9016         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9017           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9018           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9019           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9020           export_dynamic_flag_spec='${wl}-E'
9021         else
9022           case $host_os in
9023            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9024              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9025              hardcode_libdir_flag_spec='-R$libdir'
9026              ;;
9027            *)
9028              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9029              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9030              ;;
9031           esac
9032         fi
9033       else
9034         ld_shlibs=no
9035       fi
9036       ;;
9037
9038     os2*)
9039       hardcode_libdir_flag_spec='-L$libdir'
9040       hardcode_minus_L=yes
9041       allow_undefined_flag=unsupported
9042       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'
9043       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9044       ;;
9045
9046     osf3*)
9047       if test "$GCC" = yes; then
9048         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9049         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9050       else
9051         allow_undefined_flag=' -expect_unresolved \*'
9052         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9053       fi
9054       archive_cmds_need_lc='no'
9055       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9056       hardcode_libdir_separator=:
9057       ;;
9058
9059     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9060       if test "$GCC" = yes; then
9061         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9062         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9063         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9064       else
9065         allow_undefined_flag=' -expect_unresolved \*'
9066         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9067         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~
9068         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9069
9070         # Both c and cxx compiler support -rpath directly
9071         hardcode_libdir_flag_spec='-rpath $libdir'
9072       fi
9073       archive_cmds_need_lc='no'
9074       hardcode_libdir_separator=:
9075       ;;
9076
9077     solaris*)
9078       no_undefined_flag=' -z defs'
9079       if test "$GCC" = yes; then
9080         wlarc='${wl}'
9081         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9082         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9083           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9084       else
9085         case `$CC -V 2>&1` in
9086         *"Compilers 5.0"*)
9087           wlarc=''
9088           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9089           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9090           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9091           ;;
9092         *)
9093           wlarc='${wl}'
9094           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9095           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9096           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9097           ;;
9098         esac
9099       fi
9100       hardcode_libdir_flag_spec='-R$libdir'
9101       hardcode_shlibpath_var=no
9102       case $host_os in
9103       solaris2.[0-5] | solaris2.[0-5].*) ;;
9104       *)
9105         # The compiler driver will combine and reorder linker options,
9106         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9107         # but is careful enough not to reorder.
9108         # Supported since Solaris 2.6 (maybe 2.5.1?)
9109         if test "$GCC" = yes; then
9110           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9111         else
9112           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9113         fi
9114         ;;
9115       esac
9116       link_all_deplibs=yes
9117       ;;
9118
9119     sunos4*)
9120       if test "x$host_vendor" = xsequent; then
9121         # Use $CC to link under sequent, because it throws in some extra .o
9122         # files that make .init and .fini sections work.
9123         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9124       else
9125         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9126       fi
9127       hardcode_libdir_flag_spec='-L$libdir'
9128       hardcode_direct=yes
9129       hardcode_minus_L=yes
9130       hardcode_shlibpath_var=no
9131       ;;
9132
9133     sysv4)
9134       case $host_vendor in
9135         sni)
9136           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9137           hardcode_direct=yes # is this really true???
9138         ;;
9139         siemens)
9140           ## LD is ld it makes a PLAMLIB
9141           ## CC just makes a GrossModule.
9142           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9143           reload_cmds='$CC -r -o $output$reload_objs'
9144           hardcode_direct=no
9145         ;;
9146         motorola)
9147           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9148           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9149         ;;
9150       esac
9151       runpath_var='LD_RUN_PATH'
9152       hardcode_shlibpath_var=no
9153       ;;
9154
9155     sysv4.3*)
9156       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9157       hardcode_shlibpath_var=no
9158       export_dynamic_flag_spec='-Bexport'
9159       ;;
9160
9161     sysv4*MP*)
9162       if test -d /usr/nec; then
9163         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9164         hardcode_shlibpath_var=no
9165         runpath_var=LD_RUN_PATH
9166         hardcode_runpath_var=yes
9167         ld_shlibs=yes
9168       fi
9169       ;;
9170
9171     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9172       no_undefined_flag='${wl}-z,text'
9173       archive_cmds_need_lc=no
9174       hardcode_shlibpath_var=no
9175       runpath_var='LD_RUN_PATH'
9176
9177       if test "$GCC" = yes; then
9178         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9179         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9180       else
9181         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9182         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9183       fi
9184       ;;
9185
9186     sysv5* | sco3.2v5* | sco5v6*)
9187       # Note: We can NOT use -z defs as we might desire, because we do not
9188       # link with -lc, and that would cause any symbols used from libc to
9189       # always be unresolved, which means just about no library would
9190       # ever link correctly.  If we're not using GNU ld we use -z text
9191       # though, which does catch some bad symbols but isn't as heavy-handed
9192       # as -z defs.
9193       no_undefined_flag='${wl}-z,text'
9194       allow_undefined_flag='${wl}-z,nodefs'
9195       archive_cmds_need_lc=no
9196       hardcode_shlibpath_var=no
9197       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9198       hardcode_libdir_separator=':'
9199       link_all_deplibs=yes
9200       export_dynamic_flag_spec='${wl}-Bexport'
9201       runpath_var='LD_RUN_PATH'
9202
9203       if test "$GCC" = yes; then
9204         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9205         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9206       else
9207         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9208         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9209       fi
9210       ;;
9211
9212     uts4*)
9213       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9214       hardcode_libdir_flag_spec='-L$libdir'
9215       hardcode_shlibpath_var=no
9216       ;;
9217
9218     *)
9219       ld_shlibs=no
9220       ;;
9221     esac
9222
9223     if test x$host_vendor = xsni; then
9224       case $host in
9225       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9226         export_dynamic_flag_spec='${wl}-Blargedynsym'
9227         ;;
9228       esac
9229     fi
9230   fi
9231
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9233 $as_echo "$ld_shlibs" >&6; }
9234 test "$ld_shlibs" = no && can_build_shared=no
9235
9236 with_gnu_ld=$with_gnu_ld
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252 #
9253 # Do we need to explicitly link libc?
9254 #
9255 case "x$archive_cmds_need_lc" in
9256 x|xyes)
9257   # Assume -lc should be added
9258   archive_cmds_need_lc=yes
9259
9260   if test "$enable_shared" = yes && test "$GCC" = yes; then
9261     case $archive_cmds in
9262     *'~'*)
9263       # FIXME: we may have to deal with multi-command sequences.
9264       ;;
9265     '$CC '*)
9266       # Test whether the compiler implicitly links with -lc since on some
9267       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9268       # to ld, don't add -lc before -lgcc.
9269       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9270 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9271       $RM conftest*
9272       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9273
9274       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9275   (eval $ac_compile) 2>&5
9276   ac_status=$?
9277   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9278   test $ac_status = 0; } 2>conftest.err; then
9279         soname=conftest
9280         lib=conftest
9281         libobjs=conftest.$ac_objext
9282         deplibs=
9283         wl=$lt_prog_compiler_wl
9284         pic_flag=$lt_prog_compiler_pic
9285         compiler_flags=-v
9286         linker_flags=-v
9287         verstring=
9288         output_objdir=.
9289         libname=conftest
9290         lt_save_allow_undefined_flag=$allow_undefined_flag
9291         allow_undefined_flag=
9292         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9293   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9294   ac_status=$?
9295   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9296   test $ac_status = 0; }
9297         then
9298           archive_cmds_need_lc=no
9299         else
9300           archive_cmds_need_lc=yes
9301         fi
9302         allow_undefined_flag=$lt_save_allow_undefined_flag
9303       else
9304         cat conftest.err 1>&5
9305       fi
9306       $RM conftest*
9307       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9308 $as_echo "$archive_cmds_need_lc" >&6; }
9309       ;;
9310     esac
9311   fi
9312   ;;
9313 esac
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9472 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9473
9474 if test "$GCC" = yes; then
9475   case $host_os in
9476     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9477     *) lt_awk_arg="/^libraries:/" ;;
9478   esac
9479   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9480   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9481     # if the path contains ";" then we assume it to be the separator
9482     # otherwise default to the standard path separator (i.e. ":") - it is
9483     # assumed that no part of a normal pathname contains ";" but that should
9484     # okay in the real world where ";" in dirpaths is itself problematic.
9485     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9486   else
9487     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9488   fi
9489   # Ok, now we have the path, separated by spaces, we can step through it
9490   # and add multilib dir if necessary.
9491   lt_tmp_lt_search_path_spec=
9492   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9493   for lt_sys_path in $lt_search_path_spec; do
9494     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9495       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9496     else
9497       test -d "$lt_sys_path" && \
9498         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9499     fi
9500   done
9501   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9502 BEGIN {RS=" "; FS="/|\n";} {
9503   lt_foo="";
9504   lt_count=0;
9505   for (lt_i = NF; lt_i > 0; lt_i--) {
9506     if ($lt_i != "" && $lt_i != ".") {
9507       if ($lt_i == "..") {
9508         lt_count++;
9509       } else {
9510         if (lt_count == 0) {
9511           lt_foo="/" $lt_i lt_foo;
9512         } else {
9513           lt_count--;
9514         }
9515       }
9516     }
9517   }
9518   if (lt_foo != "") { lt_freq[lt_foo]++; }
9519   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9520 }'`
9521   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9522 else
9523   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9524 fi
9525 library_names_spec=
9526 libname_spec='lib$name'
9527 soname_spec=
9528 shrext_cmds=".so"
9529 postinstall_cmds=
9530 postuninstall_cmds=
9531 finish_cmds=
9532 finish_eval=
9533 shlibpath_var=
9534 shlibpath_overrides_runpath=unknown
9535 version_type=none
9536 dynamic_linker="$host_os ld.so"
9537 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9538 need_lib_prefix=unknown
9539 hardcode_into_libs=no
9540
9541 # when you set need_version to no, make sure it does not cause -set_version
9542 # flags to be left without arguments
9543 need_version=unknown
9544
9545 case $host_os in
9546 aix3*)
9547   version_type=linux
9548   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9549   shlibpath_var=LIBPATH
9550
9551   # AIX 3 has no versioning support, so we append a major version to the name.
9552   soname_spec='${libname}${release}${shared_ext}$major'
9553   ;;
9554
9555 aix[4-9]*)
9556   version_type=linux
9557   need_lib_prefix=no
9558   need_version=no
9559   hardcode_into_libs=yes
9560   if test "$host_cpu" = ia64; then
9561     # AIX 5 supports IA64
9562     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9563     shlibpath_var=LD_LIBRARY_PATH
9564   else
9565     # With GCC up to 2.95.x, collect2 would create an import file
9566     # for dependence libraries.  The import file would start with
9567     # the line `#! .'.  This would cause the generated library to
9568     # depend on `.', always an invalid library.  This was fixed in
9569     # development snapshots of GCC prior to 3.0.
9570     case $host_os in
9571       aix4 | aix4.[01] | aix4.[01].*)
9572       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9573            echo ' yes '
9574            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9575         :
9576       else
9577         can_build_shared=no
9578       fi
9579       ;;
9580     esac
9581     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9582     # soname into executable. Probably we can add versioning support to
9583     # collect2, so additional links can be useful in future.
9584     if test "$aix_use_runtimelinking" = yes; then
9585       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9586       # instead of lib<name>.a to let people know that these are not
9587       # typical AIX shared libraries.
9588       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9589     else
9590       # We preserve .a as extension for shared libraries through AIX4.2
9591       # and later when we are not doing run time linking.
9592       library_names_spec='${libname}${release}.a $libname.a'
9593       soname_spec='${libname}${release}${shared_ext}$major'
9594     fi
9595     shlibpath_var=LIBPATH
9596   fi
9597   ;;
9598
9599 amigaos*)
9600   case $host_cpu in
9601   powerpc)
9602     # Since July 2007 AmigaOS4 officially supports .so libraries.
9603     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9604     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9605     ;;
9606   m68k)
9607     library_names_spec='$libname.ixlibrary $libname.a'
9608     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9609     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9610     ;;
9611   esac
9612   ;;
9613
9614 beos*)
9615   library_names_spec='${libname}${shared_ext}'
9616   dynamic_linker="$host_os ld.so"
9617   shlibpath_var=LIBRARY_PATH
9618   ;;
9619
9620 bsdi[45]*)
9621   version_type=linux
9622   need_version=no
9623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9624   soname_spec='${libname}${release}${shared_ext}$major'
9625   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9626   shlibpath_var=LD_LIBRARY_PATH
9627   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9628   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9629   # the default ld.so.conf also contains /usr/contrib/lib and
9630   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9631   # libtool to hard-code these into programs
9632   ;;
9633
9634 cygwin* | mingw* | pw32* | cegcc*)
9635   version_type=windows
9636   shrext_cmds=".dll"
9637   need_version=no
9638   need_lib_prefix=no
9639
9640   case $GCC,$host_os in
9641   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9642     library_names_spec='$libname.dll.a'
9643     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9644     postinstall_cmds='base_file=`basename \${file}`~
9645       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9646       dldir=$destdir/`dirname \$dlpath`~
9647       test -d \$dldir || mkdir -p \$dldir~
9648       $install_prog $dir/$dlname \$dldir/$dlname~
9649       chmod a+x \$dldir/$dlname~
9650       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9651         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9652       fi'
9653     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9654       dlpath=$dir/\$dldll~
9655        $RM \$dlpath'
9656     shlibpath_overrides_runpath=yes
9657
9658     case $host_os in
9659     cygwin*)
9660       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9661       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9662       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9663       ;;
9664     mingw* | cegcc*)
9665       # MinGW DLLs use traditional 'lib' prefix
9666       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9667       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9668       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9669         # It is most probably a Windows format PATH printed by
9670         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9671         # path with ; separators, and with drive letters. We can handle the
9672         # drive letters (cygwin fileutils understands them), so leave them,
9673         # especially as we might pass files found there to a mingw objdump,
9674         # which wouldn't understand a cygwinified path. Ahh.
9675         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9676       else
9677         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9678       fi
9679       ;;
9680     pw32*)
9681       # pw32 DLLs use 'pw' prefix rather than 'lib'
9682       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9683       ;;
9684     esac
9685     ;;
9686
9687   *)
9688     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9689     ;;
9690   esac
9691   dynamic_linker='Win32 ld.exe'
9692   # FIXME: first we should search . and the directory the executable is in
9693   shlibpath_var=PATH
9694   ;;
9695
9696 darwin* | rhapsody*)
9697   dynamic_linker="$host_os dyld"
9698   version_type=darwin
9699   need_lib_prefix=no
9700   need_version=no
9701   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9702   soname_spec='${libname}${release}${major}$shared_ext'
9703   shlibpath_overrides_runpath=yes
9704   shlibpath_var=DYLD_LIBRARY_PATH
9705   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9706
9707   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9708   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9709   ;;
9710
9711 dgux*)
9712   version_type=linux
9713   need_lib_prefix=no
9714   need_version=no
9715   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9716   soname_spec='${libname}${release}${shared_ext}$major'
9717   shlibpath_var=LD_LIBRARY_PATH
9718   ;;
9719
9720 freebsd1*)
9721   dynamic_linker=no
9722   ;;
9723
9724 freebsd* | dragonfly*)
9725   # DragonFly does not have aout.  When/if they implement a new
9726   # versioning mechanism, adjust this.
9727   if test -x /usr/bin/objformat; then
9728     objformat=`/usr/bin/objformat`
9729   else
9730     case $host_os in
9731     freebsd[123]*) objformat=aout ;;
9732     *) objformat=elf ;;
9733     esac
9734   fi
9735   version_type=freebsd-$objformat
9736   case $version_type in
9737     freebsd-elf*)
9738       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9739       need_version=no
9740       need_lib_prefix=no
9741       ;;
9742     freebsd-*)
9743       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9744       need_version=yes
9745       ;;
9746   esac
9747   shlibpath_var=LD_LIBRARY_PATH
9748   case $host_os in
9749   freebsd2*)
9750     shlibpath_overrides_runpath=yes
9751     ;;
9752   freebsd3.[01]* | freebsdelf3.[01]*)
9753     shlibpath_overrides_runpath=yes
9754     hardcode_into_libs=yes
9755     ;;
9756   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9757   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9758     shlibpath_overrides_runpath=no
9759     hardcode_into_libs=yes
9760     ;;
9761   *) # from 4.6 on, and DragonFly
9762     shlibpath_overrides_runpath=yes
9763     hardcode_into_libs=yes
9764     ;;
9765   esac
9766   ;;
9767
9768 gnu*)
9769   version_type=linux
9770   need_lib_prefix=no
9771   need_version=no
9772   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9773   soname_spec='${libname}${release}${shared_ext}$major'
9774   shlibpath_var=LD_LIBRARY_PATH
9775   hardcode_into_libs=yes
9776   ;;
9777
9778 hpux9* | hpux10* | hpux11*)
9779   # Give a soname corresponding to the major version so that dld.sl refuses to
9780   # link against other versions.
9781   version_type=sunos
9782   need_lib_prefix=no
9783   need_version=no
9784   case $host_cpu in
9785   ia64*)
9786     shrext_cmds='.so'
9787     hardcode_into_libs=yes
9788     dynamic_linker="$host_os dld.so"
9789     shlibpath_var=LD_LIBRARY_PATH
9790     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9791     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9792     soname_spec='${libname}${release}${shared_ext}$major'
9793     if test "X$HPUX_IA64_MODE" = X32; then
9794       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9795     else
9796       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9797     fi
9798     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9799     ;;
9800   hppa*64*)
9801     shrext_cmds='.sl'
9802     hardcode_into_libs=yes
9803     dynamic_linker="$host_os dld.sl"
9804     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9805     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9806     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9807     soname_spec='${libname}${release}${shared_ext}$major'
9808     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9809     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9810     ;;
9811   *)
9812     shrext_cmds='.sl'
9813     dynamic_linker="$host_os dld.sl"
9814     shlibpath_var=SHLIB_PATH
9815     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9816     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9817     soname_spec='${libname}${release}${shared_ext}$major'
9818     ;;
9819   esac
9820   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9821   postinstall_cmds='chmod 555 $lib'
9822   ;;
9823
9824 interix[3-9]*)
9825   version_type=linux
9826   need_lib_prefix=no
9827   need_version=no
9828   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9829   soname_spec='${libname}${release}${shared_ext}$major'
9830   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9831   shlibpath_var=LD_LIBRARY_PATH
9832   shlibpath_overrides_runpath=no
9833   hardcode_into_libs=yes
9834   ;;
9835
9836 irix5* | irix6* | nonstopux*)
9837   case $host_os in
9838     nonstopux*) version_type=nonstopux ;;
9839     *)
9840         if test "$lt_cv_prog_gnu_ld" = yes; then
9841                 version_type=linux
9842         else
9843                 version_type=irix
9844         fi ;;
9845   esac
9846   need_lib_prefix=no
9847   need_version=no
9848   soname_spec='${libname}${release}${shared_ext}$major'
9849   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9850   case $host_os in
9851   irix5* | nonstopux*)
9852     libsuff= shlibsuff=
9853     ;;
9854   *)
9855     case $LD in # libtool.m4 will add one of these switches to LD
9856     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9857       libsuff= shlibsuff= libmagic=32-bit;;
9858     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9859       libsuff=32 shlibsuff=N32 libmagic=N32;;
9860     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9861       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9862     *) libsuff= shlibsuff= libmagic=never-match;;
9863     esac
9864     ;;
9865   esac
9866   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9867   shlibpath_overrides_runpath=no
9868   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9869   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9870   hardcode_into_libs=yes
9871   ;;
9872
9873 # No shared lib support for Linux oldld, aout, or coff.
9874 linux*oldld* | linux*aout* | linux*coff*)
9875   dynamic_linker=no
9876   ;;
9877
9878 # This must be Linux ELF.
9879 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9880   version_type=linux
9881   need_lib_prefix=no
9882   need_version=no
9883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9884   soname_spec='${libname}${release}${shared_ext}$major'
9885   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9886   shlibpath_var=LD_LIBRARY_PATH
9887   shlibpath_overrides_runpath=no
9888   # Some binutils ld are patched to set DT_RUNPATH
9889   save_LDFLAGS=$LDFLAGS
9890   save_libdir=$libdir
9891   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9892        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h.  */
9895
9896 int
9897 main ()
9898 {
9899
9900   ;
9901   return 0;
9902 }
9903 _ACEOF
9904 if ac_fn_c_try_link "$LINENO"; then :
9905   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9906   shlibpath_overrides_runpath=yes
9907 fi
9908 fi
9909 rm -f core conftest.err conftest.$ac_objext \
9910     conftest$ac_exeext conftest.$ac_ext
9911   LDFLAGS=$save_LDFLAGS
9912   libdir=$save_libdir
9913
9914   # This implies no fast_install, which is unacceptable.
9915   # Some rework will be needed to allow for fast_install
9916   # before this can be enabled.
9917   hardcode_into_libs=yes
9918
9919   # Append ld.so.conf contents to the search path
9920   if test -f /etc/ld.so.conf; then
9921     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;/^$/d' | tr '\n' ' '`
9922     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9923   fi
9924
9925   # We used to test for /lib/ld.so.1 and disable shared libraries on
9926   # powerpc, because MkLinux only supported shared libraries with the
9927   # GNU dynamic linker.  Since this was broken with cross compilers,
9928   # most powerpc-linux boxes support dynamic linking these days and
9929   # people can always --disable-shared, the test was removed, and we
9930   # assume the GNU/Linux dynamic linker is in use.
9931   dynamic_linker='GNU/Linux ld.so'
9932   ;;
9933
9934 netbsdelf*-gnu)
9935   version_type=linux
9936   need_lib_prefix=no
9937   need_version=no
9938   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9939   soname_spec='${libname}${release}${shared_ext}$major'
9940   shlibpath_var=LD_LIBRARY_PATH
9941   shlibpath_overrides_runpath=no
9942   hardcode_into_libs=yes
9943   dynamic_linker='NetBSD ld.elf_so'
9944   ;;
9945
9946 netbsd*)
9947   version_type=sunos
9948   need_lib_prefix=no
9949   need_version=no
9950   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9951     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9952     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9953     dynamic_linker='NetBSD (a.out) ld.so'
9954   else
9955     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9956     soname_spec='${libname}${release}${shared_ext}$major'
9957     dynamic_linker='NetBSD ld.elf_so'
9958   fi
9959   shlibpath_var=LD_LIBRARY_PATH
9960   shlibpath_overrides_runpath=yes
9961   hardcode_into_libs=yes
9962   ;;
9963
9964 newsos6)
9965   version_type=linux
9966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9967   shlibpath_var=LD_LIBRARY_PATH
9968   shlibpath_overrides_runpath=yes
9969   ;;
9970
9971 *nto* | *qnx*)
9972   version_type=qnx
9973   need_lib_prefix=no
9974   need_version=no
9975   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9976   soname_spec='${libname}${release}${shared_ext}$major'
9977   shlibpath_var=LD_LIBRARY_PATH
9978   shlibpath_overrides_runpath=no
9979   hardcode_into_libs=yes
9980   dynamic_linker='ldqnx.so'
9981   ;;
9982
9983 openbsd*)
9984   version_type=sunos
9985   sys_lib_dlsearch_path_spec="/usr/lib"
9986   need_lib_prefix=no
9987   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9988   case $host_os in
9989     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9990     *)                          need_version=no  ;;
9991   esac
9992   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9993   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9994   shlibpath_var=LD_LIBRARY_PATH
9995   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9996     case $host_os in
9997       openbsd2.[89] | openbsd2.[89].*)
9998         shlibpath_overrides_runpath=no
9999         ;;
10000       *)
10001         shlibpath_overrides_runpath=yes
10002         ;;
10003       esac
10004   else
10005     shlibpath_overrides_runpath=yes
10006   fi
10007   ;;
10008
10009 os2*)
10010   libname_spec='$name'
10011   shrext_cmds=".dll"
10012   need_lib_prefix=no
10013   library_names_spec='$libname${shared_ext} $libname.a'
10014   dynamic_linker='OS/2 ld.exe'
10015   shlibpath_var=LIBPATH
10016   ;;
10017
10018 osf3* | osf4* | osf5*)
10019   version_type=osf
10020   need_lib_prefix=no
10021   need_version=no
10022   soname_spec='${libname}${release}${shared_ext}$major'
10023   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10024   shlibpath_var=LD_LIBRARY_PATH
10025   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10026   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10027   ;;
10028
10029 rdos*)
10030   dynamic_linker=no
10031   ;;
10032
10033 solaris*)
10034   version_type=linux
10035   need_lib_prefix=no
10036   need_version=no
10037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10038   soname_spec='${libname}${release}${shared_ext}$major'
10039   shlibpath_var=LD_LIBRARY_PATH
10040   shlibpath_overrides_runpath=yes
10041   hardcode_into_libs=yes
10042   # ldd complains unless libraries are executable
10043   postinstall_cmds='chmod +x $lib'
10044   ;;
10045
10046 sunos4*)
10047   version_type=sunos
10048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10049   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10050   shlibpath_var=LD_LIBRARY_PATH
10051   shlibpath_overrides_runpath=yes
10052   if test "$with_gnu_ld" = yes; then
10053     need_lib_prefix=no
10054   fi
10055   need_version=yes
10056   ;;
10057
10058 sysv4 | sysv4.3*)
10059   version_type=linux
10060   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061   soname_spec='${libname}${release}${shared_ext}$major'
10062   shlibpath_var=LD_LIBRARY_PATH
10063   case $host_vendor in
10064     sni)
10065       shlibpath_overrides_runpath=no
10066       need_lib_prefix=no
10067       runpath_var=LD_RUN_PATH
10068       ;;
10069     siemens)
10070       need_lib_prefix=no
10071       ;;
10072     motorola)
10073       need_lib_prefix=no
10074       need_version=no
10075       shlibpath_overrides_runpath=no
10076       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10077       ;;
10078   esac
10079   ;;
10080
10081 sysv4*MP*)
10082   if test -d /usr/nec ;then
10083     version_type=linux
10084     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10085     soname_spec='$libname${shared_ext}.$major'
10086     shlibpath_var=LD_LIBRARY_PATH
10087   fi
10088   ;;
10089
10090 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10091   version_type=freebsd-elf
10092   need_lib_prefix=no
10093   need_version=no
10094   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10095   soname_spec='${libname}${release}${shared_ext}$major'
10096   shlibpath_var=LD_LIBRARY_PATH
10097   shlibpath_overrides_runpath=yes
10098   hardcode_into_libs=yes
10099   if test "$with_gnu_ld" = yes; then
10100     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10101   else
10102     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10103     case $host_os in
10104       sco3.2v5*)
10105         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10106         ;;
10107     esac
10108   fi
10109   sys_lib_dlsearch_path_spec='/usr/lib'
10110   ;;
10111
10112 tpf*)
10113   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10114   version_type=linux
10115   need_lib_prefix=no
10116   need_version=no
10117   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10118   shlibpath_var=LD_LIBRARY_PATH
10119   shlibpath_overrides_runpath=no
10120   hardcode_into_libs=yes
10121   ;;
10122
10123 uts4*)
10124   version_type=linux
10125   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10126   soname_spec='${libname}${release}${shared_ext}$major'
10127   shlibpath_var=LD_LIBRARY_PATH
10128   ;;
10129
10130 *)
10131   dynamic_linker=no
10132   ;;
10133 esac
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10135 $as_echo "$dynamic_linker" >&6; }
10136 test "$dynamic_linker" = no && can_build_shared=no
10137
10138 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10139 if test "$GCC" = yes; then
10140   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10141 fi
10142
10143 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10144   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10145 fi
10146 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10147   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10148 fi
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10237 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10238 hardcode_action=
10239 if test -n "$hardcode_libdir_flag_spec" ||
10240    test -n "$runpath_var" ||
10241    test "X$hardcode_automatic" = "Xyes" ; then
10242
10243   # We can hardcode non-existent directories.
10244   if test "$hardcode_direct" != no &&
10245      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10246      # have to relink, otherwise we might link with an installed library
10247      # when we should be linking with a yet-to-be-installed one
10248      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10249      test "$hardcode_minus_L" != no; then
10250     # Linking always hardcodes the temporary library directory.
10251     hardcode_action=relink
10252   else
10253     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10254     hardcode_action=immediate
10255   fi
10256 else
10257   # We cannot hardcode anything, or else we can only hardcode existing
10258   # directories.
10259   hardcode_action=unsupported
10260 fi
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10262 $as_echo "$hardcode_action" >&6; }
10263
10264 if test "$hardcode_action" = relink ||
10265    test "$inherit_rpath" = yes; then
10266   # Fast installation is not supported
10267   enable_fast_install=no
10268 elif test "$shlibpath_overrides_runpath" = yes ||
10269      test "$enable_shared" = no; then
10270   # Fast installation is not necessary
10271   enable_fast_install=needless
10272 fi
10273
10274
10275
10276
10277
10278
10279   if test "x$enable_dlopen" != xyes; then
10280   enable_dlopen=unknown
10281   enable_dlopen_self=unknown
10282   enable_dlopen_self_static=unknown
10283 else
10284   lt_cv_dlopen=no
10285   lt_cv_dlopen_libs=
10286
10287   case $host_os in
10288   beos*)
10289     lt_cv_dlopen="load_add_on"
10290     lt_cv_dlopen_libs=
10291     lt_cv_dlopen_self=yes
10292     ;;
10293
10294   mingw* | pw32* | cegcc*)
10295     lt_cv_dlopen="LoadLibrary"
10296     lt_cv_dlopen_libs=
10297     ;;
10298
10299   cygwin*)
10300     lt_cv_dlopen="dlopen"
10301     lt_cv_dlopen_libs=
10302     ;;
10303
10304   darwin*)
10305   # if libdl is installed we need to link against it
10306     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10307 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10308 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10309   $as_echo_n "(cached) " >&6
10310 else
10311   ac_check_lib_save_LIBS=$LIBS
10312 LIBS="-ldl  $LIBS"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h.  */
10315
10316 /* Override any GCC internal prototype to avoid an error.
10317    Use char because int might match the return type of a GCC
10318    builtin and then its argument prototype would still apply.  */
10319 #ifdef __cplusplus
10320 extern "C"
10321 #endif
10322 char dlopen ();
10323 int
10324 main ()
10325 {
10326 return dlopen ();
10327   ;
10328   return 0;
10329 }
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"; then :
10332   ac_cv_lib_dl_dlopen=yes
10333 else
10334   ac_cv_lib_dl_dlopen=no
10335 fi
10336 rm -f core conftest.err conftest.$ac_objext \
10337     conftest$ac_exeext conftest.$ac_ext
10338 LIBS=$ac_check_lib_save_LIBS
10339 fi
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10341 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10342 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10343   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10344 else
10345
10346     lt_cv_dlopen="dyld"
10347     lt_cv_dlopen_libs=
10348     lt_cv_dlopen_self=yes
10349
10350 fi
10351
10352     ;;
10353
10354   *)
10355     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10356 if test "x$ac_cv_func_shl_load" = x""yes; then :
10357   lt_cv_dlopen="shl_load"
10358 else
10359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10360 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10361 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10362   $as_echo_n "(cached) " >&6
10363 else
10364   ac_check_lib_save_LIBS=$LIBS
10365 LIBS="-ldld  $LIBS"
10366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h.  */
10368
10369 /* Override any GCC internal prototype to avoid an error.
10370    Use char because int might match the return type of a GCC
10371    builtin and then its argument prototype would still apply.  */
10372 #ifdef __cplusplus
10373 extern "C"
10374 #endif
10375 char shl_load ();
10376 int
10377 main ()
10378 {
10379 return shl_load ();
10380   ;
10381   return 0;
10382 }
10383 _ACEOF
10384 if ac_fn_c_try_link "$LINENO"; then :
10385   ac_cv_lib_dld_shl_load=yes
10386 else
10387   ac_cv_lib_dld_shl_load=no
10388 fi
10389 rm -f core conftest.err conftest.$ac_objext \
10390     conftest$ac_exeext conftest.$ac_ext
10391 LIBS=$ac_check_lib_save_LIBS
10392 fi
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10394 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10395 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10396   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10397 else
10398   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10399 if test "x$ac_cv_func_dlopen" = x""yes; then :
10400   lt_cv_dlopen="dlopen"
10401 else
10402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10403 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10404 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10405   $as_echo_n "(cached) " >&6
10406 else
10407   ac_check_lib_save_LIBS=$LIBS
10408 LIBS="-ldl  $LIBS"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h.  */
10411
10412 /* Override any GCC internal prototype to avoid an error.
10413    Use char because int might match the return type of a GCC
10414    builtin and then its argument prototype would still apply.  */
10415 #ifdef __cplusplus
10416 extern "C"
10417 #endif
10418 char dlopen ();
10419 int
10420 main ()
10421 {
10422 return dlopen ();
10423   ;
10424   return 0;
10425 }
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428   ac_cv_lib_dl_dlopen=yes
10429 else
10430   ac_cv_lib_dl_dlopen=no
10431 fi
10432 rm -f core conftest.err conftest.$ac_objext \
10433     conftest$ac_exeext conftest.$ac_ext
10434 LIBS=$ac_check_lib_save_LIBS
10435 fi
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10437 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10438 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10439   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10440 else
10441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10442 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10443 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10444   $as_echo_n "(cached) " >&6
10445 else
10446   ac_check_lib_save_LIBS=$LIBS
10447 LIBS="-lsvld  $LIBS"
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h.  */
10450
10451 /* Override any GCC internal prototype to avoid an error.
10452    Use char because int might match the return type of a GCC
10453    builtin and then its argument prototype would still apply.  */
10454 #ifdef __cplusplus
10455 extern "C"
10456 #endif
10457 char dlopen ();
10458 int
10459 main ()
10460 {
10461 return dlopen ();
10462   ;
10463   return 0;
10464 }
10465 _ACEOF
10466 if ac_fn_c_try_link "$LINENO"; then :
10467   ac_cv_lib_svld_dlopen=yes
10468 else
10469   ac_cv_lib_svld_dlopen=no
10470 fi
10471 rm -f core conftest.err conftest.$ac_objext \
10472     conftest$ac_exeext conftest.$ac_ext
10473 LIBS=$ac_check_lib_save_LIBS
10474 fi
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10476 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10477 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10478   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10479 else
10480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10481 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10482 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10483   $as_echo_n "(cached) " >&6
10484 else
10485   ac_check_lib_save_LIBS=$LIBS
10486 LIBS="-ldld  $LIBS"
10487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10488 /* end confdefs.h.  */
10489
10490 /* Override any GCC internal prototype to avoid an error.
10491    Use char because int might match the return type of a GCC
10492    builtin and then its argument prototype would still apply.  */
10493 #ifdef __cplusplus
10494 extern "C"
10495 #endif
10496 char dld_link ();
10497 int
10498 main ()
10499 {
10500 return dld_link ();
10501   ;
10502   return 0;
10503 }
10504 _ACEOF
10505 if ac_fn_c_try_link "$LINENO"; then :
10506   ac_cv_lib_dld_dld_link=yes
10507 else
10508   ac_cv_lib_dld_dld_link=no
10509 fi
10510 rm -f core conftest.err conftest.$ac_objext \
10511     conftest$ac_exeext conftest.$ac_ext
10512 LIBS=$ac_check_lib_save_LIBS
10513 fi
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10515 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10516 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10517   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10518 fi
10519
10520
10521 fi
10522
10523
10524 fi
10525
10526
10527 fi
10528
10529
10530 fi
10531
10532
10533 fi
10534
10535     ;;
10536   esac
10537
10538   if test "x$lt_cv_dlopen" != xno; then
10539     enable_dlopen=yes
10540   else
10541     enable_dlopen=no
10542   fi
10543
10544   case $lt_cv_dlopen in
10545   dlopen)
10546     save_CPPFLAGS="$CPPFLAGS"
10547     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10548
10549     save_LDFLAGS="$LDFLAGS"
10550     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10551
10552     save_LIBS="$LIBS"
10553     LIBS="$lt_cv_dlopen_libs $LIBS"
10554
10555     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10556 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10557 if test "${lt_cv_dlopen_self+set}" = set; then :
10558   $as_echo_n "(cached) " >&6
10559 else
10560           if test "$cross_compiling" = yes; then :
10561   lt_cv_dlopen_self=cross
10562 else
10563   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10564   lt_status=$lt_dlunknown
10565   cat > conftest.$ac_ext <<_LT_EOF
10566 #line 10566 "configure"
10567 #include "confdefs.h"
10568
10569 #if HAVE_DLFCN_H
10570 #include <dlfcn.h>
10571 #endif
10572
10573 #include <stdio.h>
10574
10575 #ifdef RTLD_GLOBAL
10576 #  define LT_DLGLOBAL           RTLD_GLOBAL
10577 #else
10578 #  ifdef DL_GLOBAL
10579 #    define LT_DLGLOBAL         DL_GLOBAL
10580 #  else
10581 #    define LT_DLGLOBAL         0
10582 #  endif
10583 #endif
10584
10585 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10586    find out it does not work in some platform. */
10587 #ifndef LT_DLLAZY_OR_NOW
10588 #  ifdef RTLD_LAZY
10589 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10590 #  else
10591 #    ifdef DL_LAZY
10592 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10593 #    else
10594 #      ifdef RTLD_NOW
10595 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10596 #      else
10597 #        ifdef DL_NOW
10598 #          define LT_DLLAZY_OR_NOW      DL_NOW
10599 #        else
10600 #          define LT_DLLAZY_OR_NOW      0
10601 #        endif
10602 #      endif
10603 #    endif
10604 #  endif
10605 #endif
10606
10607 void fnord() { int i=42;}
10608 int main ()
10609 {
10610   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10611   int status = $lt_dlunknown;
10612
10613   if (self)
10614     {
10615       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10616       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10617       /* dlclose (self); */
10618     }
10619   else
10620     puts (dlerror ());
10621
10622   return status;
10623 }
10624 _LT_EOF
10625   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10626   (eval $ac_link) 2>&5
10627   ac_status=$?
10628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10629   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10630     (./conftest; exit; ) >&5 2>/dev/null
10631     lt_status=$?
10632     case x$lt_status in
10633       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10634       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10635       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10636     esac
10637   else :
10638     # compilation failed
10639     lt_cv_dlopen_self=no
10640   fi
10641 fi
10642 rm -fr conftest*
10643
10644
10645 fi
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10647 $as_echo "$lt_cv_dlopen_self" >&6; }
10648
10649     if test "x$lt_cv_dlopen_self" = xyes; then
10650       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10651       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10652 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10653 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10654   $as_echo_n "(cached) " >&6
10655 else
10656           if test "$cross_compiling" = yes; then :
10657   lt_cv_dlopen_self_static=cross
10658 else
10659   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10660   lt_status=$lt_dlunknown
10661   cat > conftest.$ac_ext <<_LT_EOF
10662 #line 10662 "configure"
10663 #include "confdefs.h"
10664
10665 #if HAVE_DLFCN_H
10666 #include <dlfcn.h>
10667 #endif
10668
10669 #include <stdio.h>
10670
10671 #ifdef RTLD_GLOBAL
10672 #  define LT_DLGLOBAL           RTLD_GLOBAL
10673 #else
10674 #  ifdef DL_GLOBAL
10675 #    define LT_DLGLOBAL         DL_GLOBAL
10676 #  else
10677 #    define LT_DLGLOBAL         0
10678 #  endif
10679 #endif
10680
10681 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10682    find out it does not work in some platform. */
10683 #ifndef LT_DLLAZY_OR_NOW
10684 #  ifdef RTLD_LAZY
10685 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10686 #  else
10687 #    ifdef DL_LAZY
10688 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10689 #    else
10690 #      ifdef RTLD_NOW
10691 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10692 #      else
10693 #        ifdef DL_NOW
10694 #          define LT_DLLAZY_OR_NOW      DL_NOW
10695 #        else
10696 #          define LT_DLLAZY_OR_NOW      0
10697 #        endif
10698 #      endif
10699 #    endif
10700 #  endif
10701 #endif
10702
10703 void fnord() { int i=42;}
10704 int main ()
10705 {
10706   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10707   int status = $lt_dlunknown;
10708
10709   if (self)
10710     {
10711       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10712       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10713       /* dlclose (self); */
10714     }
10715   else
10716     puts (dlerror ());
10717
10718   return status;
10719 }
10720 _LT_EOF
10721   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10722   (eval $ac_link) 2>&5
10723   ac_status=$?
10724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10725   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10726     (./conftest; exit; ) >&5 2>/dev/null
10727     lt_status=$?
10728     case x$lt_status in
10729       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10730       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10731       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10732     esac
10733   else :
10734     # compilation failed
10735     lt_cv_dlopen_self_static=no
10736   fi
10737 fi
10738 rm -fr conftest*
10739
10740
10741 fi
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10743 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10744     fi
10745
10746     CPPFLAGS="$save_CPPFLAGS"
10747     LDFLAGS="$save_LDFLAGS"
10748     LIBS="$save_LIBS"
10749     ;;
10750   esac
10751
10752   case $lt_cv_dlopen_self in
10753   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10754   *) enable_dlopen_self=unknown ;;
10755   esac
10756
10757   case $lt_cv_dlopen_self_static in
10758   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10759   *) enable_dlopen_self_static=unknown ;;
10760   esac
10761 fi
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779 striplib=
10780 old_striplib=
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10782 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10783 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10784   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10785   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10787 $as_echo "yes" >&6; }
10788 else
10789 # FIXME - insert some real tests, host_os isn't really good enough
10790   case $host_os in
10791   darwin*)
10792     if test -n "$STRIP" ; then
10793       striplib="$STRIP -x"
10794       old_striplib="$STRIP -S"
10795       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10796 $as_echo "yes" >&6; }
10797     else
10798       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10799 $as_echo "no" >&6; }
10800     fi
10801     ;;
10802   *)
10803     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10804 $as_echo "no" >&6; }
10805     ;;
10806   esac
10807 fi
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820   # Report which library types will actually be built
10821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10822 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10824 $as_echo "$can_build_shared" >&6; }
10825
10826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10827 $as_echo_n "checking whether to build shared libraries... " >&6; }
10828   test "$can_build_shared" = "no" && enable_shared=no
10829
10830   # On AIX, shared libraries and static libraries use the same namespace, and
10831   # are all built from PIC.
10832   case $host_os in
10833   aix3*)
10834     test "$enable_shared" = yes && enable_static=no
10835     if test -n "$RANLIB"; then
10836       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10837       postinstall_cmds='$RANLIB $lib'
10838     fi
10839     ;;
10840
10841   aix[4-9]*)
10842     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10843       test "$enable_shared" = yes && enable_static=no
10844     fi
10845     ;;
10846   esac
10847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10848 $as_echo "$enable_shared" >&6; }
10849
10850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10851 $as_echo_n "checking whether to build static libraries... " >&6; }
10852   # Make sure either enable_shared or enable_static is yes.
10853   test "$enable_shared" = yes || enable_static=yes
10854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10855 $as_echo "$enable_static" >&6; }
10856
10857
10858
10859
10860 fi
10861 ac_ext=c
10862 ac_cpp='$CPP $CPPFLAGS'
10863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10866
10867 CC="$lt_save_CC"
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881         ac_config_commands="$ac_config_commands libtool"
10882
10883
10884
10885
10886 # Only expand once:
10887
10888
10889
10890 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10891 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10892
10893
10894
10895 cat >>confdefs.h <<_ACEOF
10896 #define VMAJ 1
10897 _ACEOF
10898
10899
10900 cat >>confdefs.h <<_ACEOF
10901 #define VMIN 7
10902 _ACEOF
10903
10904
10905 cat >>confdefs.h <<_ACEOF
10906 #define VMIC 1
10907 _ACEOF
10908
10909
10910 cat >>confdefs.h <<_ACEOF
10911 #define VREV 0
10912 _ACEOF
10913
10914 version_info="8:1:7"
10915 release_info=""
10916
10917
10918 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10919 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10920 VMAJ=1
10921
10922
10923 ### Needed information
10924
10925
10926
10927
10928 want_ebluez="yes"
10929 want_econnman0_7x="yes"
10930 want_ehal="yes"
10931 want_enotify="yes"
10932 want_eofono="yes"
10933 want_eukit="yes"
10934
10935 case "$host_os" in
10936    mingw*)
10937       want_ebluez="no"
10938       want_econnman0_7x="no"
10939       want_ehal="no"
10940       want_enotify="no"
10941       want_eofono="no"
10942       want_eukit="no"
10943       ;;
10944 esac
10945
10946 requirement_ebluez="edbus >= 1.6.99"
10947 requirement_econnman0_7x="edbus >= 1.6.99"
10948 requirement_edbus="ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62"
10949 requirement_ehal="edbus >= 1.6.99"
10950 requirement_enotify="edbus >= 1.6.99"
10951 requirement_eofono="edbus >= 1.6.99"
10952 requirement_eukit="edbus >= 1.6.99"
10953 requirement_dbus="dbus-1 >= 0.62"
10954
10955 ### Additional options to configure
10956
10957
10958 # Check whether --enable-ebluez was given.
10959 if test "${enable_ebluez+set}" = set; then :
10960   enableval=$enable_ebluez; enable_ebluez=$enableval
10961 else
10962   enable_ebluez="${want_ebluez}"
10963 fi
10964
10965
10966 # Check whether --enable-econnman0_7x was given.
10967 if test "${enable_econnman0_7x+set}" = set; then :
10968   enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
10969 else
10970   enable_econnman0_7x="${want_econnman0_7x}"
10971 fi
10972
10973
10974 # Check whether --enable-ehal was given.
10975 if test "${enable_ehal+set}" = set; then :
10976   enableval=$enable_ehal; enable_ehal=$enableval
10977 else
10978   enable_ehal="${want_ehal}"
10979 fi
10980
10981
10982 # Check whether --enable-enotify was given.
10983 if test "${enable_enotify+set}" = set; then :
10984   enableval=$enable_enotify; enable_enotify=$enableval
10985 else
10986   enable_enotify="${want_enotify}"
10987 fi
10988
10989
10990 # Check whether --enable-eofono was given.
10991 if test "${enable_eofono+set}" = set; then :
10992   enableval=$enable_eofono; enable_eofono=$enableval
10993 else
10994   enable_eofono="${want_eofono}"
10995 fi
10996
10997
10998 # Check whether --enable-eukit was given.
10999 if test "${enable_eukit+set}" = set; then :
11000   enableval=$enable_eukit; enable_eukit=$enableval
11001 else
11002   enable_eukit="${want_eukit}"
11003 fi
11004
11005
11006 ### Checks for programs
11007
11008 ac_ext=c
11009 ac_cpp='$CPP $CPPFLAGS'
11010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11013 if test -n "$ac_tool_prefix"; then
11014   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11015 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11017 $as_echo_n "checking for $ac_word... " >&6; }
11018 if test "${ac_cv_prog_CC+set}" = set; then :
11019   $as_echo_n "(cached) " >&6
11020 else
11021   if test -n "$CC"; then
11022   ac_cv_prog_CC="$CC" # Let the user override the test.
11023 else
11024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11025 for as_dir in $PATH
11026 do
11027   IFS=$as_save_IFS
11028   test -z "$as_dir" && as_dir=.
11029     for ac_exec_ext in '' $ac_executable_extensions; do
11030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11031     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11033     break 2
11034   fi
11035 done
11036   done
11037 IFS=$as_save_IFS
11038
11039 fi
11040 fi
11041 CC=$ac_cv_prog_CC
11042 if test -n "$CC"; then
11043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11044 $as_echo "$CC" >&6; }
11045 else
11046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11047 $as_echo "no" >&6; }
11048 fi
11049
11050
11051 fi
11052 if test -z "$ac_cv_prog_CC"; then
11053   ac_ct_CC=$CC
11054   # Extract the first word of "gcc", so it can be a program name with args.
11055 set dummy gcc; ac_word=$2
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11057 $as_echo_n "checking for $ac_word... " >&6; }
11058 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11059   $as_echo_n "(cached) " >&6
11060 else
11061   if test -n "$ac_ct_CC"; then
11062   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11063 else
11064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11065 for as_dir in $PATH
11066 do
11067   IFS=$as_save_IFS
11068   test -z "$as_dir" && as_dir=.
11069     for ac_exec_ext in '' $ac_executable_extensions; do
11070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11071     ac_cv_prog_ac_ct_CC="gcc"
11072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11073     break 2
11074   fi
11075 done
11076   done
11077 IFS=$as_save_IFS
11078
11079 fi
11080 fi
11081 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11082 if test -n "$ac_ct_CC"; then
11083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11084 $as_echo "$ac_ct_CC" >&6; }
11085 else
11086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11087 $as_echo "no" >&6; }
11088 fi
11089
11090   if test "x$ac_ct_CC" = x; then
11091     CC=""
11092   else
11093     case $cross_compiling:$ac_tool_warned in
11094 yes:)
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11097 ac_tool_warned=yes ;;
11098 esac
11099     CC=$ac_ct_CC
11100   fi
11101 else
11102   CC="$ac_cv_prog_CC"
11103 fi
11104
11105 if test -z "$CC"; then
11106           if test -n "$ac_tool_prefix"; then
11107     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11108 set dummy ${ac_tool_prefix}cc; ac_word=$2
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11110 $as_echo_n "checking for $ac_word... " >&6; }
11111 if test "${ac_cv_prog_CC+set}" = set; then :
11112   $as_echo_n "(cached) " >&6
11113 else
11114   if test -n "$CC"; then
11115   ac_cv_prog_CC="$CC" # Let the user override the test.
11116 else
11117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11118 for as_dir in $PATH
11119 do
11120   IFS=$as_save_IFS
11121   test -z "$as_dir" && as_dir=.
11122     for ac_exec_ext in '' $ac_executable_extensions; do
11123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11124     ac_cv_prog_CC="${ac_tool_prefix}cc"
11125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11126     break 2
11127   fi
11128 done
11129   done
11130 IFS=$as_save_IFS
11131
11132 fi
11133 fi
11134 CC=$ac_cv_prog_CC
11135 if test -n "$CC"; then
11136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11137 $as_echo "$CC" >&6; }
11138 else
11139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11140 $as_echo "no" >&6; }
11141 fi
11142
11143
11144   fi
11145 fi
11146 if test -z "$CC"; then
11147   # Extract the first word of "cc", so it can be a program name with args.
11148 set dummy cc; ac_word=$2
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11150 $as_echo_n "checking for $ac_word... " >&6; }
11151 if test "${ac_cv_prog_CC+set}" = set; then :
11152   $as_echo_n "(cached) " >&6
11153 else
11154   if test -n "$CC"; then
11155   ac_cv_prog_CC="$CC" # Let the user override the test.
11156 else
11157   ac_prog_rejected=no
11158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11159 for as_dir in $PATH
11160 do
11161   IFS=$as_save_IFS
11162   test -z "$as_dir" && as_dir=.
11163     for ac_exec_ext in '' $ac_executable_extensions; do
11164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11165     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11166        ac_prog_rejected=yes
11167        continue
11168      fi
11169     ac_cv_prog_CC="cc"
11170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11171     break 2
11172   fi
11173 done
11174   done
11175 IFS=$as_save_IFS
11176
11177 if test $ac_prog_rejected = yes; then
11178   # We found a bogon in the path, so make sure we never use it.
11179   set dummy $ac_cv_prog_CC
11180   shift
11181   if test $# != 0; then
11182     # We chose a different compiler from the bogus one.
11183     # However, it has the same basename, so the bogon will be chosen
11184     # first if we set CC to just the basename; use the full file name.
11185     shift
11186     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11187   fi
11188 fi
11189 fi
11190 fi
11191 CC=$ac_cv_prog_CC
11192 if test -n "$CC"; then
11193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11194 $as_echo "$CC" >&6; }
11195 else
11196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11197 $as_echo "no" >&6; }
11198 fi
11199
11200
11201 fi
11202 if test -z "$CC"; then
11203   if test -n "$ac_tool_prefix"; then
11204   for ac_prog in cl.exe
11205   do
11206     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11209 $as_echo_n "checking for $ac_word... " >&6; }
11210 if test "${ac_cv_prog_CC+set}" = set; then :
11211   $as_echo_n "(cached) " >&6
11212 else
11213   if test -n "$CC"; then
11214   ac_cv_prog_CC="$CC" # Let the user override the test.
11215 else
11216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11217 for as_dir in $PATH
11218 do
11219   IFS=$as_save_IFS
11220   test -z "$as_dir" && as_dir=.
11221     for ac_exec_ext in '' $ac_executable_extensions; do
11222   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11223     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11225     break 2
11226   fi
11227 done
11228   done
11229 IFS=$as_save_IFS
11230
11231 fi
11232 fi
11233 CC=$ac_cv_prog_CC
11234 if test -n "$CC"; then
11235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11236 $as_echo "$CC" >&6; }
11237 else
11238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11239 $as_echo "no" >&6; }
11240 fi
11241
11242
11243     test -n "$CC" && break
11244   done
11245 fi
11246 if test -z "$CC"; then
11247   ac_ct_CC=$CC
11248   for ac_prog in cl.exe
11249 do
11250   # Extract the first word of "$ac_prog", so it can be a program name with args.
11251 set dummy $ac_prog; ac_word=$2
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11253 $as_echo_n "checking for $ac_word... " >&6; }
11254 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11255   $as_echo_n "(cached) " >&6
11256 else
11257   if test -n "$ac_ct_CC"; then
11258   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11259 else
11260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11261 for as_dir in $PATH
11262 do
11263   IFS=$as_save_IFS
11264   test -z "$as_dir" && as_dir=.
11265     for ac_exec_ext in '' $ac_executable_extensions; do
11266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11267     ac_cv_prog_ac_ct_CC="$ac_prog"
11268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11269     break 2
11270   fi
11271 done
11272   done
11273 IFS=$as_save_IFS
11274
11275 fi
11276 fi
11277 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11278 if test -n "$ac_ct_CC"; then
11279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11280 $as_echo "$ac_ct_CC" >&6; }
11281 else
11282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11283 $as_echo "no" >&6; }
11284 fi
11285
11286
11287   test -n "$ac_ct_CC" && break
11288 done
11289
11290   if test "x$ac_ct_CC" = x; then
11291     CC=""
11292   else
11293     case $cross_compiling:$ac_tool_warned in
11294 yes:)
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11297 ac_tool_warned=yes ;;
11298 esac
11299     CC=$ac_ct_CC
11300   fi
11301 fi
11302
11303 fi
11304
11305
11306 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11308 as_fn_error $? "no acceptable C compiler found in \$PATH
11309 See \`config.log' for more details" "$LINENO" 5 ; }
11310
11311 # Provide some information about the compiler.
11312 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11313 set X $ac_compile
11314 ac_compiler=$2
11315 for ac_option in --version -v -V -qversion; do
11316   { { ac_try="$ac_compiler $ac_option >&5"
11317 case "(($ac_try" in
11318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11319   *) ac_try_echo=$ac_try;;
11320 esac
11321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11322 $as_echo "$ac_try_echo"; } >&5
11323   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11324   ac_status=$?
11325   if test -s conftest.err; then
11326     sed '10a\
11327 ... rest of stderr output deleted ...
11328          10q' conftest.err >conftest.er1
11329     cat conftest.er1 >&5
11330   fi
11331   rm -f conftest.er1 conftest.err
11332   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11333   test $ac_status = 0; }
11334 done
11335
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11337 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11338 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11339   $as_echo_n "(cached) " >&6
11340 else
11341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h.  */
11343
11344 int
11345 main ()
11346 {
11347 #ifndef __GNUC__
11348        choke me
11349 #endif
11350
11351   ;
11352   return 0;
11353 }
11354 _ACEOF
11355 if ac_fn_c_try_compile "$LINENO"; then :
11356   ac_compiler_gnu=yes
11357 else
11358   ac_compiler_gnu=no
11359 fi
11360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11361 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11362
11363 fi
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11365 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11366 if test $ac_compiler_gnu = yes; then
11367   GCC=yes
11368 else
11369   GCC=
11370 fi
11371 ac_test_CFLAGS=${CFLAGS+set}
11372 ac_save_CFLAGS=$CFLAGS
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11374 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11375 if test "${ac_cv_prog_cc_g+set}" = set; then :
11376   $as_echo_n "(cached) " >&6
11377 else
11378   ac_save_c_werror_flag=$ac_c_werror_flag
11379    ac_c_werror_flag=yes
11380    ac_cv_prog_cc_g=no
11381    CFLAGS="-g"
11382    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h.  */
11384
11385 int
11386 main ()
11387 {
11388
11389   ;
11390   return 0;
11391 }
11392 _ACEOF
11393 if ac_fn_c_try_compile "$LINENO"; then :
11394   ac_cv_prog_cc_g=yes
11395 else
11396   CFLAGS=""
11397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h.  */
11399
11400 int
11401 main ()
11402 {
11403
11404   ;
11405   return 0;
11406 }
11407 _ACEOF
11408 if ac_fn_c_try_compile "$LINENO"; then :
11409
11410 else
11411   ac_c_werror_flag=$ac_save_c_werror_flag
11412          CFLAGS="-g"
11413          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h.  */
11415
11416 int
11417 main ()
11418 {
11419
11420   ;
11421   return 0;
11422 }
11423 _ACEOF
11424 if ac_fn_c_try_compile "$LINENO"; then :
11425   ac_cv_prog_cc_g=yes
11426 fi
11427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11428 fi
11429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11430 fi
11431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11432    ac_c_werror_flag=$ac_save_c_werror_flag
11433 fi
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11435 $as_echo "$ac_cv_prog_cc_g" >&6; }
11436 if test "$ac_test_CFLAGS" = set; then
11437   CFLAGS=$ac_save_CFLAGS
11438 elif test $ac_cv_prog_cc_g = yes; then
11439   if test "$GCC" = yes; then
11440     CFLAGS="-g -O2"
11441   else
11442     CFLAGS="-g"
11443   fi
11444 else
11445   if test "$GCC" = yes; then
11446     CFLAGS="-O2"
11447   else
11448     CFLAGS=
11449   fi
11450 fi
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11452 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11453 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11454   $as_echo_n "(cached) " >&6
11455 else
11456   ac_cv_prog_cc_c89=no
11457 ac_save_CC=$CC
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h.  */
11460 #include <stdarg.h>
11461 #include <stdio.h>
11462 #include <sys/types.h>
11463 #include <sys/stat.h>
11464 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11465 struct buf { int x; };
11466 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11467 static char *e (p, i)
11468      char **p;
11469      int i;
11470 {
11471   return p[i];
11472 }
11473 static char *f (char * (*g) (char **, int), char **p, ...)
11474 {
11475   char *s;
11476   va_list v;
11477   va_start (v,p);
11478   s = g (p, va_arg (v,int));
11479   va_end (v);
11480   return s;
11481 }
11482
11483 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11484    function prototypes and stuff, but not '\xHH' hex character constants.
11485    These don't provoke an error unfortunately, instead are silently treated
11486    as 'x'.  The following induces an error, until -std is added to get
11487    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11488    array size at least.  It's necessary to write '\x00'==0 to get something
11489    that's true only with -std.  */
11490 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11491
11492 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11493    inside strings and character constants.  */
11494 #define FOO(x) 'x'
11495 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11496
11497 int test (int i, double x);
11498 struct s1 {int (*f) (int a);};
11499 struct s2 {int (*f) (double a);};
11500 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11501 int argc;
11502 char **argv;
11503 int
11504 main ()
11505 {
11506 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11507   ;
11508   return 0;
11509 }
11510 _ACEOF
11511 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11512         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11513 do
11514   CC="$ac_save_CC $ac_arg"
11515   if ac_fn_c_try_compile "$LINENO"; then :
11516   ac_cv_prog_cc_c89=$ac_arg
11517 fi
11518 rm -f core conftest.err conftest.$ac_objext
11519   test "x$ac_cv_prog_cc_c89" != "xno" && break
11520 done
11521 rm -f conftest.$ac_ext
11522 CC=$ac_save_CC
11523
11524 fi
11525 # AC_CACHE_VAL
11526 case "x$ac_cv_prog_cc_c89" in
11527   x)
11528     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11529 $as_echo "none needed" >&6; } ;;
11530   xno)
11531     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11532 $as_echo "unsupported" >&6; } ;;
11533   *)
11534     CC="$CC $ac_cv_prog_cc_c89"
11535     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11536 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11537 esac
11538 if test "x$ac_cv_prog_cc_c89" != xno; then :
11539
11540 fi
11541
11542 ac_ext=c
11543 ac_cpp='$CPP $CPPFLAGS'
11544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11547
11548 depcc="$CC"   am_compiler_list=
11549
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11551 $as_echo_n "checking dependency style of $depcc... " >&6; }
11552 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11553   $as_echo_n "(cached) " >&6
11554 else
11555   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11556   # We make a subdir and do the tests there.  Otherwise we can end up
11557   # making bogus files that we don't know about and never remove.  For
11558   # instance it was reported that on HP-UX the gcc test will end up
11559   # making a dummy file named `D' -- because `-MD' means `put the output
11560   # in D'.
11561   mkdir conftest.dir
11562   # Copy depcomp to subdir because otherwise we won't find it if we're
11563   # using a relative directory.
11564   cp "$am_depcomp" conftest.dir
11565   cd conftest.dir
11566   # We will build objects and dependencies in a subdirectory because
11567   # it helps to detect inapplicable dependency modes.  For instance
11568   # both Tru64's cc and ICC support -MD to output dependencies as a
11569   # side effect of compilation, but ICC will put the dependencies in
11570   # the current directory while Tru64 will put them in the object
11571   # directory.
11572   mkdir sub
11573
11574   am_cv_CC_dependencies_compiler_type=none
11575   if test "$am_compiler_list" = ""; then
11576      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11577   fi
11578   am__universal=false
11579   case " $depcc " in #(
11580      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11581      esac
11582
11583   for depmode in $am_compiler_list; do
11584     # Setup a source with many dependencies, because some compilers
11585     # like to wrap large dependency lists on column 80 (with \), and
11586     # we should not choose a depcomp mode which is confused by this.
11587     #
11588     # We need to recreate these files for each test, as the compiler may
11589     # overwrite some of them when testing with obscure command lines.
11590     # This happens at least with the AIX C compiler.
11591     : > sub/conftest.c
11592     for i in 1 2 3 4 5 6; do
11593       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11594       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11595       # Solaris 8's {/usr,}/bin/sh.
11596       touch sub/conftst$i.h
11597     done
11598     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11599
11600     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11601     # mode.  It turns out that the SunPro C++ compiler does not properly
11602     # handle `-M -o', and we need to detect this.  Also, some Intel
11603     # versions had trouble with output in subdirs
11604     am__obj=sub/conftest.${OBJEXT-o}
11605     am__minus_obj="-o $am__obj"
11606     case $depmode in
11607     gcc)
11608       # This depmode causes a compiler race in universal mode.
11609       test "$am__universal" = false || continue
11610       ;;
11611     nosideeffect)
11612       # after this tag, mechanisms are not by side-effect, so they'll
11613       # only be used when explicitly requested
11614       if test "x$enable_dependency_tracking" = xyes; then
11615         continue
11616       else
11617         break
11618       fi
11619       ;;
11620     msvisualcpp | msvcmsys)
11621       # This compiler won't grok `-c -o', but also, the minuso test has
11622       # not run yet.  These depmodes are late enough in the game, and
11623       # so weak that their functioning should not be impacted.
11624       am__obj=conftest.${OBJEXT-o}
11625       am__minus_obj=
11626       ;;
11627     none) break ;;
11628     esac
11629     if depmode=$depmode \
11630        source=sub/conftest.c object=$am__obj \
11631        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11632        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11633          >/dev/null 2>conftest.err &&
11634        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11635        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11636        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11637        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11638       # icc doesn't choke on unknown options, it will just issue warnings
11639       # or remarks (even with -Werror).  So we grep stderr for any message
11640       # that says an option was ignored or not supported.
11641       # When given -MP, icc 7.0 and 7.1 complain thusly:
11642       #   icc: Command line warning: ignoring option '-M'; no argument required
11643       # The diagnosis changed in icc 8.0:
11644       #   icc: Command line remark: option '-MP' not supported
11645       if (grep 'ignoring option' conftest.err ||
11646           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11647         am_cv_CC_dependencies_compiler_type=$depmode
11648         break
11649       fi
11650     fi
11651   done
11652
11653   cd ..
11654   rm -rf conftest.dir
11655 else
11656   am_cv_CC_dependencies_compiler_type=none
11657 fi
11658
11659 fi
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11661 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11662 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11663
11664  if
11665   test "x$enable_dependency_tracking" != xno \
11666   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11667   am__fastdepCC_TRUE=
11668   am__fastdepCC_FALSE='#'
11669 else
11670   am__fastdepCC_TRUE='#'
11671   am__fastdepCC_FALSE=
11672 fi
11673
11674
11675 if test "x$CC" != xcc; then
11676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11677 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11678 else
11679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11680 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11681 fi
11682 set dummy $CC; ac_cc=`$as_echo "$2" |
11683                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11684 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
11685   $as_echo_n "(cached) " >&6
11686 else
11687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h.  */
11689
11690 int
11691 main ()
11692 {
11693
11694   ;
11695   return 0;
11696 }
11697 _ACEOF
11698 # Make sure it works both with $CC and with simple cc.
11699 # We do the test twice because some compilers refuse to overwrite an
11700 # existing .o file with -o, though they will create one.
11701 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11702 rm -f conftest2.*
11703 if { { case "(($ac_try" in
11704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11705   *) ac_try_echo=$ac_try;;
11706 esac
11707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11708 $as_echo "$ac_try_echo"; } >&5
11709   (eval "$ac_try") 2>&5
11710   ac_status=$?
11711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11712   test $ac_status = 0; } &&
11713    test -f conftest2.$ac_objext && { { case "(($ac_try" in
11714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11715   *) ac_try_echo=$ac_try;;
11716 esac
11717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11718 $as_echo "$ac_try_echo"; } >&5
11719   (eval "$ac_try") 2>&5
11720   ac_status=$?
11721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11722   test $ac_status = 0; };
11723 then
11724   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11725   if test "x$CC" != xcc; then
11726     # Test first that cc exists at all.
11727     if { ac_try='cc -c conftest.$ac_ext >&5'
11728   { { case "(($ac_try" in
11729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11730   *) ac_try_echo=$ac_try;;
11731 esac
11732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11733 $as_echo "$ac_try_echo"; } >&5
11734   (eval "$ac_try") 2>&5
11735   ac_status=$?
11736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11737   test $ac_status = 0; }; }; then
11738       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11739       rm -f conftest2.*
11740       if { { case "(($ac_try" in
11741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11742   *) ac_try_echo=$ac_try;;
11743 esac
11744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11745 $as_echo "$ac_try_echo"; } >&5
11746   (eval "$ac_try") 2>&5
11747   ac_status=$?
11748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11749   test $ac_status = 0; } &&
11750          test -f conftest2.$ac_objext && { { case "(($ac_try" in
11751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11752   *) ac_try_echo=$ac_try;;
11753 esac
11754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11755 $as_echo "$ac_try_echo"; } >&5
11756   (eval "$ac_try") 2>&5
11757   ac_status=$?
11758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11759   test $ac_status = 0; };
11760       then
11761         # cc works too.
11762         :
11763       else
11764         # cc exists but doesn't like -o.
11765         eval ac_cv_prog_cc_${ac_cc}_c_o=no
11766       fi
11767     fi
11768   fi
11769 else
11770   eval ac_cv_prog_cc_${ac_cc}_c_o=no
11771 fi
11772 rm -f core conftest*
11773
11774 fi
11775 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11777 $as_echo "yes" >&6; }
11778 else
11779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11781
11782 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11783
11784 fi
11785
11786 # FIXME: we rely on the cache variable name because
11787 # there is no other way.
11788 set dummy $CC
11789 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11790 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11791 if test "$am_t" != yes; then
11792    # Losing compiler, so override with the script.
11793    # FIXME: It is wrong to rewrite CC.
11794    # But if we don't then we get into trouble of one sort or another.
11795    # A longer-term fix would be to have automake use am__CC in this case,
11796    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11797    CC="$am_aux_dir/compile $CC"
11798 fi
11799
11800
11801
11802 # pkg-config
11803
11804
11805
11806
11807
11808
11809 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11810         if test -n "$ac_tool_prefix"; then
11811   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11812 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11814 $as_echo_n "checking for $ac_word... " >&6; }
11815 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11816   $as_echo_n "(cached) " >&6
11817 else
11818   case $PKG_CONFIG in
11819   [\\/]* | ?:[\\/]*)
11820   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11821   ;;
11822   *)
11823   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11824 for as_dir in $PATH
11825 do
11826   IFS=$as_save_IFS
11827   test -z "$as_dir" && as_dir=.
11828     for ac_exec_ext in '' $ac_executable_extensions; do
11829   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11830     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11832     break 2
11833   fi
11834 done
11835   done
11836 IFS=$as_save_IFS
11837
11838   ;;
11839 esac
11840 fi
11841 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11842 if test -n "$PKG_CONFIG"; then
11843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11844 $as_echo "$PKG_CONFIG" >&6; }
11845 else
11846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11847 $as_echo "no" >&6; }
11848 fi
11849
11850
11851 fi
11852 if test -z "$ac_cv_path_PKG_CONFIG"; then
11853   ac_pt_PKG_CONFIG=$PKG_CONFIG
11854   # Extract the first word of "pkg-config", so it can be a program name with args.
11855 set dummy pkg-config; ac_word=$2
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11857 $as_echo_n "checking for $ac_word... " >&6; }
11858 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11859   $as_echo_n "(cached) " >&6
11860 else
11861   case $ac_pt_PKG_CONFIG in
11862   [\\/]* | ?:[\\/]*)
11863   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11864   ;;
11865   *)
11866   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11867 for as_dir in $PATH
11868 do
11869   IFS=$as_save_IFS
11870   test -z "$as_dir" && as_dir=.
11871     for ac_exec_ext in '' $ac_executable_extensions; do
11872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11873     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11875     break 2
11876   fi
11877 done
11878   done
11879 IFS=$as_save_IFS
11880
11881   ;;
11882 esac
11883 fi
11884 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11885 if test -n "$ac_pt_PKG_CONFIG"; then
11886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11887 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11888 else
11889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11890 $as_echo "no" >&6; }
11891 fi
11892
11893   if test "x$ac_pt_PKG_CONFIG" = x; then
11894     PKG_CONFIG=""
11895   else
11896     case $cross_compiling:$ac_tool_warned in
11897 yes:)
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11900 ac_tool_warned=yes ;;
11901 esac
11902     PKG_CONFIG=$ac_pt_PKG_CONFIG
11903   fi
11904 else
11905   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11906 fi
11907
11908 fi
11909 if test -n "$PKG_CONFIG"; then
11910         _pkg_min_version=0.9.0
11911         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11912 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11913         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11914                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11915 $as_echo "yes" >&6; }
11916         else
11917                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11919                 PKG_CONFIG=""
11920         fi
11921 fi
11922
11923 # Check whether pkg-config supports Requires.private
11924 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
11925    pkgconfig_requires_private="Requires.private"
11926 else
11927    pkgconfig_requires_private="Requires"
11928 fi
11929
11930
11931 # doxygen program for documentation building
11932
11933
11934 # Check whether --enable-doc was given.
11935 if test "${enable_doc+set}" = set; then :
11936   enableval=$enable_doc;
11937     if test "x${enableval}" = "xyes" ; then
11938        efl_enable_doc="yes"
11939     else
11940        efl_enable_doc="no"
11941     fi
11942
11943 else
11944   efl_enable_doc="yes"
11945 fi
11946
11947
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
11949 $as_echo_n "checking whether to build documentation... " >&6; }
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
11951 $as_echo "${efl_enable_doc}" >&6; }
11952
11953 if test "x${efl_enable_doc}" = "xyes" ; then
11954
11955
11956    efl_doxygen="doxygen"
11957
11958
11959 # Check whether --with-doxygen was given.
11960 if test "${with_doxygen+set}" = set; then :
11961   withval=$with_doxygen;
11962       efl_doxygen=${withval}
11963        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11964 set dummy ${efl_doxygen}; ac_word=$2
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11966 $as_echo_n "checking for $ac_word... " >&6; }
11967 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11968   $as_echo_n "(cached) " >&6
11969 else
11970   if test -n "$efl_have_doxygen"; then
11971   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11972 else
11973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11974 for as_dir in $PATH
11975 do
11976   IFS=$as_save_IFS
11977   test -z "$as_dir" && as_dir=.
11978     for ac_exec_ext in '' $ac_executable_extensions; do
11979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11980     ac_cv_prog_efl_have_doxygen="yes"
11981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11982     break 2
11983   fi
11984 done
11985   done
11986 IFS=$as_save_IFS
11987
11988   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11989 fi
11990 fi
11991 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11992 if test -n "$efl_have_doxygen"; then
11993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11994 $as_echo "$efl_have_doxygen" >&6; }
11995 else
11996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11997 $as_echo "no" >&6; }
11998 fi
11999
12000
12001        if test "x${efl_have_doxygen}" = "xno" ; then
12002           echo "WARNING:"
12003           echo "The doxygen program you specified:"
12004           echo "${efl_doxygen}"
12005           echo "was not found.  Please check the path and make sure "
12006           echo "the program exists and is executable."
12007           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12008 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12009        fi
12010
12011 else
12012   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12013 set dummy ${efl_doxygen}; ac_word=$2
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12015 $as_echo_n "checking for $ac_word... " >&6; }
12016 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
12017   $as_echo_n "(cached) " >&6
12018 else
12019   if test -n "$efl_have_doxygen"; then
12020   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12021 else
12022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12023 for as_dir in $PATH
12024 do
12025   IFS=$as_save_IFS
12026   test -z "$as_dir" && as_dir=.
12027     for ac_exec_ext in '' $ac_executable_extensions; do
12028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12029     ac_cv_prog_efl_have_doxygen="yes"
12030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12031     break 2
12032   fi
12033 done
12034   done
12035 IFS=$as_save_IFS
12036
12037   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12038 fi
12039 fi
12040 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12041 if test -n "$efl_have_doxygen"; then
12042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12043 $as_echo "$efl_have_doxygen" >&6; }
12044 else
12045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12046 $as_echo "no" >&6; }
12047 fi
12048
12049
12050        if test "x${efl_have_doxygen}" = "xno" ; then
12051           echo "WARNING:"
12052           echo "The doxygen program was not found in your execute path."
12053           echo "You may have doxygen installed somewhere not covered by your path."
12054           echo ""
12055           echo "If this is the case make sure you have the packages installed, AND"
12056           echo "that the doxygen program is in your execute path (see your"
12057           echo "shell manual page on setting the \$PATH environment variable), OR"
12058           echo "alternatively, specify the program to use with --with-doxygen."
12059           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12060 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12061        fi
12062
12063 fi
12064
12065 else
12066    efl_have_doxygen="no"
12067 fi
12068
12069
12070
12071 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12072    efl_enable_doc="no"
12073 fi
12074
12075  if test "x${efl_have_doxygen}" = "xyes"; then
12076   EFL_BUILD_DOC_TRUE=
12077   EFL_BUILD_DOC_FALSE='#'
12078 else
12079   EFL_BUILD_DOC_TRUE='#'
12080   EFL_BUILD_DOC_FALSE=
12081 fi
12082
12083
12084 if test "x$efl_have_doxygen" = "xyes"; then :
12085   build_doc="yes"
12086 else
12087   build_doc="no"
12088 fi
12089
12090
12091
12092 ### Checks for libraries
12093
12094
12095 pkg_failed=no
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12097 $as_echo_n "checking for DBUS... " >&6; }
12098
12099 if test -n "$DBUS_CFLAGS"; then
12100     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
12101  elif test -n "$PKG_CONFIG"; then
12102     if test -n "$PKG_CONFIG" && \
12103     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
12104   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
12105   ac_status=$?
12106   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12107   test $ac_status = 0; }; then
12108   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
12109 else
12110   pkg_failed=yes
12111 fi
12112  else
12113     pkg_failed=untried
12114 fi
12115 if test -n "$DBUS_LIBS"; then
12116     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
12117  elif test -n "$PKG_CONFIG"; then
12118     if test -n "$PKG_CONFIG" && \
12119     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
12120   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
12121   ac_status=$?
12122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12123   test $ac_status = 0; }; then
12124   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
12125 else
12126   pkg_failed=yes
12127 fi
12128  else
12129     pkg_failed=untried
12130 fi
12131
12132
12133
12134 if test $pkg_failed = yes; then
12135         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12136 $as_echo "no" >&6; }
12137
12138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12139         _pkg_short_errors_supported=yes
12140 else
12141         _pkg_short_errors_supported=no
12142 fi
12143         if test $_pkg_short_errors_supported = yes; then
12144                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 0.62" 2>&1`
12145         else
12146                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 0.62" 2>&1`
12147         fi
12148         # Put the nasty error message in config.log where it belongs
12149         echo "$DBUS_PKG_ERRORS" >&5
12150
12151         as_fn_error $? "Package requirements (dbus-1 >= 0.62) were not met:
12152
12153 $DBUS_PKG_ERRORS
12154
12155 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12156 installed software in a non-standard prefix.
12157
12158 Alternatively, you may set the environment variables DBUS_CFLAGS
12159 and DBUS_LIBS to avoid the need to call pkg-config.
12160 See the pkg-config man page for more details." "$LINENO" 5
12161 elif test $pkg_failed = untried; then
12162         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12164         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12166 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12167 is in your PATH or set the PKG_CONFIG environment variable to the full
12168 path to pkg-config.
12169
12170 Alternatively, you may set the environment variables DBUS_CFLAGS
12171 and DBUS_LIBS to avoid the need to call pkg-config.
12172 See the pkg-config man page for more details.
12173
12174 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12175 See \`config.log' for more details" "$LINENO" 5 ; }
12176 else
12177         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
12178         DBUS_LIBS=$pkg_cv_DBUS_LIBS
12179         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12180 $as_echo "yes" >&6; }
12181
12182 fi
12183 dbus_libs="$DBUS_LIBS"
12184 dbus_cflags="$DBUS_CFLAGS"
12185
12186
12187
12188 pkg_failed=no
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
12190 $as_echo_n "checking for EDBUS... " >&6; }
12191
12192 if test -n "$EDBUS_CFLAGS"; then
12193     pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
12194  elif test -n "$PKG_CONFIG"; then
12195     if test -n "$PKG_CONFIG" && \
12196     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12197   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
12198   ac_status=$?
12199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12200   test $ac_status = 0; }; then
12201   pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
12202 else
12203   pkg_failed=yes
12204 fi
12205  else
12206     pkg_failed=untried
12207 fi
12208 if test -n "$EDBUS_LIBS"; then
12209     pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
12210  elif test -n "$PKG_CONFIG"; then
12211     if test -n "$PKG_CONFIG" && \
12212     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12213   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
12214   ac_status=$?
12215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12216   test $ac_status = 0; }; then
12217   pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
12218 else
12219   pkg_failed=yes
12220 fi
12221  else
12222     pkg_failed=untried
12223 fi
12224
12225
12226
12227 if test $pkg_failed = yes; then
12228         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12229 $as_echo "no" >&6; }
12230
12231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12232         _pkg_short_errors_supported=yes
12233 else
12234         _pkg_short_errors_supported=no
12235 fi
12236         if test $_pkg_short_errors_supported = yes; then
12237                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
12238         else
12239                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
12240         fi
12241         # Put the nasty error message in config.log where it belongs
12242         echo "$EDBUS_PKG_ERRORS" >&5
12243
12244         as_fn_error $? "Package requirements (ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62) were not met:
12245
12246 $EDBUS_PKG_ERRORS
12247
12248 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12249 installed software in a non-standard prefix.
12250
12251 Alternatively, you may set the environment variables EDBUS_CFLAGS
12252 and EDBUS_LIBS to avoid the need to call pkg-config.
12253 See the pkg-config man page for more details." "$LINENO" 5
12254 elif test $pkg_failed = untried; then
12255         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12256 $as_echo "no" >&6; }
12257         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12259 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12260 is in your PATH or set the PKG_CONFIG environment variable to the full
12261 path to pkg-config.
12262
12263 Alternatively, you may set the environment variables EDBUS_CFLAGS
12264 and EDBUS_LIBS to avoid the need to call pkg-config.
12265 See the pkg-config man page for more details.
12266
12267 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12268 See \`config.log' for more details" "$LINENO" 5 ; }
12269 else
12270         EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
12271         EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
12272         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12273 $as_echo "yes" >&6; }
12274
12275 fi
12276
12277 # Find out the version of DBUS we're using
12278 dbus_version=`pkg-config --modversion dbus-1`
12279 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
12280 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
12281 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
12282
12283 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
12284    DBUS_VERSION_MAJOR="0"
12285 fi
12286
12287 if test "z$DBUS_VERSION_MINOR" = "z" ; then
12288    DBUS_VERSION_MINOR="0"
12289 fi
12290
12291 if test "z$DBUS_VERSION_MICRO" = "z" ; then
12292    DBUS_VERSION_MICRO="0"
12293 fi
12294
12295 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
12296 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
12297 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
12298
12299
12300 # Dependencies for the libraries
12301 if test "x${enable_enotify}" = "xyes" ; then
12302
12303 pkg_failed=no
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
12305 $as_echo_n "checking for EVAS... " >&6; }
12306
12307 if test -n "$EVAS_CFLAGS"; then
12308     pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
12309  elif test -n "$PKG_CONFIG"; then
12310     if test -n "$PKG_CONFIG" && \
12311     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.6.99\""; } >&5
12312   ($PKG_CONFIG --exists --print-errors "evas >= 1.6.99") 2>&5
12313   ac_status=$?
12314   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12315   test $ac_status = 0; }; then
12316   pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.6.99" 2>/dev/null`
12317 else
12318   pkg_failed=yes
12319 fi
12320  else
12321     pkg_failed=untried
12322 fi
12323 if test -n "$EVAS_LIBS"; then
12324     pkg_cv_EVAS_LIBS="$EVAS_LIBS"
12325  elif test -n "$PKG_CONFIG"; then
12326     if test -n "$PKG_CONFIG" && \
12327     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.6.99\""; } >&5
12328   ($PKG_CONFIG --exists --print-errors "evas >= 1.6.99") 2>&5
12329   ac_status=$?
12330   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12331   test $ac_status = 0; }; then
12332   pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.6.99" 2>/dev/null`
12333 else
12334   pkg_failed=yes
12335 fi
12336  else
12337     pkg_failed=untried
12338 fi
12339
12340
12341
12342 if test $pkg_failed = yes; then
12343         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12344 $as_echo "no" >&6; }
12345
12346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12347         _pkg_short_errors_supported=yes
12348 else
12349         _pkg_short_errors_supported=no
12350 fi
12351         if test $_pkg_short_errors_supported = yes; then
12352                 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evas >= 1.6.99" 2>&1`
12353         else
12354                 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "evas >= 1.6.99" 2>&1`
12355         fi
12356         # Put the nasty error message in config.log where it belongs
12357         echo "$EVAS_PKG_ERRORS" >&5
12358
12359         enable_enotify="no"
12360 elif test $pkg_failed = untried; then
12361         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12362 $as_echo "no" >&6; }
12363         enable_enotify="no"
12364 else
12365         EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
12366         EVAS_LIBS=$pkg_cv_EVAS_LIBS
12367         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12368 $as_echo "yes" >&6; }
12369         requirement_enotify="evas >= 1.6.99 ${requirement_enotify}"
12370 fi
12371 fi
12372
12373  if test "x${enable_ebluez}"   = "xyes"; then
12374   BUILD_EBLUEZ_TRUE=
12375   BUILD_EBLUEZ_FALSE='#'
12376 else
12377   BUILD_EBLUEZ_TRUE='#'
12378   BUILD_EBLUEZ_FALSE=
12379 fi
12380
12381  if test "x${enable_econnman0_7x}" = "xyes"; then
12382   BUILD_ECONNMAN0_7X_TRUE=
12383   BUILD_ECONNMAN0_7X_FALSE='#'
12384 else
12385   BUILD_ECONNMAN0_7X_TRUE='#'
12386   BUILD_ECONNMAN0_7X_FALSE=
12387 fi
12388
12389  if test "x${enable_ehal}"     = "xyes"; then
12390   BUILD_EHAL_TRUE=
12391   BUILD_EHAL_FALSE='#'
12392 else
12393   BUILD_EHAL_TRUE='#'
12394   BUILD_EHAL_FALSE=
12395 fi
12396
12397  if test "x${enable_enotify}"  = "xyes"; then
12398   BUILD_ENOTIFY_TRUE=
12399   BUILD_ENOTIFY_FALSE='#'
12400 else
12401   BUILD_ENOTIFY_TRUE='#'
12402   BUILD_ENOTIFY_FALSE=
12403 fi
12404
12405  if test "x${enable_eofono}"   = "xyes"; then
12406   BUILD_EOFONO_TRUE=
12407   BUILD_EOFONO_FALSE='#'
12408 else
12409   BUILD_EOFONO_TRUE='#'
12410   BUILD_EOFONO_FALSE=
12411 fi
12412
12413  if test "x${enable_eukit}"    = "xyes"; then
12414   BUILD_EUKIT_TRUE=
12415   BUILD_EUKIT_FALSE='#'
12416 else
12417   BUILD_EUKIT_TRUE='#'
12418   BUILD_EUKIT_FALSE=
12419 fi
12420
12421
12422 # Dependencies for the binaries
12423
12424
12425
12426
12427
12428 # Check whether --enable-edbus-test was given.
12429 if test "${enable_edbus_test+set}" = set; then :
12430   enableval=$enable_edbus_test;
12431     if test "x${enableval}" = "xyes" ; then
12432        have_edbus_test="yes"
12433     else
12434        have_edbus_test="no"
12435     fi
12436
12437 else
12438   have_edbus_test="yes"
12439 fi
12440
12441
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
12443 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
12445 $as_echo "$have_edbus_test" >&6; }
12446
12447 if test "x$have_edbus_test" = "xyes"; then
12448    EDBUS_TEST_PRG=edbus_test${EXEEXT}
12449 fi
12450
12451
12452
12453  if test "x$have_edbus_test" = "xyes"; then
12454   BUILD_EDBUS_TEST_TRUE=
12455   BUILD_EDBUS_TEST_FALSE='#'
12456 else
12457   BUILD_EDBUS_TEST_TRUE='#'
12458   BUILD_EDBUS_TEST_FALSE=
12459 fi
12460
12461
12462 if test "x$have_edbus_test" = "xyes"; then :
12463
12464 fi
12465
12466
12467
12468
12469
12470
12471 # Check whether --enable-edbus-test-client was given.
12472 if test "${enable_edbus_test_client+set}" = set; then :
12473   enableval=$enable_edbus_test_client;
12474     if test "x${enableval}" = "xyes" ; then
12475        have_edbus_test_client="yes"
12476     else
12477        have_edbus_test_client="no"
12478     fi
12479
12480 else
12481   have_edbus_test_client="yes"
12482 fi
12483
12484
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
12486 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
12488 $as_echo "$have_edbus_test_client" >&6; }
12489
12490 if test "x$have_edbus_test_client" = "xyes"; then
12491    EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
12492 fi
12493
12494
12495
12496  if test "x$have_edbus_test_client" = "xyes"; then
12497   BUILD_EDBUS_TEST_CLIENT_TRUE=
12498   BUILD_EDBUS_TEST_CLIENT_FALSE='#'
12499 else
12500   BUILD_EDBUS_TEST_CLIENT_TRUE='#'
12501   BUILD_EDBUS_TEST_CLIENT_FALSE=
12502 fi
12503
12504
12505 if test "x$have_edbus_test_client" = "xyes"; then :
12506
12507 fi
12508
12509
12510
12511
12512
12513
12514 # Check whether --enable-edbus-bluez-test was given.
12515 if test "${enable_edbus_bluez_test+set}" = set; then :
12516   enableval=$enable_edbus_bluez_test;
12517     if test "x${enableval}" = "xyes" ; then
12518        have_edbus_bluez_test="yes"
12519     else
12520        have_edbus_bluez_test="no"
12521     fi
12522
12523 else
12524   have_edbus_bluez_test=${enable_ebluez}
12525 fi
12526
12527
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
12529 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
12531 $as_echo "$have_edbus_bluez_test" >&6; }
12532
12533 if test "x$have_edbus_bluez_test" = "xyes"; then
12534    EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
12535 fi
12536
12537
12538
12539  if test "x$have_edbus_bluez_test" = "xyes"; then
12540   BUILD_EDBUS_BLUEZ_TEST_TRUE=
12541   BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
12542 else
12543   BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
12544   BUILD_EDBUS_BLUEZ_TEST_FALSE=
12545 fi
12546
12547
12548 if test "x$have_edbus_bluez_test" = "xyes"; then :
12549
12550 fi
12551
12552
12553
12554
12555
12556
12557 # Check whether --enable-edbus-connman0_7x-test was given.
12558 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
12559   enableval=$enable_edbus_connman0_7x_test;
12560     if test "x${enableval}" = "xyes" ; then
12561        have_edbus_connman0_7x_test="yes"
12562     else
12563        have_edbus_connman0_7x_test="no"
12564     fi
12565
12566 else
12567   have_edbus_connman0_7x_test=${enable_econnman0_7x}
12568 fi
12569
12570
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
12572 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
12574 $as_echo "$have_edbus_connman0_7x_test" >&6; }
12575
12576 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
12577    EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
12578 fi
12579
12580
12581
12582  if test "x$have_edbus_connman0_7x_test" = "xyes"; then
12583   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
12584   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
12585 else
12586   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
12587   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
12588 fi
12589
12590
12591 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
12592
12593 fi
12594
12595
12596
12597
12598
12599
12600 # Check whether --enable-edbus-notification-daemon-test was given.
12601 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
12602   enableval=$enable_edbus_notification_daemon_test;
12603     if test "x${enableval}" = "xyes" ; then
12604        have_edbus_notification_daemon_test="yes"
12605     else
12606        have_edbus_notification_daemon_test="no"
12607     fi
12608
12609 else
12610   have_edbus_notification_daemon_test=${enable_enotify}
12611 fi
12612
12613
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
12615 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
12617 $as_echo "$have_edbus_notification_daemon_test" >&6; }
12618
12619 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
12620    EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
12621 fi
12622
12623
12624
12625  if test "x$have_edbus_notification_daemon_test" = "xyes"; then
12626   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
12627   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
12628 else
12629   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
12630   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
12631 fi
12632
12633
12634 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
12635
12636 fi
12637
12638
12639
12640
12641
12642
12643 # Check whether --enable-edbus-notify-send was given.
12644 if test "${enable_edbus_notify_send+set}" = set; then :
12645   enableval=$enable_edbus_notify_send;
12646     if test "x${enableval}" = "xyes" ; then
12647        have_edbus_notify_send="yes"
12648     else
12649        have_edbus_notify_send="no"
12650     fi
12651
12652 else
12653   have_edbus_notify_send=${enable_enotify}
12654 fi
12655
12656
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
12658 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
12660 $as_echo "$have_edbus_notify_send" >&6; }
12661
12662 if test "x$have_edbus_notify_send" = "xyes"; then
12663    EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
12664 fi
12665
12666
12667
12668  if test "x$have_edbus_notify_send" = "xyes"; then
12669   BUILD_EDBUS_NOTIFY_SEND_TRUE=
12670   BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
12671 else
12672   BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
12673   BUILD_EDBUS_NOTIFY_SEND_FALSE=
12674 fi
12675
12676
12677 if test "x$have_edbus_notify_send" = "xyes"; then :
12678
12679 fi
12680
12681
12682
12683
12684
12685
12686 # Check whether --enable-edbus-notify-test was given.
12687 if test "${enable_edbus_notify_test+set}" = set; then :
12688   enableval=$enable_edbus_notify_test;
12689     if test "x${enableval}" = "xyes" ; then
12690        have_edbus_notify_test="yes"
12691     else
12692        have_edbus_notify_test="no"
12693     fi
12694
12695 else
12696   have_edbus_notify_test=${enable_enotify}
12697 fi
12698
12699
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
12701 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
12703 $as_echo "$have_edbus_notify_test" >&6; }
12704
12705 if test "x$have_edbus_notify_test" = "xyes"; then
12706    EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
12707 fi
12708
12709
12710
12711  if test "x$have_edbus_notify_test" = "xyes"; then
12712   BUILD_EDBUS_NOTIFY_TEST_TRUE=
12713   BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
12714 else
12715   BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
12716   BUILD_EDBUS_NOTIFY_TEST_FALSE=
12717 fi
12718
12719
12720 if test "x$have_edbus_notify_test" = "xyes"; then :
12721
12722 fi
12723
12724
12725
12726
12727
12728
12729 # Check whether --enable-edbus-ofono-test was given.
12730 if test "${enable_edbus_ofono_test+set}" = set; then :
12731   enableval=$enable_edbus_ofono_test;
12732     if test "x${enableval}" = "xyes" ; then
12733        have_edbus_ofono_test="yes"
12734     else
12735        have_edbus_ofono_test="no"
12736     fi
12737
12738 else
12739   have_edbus_ofono_test=${enable_eofono}
12740 fi
12741
12742
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
12744 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
12746 $as_echo "$have_edbus_ofono_test" >&6; }
12747
12748 if test "x$have_edbus_ofono_test" = "xyes"; then
12749    EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
12750 fi
12751
12752
12753
12754  if test "x$have_edbus_ofono_test" = "xyes"; then
12755   BUILD_EDBUS_OFONO_TEST_TRUE=
12756   BUILD_EDBUS_OFONO_TEST_FALSE='#'
12757 else
12758   BUILD_EDBUS_OFONO_TEST_TRUE='#'
12759   BUILD_EDBUS_OFONO_TEST_FALSE=
12760 fi
12761
12762
12763 if test "x$have_edbus_ofono_test" = "xyes"; then :
12764
12765 fi
12766
12767
12768
12769
12770
12771
12772 # Check whether --enable-edbus-ukit-test was given.
12773 if test "${enable_edbus_ukit_test+set}" = set; then :
12774   enableval=$enable_edbus_ukit_test;
12775     if test "x${enableval}" = "xyes" ; then
12776        have_edbus_ukit_test="yes"
12777     else
12778        have_edbus_ukit_test="no"
12779     fi
12780
12781 else
12782   have_edbus_ukit_test=${enable_eukit}
12783 fi
12784
12785
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
12787 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
12789 $as_echo "$have_edbus_ukit_test" >&6; }
12790
12791 if test "x$have_edbus_ukit_test" = "xyes"; then
12792    EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
12793 fi
12794
12795
12796
12797  if test "x$have_edbus_ukit_test" = "xyes"; then
12798   BUILD_EDBUS_UKIT_TEST_TRUE=
12799   BUILD_EDBUS_UKIT_TEST_FALSE='#'
12800 else
12801   BUILD_EDBUS_UKIT_TEST_TRUE='#'
12802   BUILD_EDBUS_UKIT_TEST_FALSE=
12803 fi
12804
12805
12806 if test "x$have_edbus_ukit_test" = "xyes"; then :
12807
12808 fi
12809
12810
12811
12812
12813
12814
12815 # Check whether --enable-edbus-performance-test was given.
12816 if test "${enable_edbus_performance_test+set}" = set; then :
12817   enableval=$enable_edbus_performance_test;
12818     if test "x${enableval}" = "xyes" ; then
12819        have_edbus_performance_test="yes"
12820     else
12821        have_edbus_performance_test="no"
12822     fi
12823
12824 else
12825   have_edbus_performance_test="no"
12826 fi
12827
12828
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
12830 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
12832 $as_echo "$have_edbus_performance_test" >&6; }
12833
12834 if test "x$have_edbus_performance_test" = "xyes"; then
12835    EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
12836 fi
12837
12838
12839
12840  if test "x$have_edbus_performance_test" = "xyes"; then
12841   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
12842   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
12843 else
12844   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
12845   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
12846 fi
12847
12848
12849 if test "x$have_edbus_performance_test" = "xyes"; then :
12850
12851 fi
12852
12853
12854
12855
12856
12857
12858 # Check whether --enable-edbus-async-test was given.
12859 if test "${enable_edbus_async_test+set}" = set; then :
12860   enableval=$enable_edbus_async_test;
12861     if test "x${enableval}" = "xyes" ; then
12862        have_edbus_async_test="yes"
12863     else
12864        have_edbus_async_test="no"
12865     fi
12866
12867 else
12868   have_edbus_async_test="yes"
12869 fi
12870
12871
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
12873 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
12875 $as_echo "$have_edbus_async_test" >&6; }
12876
12877 if test "x$have_edbus_async_test" = "xyes"; then
12878    EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
12879 fi
12880
12881
12882
12883  if test "x$have_edbus_async_test" = "xyes"; then
12884   BUILD_EDBUS_ASYNC_TEST_TRUE=
12885   BUILD_EDBUS_ASYNC_TEST_FALSE='#'
12886 else
12887   BUILD_EDBUS_ASYNC_TEST_TRUE='#'
12888   BUILD_EDBUS_ASYNC_TEST_FALSE=
12889 fi
12890
12891
12892 if test "x$have_edbus_async_test" = "xyes"; then :
12893
12894 fi
12895
12896
12897
12898 if test "x${have_edbus_test}" = "xyes" ; then
12899
12900 pkg_failed=no
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
12902 $as_echo_n "checking for EDBUS_TEST... " >&6; }
12903
12904 if test -n "$EDBUS_TEST_CFLAGS"; then
12905     pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
12906  elif test -n "$PKG_CONFIG"; then
12907     if test -n "$PKG_CONFIG" && \
12908     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12909   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
12910   ac_status=$?
12911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12912   test $ac_status = 0; }; then
12913   pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
12914 else
12915   pkg_failed=yes
12916 fi
12917  else
12918     pkg_failed=untried
12919 fi
12920 if test -n "$EDBUS_TEST_LIBS"; then
12921     pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
12922  elif test -n "$PKG_CONFIG"; then
12923     if test -n "$PKG_CONFIG" && \
12924     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12925   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
12926   ac_status=$?
12927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12928   test $ac_status = 0; }; then
12929   pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
12930 else
12931   pkg_failed=yes
12932 fi
12933  else
12934     pkg_failed=untried
12935 fi
12936
12937
12938
12939 if test $pkg_failed = yes; then
12940         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 $as_echo "no" >&6; }
12942
12943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12944         _pkg_short_errors_supported=yes
12945 else
12946         _pkg_short_errors_supported=no
12947 fi
12948         if test $_pkg_short_errors_supported = yes; then
12949                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
12950         else
12951                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
12952         fi
12953         # Put the nasty error message in config.log where it belongs
12954         echo "$EDBUS_TEST_PKG_ERRORS" >&5
12955
12956         have_edbus_test="no"
12957 elif test $pkg_failed = untried; then
12958         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12959 $as_echo "no" >&6; }
12960         have_edbus_test="no"
12961 else
12962         EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
12963         EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
12964         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12965 $as_echo "yes" >&6; }
12966         have_edbus_test="yes"
12967 fi
12968 fi
12969
12970 if test "x${have_edbus_test_client}" = "xyes" ; then
12971
12972 pkg_failed=no
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
12974 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
12975
12976 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
12977     pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
12978  elif test -n "$PKG_CONFIG"; then
12979     if test -n "$PKG_CONFIG" && \
12980     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12981   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
12982   ac_status=$?
12983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12984   test $ac_status = 0; }; then
12985   pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
12986 else
12987   pkg_failed=yes
12988 fi
12989  else
12990     pkg_failed=untried
12991 fi
12992 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
12993     pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
12994  elif test -n "$PKG_CONFIG"; then
12995     if test -n "$PKG_CONFIG" && \
12996     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12997   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
12998   ac_status=$?
12999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13000   test $ac_status = 0; }; then
13001   pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13002 else
13003   pkg_failed=yes
13004 fi
13005  else
13006     pkg_failed=untried
13007 fi
13008
13009
13010
13011 if test $pkg_failed = yes; then
13012         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13013 $as_echo "no" >&6; }
13014
13015 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13016         _pkg_short_errors_supported=yes
13017 else
13018         _pkg_short_errors_supported=no
13019 fi
13020         if test $_pkg_short_errors_supported = yes; then
13021                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13022         else
13023                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13024         fi
13025         # Put the nasty error message in config.log where it belongs
13026         echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
13027
13028         have_edbus_test_client="no"
13029 elif test $pkg_failed = untried; then
13030         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13031 $as_echo "no" >&6; }
13032         have_edbus_test_client="no"
13033 else
13034         EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
13035         EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
13036         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13037 $as_echo "yes" >&6; }
13038         have_edbus_test_client="yes"
13039 fi
13040 fi
13041
13042 if test "x${have_edbus_bluez_test}" = "xyes" ; then
13043
13044 pkg_failed=no
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
13046 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
13047
13048 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
13049     pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
13050  elif test -n "$PKG_CONFIG"; then
13051     if test -n "$PKG_CONFIG" && \
13052     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13053   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13054   ac_status=$?
13055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13056   test $ac_status = 0; }; then
13057   pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13058 else
13059   pkg_failed=yes
13060 fi
13061  else
13062     pkg_failed=untried
13063 fi
13064 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
13065     pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
13066  elif test -n "$PKG_CONFIG"; then
13067     if test -n "$PKG_CONFIG" && \
13068     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13069   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13070   ac_status=$?
13071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13072   test $ac_status = 0; }; then
13073   pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13074 else
13075   pkg_failed=yes
13076 fi
13077  else
13078     pkg_failed=untried
13079 fi
13080
13081
13082
13083 if test $pkg_failed = yes; then
13084         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13085 $as_echo "no" >&6; }
13086
13087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13088         _pkg_short_errors_supported=yes
13089 else
13090         _pkg_short_errors_supported=no
13091 fi
13092         if test $_pkg_short_errors_supported = yes; then
13093                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13094         else
13095                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13096         fi
13097         # Put the nasty error message in config.log where it belongs
13098         echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
13099
13100         have_edbus_bluez_test="no"
13101 elif test $pkg_failed = untried; then
13102         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13103 $as_echo "no" >&6; }
13104         have_edbus_bluez_test="no"
13105 else
13106         EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
13107         EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
13108         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13109 $as_echo "yes" >&6; }
13110         have_edbus_bluez_test="yes"
13111 fi
13112 fi
13113
13114 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
13115
13116 pkg_failed=no
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
13118 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
13119
13120 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
13121     pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
13122  elif test -n "$PKG_CONFIG"; then
13123     if test -n "$PKG_CONFIG" && \
13124     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13125   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13126   ac_status=$?
13127   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13128   test $ac_status = 0; }; then
13129   pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13130 else
13131   pkg_failed=yes
13132 fi
13133  else
13134     pkg_failed=untried
13135 fi
13136 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
13137     pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
13138  elif test -n "$PKG_CONFIG"; then
13139     if test -n "$PKG_CONFIG" && \
13140     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13141   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13142   ac_status=$?
13143   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13144   test $ac_status = 0; }; then
13145   pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13146 else
13147   pkg_failed=yes
13148 fi
13149  else
13150     pkg_failed=untried
13151 fi
13152
13153
13154
13155 if test $pkg_failed = yes; then
13156         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13157 $as_echo "no" >&6; }
13158
13159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13160         _pkg_short_errors_supported=yes
13161 else
13162         _pkg_short_errors_supported=no
13163 fi
13164         if test $_pkg_short_errors_supported = yes; then
13165                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13166         else
13167                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13168         fi
13169         # Put the nasty error message in config.log where it belongs
13170         echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
13171
13172         have_edbus_connman0_7x_test="no"
13173 elif test $pkg_failed = untried; then
13174         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13175 $as_echo "no" >&6; }
13176         have_edbus_connman0_7x_test="no"
13177 else
13178         EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
13179         EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
13180         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13181 $as_echo "yes" >&6; }
13182         have_edbus_connman0_7x_test="yes"
13183 fi
13184 fi
13185
13186 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
13187
13188 pkg_failed=no
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
13190 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
13191
13192 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
13193     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
13194  elif test -n "$PKG_CONFIG"; then
13195     if test -n "$PKG_CONFIG" && \
13196     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13197   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13198   ac_status=$?
13199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13200   test $ac_status = 0; }; then
13201   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13202 else
13203   pkg_failed=yes
13204 fi
13205  else
13206     pkg_failed=untried
13207 fi
13208 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
13209     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
13210  elif test -n "$PKG_CONFIG"; then
13211     if test -n "$PKG_CONFIG" && \
13212     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13213   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13214   ac_status=$?
13215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13216   test $ac_status = 0; }; then
13217   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13218 else
13219   pkg_failed=yes
13220 fi
13221  else
13222     pkg_failed=untried
13223 fi
13224
13225
13226
13227 if test $pkg_failed = yes; then
13228         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13229 $as_echo "no" >&6; }
13230
13231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13232         _pkg_short_errors_supported=yes
13233 else
13234         _pkg_short_errors_supported=no
13235 fi
13236         if test $_pkg_short_errors_supported = yes; then
13237                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13238         else
13239                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13240         fi
13241         # Put the nasty error message in config.log where it belongs
13242         echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
13243
13244         have_edbus_notification_daemon_test="no"
13245 elif test $pkg_failed = untried; then
13246         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13247 $as_echo "no" >&6; }
13248         have_edbus_notification_daemon_test="no"
13249 else
13250         EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
13251         EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
13252         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13253 $as_echo "yes" >&6; }
13254         have_edbus_notification_daemon_test="yes"
13255 fi
13256 fi
13257
13258 if test "x${have_edbus_notify_send}" = "xyes" ; then
13259
13260 pkg_failed=no
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
13262 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
13263
13264 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
13265     pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
13266  elif test -n "$PKG_CONFIG"; then
13267     if test -n "$PKG_CONFIG" && \
13268     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13269   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13270   ac_status=$?
13271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13272   test $ac_status = 0; }; then
13273   pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13274 else
13275   pkg_failed=yes
13276 fi
13277  else
13278     pkg_failed=untried
13279 fi
13280 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
13281     pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
13282  elif test -n "$PKG_CONFIG"; then
13283     if test -n "$PKG_CONFIG" && \
13284     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13285   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13286   ac_status=$?
13287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13288   test $ac_status = 0; }; then
13289   pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13290 else
13291   pkg_failed=yes
13292 fi
13293  else
13294     pkg_failed=untried
13295 fi
13296
13297
13298
13299 if test $pkg_failed = yes; then
13300         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13301 $as_echo "no" >&6; }
13302
13303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13304         _pkg_short_errors_supported=yes
13305 else
13306         _pkg_short_errors_supported=no
13307 fi
13308         if test $_pkg_short_errors_supported = yes; then
13309                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13310         else
13311                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13312         fi
13313         # Put the nasty error message in config.log where it belongs
13314         echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
13315
13316         have_edbus_notify_send="no"
13317 elif test $pkg_failed = untried; then
13318         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13319 $as_echo "no" >&6; }
13320         have_edbus_notify_send="no"
13321 else
13322         EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
13323         EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
13324         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13325 $as_echo "yes" >&6; }
13326         have_edbus_notify_send="yes"
13327 fi
13328 fi
13329
13330 if test "x${have_edbus_notify_test}" = "xyes" ; then
13331
13332 pkg_failed=no
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
13334 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
13335
13336 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
13337     pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
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 \"ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13341   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13342   ac_status=$?
13343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13344   test $ac_status = 0; }; then
13345   pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13346 else
13347   pkg_failed=yes
13348 fi
13349  else
13350     pkg_failed=untried
13351 fi
13352 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
13353     pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
13354  elif test -n "$PKG_CONFIG"; then
13355     if test -n "$PKG_CONFIG" && \
13356     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13357   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13358   ac_status=$?
13359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13360   test $ac_status = 0; }; then
13361   pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13362 else
13363   pkg_failed=yes
13364 fi
13365  else
13366     pkg_failed=untried
13367 fi
13368
13369
13370
13371 if test $pkg_failed = yes; then
13372         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13373 $as_echo "no" >&6; }
13374
13375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13376         _pkg_short_errors_supported=yes
13377 else
13378         _pkg_short_errors_supported=no
13379 fi
13380         if test $_pkg_short_errors_supported = yes; then
13381                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13382         else
13383                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13384         fi
13385         # Put the nasty error message in config.log where it belongs
13386         echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
13387
13388         have_edbus_notify_test="no"
13389 elif test $pkg_failed = untried; then
13390         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13391 $as_echo "no" >&6; }
13392         have_edbus_notify_test="no"
13393 else
13394         EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
13395         EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
13396         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13397 $as_echo "yes" >&6; }
13398         have_edbus_notify_test="yes"
13399 fi
13400 fi
13401
13402 if test "x${have_edbus_ofono_test}" = "xyes" ; then
13403
13404 pkg_failed=no
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
13406 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
13407
13408 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
13409     pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
13410  elif test -n "$PKG_CONFIG"; then
13411     if test -n "$PKG_CONFIG" && \
13412     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13413   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13414   ac_status=$?
13415   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13416   test $ac_status = 0; }; then
13417   pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13418 else
13419   pkg_failed=yes
13420 fi
13421  else
13422     pkg_failed=untried
13423 fi
13424 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
13425     pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
13426  elif test -n "$PKG_CONFIG"; then
13427     if test -n "$PKG_CONFIG" && \
13428     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13429   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13430   ac_status=$?
13431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13432   test $ac_status = 0; }; then
13433   pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13434 else
13435   pkg_failed=yes
13436 fi
13437  else
13438     pkg_failed=untried
13439 fi
13440
13441
13442
13443 if test $pkg_failed = yes; then
13444         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13445 $as_echo "no" >&6; }
13446
13447 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13448         _pkg_short_errors_supported=yes
13449 else
13450         _pkg_short_errors_supported=no
13451 fi
13452         if test $_pkg_short_errors_supported = yes; then
13453                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13454         else
13455                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13456         fi
13457         # Put the nasty error message in config.log where it belongs
13458         echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
13459
13460         have_edbus_ofono_test="no"
13461 elif test $pkg_failed = untried; then
13462         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13463 $as_echo "no" >&6; }
13464         have_edbus_ofono_test="no"
13465 else
13466         EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
13467         EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
13468         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13469 $as_echo "yes" >&6; }
13470         have_edbus_ofono_test="yes"
13471 fi
13472 fi
13473
13474 if test "x${have_edbus_ukit_test}" = "xyes" ; then
13475
13476 pkg_failed=no
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
13478 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
13479
13480 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
13481     pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
13482  elif test -n "$PKG_CONFIG"; then
13483     if test -n "$PKG_CONFIG" && \
13484     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13485   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13486   ac_status=$?
13487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13488   test $ac_status = 0; }; then
13489   pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13490 else
13491   pkg_failed=yes
13492 fi
13493  else
13494     pkg_failed=untried
13495 fi
13496 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
13497     pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
13498  elif test -n "$PKG_CONFIG"; then
13499     if test -n "$PKG_CONFIG" && \
13500     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13501   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13502   ac_status=$?
13503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13504   test $ac_status = 0; }; then
13505   pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13506 else
13507   pkg_failed=yes
13508 fi
13509  else
13510     pkg_failed=untried
13511 fi
13512
13513
13514
13515 if test $pkg_failed = yes; then
13516         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13517 $as_echo "no" >&6; }
13518
13519 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13520         _pkg_short_errors_supported=yes
13521 else
13522         _pkg_short_errors_supported=no
13523 fi
13524         if test $_pkg_short_errors_supported = yes; then
13525                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13526         else
13527                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13528         fi
13529         # Put the nasty error message in config.log where it belongs
13530         echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
13531
13532         have_edbus_ukit_test="no"
13533 elif test $pkg_failed = untried; then
13534         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13535 $as_echo "no" >&6; }
13536         have_edbus_ukit_test="no"
13537 else
13538         EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
13539         EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
13540         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13541 $as_echo "yes" >&6; }
13542         have_edbus_ukit_test="yes"
13543 fi
13544 fi
13545
13546 if test "x${have_edbus_performance_test}" = "xyes" ; then
13547
13548 pkg_failed=no
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
13550 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
13551
13552 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
13553     pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
13554  elif test -n "$PKG_CONFIG"; then
13555     if test -n "$PKG_CONFIG" && \
13556     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99\""; } >&5
13557   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99") 2>&5
13558   ac_status=$?
13559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13560   test $ac_status = 0; }; then
13561   pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>/dev/null`
13562 else
13563   pkg_failed=yes
13564 fi
13565  else
13566     pkg_failed=untried
13567 fi
13568 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
13569     pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
13570  elif test -n "$PKG_CONFIG"; then
13571     if test -n "$PKG_CONFIG" && \
13572     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99\""; } >&5
13573   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99") 2>&5
13574   ac_status=$?
13575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13576   test $ac_status = 0; }; then
13577   pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>/dev/null`
13578 else
13579   pkg_failed=yes
13580 fi
13581  else
13582     pkg_failed=untried
13583 fi
13584
13585
13586
13587 if test $pkg_failed = yes; then
13588         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13589 $as_echo "no" >&6; }
13590
13591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13592         _pkg_short_errors_supported=yes
13593 else
13594         _pkg_short_errors_supported=no
13595 fi
13596         if test $_pkg_short_errors_supported = yes; then
13597                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>&1`
13598         else
13599                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>&1`
13600         fi
13601         # Put the nasty error message in config.log where it belongs
13602         echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
13603
13604         have_edbus_performance_test="no"
13605 elif test $pkg_failed = untried; then
13606         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13607 $as_echo "no" >&6; }
13608         have_edbus_performance_test="no"
13609 else
13610         EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
13611         EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
13612         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13613 $as_echo "yes" >&6; }
13614         have_edbus_performance_test="yes"
13615 fi
13616 fi
13617
13618  if test "x${have_edbus_performance_test}" = "xyes"; then
13619   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13620   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13621 else
13622   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13623   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13624 fi
13625
13626
13627 if test "x${have_edbus_async_test}" = "xyes" ; then
13628
13629 pkg_failed=no
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
13631 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
13632
13633 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
13634     pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
13635  elif test -n "$PKG_CONFIG"; then
13636     if test -n "$PKG_CONFIG" && \
13637     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13638   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13639   ac_status=$?
13640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13641   test $ac_status = 0; }; then
13642   pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13643 else
13644   pkg_failed=yes
13645 fi
13646  else
13647     pkg_failed=untried
13648 fi
13649 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
13650     pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
13651  elif test -n "$PKG_CONFIG"; then
13652     if test -n "$PKG_CONFIG" && \
13653     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13654   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13655   ac_status=$?
13656   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13657   test $ac_status = 0; }; then
13658   pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13659 else
13660   pkg_failed=yes
13661 fi
13662  else
13663     pkg_failed=untried
13664 fi
13665
13666
13667
13668 if test $pkg_failed = yes; then
13669         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13670 $as_echo "no" >&6; }
13671
13672 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13673         _pkg_short_errors_supported=yes
13674 else
13675         _pkg_short_errors_supported=no
13676 fi
13677         if test $_pkg_short_errors_supported = yes; then
13678                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13679         else
13680                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13681         fi
13682         # Put the nasty error message in config.log where it belongs
13683         echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
13684
13685         have_edbus_async_test="no"
13686 elif test $pkg_failed = untried; then
13687         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13688 $as_echo "no" >&6; }
13689         have_edbus_async_test="no"
13690 else
13691         EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
13692         EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
13693         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13694 $as_echo "yes" >&6; }
13695         have_edbus_async_test="yes"
13696 fi
13697 fi
13698
13699 ### Checks for header files
13700
13701
13702 ### Checks for types
13703
13704
13705 ### Checks for structures
13706
13707
13708 ### Checks for compiler characteristics
13709
13710 EFL_EDBUS_BUILD=""
13711 case "$host_os" in
13712    mingw*)
13713       EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
13714    ;;
13715 esac
13716
13717
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13719 $as_echo_n "checking for ANSI C header files... " >&6; }
13720 if test "${ac_cv_header_stdc+set}" = set; then :
13721   $as_echo_n "(cached) " >&6
13722 else
13723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h.  */
13725 #include <stdlib.h>
13726 #include <stdarg.h>
13727 #include <string.h>
13728 #include <float.h>
13729
13730 int
13731 main ()
13732 {
13733
13734   ;
13735   return 0;
13736 }
13737 _ACEOF
13738 if ac_fn_c_try_compile "$LINENO"; then :
13739   ac_cv_header_stdc=yes
13740 else
13741   ac_cv_header_stdc=no
13742 fi
13743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13744
13745 if test $ac_cv_header_stdc = yes; then
13746   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h.  */
13749 #include <string.h>
13750
13751 _ACEOF
13752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13753   $EGREP "memchr" >/dev/null 2>&1; then :
13754
13755 else
13756   ac_cv_header_stdc=no
13757 fi
13758 rm -f conftest*
13759
13760 fi
13761
13762 if test $ac_cv_header_stdc = yes; then
13763   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h.  */
13766 #include <stdlib.h>
13767
13768 _ACEOF
13769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13770   $EGREP "free" >/dev/null 2>&1; then :
13771
13772 else
13773   ac_cv_header_stdc=no
13774 fi
13775 rm -f conftest*
13776
13777 fi
13778
13779 if test $ac_cv_header_stdc = yes; then
13780   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13781   if test "$cross_compiling" = yes; then :
13782   :
13783 else
13784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13785 /* end confdefs.h.  */
13786 #include <ctype.h>
13787 #include <stdlib.h>
13788 #if ((' ' & 0x0FF) == 0x020)
13789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13791 #else
13792 # define ISLOWER(c) \
13793                    (('a' <= (c) && (c) <= 'i') \
13794                      || ('j' <= (c) && (c) <= 'r') \
13795                      || ('s' <= (c) && (c) <= 'z'))
13796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13797 #endif
13798
13799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13800 int
13801 main ()
13802 {
13803   int i;
13804   for (i = 0; i < 256; i++)
13805     if (XOR (islower (i), ISLOWER (i))
13806         || toupper (i) != TOUPPER (i))
13807       return 2;
13808   return 0;
13809 }
13810 _ACEOF
13811 if ac_fn_c_try_run "$LINENO"; then :
13812
13813 else
13814   ac_cv_header_stdc=no
13815 fi
13816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13817   conftest.$ac_objext conftest.beam conftest.$ac_ext
13818 fi
13819
13820 fi
13821 fi
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13823 $as_echo "$ac_cv_header_stdc" >&6; }
13824 if test $ac_cv_header_stdc = yes; then
13825
13826 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13827
13828 fi
13829
13830
13831
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
13833 $as_echo_n "checking for __attribute__... " >&6; }
13834
13835 if test "${ac_cv___attribute__+set}" = set; then :
13836   $as_echo_n "(cached) " >&6
13837 else
13838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h.  */
13840
13841 #include <stdlib.h>
13842
13843 int func(int x);
13844 int foo(int x __attribute__ ((unused)))
13845 {
13846    exit(1);
13847 }
13848
13849 int
13850 main ()
13851 {
13852
13853   ;
13854   return 0;
13855 }
13856 _ACEOF
13857 if ac_fn_c_try_compile "$LINENO"; then :
13858   ac_cv___attribute__="yes"
13859 else
13860   ac_cv___attribute__="no"
13861
13862 fi
13863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13864 fi
13865
13866
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
13868 $as_echo "$ac_cv___attribute__" >&6; }
13869
13870 if test "x${ac_cv___attribute__}" = "xyes" ; then
13871
13872 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
13873
13874
13875 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
13876
13877   else
13878
13879 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
13880
13881 fi
13882
13883
13884
13885 if ! test "x${VMIC}" = "x" ; then
13886
13887
13888 CFLAGS_save="${CFLAGS}"
13889 CFLAGS="${CFLAGS} -Wall"
13890
13891 ac_ext=c
13892 ac_cpp='$CPP $CPPFLAGS'
13893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13896
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
13898 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
13899
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h.  */
13902
13903 int
13904 main ()
13905 {
13906
13907   ;
13908   return 0;
13909 }
13910 _ACEOF
13911 if ac_fn_c_try_compile "$LINENO"; then :
13912   have_flag="yes"
13913 else
13914   have_flag="no"
13915 fi
13916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13918 $as_echo "${have_flag}" >&6; }
13919
13920 if test "x${have_flag}" = "xno" ; then
13921    CFLAGS="${CFLAGS_save}"
13922 fi
13923 ac_ext=c
13924 ac_cpp='$CPP $CPPFLAGS'
13925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13928
13929
13930
13931
13932
13933 CFLAGS_save="${CFLAGS}"
13934 CFLAGS="${CFLAGS} -W"
13935
13936 ac_ext=c
13937 ac_cpp='$CPP $CPPFLAGS'
13938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13941
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
13943 $as_echo_n "checking whether the compiler supports -W... " >&6; }
13944
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h.  */
13947
13948 int
13949 main ()
13950 {
13951
13952   ;
13953   return 0;
13954 }
13955 _ACEOF
13956 if ac_fn_c_try_compile "$LINENO"; then :
13957   have_flag="yes"
13958 else
13959   have_flag="no"
13960 fi
13961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13963 $as_echo "${have_flag}" >&6; }
13964
13965 if test "x${have_flag}" = "xno" ; then
13966    CFLAGS="${CFLAGS_save}"
13967 fi
13968 ac_ext=c
13969 ac_cpp='$CPP $CPPFLAGS'
13970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13973
13974
13975
13976 fi
13977
13978
13979
13980 CFLAGS_save="${CFLAGS}"
13981 CFLAGS="${CFLAGS} -Wshadow"
13982
13983 ac_ext=c
13984 ac_cpp='$CPP $CPPFLAGS'
13985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13988
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
13990 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
13991
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h.  */
13994
13995 int
13996 main ()
13997 {
13998
13999   ;
14000   return 0;
14001 }
14002 _ACEOF
14003 if ac_fn_c_try_compile "$LINENO"; then :
14004   have_flag="yes"
14005 else
14006   have_flag="no"
14007 fi
14008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14010 $as_echo "${have_flag}" >&6; }
14011
14012 if test "x${have_flag}" = "xno" ; then
14013    CFLAGS="${CFLAGS_save}"
14014 fi
14015 ac_ext=c
14016 ac_cpp='$CPP $CPPFLAGS'
14017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14020
14021
14022
14023
14024
14025 ### Checks for linker characteristics
14026
14027 lt_enable_auto_import=""
14028 case "$host_os" in
14029    mingw*)
14030       lt_enable_auto_import="-Wl,--enable-auto-import"
14031    ;;
14032 esac
14033
14034
14035
14036 ### Checks for library functions
14037
14038 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14039 # for constant arguments.  Useless!
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14041 $as_echo_n "checking for working alloca.h... " >&6; }
14042 if test "${ac_cv_working_alloca_h+set}" = set; then :
14043   $as_echo_n "(cached) " >&6
14044 else
14045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h.  */
14047 #include <alloca.h>
14048 int
14049 main ()
14050 {
14051 char *p = (char *) alloca (2 * sizeof (int));
14052                           if (p) return 0;
14053   ;
14054   return 0;
14055 }
14056 _ACEOF
14057 if ac_fn_c_try_link "$LINENO"; then :
14058   ac_cv_working_alloca_h=yes
14059 else
14060   ac_cv_working_alloca_h=no
14061 fi
14062 rm -f core conftest.err conftest.$ac_objext \
14063     conftest$ac_exeext conftest.$ac_ext
14064 fi
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14066 $as_echo "$ac_cv_working_alloca_h" >&6; }
14067 if test $ac_cv_working_alloca_h = yes; then
14068
14069 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14070
14071 fi
14072
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14074 $as_echo_n "checking for alloca... " >&6; }
14075 if test "${ac_cv_func_alloca_works+set}" = set; then :
14076   $as_echo_n "(cached) " >&6
14077 else
14078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h.  */
14080 #ifdef __GNUC__
14081 # define alloca __builtin_alloca
14082 #else
14083 # ifdef _MSC_VER
14084 #  include <malloc.h>
14085 #  define alloca _alloca
14086 # else
14087 #  ifdef HAVE_ALLOCA_H
14088 #   include <alloca.h>
14089 #  else
14090 #   ifdef _AIX
14091  #pragma alloca
14092 #   else
14093 #    ifndef alloca /* predefined by HP cc +Olibcalls */
14094 char *alloca ();
14095 #    endif
14096 #   endif
14097 #  endif
14098 # endif
14099 #endif
14100
14101 int
14102 main ()
14103 {
14104 char *p = (char *) alloca (1);
14105                                     if (p) return 0;
14106   ;
14107   return 0;
14108 }
14109 _ACEOF
14110 if ac_fn_c_try_link "$LINENO"; then :
14111   ac_cv_func_alloca_works=yes
14112 else
14113   ac_cv_func_alloca_works=no
14114 fi
14115 rm -f core conftest.err conftest.$ac_objext \
14116     conftest$ac_exeext conftest.$ac_ext
14117 fi
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14119 $as_echo "$ac_cv_func_alloca_works" >&6; }
14120
14121 if test $ac_cv_func_alloca_works = yes; then
14122
14123 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14124
14125 else
14126   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14127 # that cause trouble.  Some versions do not even contain alloca or
14128 # contain a buggy version.  If you still want to use their alloca,
14129 # use ar to extract alloca.o from them instead of compiling alloca.c.
14130
14131 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14132
14133 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14134
14135
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14137 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14138 if test "${ac_cv_os_cray+set}" = set; then :
14139   $as_echo_n "(cached) " >&6
14140 else
14141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14142 /* end confdefs.h.  */
14143 #if defined CRAY && ! defined CRAY2
14144 webecray
14145 #else
14146 wenotbecray
14147 #endif
14148
14149 _ACEOF
14150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14151   $EGREP "webecray" >/dev/null 2>&1; then :
14152   ac_cv_os_cray=yes
14153 else
14154   ac_cv_os_cray=no
14155 fi
14156 rm -f conftest*
14157
14158 fi
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14160 $as_echo "$ac_cv_os_cray" >&6; }
14161 if test $ac_cv_os_cray = yes; then
14162   for ac_func in _getb67 GETB67 getb67; do
14163     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14164 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14165 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14166
14167 cat >>confdefs.h <<_ACEOF
14168 #define CRAY_STACKSEG_END $ac_func
14169 _ACEOF
14170
14171     break
14172 fi
14173
14174   done
14175 fi
14176
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14178 $as_echo_n "checking stack direction for C alloca... " >&6; }
14179 if test "${ac_cv_c_stack_direction+set}" = set; then :
14180   $as_echo_n "(cached) " >&6
14181 else
14182   if test "$cross_compiling" = yes; then :
14183   ac_cv_c_stack_direction=0
14184 else
14185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h.  */
14187 $ac_includes_default
14188 int
14189 find_stack_direction ()
14190 {
14191   static char *addr = 0;
14192   auto char dummy;
14193   if (addr == 0)
14194     {
14195       addr = &dummy;
14196       return find_stack_direction ();
14197     }
14198   else
14199     return (&dummy > addr) ? 1 : -1;
14200 }
14201
14202 int
14203 main ()
14204 {
14205   return find_stack_direction () < 0;
14206 }
14207 _ACEOF
14208 if ac_fn_c_try_run "$LINENO"; then :
14209   ac_cv_c_stack_direction=1
14210 else
14211   ac_cv_c_stack_direction=-1
14212 fi
14213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14214   conftest.$ac_objext conftest.beam conftest.$ac_ext
14215 fi
14216
14217 fi
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14219 $as_echo "$ac_cv_c_stack_direction" >&6; }
14220 cat >>confdefs.h <<_ACEOF
14221 #define STACK_DIRECTION $ac_cv_c_stack_direction
14222 _ACEOF
14223
14224
14225 fi
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238 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"
14239
14240 cat >confcache <<\_ACEOF
14241 # This file is a shell script that caches the results of configure
14242 # tests run on this system so they can be shared between configure
14243 # scripts and configure runs, see configure's option --config-cache.
14244 # It is not useful on other systems.  If it contains results you don't
14245 # want to keep, you may remove or edit it.
14246 #
14247 # config.status only pays attention to the cache file if you give it
14248 # the --recheck option to rerun configure.
14249 #
14250 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14251 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14252 # following values.
14253
14254 _ACEOF
14255
14256 # The following way of writing the cache mishandles newlines in values,
14257 # but we know of no workaround that is simple, portable, and efficient.
14258 # So, we kill variables containing newlines.
14259 # Ultrix sh set writes to stderr and can't be redirected directly,
14260 # and sets the high bit in the cache file unless we assign to the vars.
14261 (
14262   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14263     eval ac_val=\$$ac_var
14264     case $ac_val in #(
14265     *${as_nl}*)
14266       case $ac_var in #(
14267       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14268 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14269       esac
14270       case $ac_var in #(
14271       _ | IFS | as_nl) ;; #(
14272       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14273       *) { eval $ac_var=; unset $ac_var;} ;;
14274       esac ;;
14275     esac
14276   done
14277
14278   (set) 2>&1 |
14279     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14280     *${as_nl}ac_space=\ *)
14281       # `set' does not quote correctly, so add quotes: double-quote
14282       # substitution turns \\\\ into \\, and sed turns \\ into \.
14283       sed -n \
14284         "s/'/'\\\\''/g;
14285           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14286       ;; #(
14287     *)
14288       # `set' quotes correctly as required by POSIX, so do not add quotes.
14289       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14290       ;;
14291     esac |
14292     sort
14293 ) |
14294   sed '
14295      /^ac_cv_env_/b end
14296      t clear
14297      :clear
14298      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14299      t end
14300      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14301      :end' >>confcache
14302 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14303   if test -w "$cache_file"; then
14304     test "x$cache_file" != "x/dev/null" &&
14305       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14306 $as_echo "$as_me: updating cache $cache_file" >&6;}
14307     cat confcache >$cache_file
14308   else
14309     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14310 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14311   fi
14312 fi
14313 rm -f confcache
14314
14315 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14316 # Let make expand exec_prefix.
14317 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14318
14319 DEFS=-DHAVE_CONFIG_H
14320
14321 ac_libobjs=
14322 ac_ltlibobjs=
14323 U=
14324 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14325   # 1. Remove the extension, and $U if already installed.
14326   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14327   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14328   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14329   #    will be set to the directory where LIBOBJS objects are built.
14330   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14331   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14332 done
14333 LIBOBJS=$ac_libobjs
14334
14335 LTLIBOBJS=$ac_ltlibobjs
14336
14337
14338  if test -n "$EXEEXT"; then
14339   am__EXEEXT_TRUE=
14340   am__EXEEXT_FALSE='#'
14341 else
14342   am__EXEEXT_TRUE='#'
14343   am__EXEEXT_FALSE=
14344 fi
14345
14346 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14347   as_fn_error $? "conditional \"AMDEP\" was never defined.
14348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14349 fi
14350 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14351   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14353 fi
14354 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14355   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14357 fi
14358 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14359   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14361 fi
14362 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
14363   as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
14364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14365 fi
14366 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
14367   as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
14368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14369 fi
14370 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
14371   as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
14372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14373 fi
14374 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
14375   as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
14376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14377 fi
14378 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
14379   as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
14380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14381 fi
14382 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
14383   as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
14384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14385 fi
14386 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
14387   as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
14388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14389 fi
14390 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
14391   as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
14392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14393 fi
14394 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
14395   as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
14396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14397 fi
14398 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
14399   as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
14400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14401 fi
14402 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
14403   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
14404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14405 fi
14406 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
14407   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
14408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14409 fi
14410 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
14411   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
14412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14413 fi
14414 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
14415   as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
14416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14417 fi
14418 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
14419   as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
14420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14421 fi
14422 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
14423   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
14424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14425 fi
14426 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
14427   as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
14428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14429 fi
14430 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
14431   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
14432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14433 fi
14434
14435 : ${CONFIG_STATUS=./config.status}
14436 ac_write_fail=0
14437 ac_clean_files_save=$ac_clean_files
14438 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14440 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14441 as_write_fail=0
14442 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14443 #! $SHELL
14444 # Generated by $as_me.
14445 # Run this file to recreate the current configuration.
14446 # Compiler output produced by configure, useful for debugging
14447 # configure, is in config.log if it exists.
14448
14449 debug=false
14450 ac_cs_recheck=false
14451 ac_cs_silent=false
14452
14453 SHELL=\${CONFIG_SHELL-$SHELL}
14454 export SHELL
14455 _ASEOF
14456 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14457 ## -------------------- ##
14458 ## M4sh Initialization. ##
14459 ## -------------------- ##
14460
14461 # Be more Bourne compatible
14462 DUALCASE=1; export DUALCASE # for MKS sh
14463 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14464   emulate sh
14465   NULLCMD=:
14466   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14467   # is contrary to our usage.  Disable this feature.
14468   alias -g '${1+"$@"}'='"$@"'
14469   setopt NO_GLOB_SUBST
14470 else
14471   case `(set -o) 2>/dev/null` in #(
14472   *posix*) :
14473     set -o posix ;; #(
14474   *) :
14475      ;;
14476 esac
14477 fi
14478
14479
14480 as_nl='
14481 '
14482 export as_nl
14483 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14484 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14485 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14486 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14487 # Prefer a ksh shell builtin over an external printf program on Solaris,
14488 # but without wasting forks for bash or zsh.
14489 if test -z "$BASH_VERSION$ZSH_VERSION" \
14490     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14491   as_echo='print -r --'
14492   as_echo_n='print -rn --'
14493 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14494   as_echo='printf %s\n'
14495   as_echo_n='printf %s'
14496 else
14497   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14498     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14499     as_echo_n='/usr/ucb/echo -n'
14500   else
14501     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14502     as_echo_n_body='eval
14503       arg=$1;
14504       case $arg in #(
14505       *"$as_nl"*)
14506         expr "X$arg" : "X\\(.*\\)$as_nl";
14507         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14508       esac;
14509       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14510     '
14511     export as_echo_n_body
14512     as_echo_n='sh -c $as_echo_n_body as_echo'
14513   fi
14514   export as_echo_body
14515   as_echo='sh -c $as_echo_body as_echo'
14516 fi
14517
14518 # The user is always right.
14519 if test "${PATH_SEPARATOR+set}" != set; then
14520   PATH_SEPARATOR=:
14521   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14522     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14523       PATH_SEPARATOR=';'
14524   }
14525 fi
14526
14527
14528 # IFS
14529 # We need space, tab and new line, in precisely that order.  Quoting is
14530 # there to prevent editors from complaining about space-tab.
14531 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14532 # splitting by setting IFS to empty value.)
14533 IFS=" ""        $as_nl"
14534
14535 # Find who we are.  Look in the path if we contain no directory separator.
14536 case $0 in #((
14537   *[\\/]* ) as_myself=$0 ;;
14538   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14539 for as_dir in $PATH
14540 do
14541   IFS=$as_save_IFS
14542   test -z "$as_dir" && as_dir=.
14543     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14544   done
14545 IFS=$as_save_IFS
14546
14547      ;;
14548 esac
14549 # We did not find ourselves, most probably we were run as `sh COMMAND'
14550 # in which case we are not to be found in the path.
14551 if test "x$as_myself" = x; then
14552   as_myself=$0
14553 fi
14554 if test ! -f "$as_myself"; then
14555   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14556   exit 1
14557 fi
14558
14559 # Unset variables that we do not need and which cause bugs (e.g. in
14560 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14561 # suppresses any "Segmentation fault" message there.  '((' could
14562 # trigger a bug in pdksh 5.2.14.
14563 for as_var in BASH_ENV ENV MAIL MAILPATH
14564 do eval test x\${$as_var+set} = xset \
14565   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14566 done
14567 PS1='$ '
14568 PS2='> '
14569 PS4='+ '
14570
14571 # NLS nuisances.
14572 LC_ALL=C
14573 export LC_ALL
14574 LANGUAGE=C
14575 export LANGUAGE
14576
14577 # CDPATH.
14578 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14579
14580
14581 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14582 # ----------------------------------------
14583 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14584 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14585 # script with STATUS, using 1 if that was 0.
14586 as_fn_error ()
14587 {
14588   as_status=$1; test $as_status -eq 0 && as_status=1
14589   if test "$4"; then
14590     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14591     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14592   fi
14593   $as_echo "$as_me: error: $2" >&2
14594   as_fn_exit $as_status
14595 } # as_fn_error
14596
14597
14598 # as_fn_set_status STATUS
14599 # -----------------------
14600 # Set $? to STATUS, without forking.
14601 as_fn_set_status ()
14602 {
14603   return $1
14604 } # as_fn_set_status
14605
14606 # as_fn_exit STATUS
14607 # -----------------
14608 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14609 as_fn_exit ()
14610 {
14611   set +e
14612   as_fn_set_status $1
14613   exit $1
14614 } # as_fn_exit
14615
14616 # as_fn_unset VAR
14617 # ---------------
14618 # Portably unset VAR.
14619 as_fn_unset ()
14620 {
14621   { eval $1=; unset $1;}
14622 }
14623 as_unset=as_fn_unset
14624 # as_fn_append VAR VALUE
14625 # ----------------------
14626 # Append the text in VALUE to the end of the definition contained in VAR. Take
14627 # advantage of any shell optimizations that allow amortized linear growth over
14628 # repeated appends, instead of the typical quadratic growth present in naive
14629 # implementations.
14630 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14631   eval 'as_fn_append ()
14632   {
14633     eval $1+=\$2
14634   }'
14635 else
14636   as_fn_append ()
14637   {
14638     eval $1=\$$1\$2
14639   }
14640 fi # as_fn_append
14641
14642 # as_fn_arith ARG...
14643 # ------------------
14644 # Perform arithmetic evaluation on the ARGs, and store the result in the
14645 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14646 # must be portable across $(()) and expr.
14647 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14648   eval 'as_fn_arith ()
14649   {
14650     as_val=$(( $* ))
14651   }'
14652 else
14653   as_fn_arith ()
14654   {
14655     as_val=`expr "$@" || test $? -eq 1`
14656   }
14657 fi # as_fn_arith
14658
14659
14660 if expr a : '\(a\)' >/dev/null 2>&1 &&
14661    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14662   as_expr=expr
14663 else
14664   as_expr=false
14665 fi
14666
14667 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14668   as_basename=basename
14669 else
14670   as_basename=false
14671 fi
14672
14673 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14674   as_dirname=dirname
14675 else
14676   as_dirname=false
14677 fi
14678
14679 as_me=`$as_basename -- "$0" ||
14680 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14681          X"$0" : 'X\(//\)$' \| \
14682          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14683 $as_echo X/"$0" |
14684     sed '/^.*\/\([^/][^/]*\)\/*$/{
14685             s//\1/
14686             q
14687           }
14688           /^X\/\(\/\/\)$/{
14689             s//\1/
14690             q
14691           }
14692           /^X\/\(\/\).*/{
14693             s//\1/
14694             q
14695           }
14696           s/.*/./; q'`
14697
14698 # Avoid depending upon Character Ranges.
14699 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14700 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14701 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14702 as_cr_digits='0123456789'
14703 as_cr_alnum=$as_cr_Letters$as_cr_digits
14704
14705 ECHO_C= ECHO_N= ECHO_T=
14706 case `echo -n x` in #(((((
14707 -n*)
14708   case `echo 'xy\c'` in
14709   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14710   xy)  ECHO_C='\c';;
14711   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14712        ECHO_T=' ';;
14713   esac;;
14714 *)
14715   ECHO_N='-n';;
14716 esac
14717
14718 rm -f conf$$ conf$$.exe conf$$.file
14719 if test -d conf$$.dir; then
14720   rm -f conf$$.dir/conf$$.file
14721 else
14722   rm -f conf$$.dir
14723   mkdir conf$$.dir 2>/dev/null
14724 fi
14725 if (echo >conf$$.file) 2>/dev/null; then
14726   if ln -s conf$$.file conf$$ 2>/dev/null; then
14727     as_ln_s='ln -s'
14728     # ... but there are two gotchas:
14729     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14730     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14731     # In both cases, we have to default to `cp -p'.
14732     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14733       as_ln_s='cp -p'
14734   elif ln conf$$.file conf$$ 2>/dev/null; then
14735     as_ln_s=ln
14736   else
14737     as_ln_s='cp -p'
14738   fi
14739 else
14740   as_ln_s='cp -p'
14741 fi
14742 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14743 rmdir conf$$.dir 2>/dev/null
14744
14745
14746 # as_fn_mkdir_p
14747 # -------------
14748 # Create "$as_dir" as a directory, including parents if necessary.
14749 as_fn_mkdir_p ()
14750 {
14751
14752   case $as_dir in #(
14753   -*) as_dir=./$as_dir;;
14754   esac
14755   test -d "$as_dir" || eval $as_mkdir_p || {
14756     as_dirs=
14757     while :; do
14758       case $as_dir in #(
14759       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14760       *) as_qdir=$as_dir;;
14761       esac
14762       as_dirs="'$as_qdir' $as_dirs"
14763       as_dir=`$as_dirname -- "$as_dir" ||
14764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14765          X"$as_dir" : 'X\(//\)[^/]' \| \
14766          X"$as_dir" : 'X\(//\)$' \| \
14767          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14768 $as_echo X"$as_dir" |
14769     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14770             s//\1/
14771             q
14772           }
14773           /^X\(\/\/\)[^/].*/{
14774             s//\1/
14775             q
14776           }
14777           /^X\(\/\/\)$/{
14778             s//\1/
14779             q
14780           }
14781           /^X\(\/\).*/{
14782             s//\1/
14783             q
14784           }
14785           s/.*/./; q'`
14786       test -d "$as_dir" && break
14787     done
14788     test -z "$as_dirs" || eval "mkdir $as_dirs"
14789   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14790
14791
14792 } # as_fn_mkdir_p
14793 if mkdir -p . 2>/dev/null; then
14794   as_mkdir_p='mkdir -p "$as_dir"'
14795 else
14796   test -d ./-p && rmdir ./-p
14797   as_mkdir_p=false
14798 fi
14799
14800 if test -x / >/dev/null 2>&1; then
14801   as_test_x='test -x'
14802 else
14803   if ls -dL / >/dev/null 2>&1; then
14804     as_ls_L_option=L
14805   else
14806     as_ls_L_option=
14807   fi
14808   as_test_x='
14809     eval sh -c '\''
14810       if test -d "$1"; then
14811         test -d "$1/.";
14812       else
14813         case $1 in #(
14814         -*)set "./$1";;
14815         esac;
14816         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14817         ???[sx]*):;;*)false;;esac;fi
14818     '\'' sh
14819   '
14820 fi
14821 as_executable_p=$as_test_x
14822
14823 # Sed expression to map a string onto a valid CPP name.
14824 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14825
14826 # Sed expression to map a string onto a valid variable name.
14827 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14828
14829
14830 exec 6>&1
14831 ## ----------------------------------- ##
14832 ## Main body of $CONFIG_STATUS script. ##
14833 ## ----------------------------------- ##
14834 _ASEOF
14835 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14836
14837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14838 # Save the log message, to keep $0 and so on meaningful, and to
14839 # report actual input values of CONFIG_FILES etc. instead of their
14840 # values after options handling.
14841 ac_log="
14842 This file was extended by e_dbus $as_me 1.7.1, which was
14843 generated by GNU Autoconf 2.67.  Invocation command line was
14844
14845   CONFIG_FILES    = $CONFIG_FILES
14846   CONFIG_HEADERS  = $CONFIG_HEADERS
14847   CONFIG_LINKS    = $CONFIG_LINKS
14848   CONFIG_COMMANDS = $CONFIG_COMMANDS
14849   $ $0 $@
14850
14851 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14852 "
14853
14854 _ACEOF
14855
14856 case $ac_config_files in *"
14857 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14858 esac
14859
14860 case $ac_config_headers in *"
14861 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14862 esac
14863
14864
14865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14866 # Files that config.status was made for.
14867 config_files="$ac_config_files"
14868 config_headers="$ac_config_headers"
14869 config_commands="$ac_config_commands"
14870
14871 _ACEOF
14872
14873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14874 ac_cs_usage="\
14875 \`$as_me' instantiates files and other configuration actions
14876 from templates according to the current configuration.  Unless the files
14877 and actions are specified as TAGs, all are instantiated by default.
14878
14879 Usage: $0 [OPTION]... [TAG]...
14880
14881   -h, --help       print this help, then exit
14882   -V, --version    print version number and configuration settings, then exit
14883       --config     print configuration, then exit
14884   -q, --quiet, --silent
14885                    do not print progress messages
14886   -d, --debug      don't remove temporary files
14887       --recheck    update $as_me by reconfiguring in the same conditions
14888       --file=FILE[:TEMPLATE]
14889                    instantiate the configuration file FILE
14890       --header=FILE[:TEMPLATE]
14891                    instantiate the configuration header FILE
14892
14893 Configuration files:
14894 $config_files
14895
14896 Configuration headers:
14897 $config_headers
14898
14899 Configuration commands:
14900 $config_commands
14901
14902 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14903
14904 _ACEOF
14905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14906 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14907 ac_cs_version="\\
14908 e_dbus config.status 1.7.1
14909 configured by $0, generated by GNU Autoconf 2.67,
14910   with options \\"\$ac_cs_config\\"
14911
14912 Copyright (C) 2010 Free Software Foundation, Inc.
14913 This config.status script is free software; the Free Software Foundation
14914 gives unlimited permission to copy, distribute and modify it."
14915
14916 ac_pwd='$ac_pwd'
14917 srcdir='$srcdir'
14918 INSTALL='$INSTALL'
14919 MKDIR_P='$MKDIR_P'
14920 AWK='$AWK'
14921 test -n "\$AWK" || AWK=awk
14922 _ACEOF
14923
14924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14925 # The default lists apply if the user does not specify any file.
14926 ac_need_defaults=:
14927 while test $# != 0
14928 do
14929   case $1 in
14930   --*=?*)
14931     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14932     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14933     ac_shift=:
14934     ;;
14935   --*=)
14936     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14937     ac_optarg=
14938     ac_shift=:
14939     ;;
14940   *)
14941     ac_option=$1
14942     ac_optarg=$2
14943     ac_shift=shift
14944     ;;
14945   esac
14946
14947   case $ac_option in
14948   # Handling of the options.
14949   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14950     ac_cs_recheck=: ;;
14951   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14952     $as_echo "$ac_cs_version"; exit ;;
14953   --config | --confi | --conf | --con | --co | --c )
14954     $as_echo "$ac_cs_config"; exit ;;
14955   --debug | --debu | --deb | --de | --d | -d )
14956     debug=: ;;
14957   --file | --fil | --fi | --f )
14958     $ac_shift
14959     case $ac_optarg in
14960     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14961     '') as_fn_error $? "missing file argument" ;;
14962     esac
14963     as_fn_append CONFIG_FILES " '$ac_optarg'"
14964     ac_need_defaults=false;;
14965   --header | --heade | --head | --hea )
14966     $ac_shift
14967     case $ac_optarg in
14968     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14969     esac
14970     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14971     ac_need_defaults=false;;
14972   --he | --h)
14973     # Conflict between --help and --header
14974     as_fn_error $? "ambiguous option: \`$1'
14975 Try \`$0 --help' for more information.";;
14976   --help | --hel | -h )
14977     $as_echo "$ac_cs_usage"; exit ;;
14978   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14979   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14980     ac_cs_silent=: ;;
14981
14982   # This is an error.
14983   -*) as_fn_error $? "unrecognized option: \`$1'
14984 Try \`$0 --help' for more information." ;;
14985
14986   *) as_fn_append ac_config_targets " $1"
14987      ac_need_defaults=false ;;
14988
14989   esac
14990   shift
14991 done
14992
14993 ac_configure_extra_args=
14994
14995 if $ac_cs_silent; then
14996   exec 6>/dev/null
14997   ac_configure_extra_args="$ac_configure_extra_args --silent"
14998 fi
14999
15000 _ACEOF
15001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15002 if \$ac_cs_recheck; then
15003   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15004   shift
15005   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15006   CONFIG_SHELL='$SHELL'
15007   export CONFIG_SHELL
15008   exec "\$@"
15009 fi
15010
15011 _ACEOF
15012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15013 exec 5>>config.log
15014 {
15015   echo
15016   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15017 ## Running $as_me. ##
15018 _ASBOX
15019   $as_echo "$ac_log"
15020 } >&5
15021
15022 _ACEOF
15023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15024 #
15025 # INIT-COMMANDS
15026 #
15027 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15028
15029
15030 # The HP-UX ksh and POSIX shell print the target directory to stdout
15031 # if CDPATH is set.
15032 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15033
15034 sed_quote_subst='$sed_quote_subst'
15035 double_quote_subst='$double_quote_subst'
15036 delay_variable_subst='$delay_variable_subst'
15037 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
15038 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15039 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15040 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15041 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15042 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15043 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15044 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15045 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15046 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15047 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15048 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15049 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15050 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15051 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15052 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15053 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15054 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15055 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15056 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15057 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15058 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15059 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15060 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15061 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15062 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15063 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15064 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15065 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15066 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15067 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15068 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15069 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15070 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15071 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15072 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15073 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15074 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15075 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15076 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15077 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15078 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15079 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15080 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15081 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15082 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15083 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15084 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15085 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15086 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15087 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15088 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15089 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15090 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15091 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15092 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15093 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15094 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15095 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15096 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15097 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15098 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15099 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15100 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15101 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15102 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15103 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15104 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15105 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15106 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15107 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15108 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15109 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15110 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15111 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15112 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15113 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15114 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15115 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15116 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15117 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15118 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15119 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15120 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15121 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15122 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15123 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15124 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15125 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15126 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15127 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15128 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15129 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15130 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15131 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15132 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15133 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15134 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15135 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15136 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15137 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15138 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15139 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15140 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15141 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15142 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15143 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15144 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15145 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15146 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15147 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15148 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15149 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15150 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15151 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15152 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15153 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15154 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15155 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15156 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15157
15158 LTCC='$LTCC'
15159 LTCFLAGS='$LTCFLAGS'
15160 compiler='$compiler_DEFAULT'
15161
15162 # Quote evaled strings.
15163 for var in SED \
15164 GREP \
15165 EGREP \
15166 FGREP \
15167 LD \
15168 NM \
15169 LN_S \
15170 lt_SP2NL \
15171 lt_NL2SP \
15172 reload_flag \
15173 deplibs_check_method \
15174 file_magic_cmd \
15175 AR \
15176 AR_FLAGS \
15177 STRIP \
15178 RANLIB \
15179 CC \
15180 CFLAGS \
15181 compiler \
15182 lt_cv_sys_global_symbol_pipe \
15183 lt_cv_sys_global_symbol_to_cdecl \
15184 lt_cv_sys_global_symbol_to_c_name_address \
15185 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15186 SHELL \
15187 ECHO \
15188 lt_prog_compiler_no_builtin_flag \
15189 lt_prog_compiler_wl \
15190 lt_prog_compiler_pic \
15191 lt_prog_compiler_static \
15192 lt_cv_prog_compiler_c_o \
15193 need_locks \
15194 DSYMUTIL \
15195 NMEDIT \
15196 LIPO \
15197 OTOOL \
15198 OTOOL64 \
15199 shrext_cmds \
15200 export_dynamic_flag_spec \
15201 whole_archive_flag_spec \
15202 compiler_needs_object \
15203 with_gnu_ld \
15204 allow_undefined_flag \
15205 no_undefined_flag \
15206 hardcode_libdir_flag_spec \
15207 hardcode_libdir_flag_spec_ld \
15208 hardcode_libdir_separator \
15209 fix_srcfile_path \
15210 exclude_expsyms \
15211 include_expsyms \
15212 file_list_spec \
15213 variables_saved_for_relink \
15214 libname_spec \
15215 library_names_spec \
15216 soname_spec \
15217 finish_eval \
15218 old_striplib \
15219 striplib; do
15220     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15221     *[\\\\\\\`\\"\\\$]*)
15222       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15223       ;;
15224     *)
15225       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15226       ;;
15227     esac
15228 done
15229
15230 # Double-quote double-evaled strings.
15231 for var in reload_cmds \
15232 old_postinstall_cmds \
15233 old_postuninstall_cmds \
15234 old_archive_cmds \
15235 extract_expsyms_cmds \
15236 old_archive_from_new_cmds \
15237 old_archive_from_expsyms_cmds \
15238 archive_cmds \
15239 archive_expsym_cmds \
15240 module_cmds \
15241 module_expsym_cmds \
15242 export_symbols_cmds \
15243 prelink_cmds \
15244 postinstall_cmds \
15245 postuninstall_cmds \
15246 finish_cmds \
15247 sys_lib_search_path_spec \
15248 sys_lib_dlsearch_path_spec; do
15249     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15250     *[\\\\\\\`\\"\\\$]*)
15251       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15252       ;;
15253     *)
15254       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15255       ;;
15256     esac
15257 done
15258
15259 # Fix-up fallback echo if it was mangled by the above quoting rules.
15260 case \$lt_ECHO in
15261 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15262   ;;
15263 esac
15264
15265 ac_aux_dir='$ac_aux_dir'
15266 xsi_shell='$xsi_shell'
15267 lt_shell_append='$lt_shell_append'
15268
15269 # See if we are running on zsh, and set the options which allow our
15270 # commands through without removal of \ escapes INIT.
15271 if test -n "\${ZSH_VERSION+set}" ; then
15272    setopt NO_GLOB_SUBST
15273 fi
15274
15275
15276     PACKAGE='$PACKAGE'
15277     VERSION='$VERSION'
15278     TIMESTAMP='$TIMESTAMP'
15279     RM='$RM'
15280     ofile='$ofile'
15281
15282
15283
15284
15285 _ACEOF
15286
15287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15288
15289 # Handling of arguments.
15290 for ac_config_target in $ac_config_targets
15291 do
15292   case $ac_config_target in
15293     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15294     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15295     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15296     "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
15297     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15298     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15299     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15300     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15301     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15302     "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
15303     "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
15304     "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
15305     "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
15306     "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
15307     "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
15308     "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
15309     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
15310     "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
15311     "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
15312     "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
15313     "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
15314     "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
15315     "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
15316     "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
15317
15318   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
15319   esac
15320 done
15321
15322
15323 # If the user did not use the arguments to specify the items to instantiate,
15324 # then the envvar interface is used.  Set only those that are not.
15325 # We use the long form for the default assignment because of an extremely
15326 # bizarre bug on SunOS 4.1.3.
15327 if $ac_need_defaults; then
15328   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15329   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15330   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15331 fi
15332
15333 # Have a temporary directory for convenience.  Make it in the build tree
15334 # simply because there is no reason against having it here, and in addition,
15335 # creating and moving files from /tmp can sometimes cause problems.
15336 # Hook for its removal unless debugging.
15337 # Note that there is a small window in which the directory will not be cleaned:
15338 # after its creation but before its name has been assigned to `$tmp'.
15339 $debug ||
15340 {
15341   tmp=
15342   trap 'exit_status=$?
15343   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15344 ' 0
15345   trap 'as_fn_exit 1' 1 2 13 15
15346 }
15347 # Create a (secure) tmp directory for tmp files.
15348
15349 {
15350   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15351   test -n "$tmp" && test -d "$tmp"
15352 }  ||
15353 {
15354   tmp=./conf$$-$RANDOM
15355   (umask 077 && mkdir "$tmp")
15356 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15357
15358 # Set up the scripts for CONFIG_FILES section.
15359 # No need to generate them if there are no CONFIG_FILES.
15360 # This happens for instance with `./config.status config.h'.
15361 if test -n "$CONFIG_FILES"; then
15362
15363
15364 ac_cr=`echo X | tr X '\015'`
15365 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15366 # But we know of no other shell where ac_cr would be empty at this
15367 # point, so we can use a bashism as a fallback.
15368 if test "x$ac_cr" = x; then
15369   eval ac_cr=\$\'\\r\'
15370 fi
15371 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15372 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15373   ac_cs_awk_cr='\\r'
15374 else
15375   ac_cs_awk_cr=$ac_cr
15376 fi
15377
15378 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15379 _ACEOF
15380
15381
15382 {
15383   echo "cat >conf$$subs.awk <<_ACEOF" &&
15384   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15385   echo "_ACEOF"
15386 } >conf$$subs.sh ||
15387   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15388 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15389 ac_delim='%!_!# '
15390 for ac_last_try in false false false false false :; do
15391   . ./conf$$subs.sh ||
15392     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15393
15394   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15395   if test $ac_delim_n = $ac_delim_num; then
15396     break
15397   elif $ac_last_try; then
15398     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15399   else
15400     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15401   fi
15402 done
15403 rm -f conf$$subs.sh
15404
15405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15406 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15407 _ACEOF
15408 sed -n '
15409 h
15410 s/^/S["/; s/!.*/"]=/
15411 p
15412 g
15413 s/^[^!]*!//
15414 :repl
15415 t repl
15416 s/'"$ac_delim"'$//
15417 t delim
15418 :nl
15419 h
15420 s/\(.\{148\}\)..*/\1/
15421 t more1
15422 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15423 p
15424 n
15425 b repl
15426 :more1
15427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15428 p
15429 g
15430 s/.\{148\}//
15431 t nl
15432 :delim
15433 h
15434 s/\(.\{148\}\)..*/\1/
15435 t more2
15436 s/["\\]/\\&/g; s/^/"/; s/$/"/
15437 p
15438 b
15439 :more2
15440 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15441 p
15442 g
15443 s/.\{148\}//
15444 t delim
15445 ' <conf$$subs.awk | sed '
15446 /^[^""]/{
15447   N
15448   s/\n//
15449 }
15450 ' >>$CONFIG_STATUS || ac_write_fail=1
15451 rm -f conf$$subs.awk
15452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15453 _ACAWK
15454 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15455   for (key in S) S_is_set[key] = 1
15456   FS = "\a"
15457
15458 }
15459 {
15460   line = $ 0
15461   nfields = split(line, field, "@")
15462   substed = 0
15463   len = length(field[1])
15464   for (i = 2; i < nfields; i++) {
15465     key = field[i]
15466     keylen = length(key)
15467     if (S_is_set[key]) {
15468       value = S[key]
15469       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15470       len += length(value) + length(field[++i])
15471       substed = 1
15472     } else
15473       len += 1 + keylen
15474   }
15475
15476   print line
15477 }
15478
15479 _ACAWK
15480 _ACEOF
15481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15482 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15483   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15484 else
15485   cat
15486 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15487   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15488 _ACEOF
15489
15490 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15491 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15492 # trailing colons and then remove the whole line if VPATH becomes empty
15493 # (actually we leave an empty line to preserve line numbers).
15494 if test "x$srcdir" = x.; then
15495   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15496 h
15497 s///
15498 s/^/:/
15499 s/[      ]*$/:/
15500 s/:\$(srcdir):/:/g
15501 s/:\${srcdir}:/:/g
15502 s/:@srcdir@:/:/g
15503 s/^:*//
15504 s/:*$//
15505 x
15506 s/\(=[   ]*\).*/\1/
15507 G
15508 s/\n//
15509 s/^[^=]*=[       ]*$//
15510 }'
15511 fi
15512
15513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15514 fi # test -n "$CONFIG_FILES"
15515
15516 # Set up the scripts for CONFIG_HEADERS section.
15517 # No need to generate them if there are no CONFIG_HEADERS.
15518 # This happens for instance with `./config.status Makefile'.
15519 if test -n "$CONFIG_HEADERS"; then
15520 cat >"$tmp/defines.awk" <<\_ACAWK ||
15521 BEGIN {
15522 _ACEOF
15523
15524 # Transform confdefs.h into an awk script `defines.awk', embedded as
15525 # here-document in config.status, that substitutes the proper values into
15526 # config.h.in to produce config.h.
15527
15528 # Create a delimiter string that does not exist in confdefs.h, to ease
15529 # handling of long lines.
15530 ac_delim='%!_!# '
15531 for ac_last_try in false false :; do
15532   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15533   if test -z "$ac_t"; then
15534     break
15535   elif $ac_last_try; then
15536     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15537   else
15538     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15539   fi
15540 done
15541
15542 # For the awk script, D is an array of macro values keyed by name,
15543 # likewise P contains macro parameters if any.  Preserve backslash
15544 # newline sequences.
15545
15546 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15547 sed -n '
15548 s/.\{148\}/&'"$ac_delim"'/g
15549 t rset
15550 :rset
15551 s/^[     ]*#[    ]*define[       ][      ]*/ /
15552 t def
15553 d
15554 :def
15555 s/\\$//
15556 t bsnl
15557 s/["\\]/\\&/g
15558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15559 D["\1"]=" \3"/p
15560 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15561 d
15562 :bsnl
15563 s/["\\]/\\&/g
15564 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15565 D["\1"]=" \3\\\\\\n"\\/p
15566 t cont
15567 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15568 t cont
15569 d
15570 :cont
15571 n
15572 s/.\{148\}/&'"$ac_delim"'/g
15573 t clear
15574 :clear
15575 s/\\$//
15576 t bsnlc
15577 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15578 d
15579 :bsnlc
15580 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15581 b cont
15582 ' <confdefs.h | sed '
15583 s/'"$ac_delim"'/"\\\
15584 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15585
15586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15587   for (key in D) D_is_set[key] = 1
15588   FS = "\a"
15589 }
15590 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15591   line = \$ 0
15592   split(line, arg, " ")
15593   if (arg[1] == "#") {
15594     defundef = arg[2]
15595     mac1 = arg[3]
15596   } else {
15597     defundef = substr(arg[1], 2)
15598     mac1 = arg[2]
15599   }
15600   split(mac1, mac2, "(") #)
15601   macro = mac2[1]
15602   prefix = substr(line, 1, index(line, defundef) - 1)
15603   if (D_is_set[macro]) {
15604     # Preserve the white space surrounding the "#".
15605     print prefix "define", macro P[macro] D[macro]
15606     next
15607   } else {
15608     # Replace #undef with comments.  This is necessary, for example,
15609     # in the case of _POSIX_SOURCE, which is predefined and required
15610     # on some systems where configure will not decide to define it.
15611     if (defundef == "undef") {
15612       print "/*", prefix defundef, macro, "*/"
15613       next
15614     }
15615   }
15616 }
15617 { print }
15618 _ACAWK
15619 _ACEOF
15620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15621   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15622 fi # test -n "$CONFIG_HEADERS"
15623
15624
15625 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15626 shift
15627 for ac_tag
15628 do
15629   case $ac_tag in
15630   :[FHLC]) ac_mode=$ac_tag; continue;;
15631   esac
15632   case $ac_mode$ac_tag in
15633   :[FHL]*:*);;
15634   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
15635   :[FH]-) ac_tag=-:-;;
15636   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15637   esac
15638   ac_save_IFS=$IFS
15639   IFS=:
15640   set x $ac_tag
15641   IFS=$ac_save_IFS
15642   shift
15643   ac_file=$1
15644   shift
15645
15646   case $ac_mode in
15647   :L) ac_source=$1;;
15648   :[FH])
15649     ac_file_inputs=
15650     for ac_f
15651     do
15652       case $ac_f in
15653       -) ac_f="$tmp/stdin";;
15654       *) # Look for the file first in the build tree, then in the source tree
15655          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15656          # because $ac_f cannot contain `:'.
15657          test -f "$ac_f" ||
15658            case $ac_f in
15659            [\\/$]*) false;;
15660            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15661            esac ||
15662            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
15663       esac
15664       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15665       as_fn_append ac_file_inputs " '$ac_f'"
15666     done
15667
15668     # Let's still pretend it is `configure' which instantiates (i.e., don't
15669     # use $as_me), people would be surprised to read:
15670     #    /* config.h.  Generated by config.status.  */
15671     configure_input='Generated from '`
15672           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15673         `' by configure.'
15674     if test x"$ac_file" != x-; then
15675       configure_input="$ac_file.  $configure_input"
15676       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15677 $as_echo "$as_me: creating $ac_file" >&6;}
15678     fi
15679     # Neutralize special characters interpreted by sed in replacement strings.
15680     case $configure_input in #(
15681     *\&* | *\|* | *\\* )
15682        ac_sed_conf_input=`$as_echo "$configure_input" |
15683        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15684     *) ac_sed_conf_input=$configure_input;;
15685     esac
15686
15687     case $ac_tag in
15688     *:-:* | *:-) cat >"$tmp/stdin" \
15689       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
15690     esac
15691     ;;
15692   esac
15693
15694   ac_dir=`$as_dirname -- "$ac_file" ||
15695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15696          X"$ac_file" : 'X\(//\)[^/]' \| \
15697          X"$ac_file" : 'X\(//\)$' \| \
15698          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15699 $as_echo X"$ac_file" |
15700     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15701             s//\1/
15702             q
15703           }
15704           /^X\(\/\/\)[^/].*/{
15705             s//\1/
15706             q
15707           }
15708           /^X\(\/\/\)$/{
15709             s//\1/
15710             q
15711           }
15712           /^X\(\/\).*/{
15713             s//\1/
15714             q
15715           }
15716           s/.*/./; q'`
15717   as_dir="$ac_dir"; as_fn_mkdir_p
15718   ac_builddir=.
15719
15720 case "$ac_dir" in
15721 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15722 *)
15723   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15724   # A ".." for each directory in $ac_dir_suffix.
15725   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15726   case $ac_top_builddir_sub in
15727   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15728   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15729   esac ;;
15730 esac
15731 ac_abs_top_builddir=$ac_pwd
15732 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15733 # for backward compatibility:
15734 ac_top_builddir=$ac_top_build_prefix
15735
15736 case $srcdir in
15737   .)  # We are building in place.
15738     ac_srcdir=.
15739     ac_top_srcdir=$ac_top_builddir_sub
15740     ac_abs_top_srcdir=$ac_pwd ;;
15741   [\\/]* | ?:[\\/]* )  # Absolute name.
15742     ac_srcdir=$srcdir$ac_dir_suffix;
15743     ac_top_srcdir=$srcdir
15744     ac_abs_top_srcdir=$srcdir ;;
15745   *) # Relative name.
15746     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15747     ac_top_srcdir=$ac_top_build_prefix$srcdir
15748     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15749 esac
15750 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15751
15752
15753   case $ac_mode in
15754   :F)
15755   #
15756   # CONFIG_FILE
15757   #
15758
15759   case $INSTALL in
15760   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15761   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15762   esac
15763   ac_MKDIR_P=$MKDIR_P
15764   case $MKDIR_P in
15765   [\\/$]* | ?:[\\/]* ) ;;
15766   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15767   esac
15768 _ACEOF
15769
15770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15771 # If the template does not know about datarootdir, expand it.
15772 # FIXME: This hack should be removed a few years after 2.60.
15773 ac_datarootdir_hack=; ac_datarootdir_seen=
15774 ac_sed_dataroot='
15775 /datarootdir/ {
15776   p
15777   q
15778 }
15779 /@datadir@/p
15780 /@docdir@/p
15781 /@infodir@/p
15782 /@localedir@/p
15783 /@mandir@/p'
15784 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15785 *datarootdir*) ac_datarootdir_seen=yes;;
15786 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15787   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15788 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15789 _ACEOF
15790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15791   ac_datarootdir_hack='
15792   s&@datadir@&$datadir&g
15793   s&@docdir@&$docdir&g
15794   s&@infodir@&$infodir&g
15795   s&@localedir@&$localedir&g
15796   s&@mandir@&$mandir&g
15797   s&\\\${datarootdir}&$datarootdir&g' ;;
15798 esac
15799 _ACEOF
15800
15801 # Neutralize VPATH when `$srcdir' = `.'.
15802 # Shell code in configure.ac might set extrasub.
15803 # FIXME: do we really want to maintain this feature?
15804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15805 ac_sed_extra="$ac_vpsub
15806 $extrasub
15807 _ACEOF
15808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15809 :t
15810 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15811 s|@configure_input@|$ac_sed_conf_input|;t t
15812 s&@top_builddir@&$ac_top_builddir_sub&;t t
15813 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15814 s&@srcdir@&$ac_srcdir&;t t
15815 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15816 s&@top_srcdir@&$ac_top_srcdir&;t t
15817 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15818 s&@builddir@&$ac_builddir&;t t
15819 s&@abs_builddir@&$ac_abs_builddir&;t t
15820 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15821 s&@INSTALL@&$ac_INSTALL&;t t
15822 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15823 $ac_datarootdir_hack
15824 "
15825 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15826   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15827
15828 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15829   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15830   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15831   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15832 which seems to be undefined.  Please make sure it is defined" >&5
15833 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15834 which seems to be undefined.  Please make sure it is defined" >&2;}
15835
15836   rm -f "$tmp/stdin"
15837   case $ac_file in
15838   -) cat "$tmp/out" && rm -f "$tmp/out";;
15839   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15840   esac \
15841   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15842  ;;
15843   :H)
15844   #
15845   # CONFIG_HEADER
15846   #
15847   if test x"$ac_file" != x-; then
15848     {
15849       $as_echo "/* $configure_input  */" \
15850       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15851     } >"$tmp/config.h" \
15852       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15853     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15854       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15855 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15856     else
15857       rm -f "$ac_file"
15858       mv "$tmp/config.h" "$ac_file" \
15859         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15860     fi
15861   else
15862     $as_echo "/* $configure_input  */" \
15863       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15864       || as_fn_error $? "could not create -" "$LINENO" 5
15865   fi
15866 # Compute "$ac_file"'s index in $config_headers.
15867 _am_arg="$ac_file"
15868 _am_stamp_count=1
15869 for _am_header in $config_headers :; do
15870   case $_am_header in
15871     $_am_arg | $_am_arg:* )
15872       break ;;
15873     * )
15874       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15875   esac
15876 done
15877 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15878 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15879          X"$_am_arg" : 'X\(//\)[^/]' \| \
15880          X"$_am_arg" : 'X\(//\)$' \| \
15881          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15882 $as_echo X"$_am_arg" |
15883     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15884             s//\1/
15885             q
15886           }
15887           /^X\(\/\/\)[^/].*/{
15888             s//\1/
15889             q
15890           }
15891           /^X\(\/\/\)$/{
15892             s//\1/
15893             q
15894           }
15895           /^X\(\/\).*/{
15896             s//\1/
15897             q
15898           }
15899           s/.*/./; q'`/stamp-h$_am_stamp_count
15900  ;;
15901
15902   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15903 $as_echo "$as_me: executing $ac_file commands" >&6;}
15904  ;;
15905   esac
15906
15907
15908   case $ac_file$ac_mode in
15909     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15910   # Autoconf 2.62 quotes --file arguments for eval, but not when files
15911   # are listed without --file.  Let's play safe and only enable the eval
15912   # if we detect the quoting.
15913   case $CONFIG_FILES in
15914   *\'*) eval set x "$CONFIG_FILES" ;;
15915   *)   set x $CONFIG_FILES ;;
15916   esac
15917   shift
15918   for mf
15919   do
15920     # Strip MF so we end up with the name of the file.
15921     mf=`echo "$mf" | sed -e 's/:.*$//'`
15922     # Check whether this is an Automake generated Makefile or not.
15923     # We used to match only the files named `Makefile.in', but
15924     # some people rename them; so instead we look at the file content.
15925     # Grep'ing the first line is not enough: some people post-process
15926     # each Makefile.in and add a new line on top of each file to say so.
15927     # Grep'ing the whole file is not good either: AIX grep has a line
15928     # limit of 2048, but all sed's we know have understand at least 4000.
15929     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15930       dirpart=`$as_dirname -- "$mf" ||
15931 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15932          X"$mf" : 'X\(//\)[^/]' \| \
15933          X"$mf" : 'X\(//\)$' \| \
15934          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15935 $as_echo X"$mf" |
15936     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15937             s//\1/
15938             q
15939           }
15940           /^X\(\/\/\)[^/].*/{
15941             s//\1/
15942             q
15943           }
15944           /^X\(\/\/\)$/{
15945             s//\1/
15946             q
15947           }
15948           /^X\(\/\).*/{
15949             s//\1/
15950             q
15951           }
15952           s/.*/./; q'`
15953     else
15954       continue
15955     fi
15956     # Extract the definition of DEPDIR, am__include, and am__quote
15957     # from the Makefile without running `make'.
15958     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15959     test -z "$DEPDIR" && continue
15960     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15961     test -z "am__include" && continue
15962     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15963     # When using ansi2knr, U may be empty or an underscore; expand it
15964     U=`sed -n 's/^U = //p' < "$mf"`
15965     # Find all dependency output files, they are included files with
15966     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15967     # simplest approach to changing $(DEPDIR) to its actual value in the
15968     # expansion.
15969     for file in `sed -n "
15970       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15971          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15972       # Make sure the directory exists.
15973       test -f "$dirpart/$file" && continue
15974       fdir=`$as_dirname -- "$file" ||
15975 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15976          X"$file" : 'X\(//\)[^/]' \| \
15977          X"$file" : 'X\(//\)$' \| \
15978          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15979 $as_echo X"$file" |
15980     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15981             s//\1/
15982             q
15983           }
15984           /^X\(\/\/\)[^/].*/{
15985             s//\1/
15986             q
15987           }
15988           /^X\(\/\/\)$/{
15989             s//\1/
15990             q
15991           }
15992           /^X\(\/\).*/{
15993             s//\1/
15994             q
15995           }
15996           s/.*/./; q'`
15997       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15998       # echo "creating $dirpart/$file"
15999       echo '# dummy' > "$dirpart/$file"
16000     done
16001   done
16002 }
16003  ;;
16004     "libtool":C)
16005
16006     # See if we are running on zsh, and set the options which allow our
16007     # commands through without removal of \ escapes.
16008     if test -n "${ZSH_VERSION+set}" ; then
16009       setopt NO_GLOB_SUBST
16010     fi
16011
16012     cfgfile="${ofile}T"
16013     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16014     $RM "$cfgfile"
16015
16016     cat <<_LT_EOF >> "$cfgfile"
16017 #! $SHELL
16018
16019 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16020 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16021 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16022 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16023 #
16024 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16025 #                 2006, 2007, 2008 Free Software Foundation, Inc.
16026 #   Written by Gordon Matzigkeit, 1996
16027 #
16028 #   This file is part of GNU Libtool.
16029 #
16030 # GNU Libtool is free software; you can redistribute it and/or
16031 # modify it under the terms of the GNU General Public License as
16032 # published by the Free Software Foundation; either version 2 of
16033 # the License, or (at your option) any later version.
16034 #
16035 # As a special exception to the GNU General Public License,
16036 # if you distribute this file as part of a program or library that
16037 # is built using GNU Libtool, you may include this file under the
16038 # same distribution terms that you use for the rest of that program.
16039 #
16040 # GNU Libtool is distributed in the hope that it will be useful,
16041 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16042 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16043 # GNU General Public License for more details.
16044 #
16045 # You should have received a copy of the GNU General Public License
16046 # along with GNU Libtool; see the file COPYING.  If not, a copy
16047 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16048 # obtained by writing to the Free Software Foundation, Inc.,
16049 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16050
16051
16052 # The names of the tagged configurations supported by this script.
16053 available_tags=""
16054
16055 # ### BEGIN LIBTOOL CONFIG
16056
16057 # Assembler program.
16058 AS=$AS
16059
16060 # DLL creation program.
16061 DLLTOOL=$DLLTOOL
16062
16063 # Object dumper program.
16064 OBJDUMP=$OBJDUMP
16065
16066 # Which release of libtool.m4 was used?
16067 macro_version=$macro_version
16068 macro_revision=$macro_revision
16069
16070 # Whether or not to build shared libraries.
16071 build_libtool_libs=$enable_shared
16072
16073 # Whether or not to build static libraries.
16074 build_old_libs=$enable_static
16075
16076 # What type of objects to build.
16077 pic_mode=$pic_mode
16078
16079 # Whether or not to optimize for fast installation.
16080 fast_install=$enable_fast_install
16081
16082 # The host system.
16083 host_alias=$host_alias
16084 host=$host
16085 host_os=$host_os
16086
16087 # The build system.
16088 build_alias=$build_alias
16089 build=$build
16090 build_os=$build_os
16091
16092 # A sed program that does not truncate output.
16093 SED=$lt_SED
16094
16095 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16096 Xsed="\$SED -e 1s/^X//"
16097
16098 # A grep program that handles long lines.
16099 GREP=$lt_GREP
16100
16101 # An ERE matcher.
16102 EGREP=$lt_EGREP
16103
16104 # A literal string matcher.
16105 FGREP=$lt_FGREP
16106
16107 # A BSD- or MS-compatible name lister.
16108 NM=$lt_NM
16109
16110 # Whether we need soft or hard links.
16111 LN_S=$lt_LN_S
16112
16113 # What is the maximum length of a command?
16114 max_cmd_len=$max_cmd_len
16115
16116 # Object file suffix (normally "o").
16117 objext=$ac_objext
16118
16119 # Executable file suffix (normally "").
16120 exeext=$exeext
16121
16122 # whether the shell understands "unset".
16123 lt_unset=$lt_unset
16124
16125 # turn spaces into newlines.
16126 SP2NL=$lt_lt_SP2NL
16127
16128 # turn newlines into spaces.
16129 NL2SP=$lt_lt_NL2SP
16130
16131 # How to create reloadable object files.
16132 reload_flag=$lt_reload_flag
16133 reload_cmds=$lt_reload_cmds
16134
16135 # Method to check whether dependent libraries are shared objects.
16136 deplibs_check_method=$lt_deplibs_check_method
16137
16138 # Command to use when deplibs_check_method == "file_magic".
16139 file_magic_cmd=$lt_file_magic_cmd
16140
16141 # The archiver.
16142 AR=$lt_AR
16143 AR_FLAGS=$lt_AR_FLAGS
16144
16145 # A symbol stripping program.
16146 STRIP=$lt_STRIP
16147
16148 # Commands used to install an old-style archive.
16149 RANLIB=$lt_RANLIB
16150 old_postinstall_cmds=$lt_old_postinstall_cmds
16151 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16152
16153 # A C compiler.
16154 LTCC=$lt_CC
16155
16156 # LTCC compiler flags.
16157 LTCFLAGS=$lt_CFLAGS
16158
16159 # Take the output of nm and produce a listing of raw symbols and C names.
16160 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16161
16162 # Transform the output of nm in a proper C declaration.
16163 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16164
16165 # Transform the output of nm in a C name address pair.
16166 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16167
16168 # Transform the output of nm in a C name address pair when lib prefix is needed.
16169 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16170
16171 # The name of the directory that contains temporary libtool files.
16172 objdir=$objdir
16173
16174 # Shell to use when invoking shell scripts.
16175 SHELL=$lt_SHELL
16176
16177 # An echo program that does not interpret backslashes.
16178 ECHO=$lt_ECHO
16179
16180 # Used to examine libraries when file_magic_cmd begins with "file".
16181 MAGIC_CMD=$MAGIC_CMD
16182
16183 # Must we lock files when doing compilation?
16184 need_locks=$lt_need_locks
16185
16186 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16187 DSYMUTIL=$lt_DSYMUTIL
16188
16189 # Tool to change global to local symbols on Mac OS X.
16190 NMEDIT=$lt_NMEDIT
16191
16192 # Tool to manipulate fat objects and archives on Mac OS X.
16193 LIPO=$lt_LIPO
16194
16195 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16196 OTOOL=$lt_OTOOL
16197
16198 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16199 OTOOL64=$lt_OTOOL64
16200
16201 # Old archive suffix (normally "a").
16202 libext=$libext
16203
16204 # Shared library suffix (normally ".so").
16205 shrext_cmds=$lt_shrext_cmds
16206
16207 # The commands to extract the exported symbol list from a shared archive.
16208 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16209
16210 # Variables whose values should be saved in libtool wrapper scripts and
16211 # restored at link time.
16212 variables_saved_for_relink=$lt_variables_saved_for_relink
16213
16214 # Do we need the "lib" prefix for modules?
16215 need_lib_prefix=$need_lib_prefix
16216
16217 # Do we need a version for libraries?
16218 need_version=$need_version
16219
16220 # Library versioning type.
16221 version_type=$version_type
16222
16223 # Shared library runtime path variable.
16224 runpath_var=$runpath_var
16225
16226 # Shared library path variable.
16227 shlibpath_var=$shlibpath_var
16228
16229 # Is shlibpath searched before the hard-coded library search path?
16230 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16231
16232 # Format of library name prefix.
16233 libname_spec=$lt_libname_spec
16234
16235 # List of archive names.  First name is the real one, the rest are links.
16236 # The last name is the one that the linker finds with -lNAME
16237 library_names_spec=$lt_library_names_spec
16238
16239 # The coded name of the library, if different from the real name.
16240 soname_spec=$lt_soname_spec
16241
16242 # Command to use after installation of a shared archive.
16243 postinstall_cmds=$lt_postinstall_cmds
16244
16245 # Command to use after uninstallation of a shared archive.
16246 postuninstall_cmds=$lt_postuninstall_cmds
16247
16248 # Commands used to finish a libtool library installation in a directory.
16249 finish_cmds=$lt_finish_cmds
16250
16251 # As "finish_cmds", except a single script fragment to be evaled but
16252 # not shown.
16253 finish_eval=$lt_finish_eval
16254
16255 # Whether we should hardcode library paths into libraries.
16256 hardcode_into_libs=$hardcode_into_libs
16257
16258 # Compile-time system search path for libraries.
16259 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16260
16261 # Run-time system search path for libraries.
16262 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16263
16264 # Whether dlopen is supported.
16265 dlopen_support=$enable_dlopen
16266
16267 # Whether dlopen of programs is supported.
16268 dlopen_self=$enable_dlopen_self
16269
16270 # Whether dlopen of statically linked programs is supported.
16271 dlopen_self_static=$enable_dlopen_self_static
16272
16273 # Commands to strip libraries.
16274 old_striplib=$lt_old_striplib
16275 striplib=$lt_striplib
16276
16277
16278 # The linker used to build libraries.
16279 LD=$lt_LD
16280
16281 # Commands used to build an old-style archive.
16282 old_archive_cmds=$lt_old_archive_cmds
16283
16284 # A language specific compiler.
16285 CC=$lt_compiler
16286
16287 # Is the compiler the GNU compiler?
16288 with_gcc=$GCC
16289
16290 # Compiler flag to turn off builtin functions.
16291 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16292
16293 # How to pass a linker flag through the compiler.
16294 wl=$lt_lt_prog_compiler_wl
16295
16296 # Additional compiler flags for building library objects.
16297 pic_flag=$lt_lt_prog_compiler_pic
16298
16299 # Compiler flag to prevent dynamic linking.
16300 link_static_flag=$lt_lt_prog_compiler_static
16301
16302 # Does compiler simultaneously support -c and -o options?
16303 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16304
16305 # Whether or not to add -lc for building shared libraries.
16306 build_libtool_need_lc=$archive_cmds_need_lc
16307
16308 # Whether or not to disallow shared libs when runtime libs are static.
16309 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16310
16311 # Compiler flag to allow reflexive dlopens.
16312 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16313
16314 # Compiler flag to generate shared objects directly from archives.
16315 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16316
16317 # Whether the compiler copes with passing no objects directly.
16318 compiler_needs_object=$lt_compiler_needs_object
16319
16320 # Create an old-style archive from a shared archive.
16321 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16322
16323 # Create a temporary old-style archive to link instead of a shared archive.
16324 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16325
16326 # Commands used to build a shared archive.
16327 archive_cmds=$lt_archive_cmds
16328 archive_expsym_cmds=$lt_archive_expsym_cmds
16329
16330 # Commands used to build a loadable module if different from building
16331 # a shared archive.
16332 module_cmds=$lt_module_cmds
16333 module_expsym_cmds=$lt_module_expsym_cmds
16334
16335 # Whether we are building with GNU ld or not.
16336 with_gnu_ld=$lt_with_gnu_ld
16337
16338 # Flag that allows shared libraries with undefined symbols to be built.
16339 allow_undefined_flag=$lt_allow_undefined_flag
16340
16341 # Flag that enforces no undefined symbols.
16342 no_undefined_flag=$lt_no_undefined_flag
16343
16344 # Flag to hardcode \$libdir into a binary during linking.
16345 # This must work even if \$libdir does not exist
16346 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16347
16348 # If ld is used when linking, flag to hardcode \$libdir into a binary
16349 # during linking.  This must work even if \$libdir does not exist.
16350 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16351
16352 # Whether we need a single "-rpath" flag with a separated argument.
16353 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16354
16355 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16356 # DIR into the resulting binary.
16357 hardcode_direct=$hardcode_direct
16358
16359 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16360 # DIR into the resulting binary and the resulting library dependency is
16361 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16362 # library is relocated.
16363 hardcode_direct_absolute=$hardcode_direct_absolute
16364
16365 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16366 # into the resulting binary.
16367 hardcode_minus_L=$hardcode_minus_L
16368
16369 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16370 # into the resulting binary.
16371 hardcode_shlibpath_var=$hardcode_shlibpath_var
16372
16373 # Set to "yes" if building a shared library automatically hardcodes DIR
16374 # into the library and all subsequent libraries and executables linked
16375 # against it.
16376 hardcode_automatic=$hardcode_automatic
16377
16378 # Set to yes if linker adds runtime paths of dependent libraries
16379 # to runtime path list.
16380 inherit_rpath=$inherit_rpath
16381
16382 # Whether libtool must link a program against all its dependency libraries.
16383 link_all_deplibs=$link_all_deplibs
16384
16385 # Fix the shell variable \$srcfile for the compiler.
16386 fix_srcfile_path=$lt_fix_srcfile_path
16387
16388 # Set to "yes" if exported symbols are required.
16389 always_export_symbols=$always_export_symbols
16390
16391 # The commands to list exported symbols.
16392 export_symbols_cmds=$lt_export_symbols_cmds
16393
16394 # Symbols that should not be listed in the preloaded symbols.
16395 exclude_expsyms=$lt_exclude_expsyms
16396
16397 # Symbols that must always be exported.
16398 include_expsyms=$lt_include_expsyms
16399
16400 # Commands necessary for linking programs (against libraries) with templates.
16401 prelink_cmds=$lt_prelink_cmds
16402
16403 # Specify filename containing input files.
16404 file_list_spec=$lt_file_list_spec
16405
16406 # How to hardcode a shared library path into an executable.
16407 hardcode_action=$hardcode_action
16408
16409 # ### END LIBTOOL CONFIG
16410
16411 _LT_EOF
16412
16413   case $host_os in
16414   aix3*)
16415     cat <<\_LT_EOF >> "$cfgfile"
16416 # AIX sometimes has problems with the GCC collect2 program.  For some
16417 # reason, if we set the COLLECT_NAMES environment variable, the problems
16418 # vanish in a puff of smoke.
16419 if test "X${COLLECT_NAMES+set}" != Xset; then
16420   COLLECT_NAMES=
16421   export COLLECT_NAMES
16422 fi
16423 _LT_EOF
16424     ;;
16425   esac
16426
16427
16428 ltmain="$ac_aux_dir/ltmain.sh"
16429
16430
16431   # We use sed instead of cat because bash on DJGPP gets confused if
16432   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16433   # text mode, it properly converts lines to CR/LF.  This bash problem
16434   # is reportedly fixed, but why not run on old versions too?
16435   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16436     || (rm -f "$cfgfile"; exit 1)
16437
16438   case $xsi_shell in
16439   yes)
16440     cat << \_LT_EOF >> "$cfgfile"
16441
16442 # func_dirname file append nondir_replacement
16443 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16444 # otherwise set result to NONDIR_REPLACEMENT.
16445 func_dirname ()
16446 {
16447   case ${1} in
16448     */*) func_dirname_result="${1%/*}${2}" ;;
16449     *  ) func_dirname_result="${3}" ;;
16450   esac
16451 }
16452
16453 # func_basename file
16454 func_basename ()
16455 {
16456   func_basename_result="${1##*/}"
16457 }
16458
16459 # func_dirname_and_basename file append nondir_replacement
16460 # perform func_basename and func_dirname in a single function
16461 # call:
16462 #   dirname:  Compute the dirname of FILE.  If nonempty,
16463 #             add APPEND to the result, otherwise set result
16464 #             to NONDIR_REPLACEMENT.
16465 #             value returned in "$func_dirname_result"
16466 #   basename: Compute filename of FILE.
16467 #             value retuned in "$func_basename_result"
16468 # Implementation must be kept synchronized with func_dirname
16469 # and func_basename. For efficiency, we do not delegate to
16470 # those functions but instead duplicate the functionality here.
16471 func_dirname_and_basename ()
16472 {
16473   case ${1} in
16474     */*) func_dirname_result="${1%/*}${2}" ;;
16475     *  ) func_dirname_result="${3}" ;;
16476   esac
16477   func_basename_result="${1##*/}"
16478 }
16479
16480 # func_stripname prefix suffix name
16481 # strip PREFIX and SUFFIX off of NAME.
16482 # PREFIX and SUFFIX must not contain globbing or regex special
16483 # characters, hashes, percent signs, but SUFFIX may contain a leading
16484 # dot (in which case that matches only a dot).
16485 func_stripname ()
16486 {
16487   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16488   # positional parameters, so assign one to ordinary parameter first.
16489   func_stripname_result=${3}
16490   func_stripname_result=${func_stripname_result#"${1}"}
16491   func_stripname_result=${func_stripname_result%"${2}"}
16492 }
16493
16494 # func_opt_split
16495 func_opt_split ()
16496 {
16497   func_opt_split_opt=${1%%=*}
16498   func_opt_split_arg=${1#*=}
16499 }
16500
16501 # func_lo2o object
16502 func_lo2o ()
16503 {
16504   case ${1} in
16505     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16506     *)    func_lo2o_result=${1} ;;
16507   esac
16508 }
16509
16510 # func_xform libobj-or-source
16511 func_xform ()
16512 {
16513   func_xform_result=${1%.*}.lo
16514 }
16515
16516 # func_arith arithmetic-term...
16517 func_arith ()
16518 {
16519   func_arith_result=$(( $* ))
16520 }
16521
16522 # func_len string
16523 # STRING may not start with a hyphen.
16524 func_len ()
16525 {
16526   func_len_result=${#1}
16527 }
16528
16529 _LT_EOF
16530     ;;
16531   *) # Bourne compatible functions.
16532     cat << \_LT_EOF >> "$cfgfile"
16533
16534 # func_dirname file append nondir_replacement
16535 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16536 # otherwise set result to NONDIR_REPLACEMENT.
16537 func_dirname ()
16538 {
16539   # Extract subdirectory from the argument.
16540   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16541   if test "X$func_dirname_result" = "X${1}"; then
16542     func_dirname_result="${3}"
16543   else
16544     func_dirname_result="$func_dirname_result${2}"
16545   fi
16546 }
16547
16548 # func_basename file
16549 func_basename ()
16550 {
16551   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16552 }
16553
16554
16555 # func_stripname prefix suffix name
16556 # strip PREFIX and SUFFIX off of NAME.
16557 # PREFIX and SUFFIX must not contain globbing or regex special
16558 # characters, hashes, percent signs, but SUFFIX may contain a leading
16559 # dot (in which case that matches only a dot).
16560 # func_strip_suffix prefix name
16561 func_stripname ()
16562 {
16563   case ${2} in
16564     .*) func_stripname_result=`$ECHO "X${3}" \
16565            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16566     *)  func_stripname_result=`$ECHO "X${3}" \
16567            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16568   esac
16569 }
16570
16571 # sed scripts:
16572 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16573 my_sed_long_arg='1s/^-[^=]*=//'
16574
16575 # func_opt_split
16576 func_opt_split ()
16577 {
16578   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16579   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16580 }
16581
16582 # func_lo2o object
16583 func_lo2o ()
16584 {
16585   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16586 }
16587
16588 # func_xform libobj-or-source
16589 func_xform ()
16590 {
16591   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16592 }
16593
16594 # func_arith arithmetic-term...
16595 func_arith ()
16596 {
16597   func_arith_result=`expr "$@"`
16598 }
16599
16600 # func_len string
16601 # STRING may not start with a hyphen.
16602 func_len ()
16603 {
16604   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16605 }
16606
16607 _LT_EOF
16608 esac
16609
16610 case $lt_shell_append in
16611   yes)
16612     cat << \_LT_EOF >> "$cfgfile"
16613
16614 # func_append var value
16615 # Append VALUE to the end of shell variable VAR.
16616 func_append ()
16617 {
16618   eval "$1+=\$2"
16619 }
16620 _LT_EOF
16621     ;;
16622   *)
16623     cat << \_LT_EOF >> "$cfgfile"
16624
16625 # func_append var value
16626 # Append VALUE to the end of shell variable VAR.
16627 func_append ()
16628 {
16629   eval "$1=\$$1\$2"
16630 }
16631
16632 _LT_EOF
16633     ;;
16634   esac
16635
16636
16637   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16638     || (rm -f "$cfgfile"; exit 1)
16639
16640   mv -f "$cfgfile" "$ofile" ||
16641     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16642   chmod +x "$ofile"
16643
16644  ;;
16645
16646   esac
16647 done # for ac_tag
16648
16649
16650 as_fn_exit 0
16651 _ACEOF
16652 ac_clean_files=$ac_clean_files_save
16653
16654 test $ac_write_fail = 0 ||
16655   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16656
16657
16658 # configure is writing to config.log, and then calls config.status.
16659 # config.status does its own redirection, appending to config.log.
16660 # Unfortunately, on DOS this fails, as config.log is still kept open
16661 # by configure, so config.status won't be able to write to it; its
16662 # output is simply discarded.  So we exec the FD to /dev/null,
16663 # effectively closing config.log, so it can be properly (re)opened and
16664 # appended to by config.status.  When coming back to configure, we
16665 # need to make the FD available again.
16666 if test "$no_create" != yes; then
16667   ac_cs_success=:
16668   ac_config_status_args=
16669   test "$silent" = yes &&
16670     ac_config_status_args="$ac_config_status_args --quiet"
16671   exec 5>/dev/null
16672   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16673   exec 5>>config.log
16674   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16675   # would make configure fail if this is the last instruction.
16676   $ac_cs_success || as_fn_exit 1
16677 fi
16678 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16679   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16680 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16681 fi
16682
16683
16684
16685 #####################################################################
16686 ## Info
16687
16688 echo
16689 echo
16690 echo
16691 echo "------------------------------------------------------------------------"
16692 echo "$PACKAGE $VERSION"
16693 echo "------------------------------------------------------------------------"
16694 echo
16695 echo "Configuration Options Summary:"
16696 echo
16697 echo "  Modules:"
16698 echo
16699 echo "    EBluez.............: $enable_ebluez"
16700 echo "    EConnman (0.7x)....: $enable_econnman0_7x"
16701 echo "    EHal...............: $enable_ehal"
16702 echo "    ENotify............: $enable_enotify"
16703 echo "    EOfono.............: $enable_eofono"
16704 echo "    EUkit..............: $enable_eukit"
16705 echo
16706 echo "  Binaries:"
16707 echo
16708 echo "    EDbus test.........: $have_edbus_test"
16709 echo "    EDbus client test..: $have_edbus_test_client"
16710 echo "    EDbus async test...: $have_edbus_async_test"
16711 echo "    EDbus performance..: $have_edbus_performance_test"
16712 echo "    EBluez test........: $have_edbus_bluez_test"
16713 echo "    EConnman (0.7x)test: $have_edbus_connman0_7x_test"
16714 echo "    ENotify Daemon test: $have_edbus_notification_daemon_test"
16715 echo "    ENotify send.......: $have_edbus_notify_send"
16716 echo "    ENotify test.......: $have_edbus_notify_test"
16717 echo "    EOfono test........: $have_edbus_ofono_test"
16718 echo "    EUkit test.........: $have_edbus_ukit_test"
16719 echo
16720 echo "Documentation..........: ${build_doc}"
16721 echo
16722 echo "Compilation............: make (or gmake)"
16723 echo "  CPPFLAGS.............: $CPPFLAGS"
16724 echo "  CFLAGS...............: $CFLAGS"
16725 echo "  LDFLAGS..............: $LDFLAGS"
16726 echo
16727 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16728 echo "  prefix...............: $prefix"
16729 echo