Imported Upstream version 1.7.3
[platform/upstream/eeze.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for eeze 1.7.3.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='eeze'
572 PACKAGE_TARNAME='eeze'
573 PACKAGE_VERSION='1.7.3'
574 PACKAGE_STRING='eeze 1.7.3'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
576 PACKAGE_URL=''
577
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 requirement_eeze
620 BUILD_EEZE_SCANNER_FALSE
621 BUILD_EEZE_SCANNER_TRUE
622 EEZE_SCANNER_PRG
623 BUILD_EEZE_UMOUNT_FALSE
624 BUILD_EEZE_UMOUNT_TRUE
625 EEZE_UMOUNT_PRG
626 BUILD_EEZE_DISK_LS_FALSE
627 BUILD_EEZE_DISK_LS_TRUE
628 EEZE_DISK_LS_PRG
629 BUILD_EEZE_MOUNT_FALSE
630 BUILD_EEZE_MOUNT_TRUE
631 EEZE_MOUNT_PRG
632 BUILD_EEZE_UDEV_TEST_FALSE
633 BUILD_EEZE_UDEV_TEST_TRUE
634 EEZE_UDEV_TEST_PRG
635 NEW_LIBMOUNT_FALSE
636 NEW_LIBMOUNT_TRUE
637 OLD_LIBMOUNT_FALSE
638 OLD_LIBMOUNT_TRUE
639 with_eject
640 with_umount
641 with_mount
642 ECORE_CON_LIBS
643 ECORE_CON_CFLAGS
644 EET_LIBS
645 EET_CFLAGS
646 ECORE_FILE_LIBS
647 ECORE_FILE_CFLAGS
648 LIBMOUNT_LIBS
649 LIBMOUNT_CFLAGS
650 HAVE_EEZE_MOUNT_FALSE
651 HAVE_EEZE_MOUNT_TRUE
652 EEZE_LIBS
653 EEZE_CFLAGS
654 EFL_BUILD_DOC_FALSE
655 EFL_BUILD_DOC_TRUE
656 efl_doxygen
657 efl_have_doxygen
658 pkgconfig_requires_private
659 PKG_CONFIG_LIBDIR
660 PKG_CONFIG_PATH
661 PKG_CONFIG
662 VMAJ
663 release_info
664 version_info
665 CPP
666 OTOOL64
667 OTOOL
668 LIPO
669 NMEDIT
670 DSYMUTIL
671 MANIFEST_TOOL
672 RANLIB
673 ac_ct_AR
674 AR
675 DLLTOOL
676 OBJDUMP
677 LN_S
678 NM
679 ac_ct_DUMPBIN
680 DUMPBIN
681 LD
682 FGREP
683 EGREP
684 GREP
685 SED
686 am__fastdepCC_FALSE
687 am__fastdepCC_TRUE
688 CCDEPMODE
689 am__nodep
690 AMDEPBACKSLASH
691 AMDEP_FALSE
692 AMDEP_TRUE
693 am__quote
694 am__include
695 DEPDIR
696 OBJEXT
697 EXEEXT
698 ac_ct_CC
699 CPPFLAGS
700 LDFLAGS
701 CFLAGS
702 CC
703 host_os
704 host_vendor
705 host_cpu
706 host
707 build_os
708 build_vendor
709 build_cpu
710 build
711 LIBTOOL
712 AM_BACKSLASH
713 AM_DEFAULT_VERBOSITY
714 AM_DEFAULT_V
715 AM_V
716 am__untar
717 am__tar
718 AMTAR
719 am__leading_dot
720 SET_MAKE
721 AWK
722 mkdir_p
723 MKDIR_P
724 INSTALL_STRIP_PROGRAM
725 STRIP
726 install_sh
727 MAKEINFO
728 AUTOHEADER
729 AUTOMAKE
730 AUTOCONF
731 ACLOCAL
732 VERSION
733 PACKAGE
734 CYGPATH_W
735 am__isrc
736 INSTALL_DATA
737 INSTALL_SCRIPT
738 INSTALL_PROGRAM
739 target_alias
740 host_alias
741 build_alias
742 LIBS
743 ECHO_T
744 ECHO_N
745 ECHO_C
746 DEFS
747 mandir
748 localedir
749 libdir
750 psdir
751 pdfdir
752 dvidir
753 htmldir
754 infodir
755 docdir
756 oldincludedir
757 includedir
758 localstatedir
759 sharedstatedir
760 sysconfdir
761 datadir
762 datarootdir
763 libexecdir
764 sbindir
765 bindir
766 program_transform_name
767 prefix
768 exec_prefix
769 PACKAGE_URL
770 PACKAGE_BUGREPORT
771 PACKAGE_STRING
772 PACKAGE_VERSION
773 PACKAGE_TARNAME
774 PACKAGE_NAME
775 PATH_SEPARATOR
776 SHELL'
777 ac_subst_files=''
778 ac_user_opts='
779 enable_option_checking
780 enable_silent_rules
781 enable_shared
782 enable_static
783 with_pic
784 enable_fast_install
785 enable_dependency_tracking
786 with_gnu_ld
787 with_sysroot
788 enable_libtool_lock
789 enable_doc
790 with_doxygen
791 with_mount
792 with_umount
793 with_eject
794 enable_mtab
795 enable_ipv6
796 enable_eeze_udev_test
797 enable_eeze_mount
798 enable_eeze_disk_ls
799 enable_eeze_umount
800 enable_eeze_scanner
801 '
802       ac_precious_vars='build_alias
803 host_alias
804 target_alias
805 CC
806 CFLAGS
807 LDFLAGS
808 LIBS
809 CPPFLAGS
810 CPP
811 PKG_CONFIG
812 PKG_CONFIG_PATH
813 PKG_CONFIG_LIBDIR
814 EEZE_CFLAGS
815 EEZE_LIBS
816 LIBMOUNT_CFLAGS
817 LIBMOUNT_LIBS
818 ECORE_FILE_CFLAGS
819 ECORE_FILE_LIBS
820 EET_CFLAGS
821 EET_LIBS
822 ECORE_CON_CFLAGS
823 ECORE_CON_LIBS'
824
825
826 # Initialize some variables set by options.
827 ac_init_help=
828 ac_init_version=false
829 ac_unrecognized_opts=
830 ac_unrecognized_sep=
831 # The variables have the same names as the options, with
832 # dashes changed to underlines.
833 cache_file=/dev/null
834 exec_prefix=NONE
835 no_create=
836 no_recursion=
837 prefix=NONE
838 program_prefix=NONE
839 program_suffix=NONE
840 program_transform_name=s,x,x,
841 silent=
842 site=
843 srcdir=
844 verbose=
845 x_includes=NONE
846 x_libraries=NONE
847
848 # Installation directory options.
849 # These are left unexpanded so users can "make install exec_prefix=/foo"
850 # and all the variables that are supposed to be based on exec_prefix
851 # by default will actually change.
852 # Use braces instead of parens because sh, perl, etc. also accept them.
853 # (The list follows the same order as the GNU Coding Standards.)
854 bindir='${exec_prefix}/bin'
855 sbindir='${exec_prefix}/sbin'
856 libexecdir='${exec_prefix}/libexec'
857 datarootdir='${prefix}/share'
858 datadir='${datarootdir}'
859 sysconfdir='${prefix}/etc'
860 sharedstatedir='${prefix}/com'
861 localstatedir='${prefix}/var'
862 includedir='${prefix}/include'
863 oldincludedir='/usr/include'
864 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
865 infodir='${datarootdir}/info'
866 htmldir='${docdir}'
867 dvidir='${docdir}'
868 pdfdir='${docdir}'
869 psdir='${docdir}'
870 libdir='${exec_prefix}/lib'
871 localedir='${datarootdir}/locale'
872 mandir='${datarootdir}/man'
873
874 ac_prev=
875 ac_dashdash=
876 for ac_option
877 do
878   # If the previous option needs an argument, assign it.
879   if test -n "$ac_prev"; then
880     eval $ac_prev=\$ac_option
881     ac_prev=
882     continue
883   fi
884
885   case $ac_option in
886   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
887   *=)   ac_optarg= ;;
888   *)    ac_optarg=yes ;;
889   esac
890
891   # Accept the important Cygnus configure options, so we can diagnose typos.
892
893   case $ac_dashdash$ac_option in
894   --)
895     ac_dashdash=yes ;;
896
897   -bindir | --bindir | --bindi | --bind | --bin | --bi)
898     ac_prev=bindir ;;
899   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
900     bindir=$ac_optarg ;;
901
902   -build | --build | --buil | --bui | --bu)
903     ac_prev=build_alias ;;
904   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
905     build_alias=$ac_optarg ;;
906
907   -cache-file | --cache-file | --cache-fil | --cache-fi \
908   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
909     ac_prev=cache_file ;;
910   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
911   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
912     cache_file=$ac_optarg ;;
913
914   --config-cache | -C)
915     cache_file=config.cache ;;
916
917   -datadir | --datadir | --datadi | --datad)
918     ac_prev=datadir ;;
919   -datadir=* | --datadir=* | --datadi=* | --datad=*)
920     datadir=$ac_optarg ;;
921
922   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
923   | --dataroo | --dataro | --datar)
924     ac_prev=datarootdir ;;
925   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
926   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
927     datarootdir=$ac_optarg ;;
928
929   -disable-* | --disable-*)
930     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
931     # Reject names that are not valid shell variable names.
932     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
933       as_fn_error $? "invalid feature name: $ac_useropt"
934     ac_useropt_orig=$ac_useropt
935     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936     case $ac_user_opts in
937       *"
938 "enable_$ac_useropt"
939 "*) ;;
940       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
941          ac_unrecognized_sep=', ';;
942     esac
943     eval enable_$ac_useropt=no ;;
944
945   -docdir | --docdir | --docdi | --doc | --do)
946     ac_prev=docdir ;;
947   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
948     docdir=$ac_optarg ;;
949
950   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
951     ac_prev=dvidir ;;
952   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
953     dvidir=$ac_optarg ;;
954
955   -enable-* | --enable-*)
956     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
957     # Reject names that are not valid shell variable names.
958     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
959       as_fn_error $? "invalid feature name: $ac_useropt"
960     ac_useropt_orig=$ac_useropt
961     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962     case $ac_user_opts in
963       *"
964 "enable_$ac_useropt"
965 "*) ;;
966       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
967          ac_unrecognized_sep=', ';;
968     esac
969     eval enable_$ac_useropt=\$ac_optarg ;;
970
971   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
972   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
973   | --exec | --exe | --ex)
974     ac_prev=exec_prefix ;;
975   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
976   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
977   | --exec=* | --exe=* | --ex=*)
978     exec_prefix=$ac_optarg ;;
979
980   -gas | --gas | --ga | --g)
981     # Obsolete; use --with-gas.
982     with_gas=yes ;;
983
984   -help | --help | --hel | --he | -h)
985     ac_init_help=long ;;
986   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
987     ac_init_help=recursive ;;
988   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
989     ac_init_help=short ;;
990
991   -host | --host | --hos | --ho)
992     ac_prev=host_alias ;;
993   -host=* | --host=* | --hos=* | --ho=*)
994     host_alias=$ac_optarg ;;
995
996   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
997     ac_prev=htmldir ;;
998   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
999   | --ht=*)
1000     htmldir=$ac_optarg ;;
1001
1002   -includedir | --includedir | --includedi | --included | --include \
1003   | --includ | --inclu | --incl | --inc)
1004     ac_prev=includedir ;;
1005   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1006   | --includ=* | --inclu=* | --incl=* | --inc=*)
1007     includedir=$ac_optarg ;;
1008
1009   -infodir | --infodir | --infodi | --infod | --info | --inf)
1010     ac_prev=infodir ;;
1011   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1012     infodir=$ac_optarg ;;
1013
1014   -libdir | --libdir | --libdi | --libd)
1015     ac_prev=libdir ;;
1016   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1017     libdir=$ac_optarg ;;
1018
1019   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1020   | --libexe | --libex | --libe)
1021     ac_prev=libexecdir ;;
1022   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1023   | --libexe=* | --libex=* | --libe=*)
1024     libexecdir=$ac_optarg ;;
1025
1026   -localedir | --localedir | --localedi | --localed | --locale)
1027     ac_prev=localedir ;;
1028   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1029     localedir=$ac_optarg ;;
1030
1031   -localstatedir | --localstatedir | --localstatedi | --localstated \
1032   | --localstate | --localstat | --localsta | --localst | --locals)
1033     ac_prev=localstatedir ;;
1034   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1035   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1036     localstatedir=$ac_optarg ;;
1037
1038   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1039     ac_prev=mandir ;;
1040   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1041     mandir=$ac_optarg ;;
1042
1043   -nfp | --nfp | --nf)
1044     # Obsolete; use --without-fp.
1045     with_fp=no ;;
1046
1047   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1048   | --no-cr | --no-c | -n)
1049     no_create=yes ;;
1050
1051   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1052   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1053     no_recursion=yes ;;
1054
1055   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1056   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1057   | --oldin | --oldi | --old | --ol | --o)
1058     ac_prev=oldincludedir ;;
1059   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1060   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1061   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1062     oldincludedir=$ac_optarg ;;
1063
1064   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1065     ac_prev=prefix ;;
1066   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1067     prefix=$ac_optarg ;;
1068
1069   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1070   | --program-pre | --program-pr | --program-p)
1071     ac_prev=program_prefix ;;
1072   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1073   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1074     program_prefix=$ac_optarg ;;
1075
1076   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1077   | --program-suf | --program-su | --program-s)
1078     ac_prev=program_suffix ;;
1079   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1080   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1081     program_suffix=$ac_optarg ;;
1082
1083   -program-transform-name | --program-transform-name \
1084   | --program-transform-nam | --program-transform-na \
1085   | --program-transform-n | --program-transform- \
1086   | --program-transform | --program-transfor \
1087   | --program-transfo | --program-transf \
1088   | --program-trans | --program-tran \
1089   | --progr-tra | --program-tr | --program-t)
1090     ac_prev=program_transform_name ;;
1091   -program-transform-name=* | --program-transform-name=* \
1092   | --program-transform-nam=* | --program-transform-na=* \
1093   | --program-transform-n=* | --program-transform-=* \
1094   | --program-transform=* | --program-transfor=* \
1095   | --program-transfo=* | --program-transf=* \
1096   | --program-trans=* | --program-tran=* \
1097   | --progr-tra=* | --program-tr=* | --program-t=*)
1098     program_transform_name=$ac_optarg ;;
1099
1100   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1101     ac_prev=pdfdir ;;
1102   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1103     pdfdir=$ac_optarg ;;
1104
1105   -psdir | --psdir | --psdi | --psd | --ps)
1106     ac_prev=psdir ;;
1107   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1108     psdir=$ac_optarg ;;
1109
1110   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1111   | -silent | --silent | --silen | --sile | --sil)
1112     silent=yes ;;
1113
1114   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1115     ac_prev=sbindir ;;
1116   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1117   | --sbi=* | --sb=*)
1118     sbindir=$ac_optarg ;;
1119
1120   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1121   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1122   | --sharedst | --shareds | --shared | --share | --shar \
1123   | --sha | --sh)
1124     ac_prev=sharedstatedir ;;
1125   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1126   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1127   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1128   | --sha=* | --sh=*)
1129     sharedstatedir=$ac_optarg ;;
1130
1131   -site | --site | --sit)
1132     ac_prev=site ;;
1133   -site=* | --site=* | --sit=*)
1134     site=$ac_optarg ;;
1135
1136   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1137     ac_prev=srcdir ;;
1138   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1139     srcdir=$ac_optarg ;;
1140
1141   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1142   | --syscon | --sysco | --sysc | --sys | --sy)
1143     ac_prev=sysconfdir ;;
1144   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1145   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1146     sysconfdir=$ac_optarg ;;
1147
1148   -target | --target | --targe | --targ | --tar | --ta | --t)
1149     ac_prev=target_alias ;;
1150   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1151     target_alias=$ac_optarg ;;
1152
1153   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1154     verbose=yes ;;
1155
1156   -version | --version | --versio | --versi | --vers | -V)
1157     ac_init_version=: ;;
1158
1159   -with-* | --with-*)
1160     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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 package 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 "with_$ac_useropt"
1169 "*) ;;
1170       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1171          ac_unrecognized_sep=', ';;
1172     esac
1173     eval with_$ac_useropt=\$ac_optarg ;;
1174
1175   -without-* | --without-*)
1176     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1177     # Reject names that are not valid shell variable names.
1178     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179       as_fn_error $? "invalid package name: $ac_useropt"
1180     ac_useropt_orig=$ac_useropt
1181     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182     case $ac_user_opts in
1183       *"
1184 "with_$ac_useropt"
1185 "*) ;;
1186       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1187          ac_unrecognized_sep=', ';;
1188     esac
1189     eval with_$ac_useropt=no ;;
1190
1191   --x)
1192     # Obsolete; use --with-x.
1193     with_x=yes ;;
1194
1195   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1196   | --x-incl | --x-inc | --x-in | --x-i)
1197     ac_prev=x_includes ;;
1198   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1199   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1200     x_includes=$ac_optarg ;;
1201
1202   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1203   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1204     ac_prev=x_libraries ;;
1205   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1206   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1207     x_libraries=$ac_optarg ;;
1208
1209   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1210 Try \`$0 --help' for more information"
1211     ;;
1212
1213   *=*)
1214     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1215     # Reject names that are not valid shell variable names.
1216     case $ac_envvar in #(
1217       '' | [0-9]* | *[!_$as_cr_alnum]* )
1218       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1219     esac
1220     eval $ac_envvar=\$ac_optarg
1221     export $ac_envvar ;;
1222
1223   *)
1224     # FIXME: should be removed in autoconf 3.0.
1225     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1226     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1227       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1228     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1229     ;;
1230
1231   esac
1232 done
1233
1234 if test -n "$ac_prev"; then
1235   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1236   as_fn_error $? "missing argument to $ac_option"
1237 fi
1238
1239 if test -n "$ac_unrecognized_opts"; then
1240   case $enable_option_checking in
1241     no) ;;
1242     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1243     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1244   esac
1245 fi
1246
1247 # Check all directory arguments for consistency.
1248 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1249                 datadir sysconfdir sharedstatedir localstatedir includedir \
1250                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1251                 libdir localedir mandir
1252 do
1253   eval ac_val=\$$ac_var
1254   # Remove trailing slashes.
1255   case $ac_val in
1256     */ )
1257       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1258       eval $ac_var=\$ac_val;;
1259   esac
1260   # Be sure to have absolute directory names.
1261   case $ac_val in
1262     [\\/$]* | ?:[\\/]* )  continue;;
1263     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1264   esac
1265   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1266 done
1267
1268 # There might be people who depend on the old broken behavior: `$host'
1269 # used to hold the argument of --host etc.
1270 # FIXME: To remove some day.
1271 build=$build_alias
1272 host=$host_alias
1273 target=$target_alias
1274
1275 # FIXME: To remove some day.
1276 if test "x$host_alias" != x; then
1277   if test "x$build_alias" = x; then
1278     cross_compiling=maybe
1279     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1280     If a cross compiler is detected then cross compile mode will be used" >&2
1281   elif test "x$build_alias" != "x$host_alias"; then
1282     cross_compiling=yes
1283   fi
1284 fi
1285
1286 ac_tool_prefix=
1287 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1288
1289 test "$silent" = yes && exec 6>/dev/null
1290
1291
1292 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1293 ac_ls_di=`ls -di .` &&
1294 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1295   as_fn_error $? "working directory cannot be determined"
1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1297   as_fn_error $? "pwd does not report name of working directory"
1298
1299
1300 # Find the source files, if location was not specified.
1301 if test -z "$srcdir"; then
1302   ac_srcdir_defaulted=yes
1303   # Try the directory containing this script, then the parent directory.
1304   ac_confdir=`$as_dirname -- "$as_myself" ||
1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1306          X"$as_myself" : 'X\(//\)[^/]' \| \
1307          X"$as_myself" : 'X\(//\)$' \| \
1308          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1309 $as_echo X"$as_myself" |
1310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1311             s//\1/
1312             q
1313           }
1314           /^X\(\/\/\)[^/].*/{
1315             s//\1/
1316             q
1317           }
1318           /^X\(\/\/\)$/{
1319             s//\1/
1320             q
1321           }
1322           /^X\(\/\).*/{
1323             s//\1/
1324             q
1325           }
1326           s/.*/./; q'`
1327   srcdir=$ac_confdir
1328   if test ! -r "$srcdir/$ac_unique_file"; then
1329     srcdir=..
1330   fi
1331 else
1332   ac_srcdir_defaulted=no
1333 fi
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1335   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1336   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1337 fi
1338 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1339 ac_abs_confdir=`(
1340         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1341         pwd)`
1342 # When building in place, set srcdir=.
1343 if test "$ac_abs_confdir" = "$ac_pwd"; then
1344   srcdir=.
1345 fi
1346 # Remove unnecessary trailing slashes from srcdir.
1347 # Double slashes in file names in object file debugging info
1348 # mess up M-x gdb in Emacs.
1349 case $srcdir in
1350 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1351 esac
1352 for ac_var in $ac_precious_vars; do
1353   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1354   eval ac_env_${ac_var}_value=\$${ac_var}
1355   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1356   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1357 done
1358
1359 #
1360 # Report the --help message.
1361 #
1362 if test "$ac_init_help" = "long"; then
1363   # Omit some internal or obsolete options to make the list less imposing.
1364   # This message is too long to be a string in the A/UX 3.1 sh.
1365   cat <<_ACEOF
1366 \`configure' configures eeze 1.7.3 to adapt to many kinds of systems.
1367
1368 Usage: $0 [OPTION]... [VAR=VALUE]...
1369
1370 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1371 VAR=VALUE.  See below for descriptions of some of the useful variables.
1372
1373 Defaults for the options are specified in brackets.
1374
1375 Configuration:
1376   -h, --help              display this help and exit
1377       --help=short        display options specific to this package
1378       --help=recursive    display the short help of all the included packages
1379   -V, --version           display version information and exit
1380   -q, --quiet, --silent   do not print \`checking ...' messages
1381       --cache-file=FILE   cache test results in FILE [disabled]
1382   -C, --config-cache      alias for \`--cache-file=config.cache'
1383   -n, --no-create         do not create output files
1384       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1385
1386 Installation directories:
1387   --prefix=PREFIX         install architecture-independent files in PREFIX
1388                           [$ac_default_prefix]
1389   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1390                           [PREFIX]
1391
1392 By default, \`make install' will install all the files in
1393 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1394 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1395 for instance \`--prefix=\$HOME'.
1396
1397 For better control, use the options below.
1398
1399 Fine tuning of the installation directories:
1400   --bindir=DIR            user executables [EPREFIX/bin]
1401   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1402   --libexecdir=DIR        program executables [EPREFIX/libexec]
1403   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1404   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1405   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1406   --libdir=DIR            object code libraries [EPREFIX/lib]
1407   --includedir=DIR        C header files [PREFIX/include]
1408   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1409   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1410   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1411   --infodir=DIR           info documentation [DATAROOTDIR/info]
1412   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1413   --mandir=DIR            man documentation [DATAROOTDIR/man]
1414   --docdir=DIR            documentation root [DATAROOTDIR/doc/eeze]
1415   --htmldir=DIR           html documentation [DOCDIR]
1416   --dvidir=DIR            dvi documentation [DOCDIR]
1417   --pdfdir=DIR            pdf documentation [DOCDIR]
1418   --psdir=DIR             ps documentation [DOCDIR]
1419 _ACEOF
1420
1421   cat <<\_ACEOF
1422
1423 Program names:
1424   --program-prefix=PREFIX            prepend PREFIX to installed program names
1425   --program-suffix=SUFFIX            append SUFFIX to installed program names
1426   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1427
1428 System types:
1429   --build=BUILD     configure for building on BUILD [guessed]
1430   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1431 _ACEOF
1432 fi
1433
1434 if test -n "$ac_init_help"; then
1435   case $ac_init_help in
1436      short | recursive ) echo "Configuration of eeze 1.7.3:";;
1437    esac
1438   cat <<\_ACEOF
1439
1440 Optional Features:
1441   --disable-option-checking  ignore unrecognized --enable/--with options
1442   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1443   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1444   --enable-silent-rules          less verbose build output (undo: `make V=1')
1445   --disable-silent-rules         verbose build output (undo: `make V=0')
1446   --enable-shared[=PKGS]  build shared libraries [default=yes]
1447   --enable-static[=PKGS]  build static libraries [default=yes]
1448   --enable-fast-install[=PKGS]
1449                           optimize for fast installation [default=yes]
1450   --disable-dependency-tracking  speeds up one-time build
1451   --enable-dependency-tracking   do not reject slow dependency extractors
1452   --disable-libtool-lock  avoid locking (might break parallel builds)
1453   --disable-doc           Disable documentation build [default=enabled]
1454   --enable-mtab           force use of mtab for mount info [default=detect]
1455   --disable-ipv6          disable ipv6 functionality [default=detect]
1456   --disable-eeze-udev-test
1457                           disable building of eeze_udev_test
1458   --disable-eeze-mount    disable building of eeze_mount
1459   --disable-eeze-disk-ls  disable building of eeze_disk_ls
1460   --disable-eeze-umount   disable building of eeze_umount
1461   --disable-eeze-scanner  disable building of eeze_scanner
1462
1463 Optional Packages:
1464   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1465   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1466   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1467                           both]
1468   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1469   --with-sysroot=DIR Search for dependent libraries within DIR
1470                         (or the compiler's sysroot if not specified).
1471   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1472   --with-mount            specify mount bin [default=detect]
1473   --with-umount           specify umount bin [default=detect]
1474   --with-eject            specify eject bin [default=detect]
1475
1476 Some influential environment variables:
1477   CC          C compiler command
1478   CFLAGS      C compiler flags
1479   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1480               nonstandard directory <lib dir>
1481   LIBS        libraries to pass to the linker, e.g. -l<library>
1482   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1483               you have headers in a nonstandard directory <include dir>
1484   CPP         C preprocessor
1485   PKG_CONFIG  path to pkg-config utility
1486   PKG_CONFIG_PATH
1487               directories to add to pkg-config's search path
1488   PKG_CONFIG_LIBDIR
1489               path overriding pkg-config's built-in search path
1490   EEZE_CFLAGS C compiler flags for EEZE, overriding pkg-config
1491   EEZE_LIBS   linker flags for EEZE, overriding pkg-config
1492   LIBMOUNT_CFLAGS
1493               C compiler flags for LIBMOUNT, overriding pkg-config
1494   LIBMOUNT_LIBS
1495               linker flags for LIBMOUNT, overriding pkg-config
1496   ECORE_FILE_CFLAGS
1497               C compiler flags for ECORE_FILE, overriding pkg-config
1498   ECORE_FILE_LIBS
1499               linker flags for ECORE_FILE, overriding pkg-config
1500   EET_CFLAGS  C compiler flags for EET, overriding pkg-config
1501   EET_LIBS    linker flags for EET, overriding pkg-config
1502   ECORE_CON_CFLAGS
1503               C compiler flags for ECORE_CON, overriding pkg-config
1504   ECORE_CON_LIBS
1505               linker flags for ECORE_CON, overriding pkg-config
1506
1507 Use these variables to override the choices made by `configure' or to help
1508 it to find libraries and programs with nonstandard names/locations.
1509
1510 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1511 _ACEOF
1512 ac_status=$?
1513 fi
1514
1515 if test "$ac_init_help" = "recursive"; then
1516   # If there are subdirs, report their specific --help.
1517   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518     test -d "$ac_dir" ||
1519       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1520       continue
1521     ac_builddir=.
1522
1523 case "$ac_dir" in
1524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 *)
1526   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1527   # A ".." for each directory in $ac_dir_suffix.
1528   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1529   case $ac_top_builddir_sub in
1530   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1532   esac ;;
1533 esac
1534 ac_abs_top_builddir=$ac_pwd
1535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1536 # for backward compatibility:
1537 ac_top_builddir=$ac_top_build_prefix
1538
1539 case $srcdir in
1540   .)  # We are building in place.
1541     ac_srcdir=.
1542     ac_top_srcdir=$ac_top_builddir_sub
1543     ac_abs_top_srcdir=$ac_pwd ;;
1544   [\\/]* | ?:[\\/]* )  # Absolute name.
1545     ac_srcdir=$srcdir$ac_dir_suffix;
1546     ac_top_srcdir=$srcdir
1547     ac_abs_top_srcdir=$srcdir ;;
1548   *) # Relative name.
1549     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1550     ac_top_srcdir=$ac_top_build_prefix$srcdir
1551     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1552 esac
1553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1554
1555     cd "$ac_dir" || { ac_status=$?; continue; }
1556     # Check for guested configure.
1557     if test -f "$ac_srcdir/configure.gnu"; then
1558       echo &&
1559       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1560     elif test -f "$ac_srcdir/configure"; then
1561       echo &&
1562       $SHELL "$ac_srcdir/configure" --help=recursive
1563     else
1564       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1565     fi || ac_status=$?
1566     cd "$ac_pwd" || { ac_status=$?; break; }
1567   done
1568 fi
1569
1570 test -n "$ac_init_help" && exit $ac_status
1571 if $ac_init_version; then
1572   cat <<\_ACEOF
1573 eeze configure 1.7.3
1574 generated by GNU Autoconf 2.68
1575
1576 Copyright (C) 2010 Free Software Foundation, Inc.
1577 This configure script is free software; the Free Software Foundation
1578 gives unlimited permission to copy, distribute and modify it.
1579 _ACEOF
1580   exit
1581 fi
1582
1583 ## ------------------------ ##
1584 ## Autoconf initialization. ##
1585 ## ------------------------ ##
1586
1587 # ac_fn_c_try_compile LINENO
1588 # --------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_c_try_compile ()
1591 {
1592   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593   rm -f conftest.$ac_objext
1594   if { { ac_try="$ac_compile"
1595 case "(($ac_try" in
1596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597   *) ac_try_echo=$ac_try;;
1598 esac
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601   (eval "$ac_compile") 2>conftest.err
1602   ac_status=$?
1603   if test -s conftest.err; then
1604     grep -v '^ *+' conftest.err >conftest.er1
1605     cat conftest.er1 >&5
1606     mv -f conftest.er1 conftest.err
1607   fi
1608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609   test $ac_status = 0; } && {
1610          test -z "$ac_c_werror_flag" ||
1611          test ! -s conftest.err
1612        } && test -s conftest.$ac_objext; then :
1613   ac_retval=0
1614 else
1615   $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1617
1618         ac_retval=1
1619 fi
1620   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621   as_fn_set_status $ac_retval
1622
1623 } # ac_fn_c_try_compile
1624
1625 # ac_fn_c_try_link LINENO
1626 # -----------------------
1627 # Try to link conftest.$ac_ext, and return whether this succeeded.
1628 ac_fn_c_try_link ()
1629 {
1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631   rm -f conftest.$ac_objext conftest$ac_exeext
1632   if { { ac_try="$ac_link"
1633 case "(($ac_try" in
1634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1635   *) ac_try_echo=$ac_try;;
1636 esac
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639   (eval "$ac_link") 2>conftest.err
1640   ac_status=$?
1641   if test -s conftest.err; then
1642     grep -v '^ *+' conftest.err >conftest.er1
1643     cat conftest.er1 >&5
1644     mv -f conftest.er1 conftest.err
1645   fi
1646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647   test $ac_status = 0; } && {
1648          test -z "$ac_c_werror_flag" ||
1649          test ! -s conftest.err
1650        } && test -s conftest$ac_exeext && {
1651          test "$cross_compiling" = yes ||
1652          $as_test_x conftest$ac_exeext
1653        }; then :
1654   ac_retval=0
1655 else
1656   $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1658
1659         ac_retval=1
1660 fi
1661   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1662   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1663   # interfere with the next link command; also delete a directory that is
1664   # left behind by Apple's compiler.  We do this before executing the actions.
1665   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667   as_fn_set_status $ac_retval
1668
1669 } # ac_fn_c_try_link
1670
1671 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1672 # -------------------------------------------------------
1673 # Tests whether HEADER exists and can be compiled using the include files in
1674 # INCLUDES, setting the cache variable VAR accordingly.
1675 ac_fn_c_check_header_compile ()
1676 {
1677   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if eval \${$3+:} false; then :
1681   $as_echo_n "(cached) " >&6
1682 else
1683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h.  */
1685 $4
1686 #include <$2>
1687 _ACEOF
1688 if ac_fn_c_try_compile "$LINENO"; then :
1689   eval "$3=yes"
1690 else
1691   eval "$3=no"
1692 fi
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 fi
1695 eval ac_res=\$$3
1696                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697 $as_echo "$ac_res" >&6; }
1698   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699
1700 } # ac_fn_c_check_header_compile
1701
1702 # ac_fn_c_try_cpp LINENO
1703 # ----------------------
1704 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1705 ac_fn_c_try_cpp ()
1706 {
1707   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708   if { { ac_try="$ac_cpp conftest.$ac_ext"
1709 case "(($ac_try" in
1710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711   *) ac_try_echo=$ac_try;;
1712 esac
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1716   ac_status=$?
1717   if test -s conftest.err; then
1718     grep -v '^ *+' conftest.err >conftest.er1
1719     cat conftest.er1 >&5
1720     mv -f conftest.er1 conftest.err
1721   fi
1722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723   test $ac_status = 0; } > conftest.i && {
1724          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1725          test ! -s conftest.err
1726        }; then :
1727   ac_retval=0
1728 else
1729   $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1731
1732     ac_retval=1
1733 fi
1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735   as_fn_set_status $ac_retval
1736
1737 } # ac_fn_c_try_cpp
1738
1739 # ac_fn_c_try_run LINENO
1740 # ----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1742 # that executables *can* be run.
1743 ac_fn_c_try_run ()
1744 {
1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746   if { { ac_try="$ac_link"
1747 case "(($ac_try" in
1748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749   *) ac_try_echo=$ac_try;;
1750 esac
1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753   (eval "$ac_link") 2>&5
1754   ac_status=$?
1755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1757   { { case "(($ac_try" in
1758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759   *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763   (eval "$ac_try") 2>&5
1764   ac_status=$?
1765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766   test $ac_status = 0; }; }; then :
1767   ac_retval=0
1768 else
1769   $as_echo "$as_me: program exited with status $ac_status" >&5
1770        $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1772
1773        ac_retval=$ac_status
1774 fi
1775   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777   as_fn_set_status $ac_retval
1778
1779 } # ac_fn_c_try_run
1780
1781 # ac_fn_c_check_func LINENO FUNC VAR
1782 # ----------------------------------
1783 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1784 ac_fn_c_check_func ()
1785 {
1786   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \${$3+:} false; then :
1790   $as_echo_n "(cached) " >&6
1791 else
1792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h.  */
1794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1796 #define $2 innocuous_$2
1797
1798 /* System header to define __stub macros and hopefully few prototypes,
1799     which can conflict with char $2 (); below.
1800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1801     <limits.h> exists even on freestanding compilers.  */
1802
1803 #ifdef __STDC__
1804 # include <limits.h>
1805 #else
1806 # include <assert.h>
1807 #endif
1808
1809 #undef $2
1810
1811 /* Override any GCC internal prototype to avoid an error.
1812    Use char because int might match the return type of a GCC
1813    builtin and then its argument prototype would still apply.  */
1814 #ifdef __cplusplus
1815 extern "C"
1816 #endif
1817 char $2 ();
1818 /* The GNU C library defines this for functions which it implements
1819     to always fail with ENOSYS.  Some functions are actually named
1820     something starting with __ and the normal name is an alias.  */
1821 #if defined __stub_$2 || defined __stub___$2
1822 choke me
1823 #endif
1824
1825 int
1826 main ()
1827 {
1828 return $2 ();
1829   ;
1830   return 0;
1831 }
1832 _ACEOF
1833 if ac_fn_c_try_link "$LINENO"; then :
1834   eval "$3=yes"
1835 else
1836   eval "$3=no"
1837 fi
1838 rm -f core conftest.err conftest.$ac_objext \
1839     conftest$ac_exeext conftest.$ac_ext
1840 fi
1841 eval ac_res=\$$3
1842                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845
1846 } # ac_fn_c_check_func
1847
1848 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1849 # -------------------------------------------------------
1850 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1851 # the include files in INCLUDES and setting the cache variable VAR
1852 # accordingly.
1853 ac_fn_c_check_header_mongrel ()
1854 {
1855   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856   if eval \${$3+:} false; then :
1857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if eval \${$3+:} false; then :
1860   $as_echo_n "(cached) " >&6
1861 fi
1862 eval ac_res=\$$3
1863                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1865 else
1866   # Is the header compilable?
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1868 $as_echo_n "checking $2 usability... " >&6; }
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h.  */
1871 $4
1872 #include <$2>
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875   ac_header_compiler=yes
1876 else
1877   ac_header_compiler=no
1878 fi
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1881 $as_echo "$ac_header_compiler" >&6; }
1882
1883 # Is the header present?
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1885 $as_echo_n "checking $2 presence... " >&6; }
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h.  */
1888 #include <$2>
1889 _ACEOF
1890 if ac_fn_c_try_cpp "$LINENO"; then :
1891   ac_header_preproc=yes
1892 else
1893   ac_header_preproc=no
1894 fi
1895 rm -f conftest.err conftest.i conftest.$ac_ext
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1897 $as_echo "$ac_header_preproc" >&6; }
1898
1899 # So?  What about this header?
1900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1901   yes:no: )
1902     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1903 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1904     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1905 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1906     ;;
1907   no:yes:* )
1908     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1909 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1910     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1911 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1912     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1913 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1914     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1915 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1916     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1917 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1918 ( $as_echo "## -------------------------------------------------------- ##
1919 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1920 ## -------------------------------------------------------- ##"
1921      ) | sed "s/^/$as_me: WARNING:     /" >&2
1922     ;;
1923 esac
1924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925 $as_echo_n "checking for $2... " >&6; }
1926 if eval \${$3+:} false; then :
1927   $as_echo_n "(cached) " >&6
1928 else
1929   eval "$3=\$ac_header_compiler"
1930 fi
1931 eval ac_res=\$$3
1932                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 fi
1935   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936
1937 } # ac_fn_c_check_header_mongrel
1938
1939 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1940 # -------------------------------------------
1941 # Tests whether TYPE exists after having included INCLUDES, setting cache
1942 # variable VAR accordingly.
1943 ac_fn_c_check_type ()
1944 {
1945   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947 $as_echo_n "checking for $2... " >&6; }
1948 if eval \${$3+:} false; then :
1949   $as_echo_n "(cached) " >&6
1950 else
1951   eval "$3=no"
1952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953 /* end confdefs.h.  */
1954 $4
1955 int
1956 main ()
1957 {
1958 if (sizeof ($2))
1959          return 0;
1960   ;
1961   return 0;
1962 }
1963 _ACEOF
1964 if ac_fn_c_try_compile "$LINENO"; then :
1965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h.  */
1967 $4
1968 int
1969 main ()
1970 {
1971 if (sizeof (($2)))
1972             return 0;
1973   ;
1974   return 0;
1975 }
1976 _ACEOF
1977 if ac_fn_c_try_compile "$LINENO"; then :
1978
1979 else
1980   eval "$3=yes"
1981 fi
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1983 fi
1984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985 fi
1986 eval ac_res=\$$3
1987                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1990
1991 } # ac_fn_c_check_type
1992 cat >config.log <<_ACEOF
1993 This file contains any messages produced by compilers while
1994 running configure, to aid debugging if configure makes a mistake.
1995
1996 It was created by eeze $as_me 1.7.3, which was
1997 generated by GNU Autoconf 2.68.  Invocation command line was
1998
1999   $ $0 $@
2000
2001 _ACEOF
2002 exec 5>>config.log
2003 {
2004 cat <<_ASUNAME
2005 ## --------- ##
2006 ## Platform. ##
2007 ## --------- ##
2008
2009 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2010 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2011 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2012 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2013 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2014
2015 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2016 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2017
2018 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2019 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2020 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2021 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2022 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2023 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2024 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2025
2026 _ASUNAME
2027
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 for as_dir in $PATH
2030 do
2031   IFS=$as_save_IFS
2032   test -z "$as_dir" && as_dir=.
2033     $as_echo "PATH: $as_dir"
2034   done
2035 IFS=$as_save_IFS
2036
2037 } >&5
2038
2039 cat >&5 <<_ACEOF
2040
2041
2042 ## ----------- ##
2043 ## Core tests. ##
2044 ## ----------- ##
2045
2046 _ACEOF
2047
2048
2049 # Keep a trace of the command line.
2050 # Strip out --no-create and --no-recursion so they do not pile up.
2051 # Strip out --silent because we don't want to record it for future runs.
2052 # Also quote any args containing shell meta-characters.
2053 # Make two passes to allow for proper duplicate-argument suppression.
2054 ac_configure_args=
2055 ac_configure_args0=
2056 ac_configure_args1=
2057 ac_must_keep_next=false
2058 for ac_pass in 1 2
2059 do
2060   for ac_arg
2061   do
2062     case $ac_arg in
2063     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2064     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2065     | -silent | --silent | --silen | --sile | --sil)
2066       continue ;;
2067     *\'*)
2068       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2069     esac
2070     case $ac_pass in
2071     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2072     2)
2073       as_fn_append ac_configure_args1 " '$ac_arg'"
2074       if test $ac_must_keep_next = true; then
2075         ac_must_keep_next=false # Got value, back to normal.
2076       else
2077         case $ac_arg in
2078           *=* | --config-cache | -C | -disable-* | --disable-* \
2079           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2080           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2081           | -with-* | --with-* | -without-* | --without-* | --x)
2082             case "$ac_configure_args0 " in
2083               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2084             esac
2085             ;;
2086           -* ) ac_must_keep_next=true ;;
2087         esac
2088       fi
2089       as_fn_append ac_configure_args " '$ac_arg'"
2090       ;;
2091     esac
2092   done
2093 done
2094 { ac_configure_args0=; unset ac_configure_args0;}
2095 { ac_configure_args1=; unset ac_configure_args1;}
2096
2097 # When interrupted or exit'd, cleanup temporary files, and complete
2098 # config.log.  We remove comments because anyway the quotes in there
2099 # would cause problems or look ugly.
2100 # WARNING: Use '\'' to represent an apostrophe within the trap.
2101 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2102 trap 'exit_status=$?
2103   # Save into config.log some information that might help in debugging.
2104   {
2105     echo
2106
2107     $as_echo "## ---------------- ##
2108 ## Cache variables. ##
2109 ## ---------------- ##"
2110     echo
2111     # The following way of writing the cache mishandles newlines in values,
2112 (
2113   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2114     eval ac_val=\$$ac_var
2115     case $ac_val in #(
2116     *${as_nl}*)
2117       case $ac_var in #(
2118       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2119 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2120       esac
2121       case $ac_var in #(
2122       _ | IFS | as_nl) ;; #(
2123       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2124       *) { eval $ac_var=; unset $ac_var;} ;;
2125       esac ;;
2126     esac
2127   done
2128   (set) 2>&1 |
2129     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2130     *${as_nl}ac_space=\ *)
2131       sed -n \
2132         "s/'\''/'\''\\\\'\'''\''/g;
2133           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2134       ;; #(
2135     *)
2136       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2137       ;;
2138     esac |
2139     sort
2140 )
2141     echo
2142
2143     $as_echo "## ----------------- ##
2144 ## Output variables. ##
2145 ## ----------------- ##"
2146     echo
2147     for ac_var in $ac_subst_vars
2148     do
2149       eval ac_val=\$$ac_var
2150       case $ac_val in
2151       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2152       esac
2153       $as_echo "$ac_var='\''$ac_val'\''"
2154     done | sort
2155     echo
2156
2157     if test -n "$ac_subst_files"; then
2158       $as_echo "## ------------------- ##
2159 ## File substitutions. ##
2160 ## ------------------- ##"
2161       echo
2162       for ac_var in $ac_subst_files
2163       do
2164         eval ac_val=\$$ac_var
2165         case $ac_val in
2166         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2167         esac
2168         $as_echo "$ac_var='\''$ac_val'\''"
2169       done | sort
2170       echo
2171     fi
2172
2173     if test -s confdefs.h; then
2174       $as_echo "## ----------- ##
2175 ## confdefs.h. ##
2176 ## ----------- ##"
2177       echo
2178       cat confdefs.h
2179       echo
2180     fi
2181     test "$ac_signal" != 0 &&
2182       $as_echo "$as_me: caught signal $ac_signal"
2183     $as_echo "$as_me: exit $exit_status"
2184   } >&5
2185   rm -f core *.core core.conftest.* &&
2186     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2187     exit $exit_status
2188 ' 0
2189 for ac_signal in 1 2 13 15; do
2190   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2191 done
2192 ac_signal=0
2193
2194 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2195 rm -f -r conftest* confdefs.h
2196
2197 $as_echo "/* confdefs.h */" > confdefs.h
2198
2199 # Predefined preprocessor variables.
2200
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE_NAME "$PACKAGE_NAME"
2203 _ACEOF
2204
2205 cat >>confdefs.h <<_ACEOF
2206 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2207 _ACEOF
2208
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2211 _ACEOF
2212
2213 cat >>confdefs.h <<_ACEOF
2214 #define PACKAGE_STRING "$PACKAGE_STRING"
2215 _ACEOF
2216
2217 cat >>confdefs.h <<_ACEOF
2218 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2219 _ACEOF
2220
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_URL "$PACKAGE_URL"
2223 _ACEOF
2224
2225
2226 # Let the site file select an alternate cache file if it wants to.
2227 # Prefer an explicitly selected file to automatically selected ones.
2228 ac_site_file1=NONE
2229 ac_site_file2=NONE
2230 if test -n "$CONFIG_SITE"; then
2231   # We do not want a PATH search for config.site.
2232   case $CONFIG_SITE in #((
2233     -*)  ac_site_file1=./$CONFIG_SITE;;
2234     */*) ac_site_file1=$CONFIG_SITE;;
2235     *)   ac_site_file1=./$CONFIG_SITE;;
2236   esac
2237 elif test "x$prefix" != xNONE; then
2238   ac_site_file1=$prefix/share/config.site
2239   ac_site_file2=$prefix/etc/config.site
2240 else
2241   ac_site_file1=$ac_default_prefix/share/config.site
2242   ac_site_file2=$ac_default_prefix/etc/config.site
2243 fi
2244 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2245 do
2246   test "x$ac_site_file" = xNONE && continue
2247   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2248     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2249 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2250     sed 's/^/| /' "$ac_site_file" >&5
2251     . "$ac_site_file" \
2252       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2254 as_fn_error $? "failed to load site script $ac_site_file
2255 See \`config.log' for more details" "$LINENO" 5; }
2256   fi
2257 done
2258
2259 if test -r "$cache_file"; then
2260   # Some versions of bash will fail to source /dev/null (special files
2261   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2262   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2263     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2264 $as_echo "$as_me: loading cache $cache_file" >&6;}
2265     case $cache_file in
2266       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2267       *)                      . "./$cache_file";;
2268     esac
2269   fi
2270 else
2271   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2272 $as_echo "$as_me: creating cache $cache_file" >&6;}
2273   >$cache_file
2274 fi
2275
2276 # Check that the precious variables saved in the cache have kept the same
2277 # value.
2278 ac_cache_corrupted=false
2279 for ac_var in $ac_precious_vars; do
2280   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2281   eval ac_new_set=\$ac_env_${ac_var}_set
2282   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2283   eval ac_new_val=\$ac_env_${ac_var}_value
2284   case $ac_old_set,$ac_new_set in
2285     set,)
2286       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2287 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2288       ac_cache_corrupted=: ;;
2289     ,set)
2290       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2291 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2292       ac_cache_corrupted=: ;;
2293     ,);;
2294     *)
2295       if test "x$ac_old_val" != "x$ac_new_val"; then
2296         # differences in whitespace do not lead to failure.
2297         ac_old_val_w=`echo x $ac_old_val`
2298         ac_new_val_w=`echo x $ac_new_val`
2299         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2300           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2301 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2302           ac_cache_corrupted=:
2303         else
2304           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2305 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2306           eval $ac_var=\$ac_old_val
2307         fi
2308         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2309 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2310         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2311 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2312       fi;;
2313   esac
2314   # Pass precious variables to config.status.
2315   if test "$ac_new_set" = set; then
2316     case $ac_new_val in
2317     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2318     *) ac_arg=$ac_var=$ac_new_val ;;
2319     esac
2320     case " $ac_configure_args " in
2321       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2322       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2323     esac
2324   fi
2325 done
2326 if $ac_cache_corrupted; then
2327   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2329   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2330 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2331   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2332 fi
2333 ## -------------------- ##
2334 ## Main body of script. ##
2335 ## -------------------- ##
2336
2337 ac_ext=c
2338 ac_cpp='$CPP $CPPFLAGS'
2339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2342
2343
2344
2345
2346
2347
2348 ac_config_headers="$ac_config_headers config.h"
2349
2350
2351
2352
2353 am__api_version='1.11'
2354
2355 ac_aux_dir=
2356 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2357   if test -f "$ac_dir/install-sh"; then
2358     ac_aux_dir=$ac_dir
2359     ac_install_sh="$ac_aux_dir/install-sh -c"
2360     break
2361   elif test -f "$ac_dir/install.sh"; then
2362     ac_aux_dir=$ac_dir
2363     ac_install_sh="$ac_aux_dir/install.sh -c"
2364     break
2365   elif test -f "$ac_dir/shtool"; then
2366     ac_aux_dir=$ac_dir
2367     ac_install_sh="$ac_aux_dir/shtool install -c"
2368     break
2369   fi
2370 done
2371 if test -z "$ac_aux_dir"; then
2372   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2373 fi
2374
2375 # These three variables are undocumented and unsupported,
2376 # and are intended to be withdrawn in a future Autoconf release.
2377 # They can cause serious problems if a builder's source tree is in a directory
2378 # whose full name contains unusual characters.
2379 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2380 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2381 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2382
2383
2384 # Find a good install program.  We prefer a C program (faster),
2385 # so one script is as good as another.  But avoid the broken or
2386 # incompatible versions:
2387 # SysV /etc/install, /usr/sbin/install
2388 # SunOS /usr/etc/install
2389 # IRIX /sbin/install
2390 # AIX /bin/install
2391 # AmigaOS /C/install, which installs bootblocks on floppy discs
2392 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2393 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2394 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2395 # OS/2's system install, which has a completely different semantic
2396 # ./install, which can be erroneously created by make from ./install.sh.
2397 # Reject install programs that cannot install multiple files.
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2399 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2400 if test -z "$INSTALL"; then
2401 if ${ac_cv_path_install+:} false; then :
2402   $as_echo_n "(cached) " >&6
2403 else
2404   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405 for as_dir in $PATH
2406 do
2407   IFS=$as_save_IFS
2408   test -z "$as_dir" && as_dir=.
2409     # Account for people who put trailing slashes in PATH elements.
2410 case $as_dir/ in #((
2411   ./ | .// | /[cC]/* | \
2412   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2413   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2414   /usr/ucb/* ) ;;
2415   *)
2416     # OSF1 and SCO ODT 3.0 have their own names for install.
2417     # Don't use installbsd from OSF since it installs stuff as root
2418     # by default.
2419     for ac_prog in ginstall scoinst install; do
2420       for ac_exec_ext in '' $ac_executable_extensions; do
2421         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2422           if test $ac_prog = install &&
2423             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2424             # AIX install.  It has an incompatible calling convention.
2425             :
2426           elif test $ac_prog = install &&
2427             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2428             # program-specific install script used by HP pwplus--don't use.
2429             :
2430           else
2431             rm -rf conftest.one conftest.two conftest.dir
2432             echo one > conftest.one
2433             echo two > conftest.two
2434             mkdir conftest.dir
2435             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2436               test -s conftest.one && test -s conftest.two &&
2437               test -s conftest.dir/conftest.one &&
2438               test -s conftest.dir/conftest.two
2439             then
2440               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2441               break 3
2442             fi
2443           fi
2444         fi
2445       done
2446     done
2447     ;;
2448 esac
2449
2450   done
2451 IFS=$as_save_IFS
2452
2453 rm -rf conftest.one conftest.two conftest.dir
2454
2455 fi
2456   if test "${ac_cv_path_install+set}" = set; then
2457     INSTALL=$ac_cv_path_install
2458   else
2459     # As a last resort, use the slow shell script.  Don't cache a
2460     # value for INSTALL within a source directory, because that will
2461     # break other packages using the cache if that directory is
2462     # removed, or if the value is a relative name.
2463     INSTALL=$ac_install_sh
2464   fi
2465 fi
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2467 $as_echo "$INSTALL" >&6; }
2468
2469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2470 # It thinks the first close brace ends the variable substitution.
2471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2472
2473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2474
2475 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2476
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2478 $as_echo_n "checking whether build environment is sane... " >&6; }
2479 # Just in case
2480 sleep 1
2481 echo timestamp > conftest.file
2482 # Reject unsafe characters in $srcdir or the absolute working directory
2483 # name.  Accept space and tab only in the latter.
2484 am_lf='
2485 '
2486 case `pwd` in
2487   *[\\\"\#\$\&\'\`$am_lf]*)
2488     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2489 esac
2490 case $srcdir in
2491   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2492     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2493 esac
2494
2495 # Do `set' in a subshell so we don't clobber the current shell's
2496 # arguments.  Must try -L first in case configure is actually a
2497 # symlink; some systems play weird games with the mod time of symlinks
2498 # (eg FreeBSD returns the mod time of the symlink's containing
2499 # directory).
2500 if (
2501    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2502    if test "$*" = "X"; then
2503       # -L didn't work.
2504       set X `ls -t "$srcdir/configure" conftest.file`
2505    fi
2506    rm -f conftest.file
2507    if test "$*" != "X $srcdir/configure conftest.file" \
2508       && test "$*" != "X conftest.file $srcdir/configure"; then
2509
2510       # If neither matched, then we have a broken ls.  This can happen
2511       # if, for instance, CONFIG_SHELL is bash and it inherits a
2512       # broken ls alias from the environment.  This has actually
2513       # happened.  Such a system could not be considered "sane".
2514       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2515 alias in your environment" "$LINENO" 5
2516    fi
2517
2518    test "$2" = conftest.file
2519    )
2520 then
2521    # Ok.
2522    :
2523 else
2524    as_fn_error $? "newly created file is older than distributed files!
2525 Check your system clock" "$LINENO" 5
2526 fi
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2528 $as_echo "yes" >&6; }
2529 test "$program_prefix" != NONE &&
2530   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2531 # Use a double $ so make ignores it.
2532 test "$program_suffix" != NONE &&
2533   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2534 # Double any \ or $.
2535 # By default was `s,x,x', remove it if useless.
2536 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2537 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2538
2539 # expand $ac_aux_dir to an absolute path
2540 am_aux_dir=`cd $ac_aux_dir && pwd`
2541
2542 if test x"${MISSING+set}" != xset; then
2543   case $am_aux_dir in
2544   *\ * | *\     *)
2545     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2546   *)
2547     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2548   esac
2549 fi
2550 # Use eval to expand $SHELL
2551 if eval "$MISSING --run true"; then
2552   am_missing_run="$MISSING --run "
2553 else
2554   am_missing_run=
2555   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2556 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2557 fi
2558
2559 if test x"${install_sh}" != xset; then
2560   case $am_aux_dir in
2561   *\ * | *\     *)
2562     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2563   *)
2564     install_sh="\${SHELL} $am_aux_dir/install-sh"
2565   esac
2566 fi
2567
2568 # Installed binaries are usually stripped using `strip' when the user
2569 # run `make install-strip'.  However `strip' might not be the right
2570 # tool to use in cross-compilation environments, therefore Automake
2571 # will honor the `STRIP' environment variable to overrule this program.
2572 if test "$cross_compiling" != no; then
2573   if test -n "$ac_tool_prefix"; then
2574   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2575 set dummy ${ac_tool_prefix}strip; ac_word=$2
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2577 $as_echo_n "checking for $ac_word... " >&6; }
2578 if ${ac_cv_prog_STRIP+:} false; then :
2579   $as_echo_n "(cached) " >&6
2580 else
2581   if test -n "$STRIP"; then
2582   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2583 else
2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 for as_dir in $PATH
2586 do
2587   IFS=$as_save_IFS
2588   test -z "$as_dir" && as_dir=.
2589     for ac_exec_ext in '' $ac_executable_extensions; do
2590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2591     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593     break 2
2594   fi
2595 done
2596   done
2597 IFS=$as_save_IFS
2598
2599 fi
2600 fi
2601 STRIP=$ac_cv_prog_STRIP
2602 if test -n "$STRIP"; then
2603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2604 $as_echo "$STRIP" >&6; }
2605 else
2606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2607 $as_echo "no" >&6; }
2608 fi
2609
2610
2611 fi
2612 if test -z "$ac_cv_prog_STRIP"; then
2613   ac_ct_STRIP=$STRIP
2614   # Extract the first word of "strip", so it can be a program name with args.
2615 set dummy strip; ac_word=$2
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2617 $as_echo_n "checking for $ac_word... " >&6; }
2618 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2619   $as_echo_n "(cached) " >&6
2620 else
2621   if test -n "$ac_ct_STRIP"; then
2622   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2623 else
2624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 for as_dir in $PATH
2626 do
2627   IFS=$as_save_IFS
2628   test -z "$as_dir" && as_dir=.
2629     for ac_exec_ext in '' $ac_executable_extensions; do
2630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2631     ac_cv_prog_ac_ct_STRIP="strip"
2632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2633     break 2
2634   fi
2635 done
2636   done
2637 IFS=$as_save_IFS
2638
2639 fi
2640 fi
2641 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2642 if test -n "$ac_ct_STRIP"; then
2643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2644 $as_echo "$ac_ct_STRIP" >&6; }
2645 else
2646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647 $as_echo "no" >&6; }
2648 fi
2649
2650   if test "x$ac_ct_STRIP" = x; then
2651     STRIP=":"
2652   else
2653     case $cross_compiling:$ac_tool_warned in
2654 yes:)
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2657 ac_tool_warned=yes ;;
2658 esac
2659     STRIP=$ac_ct_STRIP
2660   fi
2661 else
2662   STRIP="$ac_cv_prog_STRIP"
2663 fi
2664
2665 fi
2666 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2667
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2669 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2670 if test -z "$MKDIR_P"; then
2671   if ${ac_cv_path_mkdir+:} false; then :
2672   $as_echo_n "(cached) " >&6
2673 else
2674   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2676 do
2677   IFS=$as_save_IFS
2678   test -z "$as_dir" && as_dir=.
2679     for ac_prog in mkdir gmkdir; do
2680          for ac_exec_ext in '' $ac_executable_extensions; do
2681            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2682            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2683              'mkdir (GNU coreutils) '* | \
2684              'mkdir (coreutils) '* | \
2685              'mkdir (fileutils) '4.1*)
2686                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2687                break 3;;
2688            esac
2689          done
2690        done
2691   done
2692 IFS=$as_save_IFS
2693
2694 fi
2695
2696   test -d ./--version && rmdir ./--version
2697   if test "${ac_cv_path_mkdir+set}" = set; then
2698     MKDIR_P="$ac_cv_path_mkdir -p"
2699   else
2700     # As a last resort, use the slow shell script.  Don't cache a
2701     # value for MKDIR_P within a source directory, because that will
2702     # break other packages using the cache if that directory is
2703     # removed, or if the value is a relative name.
2704     MKDIR_P="$ac_install_sh -d"
2705   fi
2706 fi
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2708 $as_echo "$MKDIR_P" >&6; }
2709
2710 mkdir_p="$MKDIR_P"
2711 case $mkdir_p in
2712   [\\/$]* | ?:[\\/]*) ;;
2713   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2714 esac
2715
2716 for ac_prog in gawk mawk nawk awk
2717 do
2718   # Extract the first word of "$ac_prog", so it can be a program name with args.
2719 set dummy $ac_prog; ac_word=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if ${ac_cv_prog_AWK+:} false; then :
2723   $as_echo_n "(cached) " >&6
2724 else
2725   if test -n "$AWK"; then
2726   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2727 else
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 for as_dir in $PATH
2730 do
2731   IFS=$as_save_IFS
2732   test -z "$as_dir" && as_dir=.
2733     for ac_exec_ext in '' $ac_executable_extensions; do
2734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735     ac_cv_prog_AWK="$ac_prog"
2736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737     break 2
2738   fi
2739 done
2740   done
2741 IFS=$as_save_IFS
2742
2743 fi
2744 fi
2745 AWK=$ac_cv_prog_AWK
2746 if test -n "$AWK"; then
2747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2748 $as_echo "$AWK" >&6; }
2749 else
2750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2752 fi
2753
2754
2755   test -n "$AWK" && break
2756 done
2757
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2759 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2760 set x ${MAKE-make}
2761 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2762 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2763   $as_echo_n "(cached) " >&6
2764 else
2765   cat >conftest.make <<\_ACEOF
2766 SHELL = /bin/sh
2767 all:
2768         @echo '@@@%%%=$(MAKE)=@@@%%%'
2769 _ACEOF
2770 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2771 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2772   *@@@%%%=?*=@@@%%%*)
2773     eval ac_cv_prog_make_${ac_make}_set=yes;;
2774   *)
2775     eval ac_cv_prog_make_${ac_make}_set=no;;
2776 esac
2777 rm -f conftest.make
2778 fi
2779 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2781 $as_echo "yes" >&6; }
2782   SET_MAKE=
2783 else
2784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2785 $as_echo "no" >&6; }
2786   SET_MAKE="MAKE=${MAKE-make}"
2787 fi
2788
2789 rm -rf .tst 2>/dev/null
2790 mkdir .tst 2>/dev/null
2791 if test -d .tst; then
2792   am__leading_dot=.
2793 else
2794   am__leading_dot=_
2795 fi
2796 rmdir .tst 2>/dev/null
2797
2798 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2799   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2800   # is not polluted with repeated "-I."
2801   am__isrc=' -I$(srcdir)'
2802   # test to see if srcdir already configured
2803   if test -f $srcdir/config.status; then
2804     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2805   fi
2806 fi
2807
2808 # test whether we have cygpath
2809 if test -z "$CYGPATH_W"; then
2810   if (cygpath --version) >/dev/null 2>/dev/null; then
2811     CYGPATH_W='cygpath -w'
2812   else
2813     CYGPATH_W=echo
2814   fi
2815 fi
2816
2817
2818 # Define the identity of the package.
2819  PACKAGE='eeze'
2820  VERSION='1.7.3'
2821
2822
2823 cat >>confdefs.h <<_ACEOF
2824 #define PACKAGE "$PACKAGE"
2825 _ACEOF
2826
2827
2828 cat >>confdefs.h <<_ACEOF
2829 #define VERSION "$VERSION"
2830 _ACEOF
2831
2832 # Some tools Automake needs.
2833
2834 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2835
2836
2837 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2838
2839
2840 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2841
2842
2843 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2844
2845
2846 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2847
2848 # We need awk for the "check" target.  The system "awk" is bad on
2849 # some platforms.
2850 # Always define AMTAR for backward compatibility.  Yes, it's still used
2851 # in the wild :-(  We should find a proper way to deprecate it ...
2852 AMTAR='$${TAR-tar}'
2853
2854 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2855
2856
2857
2858
2859
2860 # Check whether --enable-silent-rules was given.
2861 if test "${enable_silent_rules+set}" = set; then :
2862   enableval=$enable_silent_rules;
2863 fi
2864
2865 case $enable_silent_rules in
2866 yes) AM_DEFAULT_VERBOSITY=0;;
2867 no)  AM_DEFAULT_VERBOSITY=1;;
2868 *)   AM_DEFAULT_VERBOSITY=0;;
2869 esac
2870 am_make=${MAKE-make}
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2872 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2873 if ${am_cv_make_support_nested_variables+:} false; then :
2874   $as_echo_n "(cached) " >&6
2875 else
2876   if $as_echo 'TRUE=$(BAR$(V))
2877 BAR0=false
2878 BAR1=true
2879 V=1
2880 am__doit:
2881         @$(TRUE)
2882 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2883   am_cv_make_support_nested_variables=yes
2884 else
2885   am_cv_make_support_nested_variables=no
2886 fi
2887 fi
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2889 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2890 if test $am_cv_make_support_nested_variables = yes; then
2891     AM_V='$(V)'
2892   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2893 else
2894   AM_V=$AM_DEFAULT_VERBOSITY
2895   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2896 fi
2897 AM_BACKSLASH='\'
2898
2899
2900 case `pwd` in
2901   *\ * | *\     *)
2902     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2903 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2904 esac
2905
2906
2907
2908 macro_version='2.4.2'
2909 macro_revision='1.3337'
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923 ltmain="$ac_aux_dir/ltmain.sh"
2924
2925 # Make sure we can run config.sub.
2926 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2927   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2928
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2930 $as_echo_n "checking build system type... " >&6; }
2931 if ${ac_cv_build+:} false; then :
2932   $as_echo_n "(cached) " >&6
2933 else
2934   ac_build_alias=$build_alias
2935 test "x$ac_build_alias" = x &&
2936   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2937 test "x$ac_build_alias" = x &&
2938   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2939 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2940   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2941
2942 fi
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2944 $as_echo "$ac_cv_build" >&6; }
2945 case $ac_cv_build in
2946 *-*-*) ;;
2947 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2948 esac
2949 build=$ac_cv_build
2950 ac_save_IFS=$IFS; IFS='-'
2951 set x $ac_cv_build
2952 shift
2953 build_cpu=$1
2954 build_vendor=$2
2955 shift; shift
2956 # Remember, the first character of IFS is used to create $*,
2957 # except with old shells:
2958 build_os=$*
2959 IFS=$ac_save_IFS
2960 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2961
2962
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2964 $as_echo_n "checking host system type... " >&6; }
2965 if ${ac_cv_host+:} false; then :
2966   $as_echo_n "(cached) " >&6
2967 else
2968   if test "x$host_alias" = x; then
2969   ac_cv_host=$ac_cv_build
2970 else
2971   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2972     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2973 fi
2974
2975 fi
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2977 $as_echo "$ac_cv_host" >&6; }
2978 case $ac_cv_host in
2979 *-*-*) ;;
2980 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2981 esac
2982 host=$ac_cv_host
2983 ac_save_IFS=$IFS; IFS='-'
2984 set x $ac_cv_host
2985 shift
2986 host_cpu=$1
2987 host_vendor=$2
2988 shift; shift
2989 # Remember, the first character of IFS is used to create $*,
2990 # except with old shells:
2991 host_os=$*
2992 IFS=$ac_save_IFS
2993 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2994
2995
2996 # Backslashify metacharacters that are still active within
2997 # double-quoted strings.
2998 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2999
3000 # Same as above, but do not quote variable references.
3001 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3002
3003 # Sed substitution to delay expansion of an escaped shell variable in a
3004 # double_quote_subst'ed string.
3005 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3006
3007 # Sed substitution to delay expansion of an escaped single quote.
3008 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3009
3010 # Sed substitution to avoid accidental globbing in evaled expressions
3011 no_glob_subst='s/\*/\\\*/g'
3012
3013 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3014 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3015 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3016
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3018 $as_echo_n "checking how to print strings... " >&6; }
3019 # Test print first, because it will be a builtin if present.
3020 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3021    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3022   ECHO='print -r --'
3023 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3024   ECHO='printf %s\n'
3025 else
3026   # Use this function as a fallback that always works.
3027   func_fallback_echo ()
3028   {
3029     eval 'cat <<_LTECHO_EOF
3030 $1
3031 _LTECHO_EOF'
3032   }
3033   ECHO='func_fallback_echo'
3034 fi
3035
3036 # func_echo_all arg...
3037 # Invoke $ECHO with all args, space-separated.
3038 func_echo_all ()
3039 {
3040     $ECHO ""
3041 }
3042
3043 case "$ECHO" in
3044   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3045 $as_echo "printf" >&6; } ;;
3046   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3047 $as_echo "print -r" >&6; } ;;
3048   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3049 $as_echo "cat" >&6; } ;;
3050 esac
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065 DEPDIR="${am__leading_dot}deps"
3066
3067 ac_config_commands="$ac_config_commands depfiles"
3068
3069
3070 am_make=${MAKE-make}
3071 cat > confinc << 'END'
3072 am__doit:
3073         @echo this is the am__doit target
3074 .PHONY: am__doit
3075 END
3076 # If we don't find an include directive, just comment out the code.
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3078 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3079 am__include="#"
3080 am__quote=
3081 _am_result=none
3082 # First try GNU make style include.
3083 echo "include confinc" > confmf
3084 # Ignore all kinds of additional output from `make'.
3085 case `$am_make -s -f confmf 2> /dev/null` in #(
3086 *the\ am__doit\ target*)
3087   am__include=include
3088   am__quote=
3089   _am_result=GNU
3090   ;;
3091 esac
3092 # Now try BSD make style include.
3093 if test "$am__include" = "#"; then
3094    echo '.include "confinc"' > confmf
3095    case `$am_make -s -f confmf 2> /dev/null` in #(
3096    *the\ am__doit\ target*)
3097      am__include=.include
3098      am__quote="\""
3099      _am_result=BSD
3100      ;;
3101    esac
3102 fi
3103
3104
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3106 $as_echo "$_am_result" >&6; }
3107 rm -f confinc confmf
3108
3109 # Check whether --enable-dependency-tracking was given.
3110 if test "${enable_dependency_tracking+set}" = set; then :
3111   enableval=$enable_dependency_tracking;
3112 fi
3113
3114 if test "x$enable_dependency_tracking" != xno; then
3115   am_depcomp="$ac_aux_dir/depcomp"
3116   AMDEPBACKSLASH='\'
3117   am__nodep='_no'
3118 fi
3119  if test "x$enable_dependency_tracking" != xno; then
3120   AMDEP_TRUE=
3121   AMDEP_FALSE='#'
3122 else
3123   AMDEP_TRUE='#'
3124   AMDEP_FALSE=
3125 fi
3126
3127
3128 ac_ext=c
3129 ac_cpp='$CPP $CPPFLAGS'
3130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3133 if test -n "$ac_tool_prefix"; then
3134   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3135 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if ${ac_cv_prog_CC+:} false; then :
3139   $as_echo_n "(cached) " >&6
3140 else
3141   if test -n "$CC"; then
3142   ac_cv_prog_CC="$CC" # Let the user override the test.
3143 else
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH
3146 do
3147   IFS=$as_save_IFS
3148   test -z "$as_dir" && as_dir=.
3149     for ac_exec_ext in '' $ac_executable_extensions; do
3150   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3151     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3152     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153     break 2
3154   fi
3155 done
3156   done
3157 IFS=$as_save_IFS
3158
3159 fi
3160 fi
3161 CC=$ac_cv_prog_CC
3162 if test -n "$CC"; then
3163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3164 $as_echo "$CC" >&6; }
3165 else
3166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3168 fi
3169
3170
3171 fi
3172 if test -z "$ac_cv_prog_CC"; then
3173   ac_ct_CC=$CC
3174   # Extract the first word of "gcc", so it can be a program name with args.
3175 set dummy gcc; ac_word=$2
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177 $as_echo_n "checking for $ac_word... " >&6; }
3178 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3179   $as_echo_n "(cached) " >&6
3180 else
3181   if test -n "$ac_ct_CC"; then
3182   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3183 else
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH
3186 do
3187   IFS=$as_save_IFS
3188   test -z "$as_dir" && as_dir=.
3189     for ac_exec_ext in '' $ac_executable_extensions; do
3190   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3191     ac_cv_prog_ac_ct_CC="gcc"
3192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193     break 2
3194   fi
3195 done
3196   done
3197 IFS=$as_save_IFS
3198
3199 fi
3200 fi
3201 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3202 if test -n "$ac_ct_CC"; then
3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3204 $as_echo "$ac_ct_CC" >&6; }
3205 else
3206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3208 fi
3209
3210   if test "x$ac_ct_CC" = x; then
3211     CC=""
3212   else
3213     case $cross_compiling:$ac_tool_warned in
3214 yes:)
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3217 ac_tool_warned=yes ;;
3218 esac
3219     CC=$ac_ct_CC
3220   fi
3221 else
3222   CC="$ac_cv_prog_CC"
3223 fi
3224
3225 if test -z "$CC"; then
3226           if test -n "$ac_tool_prefix"; then
3227     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3228 set dummy ${ac_tool_prefix}cc; ac_word=$2
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230 $as_echo_n "checking for $ac_word... " >&6; }
3231 if ${ac_cv_prog_CC+:} false; then :
3232   $as_echo_n "(cached) " >&6
3233 else
3234   if test -n "$CC"; then
3235   ac_cv_prog_CC="$CC" # Let the user override the test.
3236 else
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238 for as_dir in $PATH
3239 do
3240   IFS=$as_save_IFS
3241   test -z "$as_dir" && as_dir=.
3242     for ac_exec_ext in '' $ac_executable_extensions; do
3243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3244     ac_cv_prog_CC="${ac_tool_prefix}cc"
3245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3246     break 2
3247   fi
3248 done
3249   done
3250 IFS=$as_save_IFS
3251
3252 fi
3253 fi
3254 CC=$ac_cv_prog_CC
3255 if test -n "$CC"; then
3256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3257 $as_echo "$CC" >&6; }
3258 else
3259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260 $as_echo "no" >&6; }
3261 fi
3262
3263
3264   fi
3265 fi
3266 if test -z "$CC"; then
3267   # Extract the first word of "cc", so it can be a program name with args.
3268 set dummy cc; ac_word=$2
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270 $as_echo_n "checking for $ac_word... " >&6; }
3271 if ${ac_cv_prog_CC+:} false; then :
3272   $as_echo_n "(cached) " >&6
3273 else
3274   if test -n "$CC"; then
3275   ac_cv_prog_CC="$CC" # Let the user override the test.
3276 else
3277   ac_prog_rejected=no
3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3279 for as_dir in $PATH
3280 do
3281   IFS=$as_save_IFS
3282   test -z "$as_dir" && as_dir=.
3283     for ac_exec_ext in '' $ac_executable_extensions; do
3284   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3285     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3286        ac_prog_rejected=yes
3287        continue
3288      fi
3289     ac_cv_prog_CC="cc"
3290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3291     break 2
3292   fi
3293 done
3294   done
3295 IFS=$as_save_IFS
3296
3297 if test $ac_prog_rejected = yes; then
3298   # We found a bogon in the path, so make sure we never use it.
3299   set dummy $ac_cv_prog_CC
3300   shift
3301   if test $# != 0; then
3302     # We chose a different compiler from the bogus one.
3303     # However, it has the same basename, so the bogon will be chosen
3304     # first if we set CC to just the basename; use the full file name.
3305     shift
3306     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3307   fi
3308 fi
3309 fi
3310 fi
3311 CC=$ac_cv_prog_CC
3312 if test -n "$CC"; then
3313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3314 $as_echo "$CC" >&6; }
3315 else
3316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3318 fi
3319
3320
3321 fi
3322 if test -z "$CC"; then
3323   if test -n "$ac_tool_prefix"; then
3324   for ac_prog in cl.exe
3325   do
3326     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3327 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if ${ac_cv_prog_CC+:} false; then :
3331   $as_echo_n "(cached) " >&6
3332 else
3333   if test -n "$CC"; then
3334   ac_cv_prog_CC="$CC" # Let the user override the test.
3335 else
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 for as_dir in $PATH
3338 do
3339   IFS=$as_save_IFS
3340   test -z "$as_dir" && as_dir=.
3341     for ac_exec_ext in '' $ac_executable_extensions; do
3342   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3344     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345     break 2
3346   fi
3347 done
3348   done
3349 IFS=$as_save_IFS
3350
3351 fi
3352 fi
3353 CC=$ac_cv_prog_CC
3354 if test -n "$CC"; then
3355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3356 $as_echo "$CC" >&6; }
3357 else
3358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3360 fi
3361
3362
3363     test -n "$CC" && break
3364   done
3365 fi
3366 if test -z "$CC"; then
3367   ac_ct_CC=$CC
3368   for ac_prog in cl.exe
3369 do
3370   # Extract the first word of "$ac_prog", so it can be a program name with args.
3371 set dummy $ac_prog; ac_word=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3375   $as_echo_n "(cached) " >&6
3376 else
3377   if test -n "$ac_ct_CC"; then
3378   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3379 else
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 for as_dir in $PATH
3382 do
3383   IFS=$as_save_IFS
3384   test -z "$as_dir" && as_dir=.
3385     for ac_exec_ext in '' $ac_executable_extensions; do
3386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3387     ac_cv_prog_ac_ct_CC="$ac_prog"
3388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3389     break 2
3390   fi
3391 done
3392   done
3393 IFS=$as_save_IFS
3394
3395 fi
3396 fi
3397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3398 if test -n "$ac_ct_CC"; then
3399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3400 $as_echo "$ac_ct_CC" >&6; }
3401 else
3402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3404 fi
3405
3406
3407   test -n "$ac_ct_CC" && break
3408 done
3409
3410   if test "x$ac_ct_CC" = x; then
3411     CC=""
3412   else
3413     case $cross_compiling:$ac_tool_warned in
3414 yes:)
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3417 ac_tool_warned=yes ;;
3418 esac
3419     CC=$ac_ct_CC
3420   fi
3421 fi
3422
3423 fi
3424
3425
3426 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3428 as_fn_error $? "no acceptable C compiler found in \$PATH
3429 See \`config.log' for more details" "$LINENO" 5; }
3430
3431 # Provide some information about the compiler.
3432 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3433 set X $ac_compile
3434 ac_compiler=$2
3435 for ac_option in --version -v -V -qversion; do
3436   { { ac_try="$ac_compiler $ac_option >&5"
3437 case "(($ac_try" in
3438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439   *) ac_try_echo=$ac_try;;
3440 esac
3441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3442 $as_echo "$ac_try_echo"; } >&5
3443   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3444   ac_status=$?
3445   if test -s conftest.err; then
3446     sed '10a\
3447 ... rest of stderr output deleted ...
3448          10q' conftest.err >conftest.er1
3449     cat conftest.er1 >&5
3450   fi
3451   rm -f conftest.er1 conftest.err
3452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453   test $ac_status = 0; }
3454 done
3455
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h.  */
3458
3459 int
3460 main ()
3461 {
3462
3463   ;
3464   return 0;
3465 }
3466 _ACEOF
3467 ac_clean_files_save=$ac_clean_files
3468 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3469 # Try to create an executable without -o first, disregard a.out.
3470 # It will help us diagnose broken compilers, and finding out an intuition
3471 # of exeext.
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3473 $as_echo_n "checking whether the C compiler works... " >&6; }
3474 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3475
3476 # The possible output files:
3477 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3478
3479 ac_rmfiles=
3480 for ac_file in $ac_files
3481 do
3482   case $ac_file in
3483     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3484     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3485   esac
3486 done
3487 rm -f $ac_rmfiles
3488
3489 if { { ac_try="$ac_link_default"
3490 case "(($ac_try" in
3491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492   *) ac_try_echo=$ac_try;;
3493 esac
3494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3495 $as_echo "$ac_try_echo"; } >&5
3496   (eval "$ac_link_default") 2>&5
3497   ac_status=$?
3498   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499   test $ac_status = 0; }; then :
3500   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3501 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3502 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3503 # so that the user can short-circuit this test for compilers unknown to
3504 # Autoconf.
3505 for ac_file in $ac_files ''
3506 do
3507   test -f "$ac_file" || continue
3508   case $ac_file in
3509     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3510         ;;
3511     [ab].out )
3512         # We found the default executable, but exeext='' is most
3513         # certainly right.
3514         break;;
3515     *.* )
3516         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3517         then :; else
3518            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3519         fi
3520         # We set ac_cv_exeext here because the later test for it is not
3521         # safe: cross compilers may not add the suffix if given an `-o'
3522         # argument, so we may need to know it at that point already.
3523         # Even if this section looks crufty: it has the advantage of
3524         # actually working.
3525         break;;
3526     * )
3527         break;;
3528   esac
3529 done
3530 test "$ac_cv_exeext" = no && ac_cv_exeext=
3531
3532 else
3533   ac_file=''
3534 fi
3535 if test -z "$ac_file"; then :
3536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537 $as_echo "no" >&6; }
3538 $as_echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.$ac_ext >&5
3540
3541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 as_fn_error 77 "C compiler cannot create executables
3544 See \`config.log' for more details" "$LINENO" 5; }
3545 else
3546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3547 $as_echo "yes" >&6; }
3548 fi
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3550 $as_echo_n "checking for C compiler default output file name... " >&6; }
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3552 $as_echo "$ac_file" >&6; }
3553 ac_exeext=$ac_cv_exeext
3554
3555 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3556 ac_clean_files=$ac_clean_files_save
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3558 $as_echo_n "checking for suffix of executables... " >&6; }
3559 if { { ac_try="$ac_link"
3560 case "(($ac_try" in
3561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562   *) ac_try_echo=$ac_try;;
3563 esac
3564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3565 $as_echo "$ac_try_echo"; } >&5
3566   (eval "$ac_link") 2>&5
3567   ac_status=$?
3568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3569   test $ac_status = 0; }; then :
3570   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3571 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3572 # work properly (i.e., refer to `conftest.exe'), while it won't with
3573 # `rm'.
3574 for ac_file in conftest.exe conftest conftest.*; do
3575   test -f "$ac_file" || continue
3576   case $ac_file in
3577     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3578     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3579           break;;
3580     * ) break;;
3581   esac
3582 done
3583 else
3584   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3586 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3587 See \`config.log' for more details" "$LINENO" 5; }
3588 fi
3589 rm -f conftest conftest$ac_cv_exeext
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3591 $as_echo "$ac_cv_exeext" >&6; }
3592
3593 rm -f conftest.$ac_ext
3594 EXEEXT=$ac_cv_exeext
3595 ac_exeext=$EXEEXT
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h.  */
3598 #include <stdio.h>
3599 int
3600 main ()
3601 {
3602 FILE *f = fopen ("conftest.out", "w");
3603  return ferror (f) || fclose (f) != 0;
3604
3605   ;
3606   return 0;
3607 }
3608 _ACEOF
3609 ac_clean_files="$ac_clean_files conftest.out"
3610 # Check that the compiler produces executables we can run.  If not, either
3611 # the compiler is broken, or we cross compile.
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3613 $as_echo_n "checking whether we are cross compiling... " >&6; }
3614 if test "$cross_compiling" != yes; then
3615   { { ac_try="$ac_link"
3616 case "(($ac_try" in
3617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618   *) ac_try_echo=$ac_try;;
3619 esac
3620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3621 $as_echo "$ac_try_echo"; } >&5
3622   (eval "$ac_link") 2>&5
3623   ac_status=$?
3624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3625   test $ac_status = 0; }
3626   if { ac_try='./conftest$ac_cv_exeext'
3627   { { case "(($ac_try" in
3628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629   *) ac_try_echo=$ac_try;;
3630 esac
3631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3632 $as_echo "$ac_try_echo"; } >&5
3633   (eval "$ac_try") 2>&5
3634   ac_status=$?
3635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3636   test $ac_status = 0; }; }; then
3637     cross_compiling=no
3638   else
3639     if test "$cross_compiling" = maybe; then
3640         cross_compiling=yes
3641     else
3642         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3644 as_fn_error $? "cannot run C compiled programs.
3645 If you meant to cross compile, use \`--host'.
3646 See \`config.log' for more details" "$LINENO" 5; }
3647     fi
3648   fi
3649 fi
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3651 $as_echo "$cross_compiling" >&6; }
3652
3653 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3654 ac_clean_files=$ac_clean_files_save
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3656 $as_echo_n "checking for suffix of object files... " >&6; }
3657 if ${ac_cv_objext+:} false; then :
3658   $as_echo_n "(cached) " >&6
3659 else
3660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h.  */
3662
3663 int
3664 main ()
3665 {
3666
3667   ;
3668   return 0;
3669 }
3670 _ACEOF
3671 rm -f conftest.o conftest.obj
3672 if { { ac_try="$ac_compile"
3673 case "(($ac_try" in
3674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675   *) ac_try_echo=$ac_try;;
3676 esac
3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3678 $as_echo "$ac_try_echo"; } >&5
3679   (eval "$ac_compile") 2>&5
3680   ac_status=$?
3681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3682   test $ac_status = 0; }; then :
3683   for ac_file in conftest.o conftest.obj conftest.*; do
3684   test -f "$ac_file" || continue;
3685   case $ac_file in
3686     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3687     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3688        break;;
3689   esac
3690 done
3691 else
3692   $as_echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3694
3695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3697 as_fn_error $? "cannot compute suffix of object files: cannot compile
3698 See \`config.log' for more details" "$LINENO" 5; }
3699 fi
3700 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3701 fi
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3703 $as_echo "$ac_cv_objext" >&6; }
3704 OBJEXT=$ac_cv_objext
3705 ac_objext=$OBJEXT
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3707 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3708 if ${ac_cv_c_compiler_gnu+:} false; then :
3709   $as_echo_n "(cached) " >&6
3710 else
3711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h.  */
3713
3714 int
3715 main ()
3716 {
3717 #ifndef __GNUC__
3718        choke me
3719 #endif
3720
3721   ;
3722   return 0;
3723 }
3724 _ACEOF
3725 if ac_fn_c_try_compile "$LINENO"; then :
3726   ac_compiler_gnu=yes
3727 else
3728   ac_compiler_gnu=no
3729 fi
3730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3731 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3732
3733 fi
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3735 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3736 if test $ac_compiler_gnu = yes; then
3737   GCC=yes
3738 else
3739   GCC=
3740 fi
3741 ac_test_CFLAGS=${CFLAGS+set}
3742 ac_save_CFLAGS=$CFLAGS
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3744 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3745 if ${ac_cv_prog_cc_g+:} false; then :
3746   $as_echo_n "(cached) " >&6
3747 else
3748   ac_save_c_werror_flag=$ac_c_werror_flag
3749    ac_c_werror_flag=yes
3750    ac_cv_prog_cc_g=no
3751    CFLAGS="-g"
3752    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h.  */
3754
3755 int
3756 main ()
3757 {
3758
3759   ;
3760   return 0;
3761 }
3762 _ACEOF
3763 if ac_fn_c_try_compile "$LINENO"; then :
3764   ac_cv_prog_cc_g=yes
3765 else
3766   CFLAGS=""
3767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h.  */
3769
3770 int
3771 main ()
3772 {
3773
3774   ;
3775   return 0;
3776 }
3777 _ACEOF
3778 if ac_fn_c_try_compile "$LINENO"; then :
3779
3780 else
3781   ac_c_werror_flag=$ac_save_c_werror_flag
3782          CFLAGS="-g"
3783          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h.  */
3785
3786 int
3787 main ()
3788 {
3789
3790   ;
3791   return 0;
3792 }
3793 _ACEOF
3794 if ac_fn_c_try_compile "$LINENO"; then :
3795   ac_cv_prog_cc_g=yes
3796 fi
3797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3798 fi
3799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3800 fi
3801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802    ac_c_werror_flag=$ac_save_c_werror_flag
3803 fi
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3805 $as_echo "$ac_cv_prog_cc_g" >&6; }
3806 if test "$ac_test_CFLAGS" = set; then
3807   CFLAGS=$ac_save_CFLAGS
3808 elif test $ac_cv_prog_cc_g = yes; then
3809   if test "$GCC" = yes; then
3810     CFLAGS="-g -O2"
3811   else
3812     CFLAGS="-g"
3813   fi
3814 else
3815   if test "$GCC" = yes; then
3816     CFLAGS="-O2"
3817   else
3818     CFLAGS=
3819   fi
3820 fi
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3822 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3823 if ${ac_cv_prog_cc_c89+:} false; then :
3824   $as_echo_n "(cached) " >&6
3825 else
3826   ac_cv_prog_cc_c89=no
3827 ac_save_CC=$CC
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h.  */
3830 #include <stdarg.h>
3831 #include <stdio.h>
3832 #include <sys/types.h>
3833 #include <sys/stat.h>
3834 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3835 struct buf { int x; };
3836 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3837 static char *e (p, i)
3838      char **p;
3839      int i;
3840 {
3841   return p[i];
3842 }
3843 static char *f (char * (*g) (char **, int), char **p, ...)
3844 {
3845   char *s;
3846   va_list v;
3847   va_start (v,p);
3848   s = g (p, va_arg (v,int));
3849   va_end (v);
3850   return s;
3851 }
3852
3853 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3854    function prototypes and stuff, but not '\xHH' hex character constants.
3855    These don't provoke an error unfortunately, instead are silently treated
3856    as 'x'.  The following induces an error, until -std is added to get
3857    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3858    array size at least.  It's necessary to write '\x00'==0 to get something
3859    that's true only with -std.  */
3860 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3861
3862 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3863    inside strings and character constants.  */
3864 #define FOO(x) 'x'
3865 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3866
3867 int test (int i, double x);
3868 struct s1 {int (*f) (int a);};
3869 struct s2 {int (*f) (double a);};
3870 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3871 int argc;
3872 char **argv;
3873 int
3874 main ()
3875 {
3876 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3877   ;
3878   return 0;
3879 }
3880 _ACEOF
3881 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3882         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3883 do
3884   CC="$ac_save_CC $ac_arg"
3885   if ac_fn_c_try_compile "$LINENO"; then :
3886   ac_cv_prog_cc_c89=$ac_arg
3887 fi
3888 rm -f core conftest.err conftest.$ac_objext
3889   test "x$ac_cv_prog_cc_c89" != "xno" && break
3890 done
3891 rm -f conftest.$ac_ext
3892 CC=$ac_save_CC
3893
3894 fi
3895 # AC_CACHE_VAL
3896 case "x$ac_cv_prog_cc_c89" in
3897   x)
3898     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3899 $as_echo "none needed" >&6; } ;;
3900   xno)
3901     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3902 $as_echo "unsupported" >&6; } ;;
3903   *)
3904     CC="$CC $ac_cv_prog_cc_c89"
3905     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3906 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3907 esac
3908 if test "x$ac_cv_prog_cc_c89" != xno; then :
3909
3910 fi
3911
3912 ac_ext=c
3913 ac_cpp='$CPP $CPPFLAGS'
3914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3917
3918 depcc="$CC"   am_compiler_list=
3919
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3921 $as_echo_n "checking dependency style of $depcc... " >&6; }
3922 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3923   $as_echo_n "(cached) " >&6
3924 else
3925   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3926   # We make a subdir and do the tests there.  Otherwise we can end up
3927   # making bogus files that we don't know about and never remove.  For
3928   # instance it was reported that on HP-UX the gcc test will end up
3929   # making a dummy file named `D' -- because `-MD' means `put the output
3930   # in D'.
3931   rm -rf conftest.dir
3932   mkdir conftest.dir
3933   # Copy depcomp to subdir because otherwise we won't find it if we're
3934   # using a relative directory.
3935   cp "$am_depcomp" conftest.dir
3936   cd conftest.dir
3937   # We will build objects and dependencies in a subdirectory because
3938   # it helps to detect inapplicable dependency modes.  For instance
3939   # both Tru64's cc and ICC support -MD to output dependencies as a
3940   # side effect of compilation, but ICC will put the dependencies in
3941   # the current directory while Tru64 will put them in the object
3942   # directory.
3943   mkdir sub
3944
3945   am_cv_CC_dependencies_compiler_type=none
3946   if test "$am_compiler_list" = ""; then
3947      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3948   fi
3949   am__universal=false
3950   case " $depcc " in #(
3951      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3952      esac
3953
3954   for depmode in $am_compiler_list; do
3955     # Setup a source with many dependencies, because some compilers
3956     # like to wrap large dependency lists on column 80 (with \), and
3957     # we should not choose a depcomp mode which is confused by this.
3958     #
3959     # We need to recreate these files for each test, as the compiler may
3960     # overwrite some of them when testing with obscure command lines.
3961     # This happens at least with the AIX C compiler.
3962     : > sub/conftest.c
3963     for i in 1 2 3 4 5 6; do
3964       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3965       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3966       # Solaris 8's {/usr,}/bin/sh.
3967       touch sub/conftst$i.h
3968     done
3969     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3970
3971     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3972     # mode.  It turns out that the SunPro C++ compiler does not properly
3973     # handle `-M -o', and we need to detect this.  Also, some Intel
3974     # versions had trouble with output in subdirs
3975     am__obj=sub/conftest.${OBJEXT-o}
3976     am__minus_obj="-o $am__obj"
3977     case $depmode in
3978     gcc)
3979       # This depmode causes a compiler race in universal mode.
3980       test "$am__universal" = false || continue
3981       ;;
3982     nosideeffect)
3983       # after this tag, mechanisms are not by side-effect, so they'll
3984       # only be used when explicitly requested
3985       if test "x$enable_dependency_tracking" = xyes; then
3986         continue
3987       else
3988         break
3989       fi
3990       ;;
3991     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3992       # This compiler won't grok `-c -o', but also, the minuso test has
3993       # not run yet.  These depmodes are late enough in the game, and
3994       # so weak that their functioning should not be impacted.
3995       am__obj=conftest.${OBJEXT-o}
3996       am__minus_obj=
3997       ;;
3998     none) break ;;
3999     esac
4000     if depmode=$depmode \
4001        source=sub/conftest.c object=$am__obj \
4002        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4003        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4004          >/dev/null 2>conftest.err &&
4005        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4006        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4007        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4008        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4009       # icc doesn't choke on unknown options, it will just issue warnings
4010       # or remarks (even with -Werror).  So we grep stderr for any message
4011       # that says an option was ignored or not supported.
4012       # When given -MP, icc 7.0 and 7.1 complain thusly:
4013       #   icc: Command line warning: ignoring option '-M'; no argument required
4014       # The diagnosis changed in icc 8.0:
4015       #   icc: Command line remark: option '-MP' not supported
4016       if (grep 'ignoring option' conftest.err ||
4017           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4018         am_cv_CC_dependencies_compiler_type=$depmode
4019         break
4020       fi
4021     fi
4022   done
4023
4024   cd ..
4025   rm -rf conftest.dir
4026 else
4027   am_cv_CC_dependencies_compiler_type=none
4028 fi
4029
4030 fi
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4032 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4033 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4034
4035  if
4036   test "x$enable_dependency_tracking" != xno \
4037   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4038   am__fastdepCC_TRUE=
4039   am__fastdepCC_FALSE='#'
4040 else
4041   am__fastdepCC_TRUE='#'
4042   am__fastdepCC_FALSE=
4043 fi
4044
4045
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4047 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4048 if ${ac_cv_path_SED+:} false; then :
4049   $as_echo_n "(cached) " >&6
4050 else
4051             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4052      for ac_i in 1 2 3 4 5 6 7; do
4053        ac_script="$ac_script$as_nl$ac_script"
4054      done
4055      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4056      { ac_script=; unset ac_script;}
4057      if test -z "$SED"; then
4058   ac_path_SED_found=false
4059   # Loop through the user's path and test for each of PROGNAME-LIST
4060   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061 for as_dir in $PATH
4062 do
4063   IFS=$as_save_IFS
4064   test -z "$as_dir" && as_dir=.
4065     for ac_prog in sed gsed; do
4066     for ac_exec_ext in '' $ac_executable_extensions; do
4067       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4068       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4069 # Check for GNU ac_path_SED and select it if it is found.
4070   # Check for GNU $ac_path_SED
4071 case `"$ac_path_SED" --version 2>&1` in
4072 *GNU*)
4073   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4074 *)
4075   ac_count=0
4076   $as_echo_n 0123456789 >"conftest.in"
4077   while :
4078   do
4079     cat "conftest.in" "conftest.in" >"conftest.tmp"
4080     mv "conftest.tmp" "conftest.in"
4081     cp "conftest.in" "conftest.nl"
4082     $as_echo '' >> "conftest.nl"
4083     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4084     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4085     as_fn_arith $ac_count + 1 && ac_count=$as_val
4086     if test $ac_count -gt ${ac_path_SED_max-0}; then
4087       # Best one so far, save it but keep looking for a better one
4088       ac_cv_path_SED="$ac_path_SED"
4089       ac_path_SED_max=$ac_count
4090     fi
4091     # 10*(2^10) chars as input seems more than enough
4092     test $ac_count -gt 10 && break
4093   done
4094   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4095 esac
4096
4097       $ac_path_SED_found && break 3
4098     done
4099   done
4100   done
4101 IFS=$as_save_IFS
4102   if test -z "$ac_cv_path_SED"; then
4103     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4104   fi
4105 else
4106   ac_cv_path_SED=$SED
4107 fi
4108
4109 fi
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4111 $as_echo "$ac_cv_path_SED" >&6; }
4112  SED="$ac_cv_path_SED"
4113   rm -f conftest.sed
4114
4115 test -z "$SED" && SED=sed
4116 Xsed="$SED -e 1s/^X//"
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4129 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4130 if ${ac_cv_path_GREP+:} false; then :
4131   $as_echo_n "(cached) " >&6
4132 else
4133   if test -z "$GREP"; then
4134   ac_path_GREP_found=false
4135   # Loop through the user's path and test for each of PROGNAME-LIST
4136   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4138 do
4139   IFS=$as_save_IFS
4140   test -z "$as_dir" && as_dir=.
4141     for ac_prog in grep ggrep; do
4142     for ac_exec_ext in '' $ac_executable_extensions; do
4143       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4144       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4145 # Check for GNU ac_path_GREP and select it if it is found.
4146   # Check for GNU $ac_path_GREP
4147 case `"$ac_path_GREP" --version 2>&1` in
4148 *GNU*)
4149   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4150 *)
4151   ac_count=0
4152   $as_echo_n 0123456789 >"conftest.in"
4153   while :
4154   do
4155     cat "conftest.in" "conftest.in" >"conftest.tmp"
4156     mv "conftest.tmp" "conftest.in"
4157     cp "conftest.in" "conftest.nl"
4158     $as_echo 'GREP' >> "conftest.nl"
4159     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4160     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4161     as_fn_arith $ac_count + 1 && ac_count=$as_val
4162     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4163       # Best one so far, save it but keep looking for a better one
4164       ac_cv_path_GREP="$ac_path_GREP"
4165       ac_path_GREP_max=$ac_count
4166     fi
4167     # 10*(2^10) chars as input seems more than enough
4168     test $ac_count -gt 10 && break
4169   done
4170   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4171 esac
4172
4173       $ac_path_GREP_found && break 3
4174     done
4175   done
4176   done
4177 IFS=$as_save_IFS
4178   if test -z "$ac_cv_path_GREP"; then
4179     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4180   fi
4181 else
4182   ac_cv_path_GREP=$GREP
4183 fi
4184
4185 fi
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4187 $as_echo "$ac_cv_path_GREP" >&6; }
4188  GREP="$ac_cv_path_GREP"
4189
4190
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4192 $as_echo_n "checking for egrep... " >&6; }
4193 if ${ac_cv_path_EGREP+:} false; then :
4194   $as_echo_n "(cached) " >&6
4195 else
4196   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4197    then ac_cv_path_EGREP="$GREP -E"
4198    else
4199      if test -z "$EGREP"; then
4200   ac_path_EGREP_found=false
4201   # Loop through the user's path and test for each of PROGNAME-LIST
4202   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4204 do
4205   IFS=$as_save_IFS
4206   test -z "$as_dir" && as_dir=.
4207     for ac_prog in egrep; do
4208     for ac_exec_ext in '' $ac_executable_extensions; do
4209       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4210       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4211 # Check for GNU ac_path_EGREP and select it if it is found.
4212   # Check for GNU $ac_path_EGREP
4213 case `"$ac_path_EGREP" --version 2>&1` in
4214 *GNU*)
4215   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4216 *)
4217   ac_count=0
4218   $as_echo_n 0123456789 >"conftest.in"
4219   while :
4220   do
4221     cat "conftest.in" "conftest.in" >"conftest.tmp"
4222     mv "conftest.tmp" "conftest.in"
4223     cp "conftest.in" "conftest.nl"
4224     $as_echo 'EGREP' >> "conftest.nl"
4225     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4226     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4227     as_fn_arith $ac_count + 1 && ac_count=$as_val
4228     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4229       # Best one so far, save it but keep looking for a better one
4230       ac_cv_path_EGREP="$ac_path_EGREP"
4231       ac_path_EGREP_max=$ac_count
4232     fi
4233     # 10*(2^10) chars as input seems more than enough
4234     test $ac_count -gt 10 && break
4235   done
4236   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4237 esac
4238
4239       $ac_path_EGREP_found && break 3
4240     done
4241   done
4242   done
4243 IFS=$as_save_IFS
4244   if test -z "$ac_cv_path_EGREP"; then
4245     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4246   fi
4247 else
4248   ac_cv_path_EGREP=$EGREP
4249 fi
4250
4251    fi
4252 fi
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4254 $as_echo "$ac_cv_path_EGREP" >&6; }
4255  EGREP="$ac_cv_path_EGREP"
4256
4257
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4259 $as_echo_n "checking for fgrep... " >&6; }
4260 if ${ac_cv_path_FGREP+:} false; then :
4261   $as_echo_n "(cached) " >&6
4262 else
4263   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4264    then ac_cv_path_FGREP="$GREP -F"
4265    else
4266      if test -z "$FGREP"; then
4267   ac_path_FGREP_found=false
4268   # Loop through the user's path and test for each of PROGNAME-LIST
4269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4271 do
4272   IFS=$as_save_IFS
4273   test -z "$as_dir" && as_dir=.
4274     for ac_prog in fgrep; do
4275     for ac_exec_ext in '' $ac_executable_extensions; do
4276       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4277       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4278 # Check for GNU ac_path_FGREP and select it if it is found.
4279   # Check for GNU $ac_path_FGREP
4280 case `"$ac_path_FGREP" --version 2>&1` in
4281 *GNU*)
4282   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4283 *)
4284   ac_count=0
4285   $as_echo_n 0123456789 >"conftest.in"
4286   while :
4287   do
4288     cat "conftest.in" "conftest.in" >"conftest.tmp"
4289     mv "conftest.tmp" "conftest.in"
4290     cp "conftest.in" "conftest.nl"
4291     $as_echo 'FGREP' >> "conftest.nl"
4292     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4293     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4294     as_fn_arith $ac_count + 1 && ac_count=$as_val
4295     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4296       # Best one so far, save it but keep looking for a better one
4297       ac_cv_path_FGREP="$ac_path_FGREP"
4298       ac_path_FGREP_max=$ac_count
4299     fi
4300     # 10*(2^10) chars as input seems more than enough
4301     test $ac_count -gt 10 && break
4302   done
4303   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4304 esac
4305
4306       $ac_path_FGREP_found && break 3
4307     done
4308   done
4309   done
4310 IFS=$as_save_IFS
4311   if test -z "$ac_cv_path_FGREP"; then
4312     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4313   fi
4314 else
4315   ac_cv_path_FGREP=$FGREP
4316 fi
4317
4318    fi
4319 fi
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4321 $as_echo "$ac_cv_path_FGREP" >&6; }
4322  FGREP="$ac_cv_path_FGREP"
4323
4324
4325 test -z "$GREP" && GREP=grep
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345 # Check whether --with-gnu-ld was given.
4346 if test "${with_gnu_ld+set}" = set; then :
4347   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4348 else
4349   with_gnu_ld=no
4350 fi
4351
4352 ac_prog=ld
4353 if test "$GCC" = yes; then
4354   # Check if gcc -print-prog-name=ld gives a path.
4355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4356 $as_echo_n "checking for ld used by $CC... " >&6; }
4357   case $host in
4358   *-*-mingw*)
4359     # gcc leaves a trailing carriage return which upsets mingw
4360     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4361   *)
4362     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4363   esac
4364   case $ac_prog in
4365     # Accept absolute paths.
4366     [\\/]* | ?:[\\/]*)
4367       re_direlt='/[^/][^/]*/\.\./'
4368       # Canonicalize the pathname of ld
4369       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4370       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4371         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4372       done
4373       test -z "$LD" && LD="$ac_prog"
4374       ;;
4375   "")
4376     # If it fails, then pretend we aren't using GCC.
4377     ac_prog=ld
4378     ;;
4379   *)
4380     # If it is relative, then search for the first ld in PATH.
4381     with_gnu_ld=unknown
4382     ;;
4383   esac
4384 elif test "$with_gnu_ld" = yes; then
4385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4386 $as_echo_n "checking for GNU ld... " >&6; }
4387 else
4388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4389 $as_echo_n "checking for non-GNU ld... " >&6; }
4390 fi
4391 if ${lt_cv_path_LD+:} false; then :
4392   $as_echo_n "(cached) " >&6
4393 else
4394   if test -z "$LD"; then
4395   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4396   for ac_dir in $PATH; do
4397     IFS="$lt_save_ifs"
4398     test -z "$ac_dir" && ac_dir=.
4399     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4400       lt_cv_path_LD="$ac_dir/$ac_prog"
4401       # Check to see if the program is GNU ld.  I'd rather use --version,
4402       # but apparently some variants of GNU ld only accept -v.
4403       # Break only if it was the GNU/non-GNU ld that we prefer.
4404       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4405       *GNU* | *'with BFD'*)
4406         test "$with_gnu_ld" != no && break
4407         ;;
4408       *)
4409         test "$with_gnu_ld" != yes && break
4410         ;;
4411       esac
4412     fi
4413   done
4414   IFS="$lt_save_ifs"
4415 else
4416   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4417 fi
4418 fi
4419
4420 LD="$lt_cv_path_LD"
4421 if test -n "$LD"; then
4422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4423 $as_echo "$LD" >&6; }
4424 else
4425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4427 fi
4428 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4430 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4431 if ${lt_cv_prog_gnu_ld+:} false; then :
4432   $as_echo_n "(cached) " >&6
4433 else
4434   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4435 case `$LD -v 2>&1 </dev/null` in
4436 *GNU* | *'with BFD'*)
4437   lt_cv_prog_gnu_ld=yes
4438   ;;
4439 *)
4440   lt_cv_prog_gnu_ld=no
4441   ;;
4442 esac
4443 fi
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4445 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4446 with_gnu_ld=$lt_cv_prog_gnu_ld
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4457 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4458 if ${lt_cv_path_NM+:} false; then :
4459   $as_echo_n "(cached) " >&6
4460 else
4461   if test -n "$NM"; then
4462   # Let the user override the test.
4463   lt_cv_path_NM="$NM"
4464 else
4465   lt_nm_to_check="${ac_tool_prefix}nm"
4466   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4467     lt_nm_to_check="$lt_nm_to_check nm"
4468   fi
4469   for lt_tmp_nm in $lt_nm_to_check; do
4470     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4471     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4472       IFS="$lt_save_ifs"
4473       test -z "$ac_dir" && ac_dir=.
4474       tmp_nm="$ac_dir/$lt_tmp_nm"
4475       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4476         # Check to see if the nm accepts a BSD-compat flag.
4477         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4478         #   nm: unknown option "B" ignored
4479         # Tru64's nm complains that /dev/null is an invalid object file
4480         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4481         */dev/null* | *'Invalid file or object type'*)
4482           lt_cv_path_NM="$tmp_nm -B"
4483           break
4484           ;;
4485         *)
4486           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4487           */dev/null*)
4488             lt_cv_path_NM="$tmp_nm -p"
4489             break
4490             ;;
4491           *)
4492             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4493             continue # so that we can try to find one that supports BSD flags
4494             ;;
4495           esac
4496           ;;
4497         esac
4498       fi
4499     done
4500     IFS="$lt_save_ifs"
4501   done
4502   : ${lt_cv_path_NM=no}
4503 fi
4504 fi
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4506 $as_echo "$lt_cv_path_NM" >&6; }
4507 if test "$lt_cv_path_NM" != "no"; then
4508   NM="$lt_cv_path_NM"
4509 else
4510   # Didn't find any BSD compatible name lister, look for dumpbin.
4511   if test -n "$DUMPBIN"; then :
4512     # Let the user override the test.
4513   else
4514     if test -n "$ac_tool_prefix"; then
4515   for ac_prog in dumpbin "link -dump"
4516   do
4517     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4518 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if ${ac_cv_prog_DUMPBIN+:} false; then :
4522   $as_echo_n "(cached) " >&6
4523 else
4524   if test -n "$DUMPBIN"; then
4525   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4526 else
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 for as_dir in $PATH
4529 do
4530   IFS=$as_save_IFS
4531   test -z "$as_dir" && as_dir=.
4532     for ac_exec_ext in '' $ac_executable_extensions; do
4533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4534     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536     break 2
4537   fi
4538 done
4539   done
4540 IFS=$as_save_IFS
4541
4542 fi
4543 fi
4544 DUMPBIN=$ac_cv_prog_DUMPBIN
4545 if test -n "$DUMPBIN"; then
4546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4547 $as_echo "$DUMPBIN" >&6; }
4548 else
4549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4551 fi
4552
4553
4554     test -n "$DUMPBIN" && break
4555   done
4556 fi
4557 if test -z "$DUMPBIN"; then
4558   ac_ct_DUMPBIN=$DUMPBIN
4559   for ac_prog in dumpbin "link -dump"
4560 do
4561   # Extract the first word of "$ac_prog", so it can be a program name with args.
4562 set dummy $ac_prog; ac_word=$2
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4564 $as_echo_n "checking for $ac_word... " >&6; }
4565 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4566   $as_echo_n "(cached) " >&6
4567 else
4568   if test -n "$ac_ct_DUMPBIN"; then
4569   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4570 else
4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572 for as_dir in $PATH
4573 do
4574   IFS=$as_save_IFS
4575   test -z "$as_dir" && as_dir=.
4576     for ac_exec_ext in '' $ac_executable_extensions; do
4577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4578     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4580     break 2
4581   fi
4582 done
4583   done
4584 IFS=$as_save_IFS
4585
4586 fi
4587 fi
4588 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4589 if test -n "$ac_ct_DUMPBIN"; then
4590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4591 $as_echo "$ac_ct_DUMPBIN" >&6; }
4592 else
4593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4595 fi
4596
4597
4598   test -n "$ac_ct_DUMPBIN" && break
4599 done
4600
4601   if test "x$ac_ct_DUMPBIN" = x; then
4602     DUMPBIN=":"
4603   else
4604     case $cross_compiling:$ac_tool_warned in
4605 yes:)
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4608 ac_tool_warned=yes ;;
4609 esac
4610     DUMPBIN=$ac_ct_DUMPBIN
4611   fi
4612 fi
4613
4614     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4615     *COFF*)
4616       DUMPBIN="$DUMPBIN -symbols"
4617       ;;
4618     *)
4619       DUMPBIN=:
4620       ;;
4621     esac
4622   fi
4623
4624   if test "$DUMPBIN" != ":"; then
4625     NM="$DUMPBIN"
4626   fi
4627 fi
4628 test -z "$NM" && NM=nm
4629
4630
4631
4632
4633
4634
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4636 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4637 if ${lt_cv_nm_interface+:} false; then :
4638   $as_echo_n "(cached) " >&6
4639 else
4640   lt_cv_nm_interface="BSD nm"
4641   echo "int some_variable = 0;" > conftest.$ac_ext
4642   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4643   (eval "$ac_compile" 2>conftest.err)
4644   cat conftest.err >&5
4645   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4646   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4647   cat conftest.err >&5
4648   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4649   cat conftest.out >&5
4650   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4651     lt_cv_nm_interface="MS dumpbin"
4652   fi
4653   rm -f conftest*
4654 fi
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4656 $as_echo "$lt_cv_nm_interface" >&6; }
4657
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4659 $as_echo_n "checking whether ln -s works... " >&6; }
4660 LN_S=$as_ln_s
4661 if test "$LN_S" = "ln -s"; then
4662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4663 $as_echo "yes" >&6; }
4664 else
4665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4666 $as_echo "no, using $LN_S" >&6; }
4667 fi
4668
4669 # find the maximum length of command line arguments
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4671 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4672 if ${lt_cv_sys_max_cmd_len+:} false; then :
4673   $as_echo_n "(cached) " >&6
4674 else
4675     i=0
4676   teststring="ABCD"
4677
4678   case $build_os in
4679   msdosdjgpp*)
4680     # On DJGPP, this test can blow up pretty badly due to problems in libc
4681     # (any single argument exceeding 2000 bytes causes a buffer overrun
4682     # during glob expansion).  Even if it were fixed, the result of this
4683     # check would be larger than it should be.
4684     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4685     ;;
4686
4687   gnu*)
4688     # Under GNU Hurd, this test is not required because there is
4689     # no limit to the length of command line arguments.
4690     # Libtool will interpret -1 as no limit whatsoever
4691     lt_cv_sys_max_cmd_len=-1;
4692     ;;
4693
4694   cygwin* | mingw* | cegcc*)
4695     # On Win9x/ME, this test blows up -- it succeeds, but takes
4696     # about 5 minutes as the teststring grows exponentially.
4697     # Worse, since 9x/ME are not pre-emptively multitasking,
4698     # you end up with a "frozen" computer, even though with patience
4699     # the test eventually succeeds (with a max line length of 256k).
4700     # Instead, let's just punt: use the minimum linelength reported by
4701     # all of the supported platforms: 8192 (on NT/2K/XP).
4702     lt_cv_sys_max_cmd_len=8192;
4703     ;;
4704
4705   mint*)
4706     # On MiNT this can take a long time and run out of memory.
4707     lt_cv_sys_max_cmd_len=8192;
4708     ;;
4709
4710   amigaos*)
4711     # On AmigaOS with pdksh, this test takes hours, literally.
4712     # So we just punt and use a minimum line length of 8192.
4713     lt_cv_sys_max_cmd_len=8192;
4714     ;;
4715
4716   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4717     # This has been around since 386BSD, at least.  Likely further.
4718     if test -x /sbin/sysctl; then
4719       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4720     elif test -x /usr/sbin/sysctl; then
4721       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4722     else
4723       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4724     fi
4725     # And add a safety zone
4726     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4727     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4728     ;;
4729
4730   interix*)
4731     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4732     lt_cv_sys_max_cmd_len=196608
4733     ;;
4734
4735   os2*)
4736     # The test takes a long time on OS/2.
4737     lt_cv_sys_max_cmd_len=8192
4738     ;;
4739
4740   osf*)
4741     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4742     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4743     # nice to cause kernel panics so lets avoid the loop below.
4744     # First set a reasonable default.
4745     lt_cv_sys_max_cmd_len=16384
4746     #
4747     if test -x /sbin/sysconfig; then
4748       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4749         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4750       esac
4751     fi
4752     ;;
4753   sco3.2v5*)
4754     lt_cv_sys_max_cmd_len=102400
4755     ;;
4756   sysv5* | sco5v6* | sysv4.2uw2*)
4757     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4758     if test -n "$kargmax"; then
4759       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4760     else
4761       lt_cv_sys_max_cmd_len=32768
4762     fi
4763     ;;
4764   *)
4765     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4766     if test -n "$lt_cv_sys_max_cmd_len"; then
4767       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4768       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4769     else
4770       # Make teststring a little bigger before we do anything with it.
4771       # a 1K string should be a reasonable start.
4772       for i in 1 2 3 4 5 6 7 8 ; do
4773         teststring=$teststring$teststring
4774       done
4775       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4776       # If test is not a shell built-in, we'll probably end up computing a
4777       # maximum length that is only half of the actual maximum length, but
4778       # we can't tell.
4779       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4780                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4781               test $i != 17 # 1/2 MB should be enough
4782       do
4783         i=`expr $i + 1`
4784         teststring=$teststring$teststring
4785       done
4786       # Only check the string length outside the loop.
4787       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4788       teststring=
4789       # Add a significant safety factor because C++ compilers can tack on
4790       # massive amounts of additional arguments before passing them to the
4791       # linker.  It appears as though 1/2 is a usable value.
4792       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4793     fi
4794     ;;
4795   esac
4796
4797 fi
4798
4799 if test -n $lt_cv_sys_max_cmd_len ; then
4800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4801 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4802 else
4803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4804 $as_echo "none" >&6; }
4805 fi
4806 max_cmd_len=$lt_cv_sys_max_cmd_len
4807
4808
4809
4810
4811
4812
4813 : ${CP="cp -f"}
4814 : ${MV="mv -f"}
4815 : ${RM="rm -f"}
4816
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4818 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4819 # Try some XSI features
4820 xsi_shell=no
4821 ( _lt_dummy="a/b/c"
4822   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4823       = c,a/b,b/c, \
4824     && eval 'test $(( 1 + 1 )) -eq 2 \
4825     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4826   && xsi_shell=yes
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4828 $as_echo "$xsi_shell" >&6; }
4829
4830
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4832 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4833 lt_shell_append=no
4834 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4835     >/dev/null 2>&1 \
4836   && lt_shell_append=yes
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4838 $as_echo "$lt_shell_append" >&6; }
4839
4840
4841 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4842   lt_unset=unset
4843 else
4844   lt_unset=false
4845 fi
4846
4847
4848
4849
4850
4851 # test EBCDIC or ASCII
4852 case `echo X|tr X '\101'` in
4853  A) # ASCII based system
4854     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4855   lt_SP2NL='tr \040 \012'
4856   lt_NL2SP='tr \015\012 \040\040'
4857   ;;
4858  *) # EBCDIC based system
4859   lt_SP2NL='tr \100 \n'
4860   lt_NL2SP='tr \r\n \100\100'
4861   ;;
4862 esac
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4873 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4874 if ${lt_cv_to_host_file_cmd+:} false; then :
4875   $as_echo_n "(cached) " >&6
4876 else
4877   case $host in
4878   *-*-mingw* )
4879     case $build in
4880       *-*-mingw* ) # actually msys
4881         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4882         ;;
4883       *-*-cygwin* )
4884         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4885         ;;
4886       * ) # otherwise, assume *nix
4887         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4888         ;;
4889     esac
4890     ;;
4891   *-*-cygwin* )
4892     case $build in
4893       *-*-mingw* ) # actually msys
4894         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4895         ;;
4896       *-*-cygwin* )
4897         lt_cv_to_host_file_cmd=func_convert_file_noop
4898         ;;
4899       * ) # otherwise, assume *nix
4900         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4901         ;;
4902     esac
4903     ;;
4904   * ) # unhandled hosts (and "normal" native builds)
4905     lt_cv_to_host_file_cmd=func_convert_file_noop
4906     ;;
4907 esac
4908
4909 fi
4910
4911 to_host_file_cmd=$lt_cv_to_host_file_cmd
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4913 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4914
4915
4916
4917
4918
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4920 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4921 if ${lt_cv_to_tool_file_cmd+:} false; then :
4922   $as_echo_n "(cached) " >&6
4923 else
4924   #assume ordinary cross tools, or native build.
4925 lt_cv_to_tool_file_cmd=func_convert_file_noop
4926 case $host in
4927   *-*-mingw* )
4928     case $build in
4929       *-*-mingw* ) # actually msys
4930         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4931         ;;
4932     esac
4933     ;;
4934 esac
4935
4936 fi
4937
4938 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4940 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4941
4942
4943
4944
4945
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4947 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4948 if ${lt_cv_ld_reload_flag+:} false; then :
4949   $as_echo_n "(cached) " >&6
4950 else
4951   lt_cv_ld_reload_flag='-r'
4952 fi
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4954 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4955 reload_flag=$lt_cv_ld_reload_flag
4956 case $reload_flag in
4957 "" | " "*) ;;
4958 *) reload_flag=" $reload_flag" ;;
4959 esac
4960 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4961 case $host_os in
4962   cygwin* | mingw* | pw32* | cegcc*)
4963     if test "$GCC" != yes; then
4964       reload_cmds=false
4965     fi
4966     ;;
4967   darwin*)
4968     if test "$GCC" = yes; then
4969       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4970     else
4971       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4972     fi
4973     ;;
4974 esac
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984 if test -n "$ac_tool_prefix"; then
4985   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4986 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_OBJDUMP+:} false; then :
4990   $as_echo_n "(cached) " >&6
4991 else
4992   if test -n "$OBJDUMP"; then
4993   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4997 do
4998   IFS=$as_save_IFS
4999   test -z "$as_dir" && as_dir=.
5000     for ac_exec_ext in '' $ac_executable_extensions; do
5001   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5002     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004     break 2
5005   fi
5006 done
5007   done
5008 IFS=$as_save_IFS
5009
5010 fi
5011 fi
5012 OBJDUMP=$ac_cv_prog_OBJDUMP
5013 if test -n "$OBJDUMP"; then
5014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5015 $as_echo "$OBJDUMP" >&6; }
5016 else
5017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5019 fi
5020
5021
5022 fi
5023 if test -z "$ac_cv_prog_OBJDUMP"; then
5024   ac_ct_OBJDUMP=$OBJDUMP
5025   # Extract the first word of "objdump", so it can be a program name with args.
5026 set dummy objdump; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5030   $as_echo_n "(cached) " >&6
5031 else
5032   if test -n "$ac_ct_OBJDUMP"; then
5033   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5034 else
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH
5037 do
5038   IFS=$as_save_IFS
5039   test -z "$as_dir" && as_dir=.
5040     for ac_exec_ext in '' $ac_executable_extensions; do
5041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044     break 2
5045   fi
5046 done
5047   done
5048 IFS=$as_save_IFS
5049
5050 fi
5051 fi
5052 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5053 if test -n "$ac_ct_OBJDUMP"; then
5054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5055 $as_echo "$ac_ct_OBJDUMP" >&6; }
5056 else
5057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5059 fi
5060
5061   if test "x$ac_ct_OBJDUMP" = x; then
5062     OBJDUMP="false"
5063   else
5064     case $cross_compiling:$ac_tool_warned in
5065 yes:)
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5068 ac_tool_warned=yes ;;
5069 esac
5070     OBJDUMP=$ac_ct_OBJDUMP
5071   fi
5072 else
5073   OBJDUMP="$ac_cv_prog_OBJDUMP"
5074 fi
5075
5076 test -z "$OBJDUMP" && OBJDUMP=objdump
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5087 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5088 if ${lt_cv_deplibs_check_method+:} false; then :
5089   $as_echo_n "(cached) " >&6
5090 else
5091   lt_cv_file_magic_cmd='$MAGIC_CMD'
5092 lt_cv_file_magic_test_file=
5093 lt_cv_deplibs_check_method='unknown'
5094 # Need to set the preceding variable on all platforms that support
5095 # interlibrary dependencies.
5096 # 'none' -- dependencies not supported.
5097 # `unknown' -- same as none, but documents that we really don't know.
5098 # 'pass_all' -- all dependencies passed with no checks.
5099 # 'test_compile' -- check by making test program.
5100 # 'file_magic [[regex]]' -- check by looking for files in library path
5101 # which responds to the $file_magic_cmd with a given extended regex.
5102 # If you have `file' or equivalent on your system and you're not sure
5103 # whether `pass_all' will *always* work, you probably want this one.
5104
5105 case $host_os in
5106 aix[4-9]*)
5107   lt_cv_deplibs_check_method=pass_all
5108   ;;
5109
5110 beos*)
5111   lt_cv_deplibs_check_method=pass_all
5112   ;;
5113
5114 bsdi[45]*)
5115   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5116   lt_cv_file_magic_cmd='/usr/bin/file -L'
5117   lt_cv_file_magic_test_file=/shlib/libc.so
5118   ;;
5119
5120 cygwin*)
5121   # func_win32_libid is a shell function defined in ltmain.sh
5122   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5123   lt_cv_file_magic_cmd='func_win32_libid'
5124   ;;
5125
5126 mingw* | pw32*)
5127   # Base MSYS/MinGW do not provide the 'file' command needed by
5128   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5129   # unless we find 'file', for example because we are cross-compiling.
5130   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5131   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5132     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5133     lt_cv_file_magic_cmd='func_win32_libid'
5134   else
5135     # Keep this pattern in sync with the one in func_win32_libid.
5136     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5137     lt_cv_file_magic_cmd='$OBJDUMP -f'
5138   fi
5139   ;;
5140
5141 cegcc*)
5142   # use the weaker test based on 'objdump'. See mingw*.
5143   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5144   lt_cv_file_magic_cmd='$OBJDUMP -f'
5145   ;;
5146
5147 darwin* | rhapsody*)
5148   lt_cv_deplibs_check_method=pass_all
5149   ;;
5150
5151 freebsd* | dragonfly*)
5152   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5153     case $host_cpu in
5154     i*86 )
5155       # Not sure whether the presence of OpenBSD here was a mistake.
5156       # Let's accept both of them until this is cleared up.
5157       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5158       lt_cv_file_magic_cmd=/usr/bin/file
5159       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5160       ;;
5161     esac
5162   else
5163     lt_cv_deplibs_check_method=pass_all
5164   fi
5165   ;;
5166
5167 gnu*)
5168   lt_cv_deplibs_check_method=pass_all
5169   ;;
5170
5171 haiku*)
5172   lt_cv_deplibs_check_method=pass_all
5173   ;;
5174
5175 hpux10.20* | hpux11*)
5176   lt_cv_file_magic_cmd=/usr/bin/file
5177   case $host_cpu in
5178   ia64*)
5179     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5180     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5181     ;;
5182   hppa*64*)
5183     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5184     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5185     ;;
5186   *)
5187     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5188     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5189     ;;
5190   esac
5191   ;;
5192
5193 interix[3-9]*)
5194   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5195   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5196   ;;
5197
5198 irix5* | irix6* | nonstopux*)
5199   case $LD in
5200   *-32|*"-32 ") libmagic=32-bit;;
5201   *-n32|*"-n32 ") libmagic=N32;;
5202   *-64|*"-64 ") libmagic=64-bit;;
5203   *) libmagic=never-match;;
5204   esac
5205   lt_cv_deplibs_check_method=pass_all
5206   ;;
5207
5208 # This must be glibc/ELF.
5209 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5210   lt_cv_deplibs_check_method=pass_all
5211   ;;
5212
5213 netbsd* | netbsdelf*-gnu)
5214   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5215     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5216   else
5217     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5218   fi
5219   ;;
5220
5221 newos6*)
5222   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5223   lt_cv_file_magic_cmd=/usr/bin/file
5224   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5225   ;;
5226
5227 *nto* | *qnx*)
5228   lt_cv_deplibs_check_method=pass_all
5229   ;;
5230
5231 openbsd*)
5232   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5233     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5234   else
5235     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5236   fi
5237   ;;
5238
5239 osf3* | osf4* | osf5*)
5240   lt_cv_deplibs_check_method=pass_all
5241   ;;
5242
5243 rdos*)
5244   lt_cv_deplibs_check_method=pass_all
5245   ;;
5246
5247 solaris*)
5248   lt_cv_deplibs_check_method=pass_all
5249   ;;
5250
5251 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5252   lt_cv_deplibs_check_method=pass_all
5253   ;;
5254
5255 sysv4 | sysv4.3*)
5256   case $host_vendor in
5257   motorola)
5258     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]'
5259     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5260     ;;
5261   ncr)
5262     lt_cv_deplibs_check_method=pass_all
5263     ;;
5264   sequent)
5265     lt_cv_file_magic_cmd='/bin/file'
5266     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5267     ;;
5268   sni)
5269     lt_cv_file_magic_cmd='/bin/file'
5270     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5271     lt_cv_file_magic_test_file=/lib/libc.so
5272     ;;
5273   siemens)
5274     lt_cv_deplibs_check_method=pass_all
5275     ;;
5276   pc)
5277     lt_cv_deplibs_check_method=pass_all
5278     ;;
5279   esac
5280   ;;
5281
5282 tpf*)
5283   lt_cv_deplibs_check_method=pass_all
5284   ;;
5285 esac
5286
5287 fi
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5289 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5290
5291 file_magic_glob=
5292 want_nocaseglob=no
5293 if test "$build" = "$host"; then
5294   case $host_os in
5295   mingw* | pw32*)
5296     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5297       want_nocaseglob=yes
5298     else
5299       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5300     fi
5301     ;;
5302   esac
5303 fi
5304
5305 file_magic_cmd=$lt_cv_file_magic_cmd
5306 deplibs_check_method=$lt_cv_deplibs_check_method
5307 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330 if test -n "$ac_tool_prefix"; then
5331   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5332 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_DLLTOOL+:} false; then :
5336   $as_echo_n "(cached) " >&6
5337 else
5338   if test -n "$DLLTOOL"; then
5339   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5340 else
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5342 for as_dir in $PATH
5343 do
5344   IFS=$as_save_IFS
5345   test -z "$as_dir" && as_dir=.
5346     for ac_exec_ext in '' $ac_executable_extensions; do
5347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5350     break 2
5351   fi
5352 done
5353   done
5354 IFS=$as_save_IFS
5355
5356 fi
5357 fi
5358 DLLTOOL=$ac_cv_prog_DLLTOOL
5359 if test -n "$DLLTOOL"; then
5360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5361 $as_echo "$DLLTOOL" >&6; }
5362 else
5363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5365 fi
5366
5367
5368 fi
5369 if test -z "$ac_cv_prog_DLLTOOL"; then
5370   ac_ct_DLLTOOL=$DLLTOOL
5371   # Extract the first word of "dlltool", so it can be a program name with args.
5372 set dummy dlltool; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5376   $as_echo_n "(cached) " >&6
5377 else
5378   if test -n "$ac_ct_DLLTOOL"; then
5379   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5380 else
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH
5383 do
5384   IFS=$as_save_IFS
5385   test -z "$as_dir" && as_dir=.
5386     for ac_exec_ext in '' $ac_executable_extensions; do
5387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5388     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390     break 2
5391   fi
5392 done
5393   done
5394 IFS=$as_save_IFS
5395
5396 fi
5397 fi
5398 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5399 if test -n "$ac_ct_DLLTOOL"; then
5400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5401 $as_echo "$ac_ct_DLLTOOL" >&6; }
5402 else
5403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5405 fi
5406
5407   if test "x$ac_ct_DLLTOOL" = x; then
5408     DLLTOOL="false"
5409   else
5410     case $cross_compiling:$ac_tool_warned in
5411 yes:)
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5414 ac_tool_warned=yes ;;
5415 esac
5416     DLLTOOL=$ac_ct_DLLTOOL
5417   fi
5418 else
5419   DLLTOOL="$ac_cv_prog_DLLTOOL"
5420 fi
5421
5422 test -z "$DLLTOOL" && DLLTOOL=dlltool
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5434 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5435 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5436   $as_echo_n "(cached) " >&6
5437 else
5438   lt_cv_sharedlib_from_linklib_cmd='unknown'
5439
5440 case $host_os in
5441 cygwin* | mingw* | pw32* | cegcc*)
5442   # two different shell functions defined in ltmain.sh
5443   # decide which to use based on capabilities of $DLLTOOL
5444   case `$DLLTOOL --help 2>&1` in
5445   *--identify-strict*)
5446     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5447     ;;
5448   *)
5449     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5450     ;;
5451   esac
5452   ;;
5453 *)
5454   # fallback: assume linklib IS sharedlib
5455   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5456   ;;
5457 esac
5458
5459 fi
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5461 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5462 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5463 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5464
5465
5466
5467
5468
5469
5470
5471
5472 if test -n "$ac_tool_prefix"; then
5473   for ac_prog in ar
5474   do
5475     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5476 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_AR+:} false; then :
5480   $as_echo_n "(cached) " >&6
5481 else
5482   if test -n "$AR"; then
5483   ac_cv_prog_AR="$AR" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5487 do
5488   IFS=$as_save_IFS
5489   test -z "$as_dir" && as_dir=.
5490     for ac_exec_ext in '' $ac_executable_extensions; do
5491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5492     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494     break 2
5495   fi
5496 done
5497   done
5498 IFS=$as_save_IFS
5499
5500 fi
5501 fi
5502 AR=$ac_cv_prog_AR
5503 if test -n "$AR"; then
5504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5505 $as_echo "$AR" >&6; }
5506 else
5507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5509 fi
5510
5511
5512     test -n "$AR" && break
5513   done
5514 fi
5515 if test -z "$AR"; then
5516   ac_ct_AR=$AR
5517   for ac_prog in ar
5518 do
5519   # Extract the first word of "$ac_prog", so it can be a program name with args.
5520 set dummy $ac_prog; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5524   $as_echo_n "(cached) " >&6
5525 else
5526   if test -n "$ac_ct_AR"; then
5527   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5528 else
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 for as_dir in $PATH
5531 do
5532   IFS=$as_save_IFS
5533   test -z "$as_dir" && as_dir=.
5534     for ac_exec_ext in '' $ac_executable_extensions; do
5535   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5536     ac_cv_prog_ac_ct_AR="$ac_prog"
5537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538     break 2
5539   fi
5540 done
5541   done
5542 IFS=$as_save_IFS
5543
5544 fi
5545 fi
5546 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5547 if test -n "$ac_ct_AR"; then
5548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5549 $as_echo "$ac_ct_AR" >&6; }
5550 else
5551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5553 fi
5554
5555
5556   test -n "$ac_ct_AR" && break
5557 done
5558
5559   if test "x$ac_ct_AR" = x; then
5560     AR="false"
5561   else
5562     case $cross_compiling:$ac_tool_warned in
5563 yes:)
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5566 ac_tool_warned=yes ;;
5567 esac
5568     AR=$ac_ct_AR
5569   fi
5570 fi
5571
5572 : ${AR=ar}
5573 : ${AR_FLAGS=cru}
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5586 $as_echo_n "checking for archiver @FILE support... " >&6; }
5587 if ${lt_cv_ar_at_file+:} false; then :
5588   $as_echo_n "(cached) " >&6
5589 else
5590   lt_cv_ar_at_file=no
5591    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h.  */
5593
5594 int
5595 main ()
5596 {
5597
5598   ;
5599   return 0;
5600 }
5601 _ACEOF
5602 if ac_fn_c_try_compile "$LINENO"; then :
5603   echo conftest.$ac_objext > conftest.lst
5604       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5605       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5606   (eval $lt_ar_try) 2>&5
5607   ac_status=$?
5608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5609   test $ac_status = 0; }
5610       if test "$ac_status" -eq 0; then
5611         # Ensure the archiver fails upon bogus file names.
5612         rm -f conftest.$ac_objext libconftest.a
5613         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5614   (eval $lt_ar_try) 2>&5
5615   ac_status=$?
5616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5617   test $ac_status = 0; }
5618         if test "$ac_status" -ne 0; then
5619           lt_cv_ar_at_file=@
5620         fi
5621       fi
5622       rm -f conftest.* libconftest.a
5623
5624 fi
5625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5626
5627 fi
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5629 $as_echo "$lt_cv_ar_at_file" >&6; }
5630
5631 if test "x$lt_cv_ar_at_file" = xno; then
5632   archiver_list_spec=
5633 else
5634   archiver_list_spec=$lt_cv_ar_at_file
5635 fi
5636
5637
5638
5639
5640
5641
5642
5643 if test -n "$ac_tool_prefix"; then
5644   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5645 set dummy ${ac_tool_prefix}strip; ac_word=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if ${ac_cv_prog_STRIP+:} false; then :
5649   $as_echo_n "(cached) " >&6
5650 else
5651   if test -n "$STRIP"; then
5652   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5653 else
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 for as_dir in $PATH
5656 do
5657   IFS=$as_save_IFS
5658   test -z "$as_dir" && as_dir=.
5659     for ac_exec_ext in '' $ac_executable_extensions; do
5660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663     break 2
5664   fi
5665 done
5666   done
5667 IFS=$as_save_IFS
5668
5669 fi
5670 fi
5671 STRIP=$ac_cv_prog_STRIP
5672 if test -n "$STRIP"; then
5673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5674 $as_echo "$STRIP" >&6; }
5675 else
5676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5678 fi
5679
5680
5681 fi
5682 if test -z "$ac_cv_prog_STRIP"; then
5683   ac_ct_STRIP=$STRIP
5684   # Extract the first word of "strip", so it can be a program name with args.
5685 set dummy strip; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5689   $as_echo_n "(cached) " >&6
5690 else
5691   if test -n "$ac_ct_STRIP"; then
5692   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5693 else
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 for as_dir in $PATH
5696 do
5697   IFS=$as_save_IFS
5698   test -z "$as_dir" && as_dir=.
5699     for ac_exec_ext in '' $ac_executable_extensions; do
5700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5701     ac_cv_prog_ac_ct_STRIP="strip"
5702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703     break 2
5704   fi
5705 done
5706   done
5707 IFS=$as_save_IFS
5708
5709 fi
5710 fi
5711 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5712 if test -n "$ac_ct_STRIP"; then
5713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5714 $as_echo "$ac_ct_STRIP" >&6; }
5715 else
5716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5718 fi
5719
5720   if test "x$ac_ct_STRIP" = x; then
5721     STRIP=":"
5722   else
5723     case $cross_compiling:$ac_tool_warned in
5724 yes:)
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5727 ac_tool_warned=yes ;;
5728 esac
5729     STRIP=$ac_ct_STRIP
5730   fi
5731 else
5732   STRIP="$ac_cv_prog_STRIP"
5733 fi
5734
5735 test -z "$STRIP" && STRIP=:
5736
5737
5738
5739
5740
5741
5742 if test -n "$ac_tool_prefix"; then
5743   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5744 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if ${ac_cv_prog_RANLIB+:} false; then :
5748   $as_echo_n "(cached) " >&6
5749 else
5750   if test -n "$RANLIB"; then
5751   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5752 else
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 for as_dir in $PATH
5755 do
5756   IFS=$as_save_IFS
5757   test -z "$as_dir" && as_dir=.
5758     for ac_exec_ext in '' $ac_executable_extensions; do
5759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762     break 2
5763   fi
5764 done
5765   done
5766 IFS=$as_save_IFS
5767
5768 fi
5769 fi
5770 RANLIB=$ac_cv_prog_RANLIB
5771 if test -n "$RANLIB"; then
5772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5773 $as_echo "$RANLIB" >&6; }
5774 else
5775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5777 fi
5778
5779
5780 fi
5781 if test -z "$ac_cv_prog_RANLIB"; then
5782   ac_ct_RANLIB=$RANLIB
5783   # Extract the first word of "ranlib", so it can be a program name with args.
5784 set dummy ranlib; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5788   $as_echo_n "(cached) " >&6
5789 else
5790   if test -n "$ac_ct_RANLIB"; then
5791   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5795 do
5796   IFS=$as_save_IFS
5797   test -z "$as_dir" && as_dir=.
5798     for ac_exec_ext in '' $ac_executable_extensions; do
5799   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800     ac_cv_prog_ac_ct_RANLIB="ranlib"
5801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802     break 2
5803   fi
5804 done
5805   done
5806 IFS=$as_save_IFS
5807
5808 fi
5809 fi
5810 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5811 if test -n "$ac_ct_RANLIB"; then
5812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5813 $as_echo "$ac_ct_RANLIB" >&6; }
5814 else
5815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5817 fi
5818
5819   if test "x$ac_ct_RANLIB" = x; then
5820     RANLIB=":"
5821   else
5822     case $cross_compiling:$ac_tool_warned in
5823 yes:)
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5826 ac_tool_warned=yes ;;
5827 esac
5828     RANLIB=$ac_ct_RANLIB
5829   fi
5830 else
5831   RANLIB="$ac_cv_prog_RANLIB"
5832 fi
5833
5834 test -z "$RANLIB" && RANLIB=:
5835
5836
5837
5838
5839
5840
5841 # Determine commands to create old-style static archives.
5842 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5843 old_postinstall_cmds='chmod 644 $oldlib'
5844 old_postuninstall_cmds=
5845
5846 if test -n "$RANLIB"; then
5847   case $host_os in
5848   openbsd*)
5849     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5850     ;;
5851   *)
5852     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5853     ;;
5854   esac
5855   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5856 fi
5857
5858 case $host_os in
5859   darwin*)
5860     lock_old_archive_extraction=yes ;;
5861   *)
5862     lock_old_archive_extraction=no ;;
5863 esac
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903 # If no C compiler was specified, use CC.
5904 LTCC=${LTCC-"$CC"}
5905
5906 # If no C compiler flags were specified, use CFLAGS.
5907 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5908
5909 # Allow CC to be a program name with arguments.
5910 compiler=$CC
5911
5912
5913 # Check for command to grab the raw symbol name followed by C symbol from nm.
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5915 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5916 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5917   $as_echo_n "(cached) " >&6
5918 else
5919
5920 # These are sane defaults that work on at least a few old systems.
5921 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5922
5923 # Character class describing NM global symbol codes.
5924 symcode='[BCDEGRST]'
5925
5926 # Regexp to match symbols that can be accessed directly from C.
5927 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5928
5929 # Define system-specific variables.
5930 case $host_os in
5931 aix*)
5932   symcode='[BCDT]'
5933   ;;
5934 cygwin* | mingw* | pw32* | cegcc*)
5935   symcode='[ABCDGISTW]'
5936   ;;
5937 hpux*)
5938   if test "$host_cpu" = ia64; then
5939     symcode='[ABCDEGRST]'
5940   fi
5941   ;;
5942 irix* | nonstopux*)
5943   symcode='[BCDEGRST]'
5944   ;;
5945 osf*)
5946   symcode='[BCDEGQRST]'
5947   ;;
5948 solaris*)
5949   symcode='[BDRT]'
5950   ;;
5951 sco3.2v5*)
5952   symcode='[DT]'
5953   ;;
5954 sysv4.2uw2*)
5955   symcode='[DT]'
5956   ;;
5957 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5958   symcode='[ABDT]'
5959   ;;
5960 sysv4)
5961   symcode='[DFNSTU]'
5962   ;;
5963 esac
5964
5965 # If we're using GNU nm, then use its standard symbol codes.
5966 case `$NM -V 2>&1` in
5967 *GNU* | *'with BFD'*)
5968   symcode='[ABCDGIRSTW]' ;;
5969 esac
5970
5971 # Transform an extracted symbol line into a proper C declaration.
5972 # Some systems (esp. on ia64) link data and code symbols differently,
5973 # so use this general approach.
5974 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5975
5976 # Transform an extracted symbol line into symbol name and symbol address
5977 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5978 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'"
5979
5980 # Handle CRLF in mingw tool chain
5981 opt_cr=
5982 case $build_os in
5983 mingw*)
5984   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5985   ;;
5986 esac
5987
5988 # Try without a prefix underscore, then with it.
5989 for ac_symprfx in "" "_"; do
5990
5991   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5992   symxfrm="\\1 $ac_symprfx\\2 \\2"
5993
5994   # Write the raw and C identifiers.
5995   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5996     # Fake it for dumpbin and say T for any non-static function
5997     # and D for any global variable.
5998     # Also find C++ and __fastcall symbols from MSVC++,
5999     # which start with @ or ?.
6000     lt_cv_sys_global_symbol_pipe="$AWK '"\
6001 "     {last_section=section; section=\$ 3};"\
6002 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6003 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6004 "     \$ 0!~/External *\|/{next};"\
6005 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6006 "     {if(hide[section]) next};"\
6007 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6008 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6009 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6010 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6011 "     ' prfx=^$ac_symprfx"
6012   else
6013     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6014   fi
6015   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6016
6017   # Check to see that the pipe works correctly.
6018   pipe_works=no
6019
6020   rm -f conftest*
6021   cat > conftest.$ac_ext <<_LT_EOF
6022 #ifdef __cplusplus
6023 extern "C" {
6024 #endif
6025 char nm_test_var;
6026 void nm_test_func(void);
6027 void nm_test_func(void){}
6028 #ifdef __cplusplus
6029 }
6030 #endif
6031 int main(){nm_test_var='a';nm_test_func();return(0);}
6032 _LT_EOF
6033
6034   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6035   (eval $ac_compile) 2>&5
6036   ac_status=$?
6037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6038   test $ac_status = 0; }; then
6039     # Now try to grab the symbols.
6040     nlist=conftest.nm
6041     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6042   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6043   ac_status=$?
6044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6045   test $ac_status = 0; } && test -s "$nlist"; then
6046       # Try sorting and uniquifying the output.
6047       if sort "$nlist" | uniq > "$nlist"T; then
6048         mv -f "$nlist"T "$nlist"
6049       else
6050         rm -f "$nlist"T
6051       fi
6052
6053       # Make sure that we snagged all the symbols we need.
6054       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6055         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6056           cat <<_LT_EOF > conftest.$ac_ext
6057 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6058 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6059 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6060    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6061 # define LT_DLSYM_CONST
6062 #elif defined(__osf__)
6063 /* This system does not cope well with relocations in const data.  */
6064 # define LT_DLSYM_CONST
6065 #else
6066 # define LT_DLSYM_CONST const
6067 #endif
6068
6069 #ifdef __cplusplus
6070 extern "C" {
6071 #endif
6072
6073 _LT_EOF
6074           # Now generate the symbol file.
6075           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6076
6077           cat <<_LT_EOF >> conftest.$ac_ext
6078
6079 /* The mapping between symbol names and symbols.  */
6080 LT_DLSYM_CONST struct {
6081   const char *name;
6082   void       *address;
6083 }
6084 lt__PROGRAM__LTX_preloaded_symbols[] =
6085 {
6086   { "@PROGRAM@", (void *) 0 },
6087 _LT_EOF
6088           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6089           cat <<\_LT_EOF >> conftest.$ac_ext
6090   {0, (void *) 0}
6091 };
6092
6093 /* This works around a problem in FreeBSD linker */
6094 #ifdef FREEBSD_WORKAROUND
6095 static const void *lt_preloaded_setup() {
6096   return lt__PROGRAM__LTX_preloaded_symbols;
6097 }
6098 #endif
6099
6100 #ifdef __cplusplus
6101 }
6102 #endif
6103 _LT_EOF
6104           # Now try linking the two files.
6105           mv conftest.$ac_objext conftstm.$ac_objext
6106           lt_globsym_save_LIBS=$LIBS
6107           lt_globsym_save_CFLAGS=$CFLAGS
6108           LIBS="conftstm.$ac_objext"
6109           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6110           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6111   (eval $ac_link) 2>&5
6112   ac_status=$?
6113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6114   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6115             pipe_works=yes
6116           fi
6117           LIBS=$lt_globsym_save_LIBS
6118           CFLAGS=$lt_globsym_save_CFLAGS
6119         else
6120           echo "cannot find nm_test_func in $nlist" >&5
6121         fi
6122       else
6123         echo "cannot find nm_test_var in $nlist" >&5
6124       fi
6125     else
6126       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6127     fi
6128   else
6129     echo "$progname: failed program was:" >&5
6130     cat conftest.$ac_ext >&5
6131   fi
6132   rm -rf conftest* conftst*
6133
6134   # Do not use the global_symbol_pipe unless it works.
6135   if test "$pipe_works" = yes; then
6136     break
6137   else
6138     lt_cv_sys_global_symbol_pipe=
6139   fi
6140 done
6141
6142 fi
6143
6144 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6145   lt_cv_sys_global_symbol_to_cdecl=
6146 fi
6147 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6149 $as_echo "failed" >&6; }
6150 else
6151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6152 $as_echo "ok" >&6; }
6153 fi
6154
6155 # Response file support.
6156 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6157   nm_file_list_spec='@'
6158 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6159   nm_file_list_spec='@'
6160 fi
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6189 $as_echo_n "checking for sysroot... " >&6; }
6190
6191 # Check whether --with-sysroot was given.
6192 if test "${with_sysroot+set}" = set; then :
6193   withval=$with_sysroot;
6194 else
6195   with_sysroot=no
6196 fi
6197
6198
6199 lt_sysroot=
6200 case ${with_sysroot} in #(
6201  yes)
6202    if test "$GCC" = yes; then
6203      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6204    fi
6205    ;; #(
6206  /*)
6207    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6208    ;; #(
6209  no|'')
6210    ;; #(
6211  *)
6212    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6213 $as_echo "${with_sysroot}" >&6; }
6214    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6215    ;;
6216 esac
6217
6218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6219 $as_echo "${lt_sysroot:-no}" >&6; }
6220
6221
6222
6223
6224
6225 # Check whether --enable-libtool-lock was given.
6226 if test "${enable_libtool_lock+set}" = set; then :
6227   enableval=$enable_libtool_lock;
6228 fi
6229
6230 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6231
6232 # Some flags need to be propagated to the compiler or linker for good
6233 # libtool support.
6234 case $host in
6235 ia64-*-hpux*)
6236   # Find out which ABI we are using.
6237   echo 'int i;' > conftest.$ac_ext
6238   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6239   (eval $ac_compile) 2>&5
6240   ac_status=$?
6241   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6242   test $ac_status = 0; }; then
6243     case `/usr/bin/file conftest.$ac_objext` in
6244       *ELF-32*)
6245         HPUX_IA64_MODE="32"
6246         ;;
6247       *ELF-64*)
6248         HPUX_IA64_MODE="64"
6249         ;;
6250     esac
6251   fi
6252   rm -rf conftest*
6253   ;;
6254 *-*-irix6*)
6255   # Find out which ABI we are using.
6256   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6257   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6258   (eval $ac_compile) 2>&5
6259   ac_status=$?
6260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6261   test $ac_status = 0; }; then
6262     if test "$lt_cv_prog_gnu_ld" = yes; then
6263       case `/usr/bin/file conftest.$ac_objext` in
6264         *32-bit*)
6265           LD="${LD-ld} -melf32bsmip"
6266           ;;
6267         *N32*)
6268           LD="${LD-ld} -melf32bmipn32"
6269           ;;
6270         *64-bit*)
6271           LD="${LD-ld} -melf64bmip"
6272         ;;
6273       esac
6274     else
6275       case `/usr/bin/file conftest.$ac_objext` in
6276         *32-bit*)
6277           LD="${LD-ld} -32"
6278           ;;
6279         *N32*)
6280           LD="${LD-ld} -n32"
6281           ;;
6282         *64-bit*)
6283           LD="${LD-ld} -64"
6284           ;;
6285       esac
6286     fi
6287   fi
6288   rm -rf conftest*
6289   ;;
6290
6291 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6292 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6293   # Find out which ABI we are using.
6294   echo 'int i;' > conftest.$ac_ext
6295   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6296   (eval $ac_compile) 2>&5
6297   ac_status=$?
6298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6299   test $ac_status = 0; }; then
6300     case `/usr/bin/file conftest.o` in
6301       *32-bit*)
6302         case $host in
6303           x86_64-*kfreebsd*-gnu)
6304             LD="${LD-ld} -m elf_i386_fbsd"
6305             ;;
6306           x86_64-*linux*)
6307             LD="${LD-ld} -m elf_i386"
6308             ;;
6309           ppc64-*linux*|powerpc64-*linux*)
6310             LD="${LD-ld} -m elf32ppclinux"
6311             ;;
6312           s390x-*linux*)
6313             LD="${LD-ld} -m elf_s390"
6314             ;;
6315           sparc64-*linux*)
6316             LD="${LD-ld} -m elf32_sparc"
6317             ;;
6318         esac
6319         ;;
6320       *64-bit*)
6321         case $host in
6322           x86_64-*kfreebsd*-gnu)
6323             LD="${LD-ld} -m elf_x86_64_fbsd"
6324             ;;
6325           x86_64-*linux*)
6326             LD="${LD-ld} -m elf_x86_64"
6327             ;;
6328           ppc*-*linux*|powerpc*-*linux*)
6329             LD="${LD-ld} -m elf64ppc"
6330             ;;
6331           s390*-*linux*|s390*-*tpf*)
6332             LD="${LD-ld} -m elf64_s390"
6333             ;;
6334           sparc*-*linux*)
6335             LD="${LD-ld} -m elf64_sparc"
6336             ;;
6337         esac
6338         ;;
6339     esac
6340   fi
6341   rm -rf conftest*
6342   ;;
6343
6344 *-*-sco3.2v5*)
6345   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6346   SAVE_CFLAGS="$CFLAGS"
6347   CFLAGS="$CFLAGS -belf"
6348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6349 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6350 if ${lt_cv_cc_needs_belf+:} false; then :
6351   $as_echo_n "(cached) " >&6
6352 else
6353   ac_ext=c
6354 ac_cpp='$CPP $CPPFLAGS'
6355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6358
6359      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h.  */
6361
6362 int
6363 main ()
6364 {
6365
6366   ;
6367   return 0;
6368 }
6369 _ACEOF
6370 if ac_fn_c_try_link "$LINENO"; then :
6371   lt_cv_cc_needs_belf=yes
6372 else
6373   lt_cv_cc_needs_belf=no
6374 fi
6375 rm -f core conftest.err conftest.$ac_objext \
6376     conftest$ac_exeext conftest.$ac_ext
6377      ac_ext=c
6378 ac_cpp='$CPP $CPPFLAGS'
6379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6382
6383 fi
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6385 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6386   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6387     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6388     CFLAGS="$SAVE_CFLAGS"
6389   fi
6390   ;;
6391 *-*solaris*)
6392   # Find out which ABI we are using.
6393   echo 'int i;' > conftest.$ac_ext
6394   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6395   (eval $ac_compile) 2>&5
6396   ac_status=$?
6397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6398   test $ac_status = 0; }; then
6399     case `/usr/bin/file conftest.o` in
6400     *64-bit*)
6401       case $lt_cv_prog_gnu_ld in
6402       yes*)
6403         case $host in
6404         i?86-*-solaris*)
6405           LD="${LD-ld} -m elf_x86_64"
6406           ;;
6407         sparc*-*-solaris*)
6408           LD="${LD-ld} -m elf64_sparc"
6409           ;;
6410         esac
6411         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6412         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6413           LD="${LD-ld}_sol2"
6414         fi
6415         ;;
6416       *)
6417         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6418           LD="${LD-ld} -64"
6419         fi
6420         ;;
6421       esac
6422       ;;
6423     esac
6424   fi
6425   rm -rf conftest*
6426   ;;
6427 esac
6428
6429 need_locks="$enable_libtool_lock"
6430
6431 if test -n "$ac_tool_prefix"; then
6432   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}mt; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6437   $as_echo_n "(cached) " >&6
6438 else
6439   if test -n "$MANIFEST_TOOL"; then
6440   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6444 do
6445   IFS=$as_save_IFS
6446   test -z "$as_dir" && as_dir=.
6447     for ac_exec_ext in '' $ac_executable_extensions; do
6448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451     break 2
6452   fi
6453 done
6454   done
6455 IFS=$as_save_IFS
6456
6457 fi
6458 fi
6459 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6460 if test -n "$MANIFEST_TOOL"; then
6461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6462 $as_echo "$MANIFEST_TOOL" >&6; }
6463 else
6464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6466 fi
6467
6468
6469 fi
6470 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6471   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6472   # Extract the first word of "mt", so it can be a program name with args.
6473 set dummy mt; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6477   $as_echo_n "(cached) " >&6
6478 else
6479   if test -n "$ac_ct_MANIFEST_TOOL"; then
6480   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6484 do
6485   IFS=$as_save_IFS
6486   test -z "$as_dir" && as_dir=.
6487     for ac_exec_ext in '' $ac_executable_extensions; do
6488   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491     break 2
6492   fi
6493 done
6494   done
6495 IFS=$as_save_IFS
6496
6497 fi
6498 fi
6499 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6500 if test -n "$ac_ct_MANIFEST_TOOL"; then
6501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6502 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6503 else
6504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6506 fi
6507
6508   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6509     MANIFEST_TOOL=":"
6510   else
6511     case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6518   fi
6519 else
6520   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6521 fi
6522
6523 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6525 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6526 if ${lt_cv_path_mainfest_tool+:} false; then :
6527   $as_echo_n "(cached) " >&6
6528 else
6529   lt_cv_path_mainfest_tool=no
6530   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6531   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6532   cat conftest.err >&5
6533   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6534     lt_cv_path_mainfest_tool=yes
6535   fi
6536   rm -f conftest*
6537 fi
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6539 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6540 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6541   MANIFEST_TOOL=:
6542 fi
6543
6544
6545
6546
6547
6548
6549   case $host_os in
6550     rhapsody* | darwin*)
6551     if test -n "$ac_tool_prefix"; then
6552   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6553 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6555 $as_echo_n "checking for $ac_word... " >&6; }
6556 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6557   $as_echo_n "(cached) " >&6
6558 else
6559   if test -n "$DSYMUTIL"; then
6560   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6561 else
6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563 for as_dir in $PATH
6564 do
6565   IFS=$as_save_IFS
6566   test -z "$as_dir" && as_dir=.
6567     for ac_exec_ext in '' $ac_executable_extensions; do
6568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6569     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571     break 2
6572   fi
6573 done
6574   done
6575 IFS=$as_save_IFS
6576
6577 fi
6578 fi
6579 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6580 if test -n "$DSYMUTIL"; then
6581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6582 $as_echo "$DSYMUTIL" >&6; }
6583 else
6584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 $as_echo "no" >&6; }
6586 fi
6587
6588
6589 fi
6590 if test -z "$ac_cv_prog_DSYMUTIL"; then
6591   ac_ct_DSYMUTIL=$DSYMUTIL
6592   # Extract the first word of "dsymutil", so it can be a program name with args.
6593 set dummy dsymutil; ac_word=$2
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595 $as_echo_n "checking for $ac_word... " >&6; }
6596 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6597   $as_echo_n "(cached) " >&6
6598 else
6599   if test -n "$ac_ct_DSYMUTIL"; then
6600   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6601 else
6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603 for as_dir in $PATH
6604 do
6605   IFS=$as_save_IFS
6606   test -z "$as_dir" && as_dir=.
6607     for ac_exec_ext in '' $ac_executable_extensions; do
6608   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6609     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6611     break 2
6612   fi
6613 done
6614   done
6615 IFS=$as_save_IFS
6616
6617 fi
6618 fi
6619 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6620 if test -n "$ac_ct_DSYMUTIL"; then
6621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6622 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6623 else
6624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 $as_echo "no" >&6; }
6626 fi
6627
6628   if test "x$ac_ct_DSYMUTIL" = x; then
6629     DSYMUTIL=":"
6630   else
6631     case $cross_compiling:$ac_tool_warned in
6632 yes:)
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6635 ac_tool_warned=yes ;;
6636 esac
6637     DSYMUTIL=$ac_ct_DSYMUTIL
6638   fi
6639 else
6640   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6641 fi
6642
6643     if test -n "$ac_tool_prefix"; then
6644   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6645 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 $as_echo_n "checking for $ac_word... " >&6; }
6648 if ${ac_cv_prog_NMEDIT+:} false; then :
6649   $as_echo_n "(cached) " >&6
6650 else
6651   if test -n "$NMEDIT"; then
6652   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6653 else
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 for as_dir in $PATH
6656 do
6657   IFS=$as_save_IFS
6658   test -z "$as_dir" && as_dir=.
6659     for ac_exec_ext in '' $ac_executable_extensions; do
6660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6661     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6663     break 2
6664   fi
6665 done
6666   done
6667 IFS=$as_save_IFS
6668
6669 fi
6670 fi
6671 NMEDIT=$ac_cv_prog_NMEDIT
6672 if test -n "$NMEDIT"; then
6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6674 $as_echo "$NMEDIT" >&6; }
6675 else
6676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6678 fi
6679
6680
6681 fi
6682 if test -z "$ac_cv_prog_NMEDIT"; then
6683   ac_ct_NMEDIT=$NMEDIT
6684   # Extract the first word of "nmedit", so it can be a program name with args.
6685 set dummy nmedit; ac_word=$2
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687 $as_echo_n "checking for $ac_word... " >&6; }
6688 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6689   $as_echo_n "(cached) " >&6
6690 else
6691   if test -n "$ac_ct_NMEDIT"; then
6692   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6693 else
6694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695 for as_dir in $PATH
6696 do
6697   IFS=$as_save_IFS
6698   test -z "$as_dir" && as_dir=.
6699     for ac_exec_ext in '' $ac_executable_extensions; do
6700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6701     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6703     break 2
6704   fi
6705 done
6706   done
6707 IFS=$as_save_IFS
6708
6709 fi
6710 fi
6711 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6712 if test -n "$ac_ct_NMEDIT"; then
6713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6714 $as_echo "$ac_ct_NMEDIT" >&6; }
6715 else
6716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 $as_echo "no" >&6; }
6718 fi
6719
6720   if test "x$ac_ct_NMEDIT" = x; then
6721     NMEDIT=":"
6722   else
6723     case $cross_compiling:$ac_tool_warned in
6724 yes:)
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6727 ac_tool_warned=yes ;;
6728 esac
6729     NMEDIT=$ac_ct_NMEDIT
6730   fi
6731 else
6732   NMEDIT="$ac_cv_prog_NMEDIT"
6733 fi
6734
6735     if test -n "$ac_tool_prefix"; then
6736   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6737 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 $as_echo_n "checking for $ac_word... " >&6; }
6740 if ${ac_cv_prog_LIPO+:} false; then :
6741   $as_echo_n "(cached) " >&6
6742 else
6743   if test -n "$LIPO"; then
6744   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6745 else
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 for as_dir in $PATH
6748 do
6749   IFS=$as_save_IFS
6750   test -z "$as_dir" && as_dir=.
6751     for ac_exec_ext in '' $ac_executable_extensions; do
6752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6753     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6755     break 2
6756   fi
6757 done
6758   done
6759 IFS=$as_save_IFS
6760
6761 fi
6762 fi
6763 LIPO=$ac_cv_prog_LIPO
6764 if test -n "$LIPO"; then
6765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6766 $as_echo "$LIPO" >&6; }
6767 else
6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 $as_echo "no" >&6; }
6770 fi
6771
6772
6773 fi
6774 if test -z "$ac_cv_prog_LIPO"; then
6775   ac_ct_LIPO=$LIPO
6776   # Extract the first word of "lipo", so it can be a program name with args.
6777 set dummy lipo; ac_word=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779 $as_echo_n "checking for $ac_word... " >&6; }
6780 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6781   $as_echo_n "(cached) " >&6
6782 else
6783   if test -n "$ac_ct_LIPO"; then
6784   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6785 else
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6787 for as_dir in $PATH
6788 do
6789   IFS=$as_save_IFS
6790   test -z "$as_dir" && as_dir=.
6791     for ac_exec_ext in '' $ac_executable_extensions; do
6792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6793     ac_cv_prog_ac_ct_LIPO="lipo"
6794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6795     break 2
6796   fi
6797 done
6798   done
6799 IFS=$as_save_IFS
6800
6801 fi
6802 fi
6803 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6804 if test -n "$ac_ct_LIPO"; then
6805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6806 $as_echo "$ac_ct_LIPO" >&6; }
6807 else
6808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6809 $as_echo "no" >&6; }
6810 fi
6811
6812   if test "x$ac_ct_LIPO" = x; then
6813     LIPO=":"
6814   else
6815     case $cross_compiling:$ac_tool_warned in
6816 yes:)
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6819 ac_tool_warned=yes ;;
6820 esac
6821     LIPO=$ac_ct_LIPO
6822   fi
6823 else
6824   LIPO="$ac_cv_prog_LIPO"
6825 fi
6826
6827     if test -n "$ac_tool_prefix"; then
6828   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6829 set dummy ${ac_tool_prefix}otool; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_prog_OTOOL+:} false; then :
6833   $as_echo_n "(cached) " >&6
6834 else
6835   if test -n "$OTOOL"; then
6836   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6837 else
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 for as_dir in $PATH
6840 do
6841   IFS=$as_save_IFS
6842   test -z "$as_dir" && as_dir=.
6843     for ac_exec_ext in '' $ac_executable_extensions; do
6844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6845     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847     break 2
6848   fi
6849 done
6850   done
6851 IFS=$as_save_IFS
6852
6853 fi
6854 fi
6855 OTOOL=$ac_cv_prog_OTOOL
6856 if test -n "$OTOOL"; then
6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6858 $as_echo "$OTOOL" >&6; }
6859 else
6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6862 fi
6863
6864
6865 fi
6866 if test -z "$ac_cv_prog_OTOOL"; then
6867   ac_ct_OTOOL=$OTOOL
6868   # Extract the first word of "otool", so it can be a program name with args.
6869 set dummy otool; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6873   $as_echo_n "(cached) " >&6
6874 else
6875   if test -n "$ac_ct_OTOOL"; then
6876   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6877 else
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 for as_dir in $PATH
6880 do
6881   IFS=$as_save_IFS
6882   test -z "$as_dir" && as_dir=.
6883     for ac_exec_ext in '' $ac_executable_extensions; do
6884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6885     ac_cv_prog_ac_ct_OTOOL="otool"
6886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6887     break 2
6888   fi
6889 done
6890   done
6891 IFS=$as_save_IFS
6892
6893 fi
6894 fi
6895 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6896 if test -n "$ac_ct_OTOOL"; then
6897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6898 $as_echo "$ac_ct_OTOOL" >&6; }
6899 else
6900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6902 fi
6903
6904   if test "x$ac_ct_OTOOL" = x; then
6905     OTOOL=":"
6906   else
6907     case $cross_compiling:$ac_tool_warned in
6908 yes:)
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6911 ac_tool_warned=yes ;;
6912 esac
6913     OTOOL=$ac_ct_OTOOL
6914   fi
6915 else
6916   OTOOL="$ac_cv_prog_OTOOL"
6917 fi
6918
6919     if test -n "$ac_tool_prefix"; then
6920   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6921 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_prog_OTOOL64+:} false; then :
6925   $as_echo_n "(cached) " >&6
6926 else
6927   if test -n "$OTOOL64"; then
6928   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6929 else
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 for as_dir in $PATH
6932 do
6933   IFS=$as_save_IFS
6934   test -z "$as_dir" && as_dir=.
6935     for ac_exec_ext in '' $ac_executable_extensions; do
6936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6937     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6939     break 2
6940   fi
6941 done
6942   done
6943 IFS=$as_save_IFS
6944
6945 fi
6946 fi
6947 OTOOL64=$ac_cv_prog_OTOOL64
6948 if test -n "$OTOOL64"; then
6949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6950 $as_echo "$OTOOL64" >&6; }
6951 else
6952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6954 fi
6955
6956
6957 fi
6958 if test -z "$ac_cv_prog_OTOOL64"; then
6959   ac_ct_OTOOL64=$OTOOL64
6960   # Extract the first word of "otool64", so it can be a program name with args.
6961 set dummy otool64; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6965   $as_echo_n "(cached) " >&6
6966 else
6967   if test -n "$ac_ct_OTOOL64"; then
6968   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6969 else
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 for as_dir in $PATH
6972 do
6973   IFS=$as_save_IFS
6974   test -z "$as_dir" && as_dir=.
6975     for ac_exec_ext in '' $ac_executable_extensions; do
6976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6977     ac_cv_prog_ac_ct_OTOOL64="otool64"
6978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979     break 2
6980   fi
6981 done
6982   done
6983 IFS=$as_save_IFS
6984
6985 fi
6986 fi
6987 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6988 if test -n "$ac_ct_OTOOL64"; then
6989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6990 $as_echo "$ac_ct_OTOOL64" >&6; }
6991 else
6992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6994 fi
6995
6996   if test "x$ac_ct_OTOOL64" = x; then
6997     OTOOL64=":"
6998   else
6999     case $cross_compiling:$ac_tool_warned in
7000 yes:)
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003 ac_tool_warned=yes ;;
7004 esac
7005     OTOOL64=$ac_ct_OTOOL64
7006   fi
7007 else
7008   OTOOL64="$ac_cv_prog_OTOOL64"
7009 fi
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7038 $as_echo_n "checking for -single_module linker flag... " >&6; }
7039 if ${lt_cv_apple_cc_single_mod+:} false; then :
7040   $as_echo_n "(cached) " >&6
7041 else
7042   lt_cv_apple_cc_single_mod=no
7043       if test -z "${LT_MULTI_MODULE}"; then
7044         # By default we will add the -single_module flag. You can override
7045         # by either setting the environment variable LT_MULTI_MODULE
7046         # non-empty at configure time, or by adding -multi_module to the
7047         # link flags.
7048         rm -rf libconftest.dylib*
7049         echo "int foo(void){return 1;}" > conftest.c
7050         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7051 -dynamiclib -Wl,-single_module conftest.c" >&5
7052         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7053           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7054         _lt_result=$?
7055         # If there is a non-empty error log, and "single_module"
7056         # appears in it, assume the flag caused a linker warning
7057         if test -s conftest.err && $GREP single_module conftest.err; then
7058           cat conftest.err >&5
7059         # Otherwise, if the output was created with a 0 exit code from
7060         # the compiler, it worked.
7061         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7062           lt_cv_apple_cc_single_mod=yes
7063         else
7064           cat conftest.err >&5
7065         fi
7066         rm -rf libconftest.dylib*
7067         rm -f conftest.*
7068       fi
7069 fi
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7071 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7072
7073     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7074 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7075 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7076   $as_echo_n "(cached) " >&6
7077 else
7078   lt_cv_ld_exported_symbols_list=no
7079       save_LDFLAGS=$LDFLAGS
7080       echo "_main" > conftest.sym
7081       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7083 /* end confdefs.h.  */
7084
7085 int
7086 main ()
7087 {
7088
7089   ;
7090   return 0;
7091 }
7092 _ACEOF
7093 if ac_fn_c_try_link "$LINENO"; then :
7094   lt_cv_ld_exported_symbols_list=yes
7095 else
7096   lt_cv_ld_exported_symbols_list=no
7097 fi
7098 rm -f core conftest.err conftest.$ac_objext \
7099     conftest$ac_exeext conftest.$ac_ext
7100         LDFLAGS="$save_LDFLAGS"
7101
7102 fi
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7104 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7105
7106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7107 $as_echo_n "checking for -force_load linker flag... " >&6; }
7108 if ${lt_cv_ld_force_load+:} false; then :
7109   $as_echo_n "(cached) " >&6
7110 else
7111   lt_cv_ld_force_load=no
7112       cat > conftest.c << _LT_EOF
7113 int forced_loaded() { return 2;}
7114 _LT_EOF
7115       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7116       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7117       echo "$AR cru libconftest.a conftest.o" >&5
7118       $AR cru libconftest.a conftest.o 2>&5
7119       echo "$RANLIB libconftest.a" >&5
7120       $RANLIB libconftest.a 2>&5
7121       cat > conftest.c << _LT_EOF
7122 int main() { return 0;}
7123 _LT_EOF
7124       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7125       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7126       _lt_result=$?
7127       if test -s conftest.err && $GREP force_load conftest.err; then
7128         cat conftest.err >&5
7129       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7130         lt_cv_ld_force_load=yes
7131       else
7132         cat conftest.err >&5
7133       fi
7134         rm -f conftest.err libconftest.a conftest conftest.c
7135         rm -rf conftest.dSYM
7136
7137 fi
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7139 $as_echo "$lt_cv_ld_force_load" >&6; }
7140     case $host_os in
7141     rhapsody* | darwin1.[012])
7142       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7143     darwin1.*)
7144       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7145     darwin*) # darwin 5.x on
7146       # if running on 10.5 or later, the deployment target defaults
7147       # to the OS version, if on x86, and 10.4, the deployment
7148       # target defaults to 10.4. Don't you love it?
7149       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7150         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7151           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7152         10.[012]*)
7153           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7154         10.*)
7155           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7156       esac
7157     ;;
7158   esac
7159     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7160       _lt_dar_single_mod='$single_module'
7161     fi
7162     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7163       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7164     else
7165       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7166     fi
7167     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7168       _lt_dsymutil='~$DSYMUTIL $lib || :'
7169     else
7170       _lt_dsymutil=
7171     fi
7172     ;;
7173   esac
7174
7175 ac_ext=c
7176 ac_cpp='$CPP $CPPFLAGS'
7177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7181 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7182 # On Suns, sometimes $CPP names a directory.
7183 if test -n "$CPP" && test -d "$CPP"; then
7184   CPP=
7185 fi
7186 if test -z "$CPP"; then
7187   if ${ac_cv_prog_CPP+:} false; then :
7188   $as_echo_n "(cached) " >&6
7189 else
7190       # Double quotes because CPP needs to be expanded
7191     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7192     do
7193       ac_preproc_ok=false
7194 for ac_c_preproc_warn_flag in '' yes
7195 do
7196   # Use a header file that comes with gcc, so configuring glibc
7197   # with a fresh cross-compiler works.
7198   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7199   # <limits.h> exists even on freestanding compilers.
7200   # On the NeXT, cc -E runs the code through the compiler's parser,
7201   # not just through cpp. "Syntax error" is here to catch this case.
7202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h.  */
7204 #ifdef __STDC__
7205 # include <limits.h>
7206 #else
7207 # include <assert.h>
7208 #endif
7209                      Syntax error
7210 _ACEOF
7211 if ac_fn_c_try_cpp "$LINENO"; then :
7212
7213 else
7214   # Broken: fails on valid input.
7215 continue
7216 fi
7217 rm -f conftest.err conftest.i conftest.$ac_ext
7218
7219   # OK, works on sane cases.  Now check whether nonexistent headers
7220   # can be detected and how.
7221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h.  */
7223 #include <ac_nonexistent.h>
7224 _ACEOF
7225 if ac_fn_c_try_cpp "$LINENO"; then :
7226   # Broken: success on invalid input.
7227 continue
7228 else
7229   # Passes both tests.
7230 ac_preproc_ok=:
7231 break
7232 fi
7233 rm -f conftest.err conftest.i conftest.$ac_ext
7234
7235 done
7236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7237 rm -f conftest.i conftest.err conftest.$ac_ext
7238 if $ac_preproc_ok; then :
7239   break
7240 fi
7241
7242     done
7243     ac_cv_prog_CPP=$CPP
7244
7245 fi
7246   CPP=$ac_cv_prog_CPP
7247 else
7248   ac_cv_prog_CPP=$CPP
7249 fi
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7251 $as_echo "$CPP" >&6; }
7252 ac_preproc_ok=false
7253 for ac_c_preproc_warn_flag in '' yes
7254 do
7255   # Use a header file that comes with gcc, so configuring glibc
7256   # with a fresh cross-compiler works.
7257   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7258   # <limits.h> exists even on freestanding compilers.
7259   # On the NeXT, cc -E runs the code through the compiler's parser,
7260   # not just through cpp. "Syntax error" is here to catch this case.
7261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h.  */
7263 #ifdef __STDC__
7264 # include <limits.h>
7265 #else
7266 # include <assert.h>
7267 #endif
7268                      Syntax error
7269 _ACEOF
7270 if ac_fn_c_try_cpp "$LINENO"; then :
7271
7272 else
7273   # Broken: fails on valid input.
7274 continue
7275 fi
7276 rm -f conftest.err conftest.i conftest.$ac_ext
7277
7278   # OK, works on sane cases.  Now check whether nonexistent headers
7279   # can be detected and how.
7280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7281 /* end confdefs.h.  */
7282 #include <ac_nonexistent.h>
7283 _ACEOF
7284 if ac_fn_c_try_cpp "$LINENO"; then :
7285   # Broken: success on invalid input.
7286 continue
7287 else
7288   # Passes both tests.
7289 ac_preproc_ok=:
7290 break
7291 fi
7292 rm -f conftest.err conftest.i conftest.$ac_ext
7293
7294 done
7295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7296 rm -f conftest.i conftest.err conftest.$ac_ext
7297 if $ac_preproc_ok; then :
7298
7299 else
7300   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7302 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7303 See \`config.log' for more details" "$LINENO" 5; }
7304 fi
7305
7306 ac_ext=c
7307 ac_cpp='$CPP $CPPFLAGS'
7308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7311
7312
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7314 $as_echo_n "checking for ANSI C header files... " >&6; }
7315 if ${ac_cv_header_stdc+:} false; then :
7316   $as_echo_n "(cached) " >&6
7317 else
7318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7319 /* end confdefs.h.  */
7320 #include <stdlib.h>
7321 #include <stdarg.h>
7322 #include <string.h>
7323 #include <float.h>
7324
7325 int
7326 main ()
7327 {
7328
7329   ;
7330   return 0;
7331 }
7332 _ACEOF
7333 if ac_fn_c_try_compile "$LINENO"; then :
7334   ac_cv_header_stdc=yes
7335 else
7336   ac_cv_header_stdc=no
7337 fi
7338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7339
7340 if test $ac_cv_header_stdc = yes; then
7341   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7343 /* end confdefs.h.  */
7344 #include <string.h>
7345
7346 _ACEOF
7347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7348   $EGREP "memchr" >/dev/null 2>&1; then :
7349
7350 else
7351   ac_cv_header_stdc=no
7352 fi
7353 rm -f conftest*
7354
7355 fi
7356
7357 if test $ac_cv_header_stdc = yes; then
7358   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h.  */
7361 #include <stdlib.h>
7362
7363 _ACEOF
7364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7365   $EGREP "free" >/dev/null 2>&1; then :
7366
7367 else
7368   ac_cv_header_stdc=no
7369 fi
7370 rm -f conftest*
7371
7372 fi
7373
7374 if test $ac_cv_header_stdc = yes; then
7375   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7376   if test "$cross_compiling" = yes; then :
7377   :
7378 else
7379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7380 /* end confdefs.h.  */
7381 #include <ctype.h>
7382 #include <stdlib.h>
7383 #if ((' ' & 0x0FF) == 0x020)
7384 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7385 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7386 #else
7387 # define ISLOWER(c) \
7388                    (('a' <= (c) && (c) <= 'i') \
7389                      || ('j' <= (c) && (c) <= 'r') \
7390                      || ('s' <= (c) && (c) <= 'z'))
7391 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7392 #endif
7393
7394 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7395 int
7396 main ()
7397 {
7398   int i;
7399   for (i = 0; i < 256; i++)
7400     if (XOR (islower (i), ISLOWER (i))
7401         || toupper (i) != TOUPPER (i))
7402       return 2;
7403   return 0;
7404 }
7405 _ACEOF
7406 if ac_fn_c_try_run "$LINENO"; then :
7407
7408 else
7409   ac_cv_header_stdc=no
7410 fi
7411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7412   conftest.$ac_objext conftest.beam conftest.$ac_ext
7413 fi
7414
7415 fi
7416 fi
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7418 $as_echo "$ac_cv_header_stdc" >&6; }
7419 if test $ac_cv_header_stdc = yes; then
7420
7421 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7422
7423 fi
7424
7425 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7426 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7427                   inttypes.h stdint.h unistd.h
7428 do :
7429   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7430 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7431 "
7432 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7433   cat >>confdefs.h <<_ACEOF
7434 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7435 _ACEOF
7436
7437 fi
7438
7439 done
7440
7441
7442 for ac_header in dlfcn.h
7443 do :
7444   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7445 "
7446 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7447   cat >>confdefs.h <<_ACEOF
7448 #define HAVE_DLFCN_H 1
7449 _ACEOF
7450
7451 fi
7452
7453 done
7454
7455
7456
7457
7458
7459 # Set options
7460
7461
7462
7463         enable_dlopen=no
7464
7465
7466   enable_win32_dll=no
7467
7468
7469             # Check whether --enable-shared was given.
7470 if test "${enable_shared+set}" = set; then :
7471   enableval=$enable_shared; p=${PACKAGE-default}
7472     case $enableval in
7473     yes) enable_shared=yes ;;
7474     no) enable_shared=no ;;
7475     *)
7476       enable_shared=no
7477       # Look at the argument we got.  We use all the common list separators.
7478       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7479       for pkg in $enableval; do
7480         IFS="$lt_save_ifs"
7481         if test "X$pkg" = "X$p"; then
7482           enable_shared=yes
7483         fi
7484       done
7485       IFS="$lt_save_ifs"
7486       ;;
7487     esac
7488 else
7489   enable_shared=yes
7490 fi
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500   # Check whether --enable-static was given.
7501 if test "${enable_static+set}" = set; then :
7502   enableval=$enable_static; p=${PACKAGE-default}
7503     case $enableval in
7504     yes) enable_static=yes ;;
7505     no) enable_static=no ;;
7506     *)
7507      enable_static=no
7508       # Look at the argument we got.  We use all the common list separators.
7509       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7510       for pkg in $enableval; do
7511         IFS="$lt_save_ifs"
7512         if test "X$pkg" = "X$p"; then
7513           enable_static=yes
7514         fi
7515       done
7516       IFS="$lt_save_ifs"
7517       ;;
7518     esac
7519 else
7520   enable_static=yes
7521 fi
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532 # Check whether --with-pic was given.
7533 if test "${with_pic+set}" = set; then :
7534   withval=$with_pic; lt_p=${PACKAGE-default}
7535     case $withval in
7536     yes|no) pic_mode=$withval ;;
7537     *)
7538       pic_mode=default
7539       # Look at the argument we got.  We use all the common list separators.
7540       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7541       for lt_pkg in $withval; do
7542         IFS="$lt_save_ifs"
7543         if test "X$lt_pkg" = "X$lt_p"; then
7544           pic_mode=yes
7545         fi
7546       done
7547       IFS="$lt_save_ifs"
7548       ;;
7549     esac
7550 else
7551   pic_mode=default
7552 fi
7553
7554
7555 test -z "$pic_mode" && pic_mode=default
7556
7557
7558
7559
7560
7561
7562
7563   # Check whether --enable-fast-install was given.
7564 if test "${enable_fast_install+set}" = set; then :
7565   enableval=$enable_fast_install; p=${PACKAGE-default}
7566     case $enableval in
7567     yes) enable_fast_install=yes ;;
7568     no) enable_fast_install=no ;;
7569     *)
7570       enable_fast_install=no
7571       # Look at the argument we got.  We use all the common list separators.
7572       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7573       for pkg in $enableval; do
7574         IFS="$lt_save_ifs"
7575         if test "X$pkg" = "X$p"; then
7576           enable_fast_install=yes
7577         fi
7578       done
7579       IFS="$lt_save_ifs"
7580       ;;
7581     esac
7582 else
7583   enable_fast_install=yes
7584 fi
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596 # This can be used to rebuild libtool when needed
7597 LIBTOOL_DEPS="$ltmain"
7598
7599 # Always use our own libtool.
7600 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631 test -z "$LN_S" && LN_S="ln -s"
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646 if test -n "${ZSH_VERSION+set}" ; then
7647    setopt NO_GLOB_SUBST
7648 fi
7649
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7651 $as_echo_n "checking for objdir... " >&6; }
7652 if ${lt_cv_objdir+:} false; then :
7653   $as_echo_n "(cached) " >&6
7654 else
7655   rm -f .libs 2>/dev/null
7656 mkdir .libs 2>/dev/null
7657 if test -d .libs; then
7658   lt_cv_objdir=.libs
7659 else
7660   # MS-DOS does not allow filenames that begin with a dot.
7661   lt_cv_objdir=_libs
7662 fi
7663 rmdir .libs 2>/dev/null
7664 fi
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7666 $as_echo "$lt_cv_objdir" >&6; }
7667 objdir=$lt_cv_objdir
7668
7669
7670
7671
7672
7673 cat >>confdefs.h <<_ACEOF
7674 #define LT_OBJDIR "$lt_cv_objdir/"
7675 _ACEOF
7676
7677
7678
7679
7680 case $host_os in
7681 aix3*)
7682   # AIX sometimes has problems with the GCC collect2 program.  For some
7683   # reason, if we set the COLLECT_NAMES environment variable, the problems
7684   # vanish in a puff of smoke.
7685   if test "X${COLLECT_NAMES+set}" != Xset; then
7686     COLLECT_NAMES=
7687     export COLLECT_NAMES
7688   fi
7689   ;;
7690 esac
7691
7692 # Global variables:
7693 ofile=libtool
7694 can_build_shared=yes
7695
7696 # All known linkers require a `.a' archive for static linking (except MSVC,
7697 # which needs '.lib').
7698 libext=a
7699
7700 with_gnu_ld="$lt_cv_prog_gnu_ld"
7701
7702 old_CC="$CC"
7703 old_CFLAGS="$CFLAGS"
7704
7705 # Set sane defaults for various variables
7706 test -z "$CC" && CC=cc
7707 test -z "$LTCC" && LTCC=$CC
7708 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7709 test -z "$LD" && LD=ld
7710 test -z "$ac_objext" && ac_objext=o
7711
7712 for cc_temp in $compiler""; do
7713   case $cc_temp in
7714     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7715     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7716     \-*) ;;
7717     *) break;;
7718   esac
7719 done
7720 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7721
7722
7723 # Only perform the check for file, if the check method requires it
7724 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7725 case $deplibs_check_method in
7726 file_magic*)
7727   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7728     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7729 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7730 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7731   $as_echo_n "(cached) " >&6
7732 else
7733   case $MAGIC_CMD in
7734 [\\/*] |  ?:[\\/]*)
7735   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7736   ;;
7737 *)
7738   lt_save_MAGIC_CMD="$MAGIC_CMD"
7739   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7740   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7741   for ac_dir in $ac_dummy; do
7742     IFS="$lt_save_ifs"
7743     test -z "$ac_dir" && ac_dir=.
7744     if test -f $ac_dir/${ac_tool_prefix}file; then
7745       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7746       if test -n "$file_magic_test_file"; then
7747         case $deplibs_check_method in
7748         "file_magic "*)
7749           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7750           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7751           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7752             $EGREP "$file_magic_regex" > /dev/null; then
7753             :
7754           else
7755             cat <<_LT_EOF 1>&2
7756
7757 *** Warning: the command libtool uses to detect shared libraries,
7758 *** $file_magic_cmd, produces output that libtool cannot recognize.
7759 *** The result is that libtool may fail to recognize shared libraries
7760 *** as such.  This will affect the creation of libtool libraries that
7761 *** depend on shared libraries, but programs linked with such libtool
7762 *** libraries will work regardless of this problem.  Nevertheless, you
7763 *** may want to report the problem to your system manager and/or to
7764 *** bug-libtool@gnu.org
7765
7766 _LT_EOF
7767           fi ;;
7768         esac
7769       fi
7770       break
7771     fi
7772   done
7773   IFS="$lt_save_ifs"
7774   MAGIC_CMD="$lt_save_MAGIC_CMD"
7775   ;;
7776 esac
7777 fi
7778
7779 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7780 if test -n "$MAGIC_CMD"; then
7781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7782 $as_echo "$MAGIC_CMD" >&6; }
7783 else
7784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7785 $as_echo "no" >&6; }
7786 fi
7787
7788
7789
7790
7791
7792 if test -z "$lt_cv_path_MAGIC_CMD"; then
7793   if test -n "$ac_tool_prefix"; then
7794     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7795 $as_echo_n "checking for file... " >&6; }
7796 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7797   $as_echo_n "(cached) " >&6
7798 else
7799   case $MAGIC_CMD in
7800 [\\/*] |  ?:[\\/]*)
7801   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7802   ;;
7803 *)
7804   lt_save_MAGIC_CMD="$MAGIC_CMD"
7805   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7806   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7807   for ac_dir in $ac_dummy; do
7808     IFS="$lt_save_ifs"
7809     test -z "$ac_dir" && ac_dir=.
7810     if test -f $ac_dir/file; then
7811       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7812       if test -n "$file_magic_test_file"; then
7813         case $deplibs_check_method in
7814         "file_magic "*)
7815           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7816           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7817           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7818             $EGREP "$file_magic_regex" > /dev/null; then
7819             :
7820           else
7821             cat <<_LT_EOF 1>&2
7822
7823 *** Warning: the command libtool uses to detect shared libraries,
7824 *** $file_magic_cmd, produces output that libtool cannot recognize.
7825 *** The result is that libtool may fail to recognize shared libraries
7826 *** as such.  This will affect the creation of libtool libraries that
7827 *** depend on shared libraries, but programs linked with such libtool
7828 *** libraries will work regardless of this problem.  Nevertheless, you
7829 *** may want to report the problem to your system manager and/or to
7830 *** bug-libtool@gnu.org
7831
7832 _LT_EOF
7833           fi ;;
7834         esac
7835       fi
7836       break
7837     fi
7838   done
7839   IFS="$lt_save_ifs"
7840   MAGIC_CMD="$lt_save_MAGIC_CMD"
7841   ;;
7842 esac
7843 fi
7844
7845 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7846 if test -n "$MAGIC_CMD"; then
7847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7848 $as_echo "$MAGIC_CMD" >&6; }
7849 else
7850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7852 fi
7853
7854
7855   else
7856     MAGIC_CMD=:
7857   fi
7858 fi
7859
7860   fi
7861   ;;
7862 esac
7863
7864 # Use C for the default configuration in the libtool script
7865
7866 lt_save_CC="$CC"
7867 ac_ext=c
7868 ac_cpp='$CPP $CPPFLAGS'
7869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7872
7873
7874 # Source file extension for C test sources.
7875 ac_ext=c
7876
7877 # Object file extension for compiled C test sources.
7878 objext=o
7879 objext=$objext
7880
7881 # Code to be used in simple compile tests
7882 lt_simple_compile_test_code="int some_variable = 0;"
7883
7884 # Code to be used in simple link tests
7885 lt_simple_link_test_code='int main(){return(0);}'
7886
7887
7888
7889
7890
7891
7892
7893 # If no C compiler was specified, use CC.
7894 LTCC=${LTCC-"$CC"}
7895
7896 # If no C compiler flags were specified, use CFLAGS.
7897 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7898
7899 # Allow CC to be a program name with arguments.
7900 compiler=$CC
7901
7902 # Save the default compiler, since it gets overwritten when the other
7903 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7904 compiler_DEFAULT=$CC
7905
7906 # save warnings/boilerplate of simple test code
7907 ac_outfile=conftest.$ac_objext
7908 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7909 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7910 _lt_compiler_boilerplate=`cat conftest.err`
7911 $RM conftest*
7912
7913 ac_outfile=conftest.$ac_objext
7914 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7915 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7916 _lt_linker_boilerplate=`cat conftest.err`
7917 $RM -r conftest*
7918
7919
7920 ## CAVEAT EMPTOR:
7921 ## There is no encapsulation within the following macros, do not change
7922 ## the running order or otherwise move them around unless you know exactly
7923 ## what you are doing...
7924 if test -n "$compiler"; then
7925
7926 lt_prog_compiler_no_builtin_flag=
7927
7928 if test "$GCC" = yes; then
7929   case $cc_basename in
7930   nvcc*)
7931     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7932   *)
7933     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7934   esac
7935
7936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7937 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7938 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7939   $as_echo_n "(cached) " >&6
7940 else
7941   lt_cv_prog_compiler_rtti_exceptions=no
7942    ac_outfile=conftest.$ac_objext
7943    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7944    lt_compiler_flag="-fno-rtti -fno-exceptions"
7945    # Insert the option either (1) after the last *FLAGS variable, or
7946    # (2) before a word containing "conftest.", or (3) at the end.
7947    # Note that $ac_compile itself does not contain backslashes and begins
7948    # with a dollar sign (not a hyphen), so the echo should work correctly.
7949    # The option is referenced via a variable to avoid confusing sed.
7950    lt_compile=`echo "$ac_compile" | $SED \
7951    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7952    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7953    -e 's:$: $lt_compiler_flag:'`
7954    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7955    (eval "$lt_compile" 2>conftest.err)
7956    ac_status=$?
7957    cat conftest.err >&5
7958    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959    if (exit $ac_status) && test -s "$ac_outfile"; then
7960      # The compiler can only warn and ignore the option if not recognized
7961      # So say no if there are warnings other than the usual output.
7962      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7963      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7964      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7965        lt_cv_prog_compiler_rtti_exceptions=yes
7966      fi
7967    fi
7968    $RM conftest*
7969
7970 fi
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7972 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7973
7974 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7975     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7976 else
7977     :
7978 fi
7979
7980 fi
7981
7982
7983
7984
7985
7986
7987   lt_prog_compiler_wl=
7988 lt_prog_compiler_pic=
7989 lt_prog_compiler_static=
7990
7991
7992   if test "$GCC" = yes; then
7993     lt_prog_compiler_wl='-Wl,'
7994     lt_prog_compiler_static='-static'
7995
7996     case $host_os in
7997       aix*)
7998       # All AIX code is PIC.
7999       if test "$host_cpu" = ia64; then
8000         # AIX 5 now supports IA64 processor
8001         lt_prog_compiler_static='-Bstatic'
8002       fi
8003       ;;
8004
8005     amigaos*)
8006       case $host_cpu in
8007       powerpc)
8008             # see comment about AmigaOS4 .so support
8009             lt_prog_compiler_pic='-fPIC'
8010         ;;
8011       m68k)
8012             # FIXME: we need at least 68020 code to build shared libraries, but
8013             # adding the `-m68020' flag to GCC prevents building anything better,
8014             # like `-m68040'.
8015             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8016         ;;
8017       esac
8018       ;;
8019
8020     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8021       # PIC is the default for these OSes.
8022       ;;
8023
8024     mingw* | cygwin* | pw32* | os2* | cegcc*)
8025       # This hack is so that the source file can tell whether it is being
8026       # built for inclusion in a dll (and should export symbols for example).
8027       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8028       # (--disable-auto-import) libraries
8029       lt_prog_compiler_pic='-DDLL_EXPORT'
8030       ;;
8031
8032     darwin* | rhapsody*)
8033       # PIC is the default on this platform
8034       # Common symbols not allowed in MH_DYLIB files
8035       lt_prog_compiler_pic='-fno-common'
8036       ;;
8037
8038     haiku*)
8039       # PIC is the default for Haiku.
8040       # The "-static" flag exists, but is broken.
8041       lt_prog_compiler_static=
8042       ;;
8043
8044     hpux*)
8045       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8046       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8047       # sets the default TLS model and affects inlining.
8048       case $host_cpu in
8049       hppa*64*)
8050         # +Z the default
8051         ;;
8052       *)
8053         lt_prog_compiler_pic='-fPIC'
8054         ;;
8055       esac
8056       ;;
8057
8058     interix[3-9]*)
8059       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8060       # Instead, we relocate shared libraries at runtime.
8061       ;;
8062
8063     msdosdjgpp*)
8064       # Just because we use GCC doesn't mean we suddenly get shared libraries
8065       # on systems that don't support them.
8066       lt_prog_compiler_can_build_shared=no
8067       enable_shared=no
8068       ;;
8069
8070     *nto* | *qnx*)
8071       # QNX uses GNU C++, but need to define -shared option too, otherwise
8072       # it will coredump.
8073       lt_prog_compiler_pic='-fPIC -shared'
8074       ;;
8075
8076     sysv4*MP*)
8077       if test -d /usr/nec; then
8078         lt_prog_compiler_pic=-Kconform_pic
8079       fi
8080       ;;
8081
8082     *)
8083       lt_prog_compiler_pic='-fPIC'
8084       ;;
8085     esac
8086
8087     case $cc_basename in
8088     nvcc*) # Cuda Compiler Driver 2.2
8089       lt_prog_compiler_wl='-Xlinker '
8090       if test -n "$lt_prog_compiler_pic"; then
8091         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8092       fi
8093       ;;
8094     esac
8095   else
8096     # PORTME Check for flag to pass linker flags through the system compiler.
8097     case $host_os in
8098     aix*)
8099       lt_prog_compiler_wl='-Wl,'
8100       if test "$host_cpu" = ia64; then
8101         # AIX 5 now supports IA64 processor
8102         lt_prog_compiler_static='-Bstatic'
8103       else
8104         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8105       fi
8106       ;;
8107
8108     mingw* | cygwin* | pw32* | os2* | cegcc*)
8109       # This hack is so that the source file can tell whether it is being
8110       # built for inclusion in a dll (and should export symbols for example).
8111       lt_prog_compiler_pic='-DDLL_EXPORT'
8112       ;;
8113
8114     hpux9* | hpux10* | hpux11*)
8115       lt_prog_compiler_wl='-Wl,'
8116       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8117       # not for PA HP-UX.
8118       case $host_cpu in
8119       hppa*64*|ia64*)
8120         # +Z the default
8121         ;;
8122       *)
8123         lt_prog_compiler_pic='+Z'
8124         ;;
8125       esac
8126       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8127       lt_prog_compiler_static='${wl}-a ${wl}archive'
8128       ;;
8129
8130     irix5* | irix6* | nonstopux*)
8131       lt_prog_compiler_wl='-Wl,'
8132       # PIC (with -KPIC) is the default.
8133       lt_prog_compiler_static='-non_shared'
8134       ;;
8135
8136     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8137       case $cc_basename in
8138       # old Intel for x86_64 which still supported -KPIC.
8139       ecc*)
8140         lt_prog_compiler_wl='-Wl,'
8141         lt_prog_compiler_pic='-KPIC'
8142         lt_prog_compiler_static='-static'
8143         ;;
8144       # icc used to be incompatible with GCC.
8145       # ICC 10 doesn't accept -KPIC any more.
8146       icc* | ifort*)
8147         lt_prog_compiler_wl='-Wl,'
8148         lt_prog_compiler_pic='-fPIC'
8149         lt_prog_compiler_static='-static'
8150         ;;
8151       # Lahey Fortran 8.1.
8152       lf95*)
8153         lt_prog_compiler_wl='-Wl,'
8154         lt_prog_compiler_pic='--shared'
8155         lt_prog_compiler_static='--static'
8156         ;;
8157       nagfor*)
8158         # NAG Fortran compiler
8159         lt_prog_compiler_wl='-Wl,-Wl,,'
8160         lt_prog_compiler_pic='-PIC'
8161         lt_prog_compiler_static='-Bstatic'
8162         ;;
8163       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8164         # Portland Group compilers (*not* the Pentium gcc compiler,
8165         # which looks to be a dead project)
8166         lt_prog_compiler_wl='-Wl,'
8167         lt_prog_compiler_pic='-fpic'
8168         lt_prog_compiler_static='-Bstatic'
8169         ;;
8170       ccc*)
8171         lt_prog_compiler_wl='-Wl,'
8172         # All Alpha code is PIC.
8173         lt_prog_compiler_static='-non_shared'
8174         ;;
8175       xl* | bgxl* | bgf* | mpixl*)
8176         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8177         lt_prog_compiler_wl='-Wl,'
8178         lt_prog_compiler_pic='-qpic'
8179         lt_prog_compiler_static='-qstaticlink'
8180         ;;
8181       *)
8182         case `$CC -V 2>&1 | sed 5q` in
8183         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8184           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8185           lt_prog_compiler_pic='-KPIC'
8186           lt_prog_compiler_static='-Bstatic'
8187           lt_prog_compiler_wl=''
8188           ;;
8189         *Sun\ F* | *Sun*Fortran*)
8190           lt_prog_compiler_pic='-KPIC'
8191           lt_prog_compiler_static='-Bstatic'
8192           lt_prog_compiler_wl='-Qoption ld '
8193           ;;
8194         *Sun\ C*)
8195           # Sun C 5.9
8196           lt_prog_compiler_pic='-KPIC'
8197           lt_prog_compiler_static='-Bstatic'
8198           lt_prog_compiler_wl='-Wl,'
8199           ;;
8200         *Intel*\ [CF]*Compiler*)
8201           lt_prog_compiler_wl='-Wl,'
8202           lt_prog_compiler_pic='-fPIC'
8203           lt_prog_compiler_static='-static'
8204           ;;
8205         *Portland\ Group*)
8206           lt_prog_compiler_wl='-Wl,'
8207           lt_prog_compiler_pic='-fpic'
8208           lt_prog_compiler_static='-Bstatic'
8209           ;;
8210         esac
8211         ;;
8212       esac
8213       ;;
8214
8215     newsos6)
8216       lt_prog_compiler_pic='-KPIC'
8217       lt_prog_compiler_static='-Bstatic'
8218       ;;
8219
8220     *nto* | *qnx*)
8221       # QNX uses GNU C++, but need to define -shared option too, otherwise
8222       # it will coredump.
8223       lt_prog_compiler_pic='-fPIC -shared'
8224       ;;
8225
8226     osf3* | osf4* | osf5*)
8227       lt_prog_compiler_wl='-Wl,'
8228       # All OSF/1 code is PIC.
8229       lt_prog_compiler_static='-non_shared'
8230       ;;
8231
8232     rdos*)
8233       lt_prog_compiler_static='-non_shared'
8234       ;;
8235
8236     solaris*)
8237       lt_prog_compiler_pic='-KPIC'
8238       lt_prog_compiler_static='-Bstatic'
8239       case $cc_basename in
8240       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8241         lt_prog_compiler_wl='-Qoption ld ';;
8242       *)
8243         lt_prog_compiler_wl='-Wl,';;
8244       esac
8245       ;;
8246
8247     sunos4*)
8248       lt_prog_compiler_wl='-Qoption ld '
8249       lt_prog_compiler_pic='-PIC'
8250       lt_prog_compiler_static='-Bstatic'
8251       ;;
8252
8253     sysv4 | sysv4.2uw2* | sysv4.3*)
8254       lt_prog_compiler_wl='-Wl,'
8255       lt_prog_compiler_pic='-KPIC'
8256       lt_prog_compiler_static='-Bstatic'
8257       ;;
8258
8259     sysv4*MP*)
8260       if test -d /usr/nec ;then
8261         lt_prog_compiler_pic='-Kconform_pic'
8262         lt_prog_compiler_static='-Bstatic'
8263       fi
8264       ;;
8265
8266     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8267       lt_prog_compiler_wl='-Wl,'
8268       lt_prog_compiler_pic='-KPIC'
8269       lt_prog_compiler_static='-Bstatic'
8270       ;;
8271
8272     unicos*)
8273       lt_prog_compiler_wl='-Wl,'
8274       lt_prog_compiler_can_build_shared=no
8275       ;;
8276
8277     uts4*)
8278       lt_prog_compiler_pic='-pic'
8279       lt_prog_compiler_static='-Bstatic'
8280       ;;
8281
8282     *)
8283       lt_prog_compiler_can_build_shared=no
8284       ;;
8285     esac
8286   fi
8287
8288 case $host_os in
8289   # For platforms which do not support PIC, -DPIC is meaningless:
8290   *djgpp*)
8291     lt_prog_compiler_pic=
8292     ;;
8293   *)
8294     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8295     ;;
8296 esac
8297
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8299 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8300 if ${lt_cv_prog_compiler_pic+:} false; then :
8301   $as_echo_n "(cached) " >&6
8302 else
8303   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8304 fi
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8306 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8307 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8308
8309 #
8310 # Check to make sure the PIC flag actually works.
8311 #
8312 if test -n "$lt_prog_compiler_pic"; then
8313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8314 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8315 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8316   $as_echo_n "(cached) " >&6
8317 else
8318   lt_cv_prog_compiler_pic_works=no
8319    ac_outfile=conftest.$ac_objext
8320    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8321    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8322    # Insert the option either (1) after the last *FLAGS variable, or
8323    # (2) before a word containing "conftest.", or (3) at the end.
8324    # Note that $ac_compile itself does not contain backslashes and begins
8325    # with a dollar sign (not a hyphen), so the echo should work correctly.
8326    # The option is referenced via a variable to avoid confusing sed.
8327    lt_compile=`echo "$ac_compile" | $SED \
8328    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8329    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8330    -e 's:$: $lt_compiler_flag:'`
8331    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8332    (eval "$lt_compile" 2>conftest.err)
8333    ac_status=$?
8334    cat conftest.err >&5
8335    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336    if (exit $ac_status) && test -s "$ac_outfile"; then
8337      # The compiler can only warn and ignore the option if not recognized
8338      # So say no if there are warnings other than the usual output.
8339      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8340      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8341      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8342        lt_cv_prog_compiler_pic_works=yes
8343      fi
8344    fi
8345    $RM conftest*
8346
8347 fi
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8349 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8350
8351 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8352     case $lt_prog_compiler_pic in
8353      "" | " "*) ;;
8354      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8355      esac
8356 else
8357     lt_prog_compiler_pic=
8358      lt_prog_compiler_can_build_shared=no
8359 fi
8360
8361 fi
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373 #
8374 # Check to make sure the static flag actually works.
8375 #
8376 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8378 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8379 if ${lt_cv_prog_compiler_static_works+:} false; then :
8380   $as_echo_n "(cached) " >&6
8381 else
8382   lt_cv_prog_compiler_static_works=no
8383    save_LDFLAGS="$LDFLAGS"
8384    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8385    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8386    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8387      # The linker can only warn and ignore the option if not recognized
8388      # So say no if there are warnings
8389      if test -s conftest.err; then
8390        # Append any errors to the config.log.
8391        cat conftest.err 1>&5
8392        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8393        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8394        if diff conftest.exp conftest.er2 >/dev/null; then
8395          lt_cv_prog_compiler_static_works=yes
8396        fi
8397      else
8398        lt_cv_prog_compiler_static_works=yes
8399      fi
8400    fi
8401    $RM -r conftest*
8402    LDFLAGS="$save_LDFLAGS"
8403
8404 fi
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8406 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8407
8408 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8409     :
8410 else
8411     lt_prog_compiler_static=
8412 fi
8413
8414
8415
8416
8417
8418
8419
8420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8421 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8422 if ${lt_cv_prog_compiler_c_o+:} false; then :
8423   $as_echo_n "(cached) " >&6
8424 else
8425   lt_cv_prog_compiler_c_o=no
8426    $RM -r conftest 2>/dev/null
8427    mkdir conftest
8428    cd conftest
8429    mkdir out
8430    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8431
8432    lt_compiler_flag="-o out/conftest2.$ac_objext"
8433    # Insert the option either (1) after the last *FLAGS variable, or
8434    # (2) before a word containing "conftest.", or (3) at the end.
8435    # Note that $ac_compile itself does not contain backslashes and begins
8436    # with a dollar sign (not a hyphen), so the echo should work correctly.
8437    lt_compile=`echo "$ac_compile" | $SED \
8438    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8439    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8440    -e 's:$: $lt_compiler_flag:'`
8441    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8442    (eval "$lt_compile" 2>out/conftest.err)
8443    ac_status=$?
8444    cat out/conftest.err >&5
8445    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8447    then
8448      # The compiler can only warn and ignore the option if not recognized
8449      # So say no if there are warnings
8450      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8451      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8452      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8453        lt_cv_prog_compiler_c_o=yes
8454      fi
8455    fi
8456    chmod u+w . 2>&5
8457    $RM conftest*
8458    # SGI C++ compiler will create directory out/ii_files/ for
8459    # template instantiation
8460    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8461    $RM out/* && rmdir out
8462    cd ..
8463    $RM -r conftest
8464    $RM conftest*
8465
8466 fi
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8468 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8469
8470
8471
8472
8473
8474
8475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8476 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8477 if ${lt_cv_prog_compiler_c_o+:} false; then :
8478   $as_echo_n "(cached) " >&6
8479 else
8480   lt_cv_prog_compiler_c_o=no
8481    $RM -r conftest 2>/dev/null
8482    mkdir conftest
8483    cd conftest
8484    mkdir out
8485    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8486
8487    lt_compiler_flag="-o out/conftest2.$ac_objext"
8488    # Insert the option either (1) after the last *FLAGS variable, or
8489    # (2) before a word containing "conftest.", or (3) at the end.
8490    # Note that $ac_compile itself does not contain backslashes and begins
8491    # with a dollar sign (not a hyphen), so the echo should work correctly.
8492    lt_compile=`echo "$ac_compile" | $SED \
8493    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8494    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8495    -e 's:$: $lt_compiler_flag:'`
8496    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8497    (eval "$lt_compile" 2>out/conftest.err)
8498    ac_status=$?
8499    cat out/conftest.err >&5
8500    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8502    then
8503      # The compiler can only warn and ignore the option if not recognized
8504      # So say no if there are warnings
8505      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8506      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8507      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8508        lt_cv_prog_compiler_c_o=yes
8509      fi
8510    fi
8511    chmod u+w . 2>&5
8512    $RM conftest*
8513    # SGI C++ compiler will create directory out/ii_files/ for
8514    # template instantiation
8515    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8516    $RM out/* && rmdir out
8517    cd ..
8518    $RM -r conftest
8519    $RM conftest*
8520
8521 fi
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8523 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8524
8525
8526
8527
8528 hard_links="nottested"
8529 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8530   # do not overwrite the value of need_locks provided by the user
8531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8532 $as_echo_n "checking if we can lock with hard links... " >&6; }
8533   hard_links=yes
8534   $RM conftest*
8535   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8536   touch conftest.a
8537   ln conftest.a conftest.b 2>&5 || hard_links=no
8538   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8540 $as_echo "$hard_links" >&6; }
8541   if test "$hard_links" = no; then
8542     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8543 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8544     need_locks=warn
8545   fi
8546 else
8547   need_locks=no
8548 fi
8549
8550
8551
8552
8553
8554
8555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8556 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8557
8558   runpath_var=
8559   allow_undefined_flag=
8560   always_export_symbols=no
8561   archive_cmds=
8562   archive_expsym_cmds=
8563   compiler_needs_object=no
8564   enable_shared_with_static_runtimes=no
8565   export_dynamic_flag_spec=
8566   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8567   hardcode_automatic=no
8568   hardcode_direct=no
8569   hardcode_direct_absolute=no
8570   hardcode_libdir_flag_spec=
8571   hardcode_libdir_separator=
8572   hardcode_minus_L=no
8573   hardcode_shlibpath_var=unsupported
8574   inherit_rpath=no
8575   link_all_deplibs=unknown
8576   module_cmds=
8577   module_expsym_cmds=
8578   old_archive_from_new_cmds=
8579   old_archive_from_expsyms_cmds=
8580   thread_safe_flag_spec=
8581   whole_archive_flag_spec=
8582   # include_expsyms should be a list of space-separated symbols to be *always*
8583   # included in the symbol list
8584   include_expsyms=
8585   # exclude_expsyms can be an extended regexp of symbols to exclude
8586   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8587   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8588   # as well as any symbol that contains `d'.
8589   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8590   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8591   # platforms (ab)use it in PIC code, but their linkers get confused if
8592   # the symbol is explicitly referenced.  Since portable code cannot
8593   # rely on this symbol name, it's probably fine to never include it in
8594   # preloaded symbol tables.
8595   # Exclude shared library initialization/finalization symbols.
8596   extract_expsyms_cmds=
8597
8598   case $host_os in
8599   cygwin* | mingw* | pw32* | cegcc*)
8600     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8601     # When not using gcc, we currently assume that we are using
8602     # Microsoft Visual C++.
8603     if test "$GCC" != yes; then
8604       with_gnu_ld=no
8605     fi
8606     ;;
8607   interix*)
8608     # we just hope/assume this is gcc and not c89 (= MSVC++)
8609     with_gnu_ld=yes
8610     ;;
8611   openbsd*)
8612     with_gnu_ld=no
8613     ;;
8614   linux* | k*bsd*-gnu | gnu*)
8615     link_all_deplibs=no
8616     ;;
8617   esac
8618
8619   ld_shlibs=yes
8620
8621   # On some targets, GNU ld is compatible enough with the native linker
8622   # that we're better off using the native interface for both.
8623   lt_use_gnu_ld_interface=no
8624   if test "$with_gnu_ld" = yes; then
8625     case $host_os in
8626       aix*)
8627         # The AIX port of GNU ld has always aspired to compatibility
8628         # with the native linker.  However, as the warning in the GNU ld
8629         # block says, versions before 2.19.5* couldn't really create working
8630         # shared libraries, regardless of the interface used.
8631         case `$LD -v 2>&1` in
8632           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8633           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8634           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8635           *)
8636             lt_use_gnu_ld_interface=yes
8637             ;;
8638         esac
8639         ;;
8640       *)
8641         lt_use_gnu_ld_interface=yes
8642         ;;
8643     esac
8644   fi
8645
8646   if test "$lt_use_gnu_ld_interface" = yes; then
8647     # If archive_cmds runs LD, not CC, wlarc should be empty
8648     wlarc='${wl}'
8649
8650     # Set some defaults for GNU ld with shared library support. These
8651     # are reset later if shared libraries are not supported. Putting them
8652     # here allows them to be overridden if necessary.
8653     runpath_var=LD_RUN_PATH
8654     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8655     export_dynamic_flag_spec='${wl}--export-dynamic'
8656     # ancient GNU ld didn't support --whole-archive et. al.
8657     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8658       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8659     else
8660       whole_archive_flag_spec=
8661     fi
8662     supports_anon_versioning=no
8663     case `$LD -v 2>&1` in
8664       *GNU\ gold*) supports_anon_versioning=yes ;;
8665       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8666       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8667       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8668       *\ 2.11.*) ;; # other 2.11 versions
8669       *) supports_anon_versioning=yes ;;
8670     esac
8671
8672     # See if GNU ld supports shared libraries.
8673     case $host_os in
8674     aix[3-9]*)
8675       # On AIX/PPC, the GNU linker is very broken
8676       if test "$host_cpu" != ia64; then
8677         ld_shlibs=no
8678         cat <<_LT_EOF 1>&2
8679
8680 *** Warning: the GNU linker, at least up to release 2.19, is reported
8681 *** to be unable to reliably create shared libraries on AIX.
8682 *** Therefore, libtool is disabling shared libraries support.  If you
8683 *** really care for shared libraries, you may want to install binutils
8684 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8685 *** You will then need to restart the configuration process.
8686
8687 _LT_EOF
8688       fi
8689       ;;
8690
8691     amigaos*)
8692       case $host_cpu in
8693       powerpc)
8694             # see comment about AmigaOS4 .so support
8695             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8696             archive_expsym_cmds=''
8697         ;;
8698       m68k)
8699             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)'
8700             hardcode_libdir_flag_spec='-L$libdir'
8701             hardcode_minus_L=yes
8702         ;;
8703       esac
8704       ;;
8705
8706     beos*)
8707       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8708         allow_undefined_flag=unsupported
8709         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8710         # support --undefined.  This deserves some investigation.  FIXME
8711         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8712       else
8713         ld_shlibs=no
8714       fi
8715       ;;
8716
8717     cygwin* | mingw* | pw32* | cegcc*)
8718       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8719       # as there is no search path for DLLs.
8720       hardcode_libdir_flag_spec='-L$libdir'
8721       export_dynamic_flag_spec='${wl}--export-all-symbols'
8722       allow_undefined_flag=unsupported
8723       always_export_symbols=no
8724       enable_shared_with_static_runtimes=yes
8725       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8726       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8727
8728       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8729         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8730         # If the export-symbols file already is a .def file (1st line
8731         # is EXPORTS), use it as is; otherwise, prepend...
8732         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8733           cp $export_symbols $output_objdir/$soname.def;
8734         else
8735           echo EXPORTS > $output_objdir/$soname.def;
8736           cat $export_symbols >> $output_objdir/$soname.def;
8737         fi~
8738         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8739       else
8740         ld_shlibs=no
8741       fi
8742       ;;
8743
8744     haiku*)
8745       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8746       link_all_deplibs=yes
8747       ;;
8748
8749     interix[3-9]*)
8750       hardcode_direct=no
8751       hardcode_shlibpath_var=no
8752       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8753       export_dynamic_flag_spec='${wl}-E'
8754       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8755       # Instead, shared libraries are loaded at an image base (0x10000000 by
8756       # default) and relocated if they conflict, which is a slow very memory
8757       # consuming and fragmenting process.  To avoid this, we pick a random,
8758       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8759       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8760       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8761       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'
8762       ;;
8763
8764     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8765       tmp_diet=no
8766       if test "$host_os" = linux-dietlibc; then
8767         case $cc_basename in
8768           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8769         esac
8770       fi
8771       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8772          && test "$tmp_diet" = no
8773       then
8774         tmp_addflag=' $pic_flag'
8775         tmp_sharedflag='-shared'
8776         case $cc_basename,$host_cpu in
8777         pgcc*)                          # Portland Group C compiler
8778           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8779           tmp_addflag=' $pic_flag'
8780           ;;
8781         pgf77* | pgf90* | pgf95* | pgfortran*)
8782                                         # Portland Group f77 and f90 compilers
8783           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8784           tmp_addflag=' $pic_flag -Mnomain' ;;
8785         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8786           tmp_addflag=' -i_dynamic' ;;
8787         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8788           tmp_addflag=' -i_dynamic -nofor_main' ;;
8789         ifc* | ifort*)                  # Intel Fortran compiler
8790           tmp_addflag=' -nofor_main' ;;
8791         lf95*)                          # Lahey Fortran 8.1
8792           whole_archive_flag_spec=
8793           tmp_sharedflag='--shared' ;;
8794         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8795           tmp_sharedflag='-qmkshrobj'
8796           tmp_addflag= ;;
8797         nvcc*)  # Cuda Compiler Driver 2.2
8798           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8799           compiler_needs_object=yes
8800           ;;
8801         esac
8802         case `$CC -V 2>&1 | sed 5q` in
8803         *Sun\ C*)                       # Sun C 5.9
8804           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8805           compiler_needs_object=yes
8806           tmp_sharedflag='-G' ;;
8807         *Sun\ F*)                       # Sun Fortran 8.3
8808           tmp_sharedflag='-G' ;;
8809         esac
8810         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8811
8812         if test "x$supports_anon_versioning" = xyes; then
8813           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8814             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8815             echo "local: *; };" >> $output_objdir/$libname.ver~
8816             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8817         fi
8818
8819         case $cc_basename in
8820         xlf* | bgf* | bgxlf* | mpixlf*)
8821           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8822           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8823           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8824           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8825           if test "x$supports_anon_versioning" = xyes; then
8826             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8827               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8828               echo "local: *; };" >> $output_objdir/$libname.ver~
8829               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8830           fi
8831           ;;
8832         esac
8833       else
8834         ld_shlibs=no
8835       fi
8836       ;;
8837
8838     netbsd* | netbsdelf*-gnu)
8839       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8840         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8841         wlarc=
8842       else
8843         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8844         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8845       fi
8846       ;;
8847
8848     solaris*)
8849       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8850         ld_shlibs=no
8851         cat <<_LT_EOF 1>&2
8852
8853 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8854 *** create shared libraries on Solaris systems.  Therefore, libtool
8855 *** is disabling shared libraries support.  We urge you to upgrade GNU
8856 *** binutils to release 2.9.1 or newer.  Another option is to modify
8857 *** your PATH or compiler configuration so that the native linker is
8858 *** used, and then restart.
8859
8860 _LT_EOF
8861       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8862         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8863         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8864       else
8865         ld_shlibs=no
8866       fi
8867       ;;
8868
8869     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8870       case `$LD -v 2>&1` in
8871         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8872         ld_shlibs=no
8873         cat <<_LT_EOF 1>&2
8874
8875 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8876 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8877 *** is disabling shared libraries support.  We urge you to upgrade GNU
8878 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8879 *** your PATH or compiler configuration so that the native linker is
8880 *** used, and then restart.
8881
8882 _LT_EOF
8883         ;;
8884         *)
8885           # For security reasons, it is highly recommended that you always
8886           # use absolute paths for naming shared libraries, and exclude the
8887           # DT_RUNPATH tag from executables and libraries.  But doing so
8888           # requires that you compile everything twice, which is a pain.
8889           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8890             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8891             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8892             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8893           else
8894             ld_shlibs=no
8895           fi
8896         ;;
8897       esac
8898       ;;
8899
8900     sunos4*)
8901       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8902       wlarc=
8903       hardcode_direct=yes
8904       hardcode_shlibpath_var=no
8905       ;;
8906
8907     *)
8908       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8909         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8910         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8911       else
8912         ld_shlibs=no
8913       fi
8914       ;;
8915     esac
8916
8917     if test "$ld_shlibs" = no; then
8918       runpath_var=
8919       hardcode_libdir_flag_spec=
8920       export_dynamic_flag_spec=
8921       whole_archive_flag_spec=
8922     fi
8923   else
8924     # PORTME fill in a description of your system's linker (not GNU ld)
8925     case $host_os in
8926     aix3*)
8927       allow_undefined_flag=unsupported
8928       always_export_symbols=yes
8929       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'
8930       # Note: this linker hardcodes the directories in LIBPATH if there
8931       # are no directories specified by -L.
8932       hardcode_minus_L=yes
8933       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8934         # Neither direct hardcoding nor static linking is supported with a
8935         # broken collect2.
8936         hardcode_direct=unsupported
8937       fi
8938       ;;
8939
8940     aix[4-9]*)
8941       if test "$host_cpu" = ia64; then
8942         # On IA64, the linker does run time linking by default, so we don't
8943         # have to do anything special.
8944         aix_use_runtimelinking=no
8945         exp_sym_flag='-Bexport'
8946         no_entry_flag=""
8947       else
8948         # If we're using GNU nm, then we don't want the "-C" option.
8949         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8950         # Also, AIX nm treats weak defined symbols like other global
8951         # defined symbols, whereas GNU nm marks them as "W".
8952         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8953           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8954         else
8955           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'
8956         fi
8957         aix_use_runtimelinking=no
8958
8959         # Test if we are trying to use run time linking or normal
8960         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8961         # need to do runtime linking.
8962         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8963           for ld_flag in $LDFLAGS; do
8964           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8965             aix_use_runtimelinking=yes
8966             break
8967           fi
8968           done
8969           ;;
8970         esac
8971
8972         exp_sym_flag='-bexport'
8973         no_entry_flag='-bnoentry'
8974       fi
8975
8976       # When large executables or shared objects are built, AIX ld can
8977       # have problems creating the table of contents.  If linking a library
8978       # or program results in "error TOC overflow" add -mminimal-toc to
8979       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8980       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8981
8982       archive_cmds=''
8983       hardcode_direct=yes
8984       hardcode_direct_absolute=yes
8985       hardcode_libdir_separator=':'
8986       link_all_deplibs=yes
8987       file_list_spec='${wl}-f,'
8988
8989       if test "$GCC" = yes; then
8990         case $host_os in aix4.[012]|aix4.[012].*)
8991         # We only want to do this on AIX 4.2 and lower, the check
8992         # below for broken collect2 doesn't work under 4.3+
8993           collect2name=`${CC} -print-prog-name=collect2`
8994           if test -f "$collect2name" &&
8995            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8996           then
8997           # We have reworked collect2
8998           :
8999           else
9000           # We have old collect2
9001           hardcode_direct=unsupported
9002           # It fails to find uninstalled libraries when the uninstalled
9003           # path is not listed in the libpath.  Setting hardcode_minus_L
9004           # to unsupported forces relinking
9005           hardcode_minus_L=yes
9006           hardcode_libdir_flag_spec='-L$libdir'
9007           hardcode_libdir_separator=
9008           fi
9009           ;;
9010         esac
9011         shared_flag='-shared'
9012         if test "$aix_use_runtimelinking" = yes; then
9013           shared_flag="$shared_flag "'${wl}-G'
9014         fi
9015         link_all_deplibs=no
9016       else
9017         # not using gcc
9018         if test "$host_cpu" = ia64; then
9019         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9020         # chokes on -Wl,-G. The following line is correct:
9021           shared_flag='-G'
9022         else
9023           if test "$aix_use_runtimelinking" = yes; then
9024             shared_flag='${wl}-G'
9025           else
9026             shared_flag='${wl}-bM:SRE'
9027           fi
9028         fi
9029       fi
9030
9031       export_dynamic_flag_spec='${wl}-bexpall'
9032       # It seems that -bexpall does not export symbols beginning with
9033       # underscore (_), so it is better to generate a list of symbols to export.
9034       always_export_symbols=yes
9035       if test "$aix_use_runtimelinking" = yes; then
9036         # Warning - without using the other runtime loading flags (-brtl),
9037         # -berok will link without error, but may produce a broken library.
9038         allow_undefined_flag='-berok'
9039         # Determine the default libpath from the value encoded in an
9040         # empty executable.
9041         if test "${lt_cv_aix_libpath+set}" = set; then
9042   aix_libpath=$lt_cv_aix_libpath
9043 else
9044   if ${lt_cv_aix_libpath_+:} false; then :
9045   $as_echo_n "(cached) " >&6
9046 else
9047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h.  */
9049
9050 int
9051 main ()
9052 {
9053
9054   ;
9055   return 0;
9056 }
9057 _ACEOF
9058 if ac_fn_c_try_link "$LINENO"; then :
9059
9060   lt_aix_libpath_sed='
9061       /Import File Strings/,/^$/ {
9062           /^0/ {
9063               s/^0  *\([^ ]*\) *$/\1/
9064               p
9065           }
9066       }'
9067   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9068   # Check for a 64-bit object if we didn't find anything.
9069   if test -z "$lt_cv_aix_libpath_"; then
9070     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9071   fi
9072 fi
9073 rm -f core conftest.err conftest.$ac_objext \
9074     conftest$ac_exeext conftest.$ac_ext
9075   if test -z "$lt_cv_aix_libpath_"; then
9076     lt_cv_aix_libpath_="/usr/lib:/lib"
9077   fi
9078
9079 fi
9080
9081   aix_libpath=$lt_cv_aix_libpath_
9082 fi
9083
9084         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9085         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9086       else
9087         if test "$host_cpu" = ia64; then
9088           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9089           allow_undefined_flag="-z nodefs"
9090           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"
9091         else
9092          # Determine the default libpath from the value encoded in an
9093          # empty executable.
9094          if test "${lt_cv_aix_libpath+set}" = set; then
9095   aix_libpath=$lt_cv_aix_libpath
9096 else
9097   if ${lt_cv_aix_libpath_+:} false; then :
9098   $as_echo_n "(cached) " >&6
9099 else
9100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h.  */
9102
9103 int
9104 main ()
9105 {
9106
9107   ;
9108   return 0;
9109 }
9110 _ACEOF
9111 if ac_fn_c_try_link "$LINENO"; then :
9112
9113   lt_aix_libpath_sed='
9114       /Import File Strings/,/^$/ {
9115           /^0/ {
9116               s/^0  *\([^ ]*\) *$/\1/
9117               p
9118           }
9119       }'
9120   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9121   # Check for a 64-bit object if we didn't find anything.
9122   if test -z "$lt_cv_aix_libpath_"; then
9123     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9124   fi
9125 fi
9126 rm -f core conftest.err conftest.$ac_objext \
9127     conftest$ac_exeext conftest.$ac_ext
9128   if test -z "$lt_cv_aix_libpath_"; then
9129     lt_cv_aix_libpath_="/usr/lib:/lib"
9130   fi
9131
9132 fi
9133
9134   aix_libpath=$lt_cv_aix_libpath_
9135 fi
9136
9137          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9138           # Warning - without using the other run time loading flags,
9139           # -berok will link without error, but may produce a broken library.
9140           no_undefined_flag=' ${wl}-bernotok'
9141           allow_undefined_flag=' ${wl}-berok'
9142           if test "$with_gnu_ld" = yes; then
9143             # We only use this code for GNU lds that support --whole-archive.
9144             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9145           else
9146             # Exported symbols can be pulled into shared objects from archives
9147             whole_archive_flag_spec='$convenience'
9148           fi
9149           archive_cmds_need_lc=yes
9150           # This is similar to how AIX traditionally builds its shared libraries.
9151           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'
9152         fi
9153       fi
9154       ;;
9155
9156     amigaos*)
9157       case $host_cpu in
9158       powerpc)
9159             # see comment about AmigaOS4 .so support
9160             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9161             archive_expsym_cmds=''
9162         ;;
9163       m68k)
9164             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)'
9165             hardcode_libdir_flag_spec='-L$libdir'
9166             hardcode_minus_L=yes
9167         ;;
9168       esac
9169       ;;
9170
9171     bsdi[45]*)
9172       export_dynamic_flag_spec=-rdynamic
9173       ;;
9174
9175     cygwin* | mingw* | pw32* | cegcc*)
9176       # When not using gcc, we currently assume that we are using
9177       # Microsoft Visual C++.
9178       # hardcode_libdir_flag_spec is actually meaningless, as there is
9179       # no search path for DLLs.
9180       case $cc_basename in
9181       cl*)
9182         # Native MSVC
9183         hardcode_libdir_flag_spec=' '
9184         allow_undefined_flag=unsupported
9185         always_export_symbols=yes
9186         file_list_spec='@'
9187         # Tell ltmain to make .lib files, not .a files.
9188         libext=lib
9189         # Tell ltmain to make .dll files, not .so files.
9190         shrext_cmds=".dll"
9191         # FIXME: Setting linknames here is a bad hack.
9192         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9193         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9194             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9195           else
9196             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9197           fi~
9198           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9199           linknames='
9200         # The linker will not automatically build a static lib if we build a DLL.
9201         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9202         enable_shared_with_static_runtimes=yes
9203         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9204         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9205         # Don't use ranlib
9206         old_postinstall_cmds='chmod 644 $oldlib'
9207         postlink_cmds='lt_outputfile="@OUTPUT@"~
9208           lt_tool_outputfile="@TOOL_OUTPUT@"~
9209           case $lt_outputfile in
9210             *.exe|*.EXE) ;;
9211             *)
9212               lt_outputfile="$lt_outputfile.exe"
9213               lt_tool_outputfile="$lt_tool_outputfile.exe"
9214               ;;
9215           esac~
9216           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9217             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9218             $RM "$lt_outputfile.manifest";
9219           fi'
9220         ;;
9221       *)
9222         # Assume MSVC wrapper
9223         hardcode_libdir_flag_spec=' '
9224         allow_undefined_flag=unsupported
9225         # Tell ltmain to make .lib files, not .a files.
9226         libext=lib
9227         # Tell ltmain to make .dll files, not .so files.
9228         shrext_cmds=".dll"
9229         # FIXME: Setting linknames here is a bad hack.
9230         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9231         # The linker will automatically build a .lib file if we build a DLL.
9232         old_archive_from_new_cmds='true'
9233         # FIXME: Should let the user specify the lib program.
9234         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9235         enable_shared_with_static_runtimes=yes
9236         ;;
9237       esac
9238       ;;
9239
9240     darwin* | rhapsody*)
9241
9242
9243   archive_cmds_need_lc=no
9244   hardcode_direct=no
9245   hardcode_automatic=yes
9246   hardcode_shlibpath_var=unsupported
9247   if test "$lt_cv_ld_force_load" = "yes"; then
9248     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9249
9250   else
9251     whole_archive_flag_spec=''
9252   fi
9253   link_all_deplibs=yes
9254   allow_undefined_flag="$_lt_dar_allow_undefined"
9255   case $cc_basename in
9256      ifort*) _lt_dar_can_shared=yes ;;
9257      *) _lt_dar_can_shared=$GCC ;;
9258   esac
9259   if test "$_lt_dar_can_shared" = "yes"; then
9260     output_verbose_link_cmd=func_echo_all
9261     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9262     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9263     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}"
9264     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}"
9265
9266   else
9267   ld_shlibs=no
9268   fi
9269
9270       ;;
9271
9272     dgux*)
9273       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9274       hardcode_libdir_flag_spec='-L$libdir'
9275       hardcode_shlibpath_var=no
9276       ;;
9277
9278     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9279     # support.  Future versions do this automatically, but an explicit c++rt0.o
9280     # does not break anything, and helps significantly (at the cost of a little
9281     # extra space).
9282     freebsd2.2*)
9283       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9284       hardcode_libdir_flag_spec='-R$libdir'
9285       hardcode_direct=yes
9286       hardcode_shlibpath_var=no
9287       ;;
9288
9289     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9290     freebsd2.*)
9291       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9292       hardcode_direct=yes
9293       hardcode_minus_L=yes
9294       hardcode_shlibpath_var=no
9295       ;;
9296
9297     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9298     freebsd* | dragonfly*)
9299       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9300       hardcode_libdir_flag_spec='-R$libdir'
9301       hardcode_direct=yes
9302       hardcode_shlibpath_var=no
9303       ;;
9304
9305     hpux9*)
9306       if test "$GCC" = yes; then
9307         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9308       else
9309         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'
9310       fi
9311       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9312       hardcode_libdir_separator=:
9313       hardcode_direct=yes
9314
9315       # hardcode_minus_L: Not really in the search PATH,
9316       # but as the default location of the library.
9317       hardcode_minus_L=yes
9318       export_dynamic_flag_spec='${wl}-E'
9319       ;;
9320
9321     hpux10*)
9322       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9323         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9324       else
9325         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9326       fi
9327       if test "$with_gnu_ld" = no; then
9328         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9329         hardcode_libdir_separator=:
9330         hardcode_direct=yes
9331         hardcode_direct_absolute=yes
9332         export_dynamic_flag_spec='${wl}-E'
9333         # hardcode_minus_L: Not really in the search PATH,
9334         # but as the default location of the library.
9335         hardcode_minus_L=yes
9336       fi
9337       ;;
9338
9339     hpux11*)
9340       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9341         case $host_cpu in
9342         hppa*64*)
9343           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9344           ;;
9345         ia64*)
9346           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9347           ;;
9348         *)
9349           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9350           ;;
9351         esac
9352       else
9353         case $host_cpu in
9354         hppa*64*)
9355           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9356           ;;
9357         ia64*)
9358           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9359           ;;
9360         *)
9361
9362           # Older versions of the 11.00 compiler do not understand -b yet
9363           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9364           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9365 $as_echo_n "checking if $CC understands -b... " >&6; }
9366 if ${lt_cv_prog_compiler__b+:} false; then :
9367   $as_echo_n "(cached) " >&6
9368 else
9369   lt_cv_prog_compiler__b=no
9370    save_LDFLAGS="$LDFLAGS"
9371    LDFLAGS="$LDFLAGS -b"
9372    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9373    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9374      # The linker can only warn and ignore the option if not recognized
9375      # So say no if there are warnings
9376      if test -s conftest.err; then
9377        # Append any errors to the config.log.
9378        cat conftest.err 1>&5
9379        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9380        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9381        if diff conftest.exp conftest.er2 >/dev/null; then
9382          lt_cv_prog_compiler__b=yes
9383        fi
9384      else
9385        lt_cv_prog_compiler__b=yes
9386      fi
9387    fi
9388    $RM -r conftest*
9389    LDFLAGS="$save_LDFLAGS"
9390
9391 fi
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9393 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9394
9395 if test x"$lt_cv_prog_compiler__b" = xyes; then
9396     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9397 else
9398     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9399 fi
9400
9401           ;;
9402         esac
9403       fi
9404       if test "$with_gnu_ld" = no; then
9405         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9406         hardcode_libdir_separator=:
9407
9408         case $host_cpu in
9409         hppa*64*|ia64*)
9410           hardcode_direct=no
9411           hardcode_shlibpath_var=no
9412           ;;
9413         *)
9414           hardcode_direct=yes
9415           hardcode_direct_absolute=yes
9416           export_dynamic_flag_spec='${wl}-E'
9417
9418           # hardcode_minus_L: Not really in the search PATH,
9419           # but as the default location of the library.
9420           hardcode_minus_L=yes
9421           ;;
9422         esac
9423       fi
9424       ;;
9425
9426     irix5* | irix6* | nonstopux*)
9427       if test "$GCC" = yes; then
9428         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9429         # Try to use the -exported_symbol ld option, if it does not
9430         # work, assume that -exports_file does not work either and
9431         # implicitly export all symbols.
9432         # This should be the same for all languages, so no per-tag cache variable.
9433         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9434 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9435 if ${lt_cv_irix_exported_symbol+:} false; then :
9436   $as_echo_n "(cached) " >&6
9437 else
9438   save_LDFLAGS="$LDFLAGS"
9439            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9440            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h.  */
9442 int foo (void) { return 0; }
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445   lt_cv_irix_exported_symbol=yes
9446 else
9447   lt_cv_irix_exported_symbol=no
9448 fi
9449 rm -f core conftest.err conftest.$ac_objext \
9450     conftest$ac_exeext conftest.$ac_ext
9451            LDFLAGS="$save_LDFLAGS"
9452 fi
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9454 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9455         if test "$lt_cv_irix_exported_symbol" = yes; then
9456           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9457         fi
9458       else
9459         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9460         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9461       fi
9462       archive_cmds_need_lc='no'
9463       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9464       hardcode_libdir_separator=:
9465       inherit_rpath=yes
9466       link_all_deplibs=yes
9467       ;;
9468
9469     netbsd* | netbsdelf*-gnu)
9470       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9471         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9472       else
9473         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9474       fi
9475       hardcode_libdir_flag_spec='-R$libdir'
9476       hardcode_direct=yes
9477       hardcode_shlibpath_var=no
9478       ;;
9479
9480     newsos6)
9481       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9482       hardcode_direct=yes
9483       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9484       hardcode_libdir_separator=:
9485       hardcode_shlibpath_var=no
9486       ;;
9487
9488     *nto* | *qnx*)
9489       ;;
9490
9491     openbsd*)
9492       if test -f /usr/libexec/ld.so; then
9493         hardcode_direct=yes
9494         hardcode_shlibpath_var=no
9495         hardcode_direct_absolute=yes
9496         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9497           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9498           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9499           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9500           export_dynamic_flag_spec='${wl}-E'
9501         else
9502           case $host_os in
9503            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9504              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9505              hardcode_libdir_flag_spec='-R$libdir'
9506              ;;
9507            *)
9508              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9509              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9510              ;;
9511           esac
9512         fi
9513       else
9514         ld_shlibs=no
9515       fi
9516       ;;
9517
9518     os2*)
9519       hardcode_libdir_flag_spec='-L$libdir'
9520       hardcode_minus_L=yes
9521       allow_undefined_flag=unsupported
9522       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'
9523       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9524       ;;
9525
9526     osf3*)
9527       if test "$GCC" = yes; then
9528         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9529         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9530       else
9531         allow_undefined_flag=' -expect_unresolved \*'
9532         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9533       fi
9534       archive_cmds_need_lc='no'
9535       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9536       hardcode_libdir_separator=:
9537       ;;
9538
9539     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9540       if test "$GCC" = yes; then
9541         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9542         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9543         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9544       else
9545         allow_undefined_flag=' -expect_unresolved \*'
9546         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9547         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~
9548         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9549
9550         # Both c and cxx compiler support -rpath directly
9551         hardcode_libdir_flag_spec='-rpath $libdir'
9552       fi
9553       archive_cmds_need_lc='no'
9554       hardcode_libdir_separator=:
9555       ;;
9556
9557     solaris*)
9558       no_undefined_flag=' -z defs'
9559       if test "$GCC" = yes; then
9560         wlarc='${wl}'
9561         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9562         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9563           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9564       else
9565         case `$CC -V 2>&1` in
9566         *"Compilers 5.0"*)
9567           wlarc=''
9568           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9569           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9570           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9571           ;;
9572         *)
9573           wlarc='${wl}'
9574           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9575           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9576           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9577           ;;
9578         esac
9579       fi
9580       hardcode_libdir_flag_spec='-R$libdir'
9581       hardcode_shlibpath_var=no
9582       case $host_os in
9583       solaris2.[0-5] | solaris2.[0-5].*) ;;
9584       *)
9585         # The compiler driver will combine and reorder linker options,
9586         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9587         # but is careful enough not to reorder.
9588         # Supported since Solaris 2.6 (maybe 2.5.1?)
9589         if test "$GCC" = yes; then
9590           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9591         else
9592           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9593         fi
9594         ;;
9595       esac
9596       link_all_deplibs=yes
9597       ;;
9598
9599     sunos4*)
9600       if test "x$host_vendor" = xsequent; then
9601         # Use $CC to link under sequent, because it throws in some extra .o
9602         # files that make .init and .fini sections work.
9603         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9604       else
9605         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9606       fi
9607       hardcode_libdir_flag_spec='-L$libdir'
9608       hardcode_direct=yes
9609       hardcode_minus_L=yes
9610       hardcode_shlibpath_var=no
9611       ;;
9612
9613     sysv4)
9614       case $host_vendor in
9615         sni)
9616           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9617           hardcode_direct=yes # is this really true???
9618         ;;
9619         siemens)
9620           ## LD is ld it makes a PLAMLIB
9621           ## CC just makes a GrossModule.
9622           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9623           reload_cmds='$CC -r -o $output$reload_objs'
9624           hardcode_direct=no
9625         ;;
9626         motorola)
9627           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9628           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9629         ;;
9630       esac
9631       runpath_var='LD_RUN_PATH'
9632       hardcode_shlibpath_var=no
9633       ;;
9634
9635     sysv4.3*)
9636       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9637       hardcode_shlibpath_var=no
9638       export_dynamic_flag_spec='-Bexport'
9639       ;;
9640
9641     sysv4*MP*)
9642       if test -d /usr/nec; then
9643         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9644         hardcode_shlibpath_var=no
9645         runpath_var=LD_RUN_PATH
9646         hardcode_runpath_var=yes
9647         ld_shlibs=yes
9648       fi
9649       ;;
9650
9651     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9652       no_undefined_flag='${wl}-z,text'
9653       archive_cmds_need_lc=no
9654       hardcode_shlibpath_var=no
9655       runpath_var='LD_RUN_PATH'
9656
9657       if test "$GCC" = yes; then
9658         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9659         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9660       else
9661         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9662         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9663       fi
9664       ;;
9665
9666     sysv5* | sco3.2v5* | sco5v6*)
9667       # Note: We can NOT use -z defs as we might desire, because we do not
9668       # link with -lc, and that would cause any symbols used from libc to
9669       # always be unresolved, which means just about no library would
9670       # ever link correctly.  If we're not using GNU ld we use -z text
9671       # though, which does catch some bad symbols but isn't as heavy-handed
9672       # as -z defs.
9673       no_undefined_flag='${wl}-z,text'
9674       allow_undefined_flag='${wl}-z,nodefs'
9675       archive_cmds_need_lc=no
9676       hardcode_shlibpath_var=no
9677       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9678       hardcode_libdir_separator=':'
9679       link_all_deplibs=yes
9680       export_dynamic_flag_spec='${wl}-Bexport'
9681       runpath_var='LD_RUN_PATH'
9682
9683       if test "$GCC" = yes; then
9684         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9685         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9686       else
9687         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9688         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9689       fi
9690       ;;
9691
9692     uts4*)
9693       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9694       hardcode_libdir_flag_spec='-L$libdir'
9695       hardcode_shlibpath_var=no
9696       ;;
9697
9698     *)
9699       ld_shlibs=no
9700       ;;
9701     esac
9702
9703     if test x$host_vendor = xsni; then
9704       case $host in
9705       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9706         export_dynamic_flag_spec='${wl}-Blargedynsym'
9707         ;;
9708       esac
9709     fi
9710   fi
9711
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9713 $as_echo "$ld_shlibs" >&6; }
9714 test "$ld_shlibs" = no && can_build_shared=no
9715
9716 with_gnu_ld=$with_gnu_ld
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732 #
9733 # Do we need to explicitly link libc?
9734 #
9735 case "x$archive_cmds_need_lc" in
9736 x|xyes)
9737   # Assume -lc should be added
9738   archive_cmds_need_lc=yes
9739
9740   if test "$enable_shared" = yes && test "$GCC" = yes; then
9741     case $archive_cmds in
9742     *'~'*)
9743       # FIXME: we may have to deal with multi-command sequences.
9744       ;;
9745     '$CC '*)
9746       # Test whether the compiler implicitly links with -lc since on some
9747       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9748       # to ld, don't add -lc before -lgcc.
9749       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9750 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9751 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9752   $as_echo_n "(cached) " >&6
9753 else
9754   $RM conftest*
9755         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9756
9757         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9758   (eval $ac_compile) 2>&5
9759   ac_status=$?
9760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9761   test $ac_status = 0; } 2>conftest.err; then
9762           soname=conftest
9763           lib=conftest
9764           libobjs=conftest.$ac_objext
9765           deplibs=
9766           wl=$lt_prog_compiler_wl
9767           pic_flag=$lt_prog_compiler_pic
9768           compiler_flags=-v
9769           linker_flags=-v
9770           verstring=
9771           output_objdir=.
9772           libname=conftest
9773           lt_save_allow_undefined_flag=$allow_undefined_flag
9774           allow_undefined_flag=
9775           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9776   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9777   ac_status=$?
9778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9779   test $ac_status = 0; }
9780           then
9781             lt_cv_archive_cmds_need_lc=no
9782           else
9783             lt_cv_archive_cmds_need_lc=yes
9784           fi
9785           allow_undefined_flag=$lt_save_allow_undefined_flag
9786         else
9787           cat conftest.err 1>&5
9788         fi
9789         $RM conftest*
9790
9791 fi
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9793 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9794       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9795       ;;
9796     esac
9797   fi
9798   ;;
9799 esac
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9953 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9954
9955 if test "$GCC" = yes; then
9956   case $host_os in
9957     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9958     *) lt_awk_arg="/^libraries:/" ;;
9959   esac
9960   case $host_os in
9961     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9962     *) lt_sed_strip_eq="s,=/,/,g" ;;
9963   esac
9964   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9965   case $lt_search_path_spec in
9966   *\;*)
9967     # if the path contains ";" then we assume it to be the separator
9968     # otherwise default to the standard path separator (i.e. ":") - it is
9969     # assumed that no part of a normal pathname contains ";" but that should
9970     # okay in the real world where ";" in dirpaths is itself problematic.
9971     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9972     ;;
9973   *)
9974     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9975     ;;
9976   esac
9977   # Ok, now we have the path, separated by spaces, we can step through it
9978   # and add multilib dir if necessary.
9979   lt_tmp_lt_search_path_spec=
9980   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9981   for lt_sys_path in $lt_search_path_spec; do
9982     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9983       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9984     else
9985       test -d "$lt_sys_path" && \
9986         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9987     fi
9988   done
9989   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9990 BEGIN {RS=" "; FS="/|\n";} {
9991   lt_foo="";
9992   lt_count=0;
9993   for (lt_i = NF; lt_i > 0; lt_i--) {
9994     if ($lt_i != "" && $lt_i != ".") {
9995       if ($lt_i == "..") {
9996         lt_count++;
9997       } else {
9998         if (lt_count == 0) {
9999           lt_foo="/" $lt_i lt_foo;
10000         } else {
10001           lt_count--;
10002         }
10003       }
10004     }
10005   }
10006   if (lt_foo != "") { lt_freq[lt_foo]++; }
10007   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10008 }'`
10009   # AWK program above erroneously prepends '/' to C:/dos/paths
10010   # for these hosts.
10011   case $host_os in
10012     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10013       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10014   esac
10015   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10016 else
10017   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10018 fi
10019 library_names_spec=
10020 libname_spec='lib$name'
10021 soname_spec=
10022 shrext_cmds=".so"
10023 postinstall_cmds=
10024 postuninstall_cmds=
10025 finish_cmds=
10026 finish_eval=
10027 shlibpath_var=
10028 shlibpath_overrides_runpath=unknown
10029 version_type=none
10030 dynamic_linker="$host_os ld.so"
10031 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10032 need_lib_prefix=unknown
10033 hardcode_into_libs=no
10034
10035 # when you set need_version to no, make sure it does not cause -set_version
10036 # flags to be left without arguments
10037 need_version=unknown
10038
10039 case $host_os in
10040 aix3*)
10041   version_type=linux # correct to gnu/linux during the next big refactor
10042   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10043   shlibpath_var=LIBPATH
10044
10045   # AIX 3 has no versioning support, so we append a major version to the name.
10046   soname_spec='${libname}${release}${shared_ext}$major'
10047   ;;
10048
10049 aix[4-9]*)
10050   version_type=linux # correct to gnu/linux during the next big refactor
10051   need_lib_prefix=no
10052   need_version=no
10053   hardcode_into_libs=yes
10054   if test "$host_cpu" = ia64; then
10055     # AIX 5 supports IA64
10056     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10057     shlibpath_var=LD_LIBRARY_PATH
10058   else
10059     # With GCC up to 2.95.x, collect2 would create an import file
10060     # for dependence libraries.  The import file would start with
10061     # the line `#! .'.  This would cause the generated library to
10062     # depend on `.', always an invalid library.  This was fixed in
10063     # development snapshots of GCC prior to 3.0.
10064     case $host_os in
10065       aix4 | aix4.[01] | aix4.[01].*)
10066       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10067            echo ' yes '
10068            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10069         :
10070       else
10071         can_build_shared=no
10072       fi
10073       ;;
10074     esac
10075     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10076     # soname into executable. Probably we can add versioning support to
10077     # collect2, so additional links can be useful in future.
10078     if test "$aix_use_runtimelinking" = yes; then
10079       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10080       # instead of lib<name>.a to let people know that these are not
10081       # typical AIX shared libraries.
10082       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10083     else
10084       # We preserve .a as extension for shared libraries through AIX4.2
10085       # and later when we are not doing run time linking.
10086       library_names_spec='${libname}${release}.a $libname.a'
10087       soname_spec='${libname}${release}${shared_ext}$major'
10088     fi
10089     shlibpath_var=LIBPATH
10090   fi
10091   ;;
10092
10093 amigaos*)
10094   case $host_cpu in
10095   powerpc)
10096     # Since July 2007 AmigaOS4 officially supports .so libraries.
10097     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10098     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10099     ;;
10100   m68k)
10101     library_names_spec='$libname.ixlibrary $libname.a'
10102     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10103     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10104     ;;
10105   esac
10106   ;;
10107
10108 beos*)
10109   library_names_spec='${libname}${shared_ext}'
10110   dynamic_linker="$host_os ld.so"
10111   shlibpath_var=LIBRARY_PATH
10112   ;;
10113
10114 bsdi[45]*)
10115   version_type=linux # correct to gnu/linux during the next big refactor
10116   need_version=no
10117   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10118   soname_spec='${libname}${release}${shared_ext}$major'
10119   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10120   shlibpath_var=LD_LIBRARY_PATH
10121   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10122   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10123   # the default ld.so.conf also contains /usr/contrib/lib and
10124   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10125   # libtool to hard-code these into programs
10126   ;;
10127
10128 cygwin* | mingw* | pw32* | cegcc*)
10129   version_type=windows
10130   shrext_cmds=".dll"
10131   need_version=no
10132   need_lib_prefix=no
10133
10134   case $GCC,$cc_basename in
10135   yes,*)
10136     # gcc
10137     library_names_spec='$libname.dll.a'
10138     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10139     postinstall_cmds='base_file=`basename \${file}`~
10140       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10141       dldir=$destdir/`dirname \$dlpath`~
10142       test -d \$dldir || mkdir -p \$dldir~
10143       $install_prog $dir/$dlname \$dldir/$dlname~
10144       chmod a+x \$dldir/$dlname~
10145       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10146         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10147       fi'
10148     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10149       dlpath=$dir/\$dldll~
10150        $RM \$dlpath'
10151     shlibpath_overrides_runpath=yes
10152
10153     case $host_os in
10154     cygwin*)
10155       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10156       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10157
10158       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10159       ;;
10160     mingw* | cegcc*)
10161       # MinGW DLLs use traditional 'lib' prefix
10162       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10163       ;;
10164     pw32*)
10165       # pw32 DLLs use 'pw' prefix rather than 'lib'
10166       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10167       ;;
10168     esac
10169     dynamic_linker='Win32 ld.exe'
10170     ;;
10171
10172   *,cl*)
10173     # Native MSVC
10174     libname_spec='$name'
10175     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10176     library_names_spec='${libname}.dll.lib'
10177
10178     case $build_os in
10179     mingw*)
10180       sys_lib_search_path_spec=
10181       lt_save_ifs=$IFS
10182       IFS=';'
10183       for lt_path in $LIB
10184       do
10185         IFS=$lt_save_ifs
10186         # Let DOS variable expansion print the short 8.3 style file name.
10187         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10188         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10189       done
10190       IFS=$lt_save_ifs
10191       # Convert to MSYS style.
10192       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10193       ;;
10194     cygwin*)
10195       # Convert to unix form, then to dos form, then back to unix form
10196       # but this time dos style (no spaces!) so that the unix form looks
10197       # like /cygdrive/c/PROGRA~1:/cygdr...
10198       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10199       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10200       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10201       ;;
10202     *)
10203       sys_lib_search_path_spec="$LIB"
10204       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10205         # It is most probably a Windows format PATH.
10206         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10207       else
10208         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10209       fi
10210       # FIXME: find the short name or the path components, as spaces are
10211       # common. (e.g. "Program Files" -> "PROGRA~1")
10212       ;;
10213     esac
10214
10215     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10216     postinstall_cmds='base_file=`basename \${file}`~
10217       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10218       dldir=$destdir/`dirname \$dlpath`~
10219       test -d \$dldir || mkdir -p \$dldir~
10220       $install_prog $dir/$dlname \$dldir/$dlname'
10221     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10222       dlpath=$dir/\$dldll~
10223        $RM \$dlpath'
10224     shlibpath_overrides_runpath=yes
10225     dynamic_linker='Win32 link.exe'
10226     ;;
10227
10228   *)
10229     # Assume MSVC wrapper
10230     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10231     dynamic_linker='Win32 ld.exe'
10232     ;;
10233   esac
10234   # FIXME: first we should search . and the directory the executable is in
10235   shlibpath_var=PATH
10236   ;;
10237
10238 darwin* | rhapsody*)
10239   dynamic_linker="$host_os dyld"
10240   version_type=darwin
10241   need_lib_prefix=no
10242   need_version=no
10243   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10244   soname_spec='${libname}${release}${major}$shared_ext'
10245   shlibpath_overrides_runpath=yes
10246   shlibpath_var=DYLD_LIBRARY_PATH
10247   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10248
10249   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10250   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10251   ;;
10252
10253 dgux*)
10254   version_type=linux # correct to gnu/linux during the next big refactor
10255   need_lib_prefix=no
10256   need_version=no
10257   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10258   soname_spec='${libname}${release}${shared_ext}$major'
10259   shlibpath_var=LD_LIBRARY_PATH
10260   ;;
10261
10262 freebsd* | dragonfly*)
10263   # DragonFly does not have aout.  When/if they implement a new
10264   # versioning mechanism, adjust this.
10265   if test -x /usr/bin/objformat; then
10266     objformat=`/usr/bin/objformat`
10267   else
10268     case $host_os in
10269     freebsd[23].*) objformat=aout ;;
10270     *) objformat=elf ;;
10271     esac
10272   fi
10273   version_type=freebsd-$objformat
10274   case $version_type in
10275     freebsd-elf*)
10276       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10277       need_version=no
10278       need_lib_prefix=no
10279       ;;
10280     freebsd-*)
10281       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10282       need_version=yes
10283       ;;
10284   esac
10285   shlibpath_var=LD_LIBRARY_PATH
10286   case $host_os in
10287   freebsd2.*)
10288     shlibpath_overrides_runpath=yes
10289     ;;
10290   freebsd3.[01]* | freebsdelf3.[01]*)
10291     shlibpath_overrides_runpath=yes
10292     hardcode_into_libs=yes
10293     ;;
10294   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10295   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10296     shlibpath_overrides_runpath=no
10297     hardcode_into_libs=yes
10298     ;;
10299   *) # from 4.6 on, and DragonFly
10300     shlibpath_overrides_runpath=yes
10301     hardcode_into_libs=yes
10302     ;;
10303   esac
10304   ;;
10305
10306 gnu*)
10307   version_type=linux # correct to gnu/linux during the next big refactor
10308   need_lib_prefix=no
10309   need_version=no
10310   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10311   soname_spec='${libname}${release}${shared_ext}$major'
10312   shlibpath_var=LD_LIBRARY_PATH
10313   shlibpath_overrides_runpath=no
10314   hardcode_into_libs=yes
10315   ;;
10316
10317 haiku*)
10318   version_type=linux # correct to gnu/linux during the next big refactor
10319   need_lib_prefix=no
10320   need_version=no
10321   dynamic_linker="$host_os runtime_loader"
10322   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10323   soname_spec='${libname}${release}${shared_ext}$major'
10324   shlibpath_var=LIBRARY_PATH
10325   shlibpath_overrides_runpath=yes
10326   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10327   hardcode_into_libs=yes
10328   ;;
10329
10330 hpux9* | hpux10* | hpux11*)
10331   # Give a soname corresponding to the major version so that dld.sl refuses to
10332   # link against other versions.
10333   version_type=sunos
10334   need_lib_prefix=no
10335   need_version=no
10336   case $host_cpu in
10337   ia64*)
10338     shrext_cmds='.so'
10339     hardcode_into_libs=yes
10340     dynamic_linker="$host_os dld.so"
10341     shlibpath_var=LD_LIBRARY_PATH
10342     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10343     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10344     soname_spec='${libname}${release}${shared_ext}$major'
10345     if test "X$HPUX_IA64_MODE" = X32; then
10346       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10347     else
10348       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10349     fi
10350     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10351     ;;
10352   hppa*64*)
10353     shrext_cmds='.sl'
10354     hardcode_into_libs=yes
10355     dynamic_linker="$host_os dld.sl"
10356     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10357     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10358     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10359     soname_spec='${libname}${release}${shared_ext}$major'
10360     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10361     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10362     ;;
10363   *)
10364     shrext_cmds='.sl'
10365     dynamic_linker="$host_os dld.sl"
10366     shlibpath_var=SHLIB_PATH
10367     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10368     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10369     soname_spec='${libname}${release}${shared_ext}$major'
10370     ;;
10371   esac
10372   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10373   postinstall_cmds='chmod 555 $lib'
10374   # or fails outright, so override atomically:
10375   install_override_mode=555
10376   ;;
10377
10378 interix[3-9]*)
10379   version_type=linux # correct to gnu/linux during the next big refactor
10380   need_lib_prefix=no
10381   need_version=no
10382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10383   soname_spec='${libname}${release}${shared_ext}$major'
10384   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10385   shlibpath_var=LD_LIBRARY_PATH
10386   shlibpath_overrides_runpath=no
10387   hardcode_into_libs=yes
10388   ;;
10389
10390 irix5* | irix6* | nonstopux*)
10391   case $host_os in
10392     nonstopux*) version_type=nonstopux ;;
10393     *)
10394         if test "$lt_cv_prog_gnu_ld" = yes; then
10395                 version_type=linux # correct to gnu/linux during the next big refactor
10396         else
10397                 version_type=irix
10398         fi ;;
10399   esac
10400   need_lib_prefix=no
10401   need_version=no
10402   soname_spec='${libname}${release}${shared_ext}$major'
10403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10404   case $host_os in
10405   irix5* | nonstopux*)
10406     libsuff= shlibsuff=
10407     ;;
10408   *)
10409     case $LD in # libtool.m4 will add one of these switches to LD
10410     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10411       libsuff= shlibsuff= libmagic=32-bit;;
10412     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10413       libsuff=32 shlibsuff=N32 libmagic=N32;;
10414     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10415       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10416     *) libsuff= shlibsuff= libmagic=never-match;;
10417     esac
10418     ;;
10419   esac
10420   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10421   shlibpath_overrides_runpath=no
10422   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10423   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10424   hardcode_into_libs=yes
10425   ;;
10426
10427 # No shared lib support for Linux oldld, aout, or coff.
10428 linux*oldld* | linux*aout* | linux*coff*)
10429   dynamic_linker=no
10430   ;;
10431
10432 # This must be glibc/ELF.
10433 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10434   version_type=linux # correct to gnu/linux during the next big refactor
10435   need_lib_prefix=no
10436   need_version=no
10437   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10438   soname_spec='${libname}${release}${shared_ext}$major'
10439   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10440   shlibpath_var=LD_LIBRARY_PATH
10441   shlibpath_overrides_runpath=no
10442
10443   # Some binutils ld are patched to set DT_RUNPATH
10444   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10445   $as_echo_n "(cached) " >&6
10446 else
10447   lt_cv_shlibpath_overrides_runpath=no
10448     save_LDFLAGS=$LDFLAGS
10449     save_libdir=$libdir
10450     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10451          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10452     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h.  */
10454
10455 int
10456 main ()
10457 {
10458
10459   ;
10460   return 0;
10461 }
10462 _ACEOF
10463 if ac_fn_c_try_link "$LINENO"; then :
10464   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10465   lt_cv_shlibpath_overrides_runpath=yes
10466 fi
10467 fi
10468 rm -f core conftest.err conftest.$ac_objext \
10469     conftest$ac_exeext conftest.$ac_ext
10470     LDFLAGS=$save_LDFLAGS
10471     libdir=$save_libdir
10472
10473 fi
10474
10475   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10476
10477   # This implies no fast_install, which is unacceptable.
10478   # Some rework will be needed to allow for fast_install
10479   # before this can be enabled.
10480   hardcode_into_libs=yes
10481
10482   # Append ld.so.conf contents to the search path
10483   if test -f /etc/ld.so.conf; then
10484     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10485     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10486   fi
10487
10488   # We used to test for /lib/ld.so.1 and disable shared libraries on
10489   # powerpc, because MkLinux only supported shared libraries with the
10490   # GNU dynamic linker.  Since this was broken with cross compilers,
10491   # most powerpc-linux boxes support dynamic linking these days and
10492   # people can always --disable-shared, the test was removed, and we
10493   # assume the GNU/Linux dynamic linker is in use.
10494   dynamic_linker='GNU/Linux ld.so'
10495   ;;
10496
10497 netbsdelf*-gnu)
10498   version_type=linux
10499   need_lib_prefix=no
10500   need_version=no
10501   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10502   soname_spec='${libname}${release}${shared_ext}$major'
10503   shlibpath_var=LD_LIBRARY_PATH
10504   shlibpath_overrides_runpath=no
10505   hardcode_into_libs=yes
10506   dynamic_linker='NetBSD ld.elf_so'
10507   ;;
10508
10509 netbsd*)
10510   version_type=sunos
10511   need_lib_prefix=no
10512   need_version=no
10513   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10514     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10515     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10516     dynamic_linker='NetBSD (a.out) ld.so'
10517   else
10518     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10519     soname_spec='${libname}${release}${shared_ext}$major'
10520     dynamic_linker='NetBSD ld.elf_so'
10521   fi
10522   shlibpath_var=LD_LIBRARY_PATH
10523   shlibpath_overrides_runpath=yes
10524   hardcode_into_libs=yes
10525   ;;
10526
10527 newsos6)
10528   version_type=linux # correct to gnu/linux during the next big refactor
10529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530   shlibpath_var=LD_LIBRARY_PATH
10531   shlibpath_overrides_runpath=yes
10532   ;;
10533
10534 *nto* | *qnx*)
10535   version_type=qnx
10536   need_lib_prefix=no
10537   need_version=no
10538   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10539   soname_spec='${libname}${release}${shared_ext}$major'
10540   shlibpath_var=LD_LIBRARY_PATH
10541   shlibpath_overrides_runpath=no
10542   hardcode_into_libs=yes
10543   dynamic_linker='ldqnx.so'
10544   ;;
10545
10546 openbsd*)
10547   version_type=sunos
10548   sys_lib_dlsearch_path_spec="/usr/lib"
10549   need_lib_prefix=no
10550   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10551   case $host_os in
10552     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10553     *)                          need_version=no  ;;
10554   esac
10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10556   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10557   shlibpath_var=LD_LIBRARY_PATH
10558   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10559     case $host_os in
10560       openbsd2.[89] | openbsd2.[89].*)
10561         shlibpath_overrides_runpath=no
10562         ;;
10563       *)
10564         shlibpath_overrides_runpath=yes
10565         ;;
10566       esac
10567   else
10568     shlibpath_overrides_runpath=yes
10569   fi
10570   ;;
10571
10572 os2*)
10573   libname_spec='$name'
10574   shrext_cmds=".dll"
10575   need_lib_prefix=no
10576   library_names_spec='$libname${shared_ext} $libname.a'
10577   dynamic_linker='OS/2 ld.exe'
10578   shlibpath_var=LIBPATH
10579   ;;
10580
10581 osf3* | osf4* | osf5*)
10582   version_type=osf
10583   need_lib_prefix=no
10584   need_version=no
10585   soname_spec='${libname}${release}${shared_ext}$major'
10586   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10587   shlibpath_var=LD_LIBRARY_PATH
10588   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10589   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10590   ;;
10591
10592 rdos*)
10593   dynamic_linker=no
10594   ;;
10595
10596 solaris*)
10597   version_type=linux # correct to gnu/linux during the next big refactor
10598   need_lib_prefix=no
10599   need_version=no
10600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10601   soname_spec='${libname}${release}${shared_ext}$major'
10602   shlibpath_var=LD_LIBRARY_PATH
10603   shlibpath_overrides_runpath=yes
10604   hardcode_into_libs=yes
10605   # ldd complains unless libraries are executable
10606   postinstall_cmds='chmod +x $lib'
10607   ;;
10608
10609 sunos4*)
10610   version_type=sunos
10611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10612   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10613   shlibpath_var=LD_LIBRARY_PATH
10614   shlibpath_overrides_runpath=yes
10615   if test "$with_gnu_ld" = yes; then
10616     need_lib_prefix=no
10617   fi
10618   need_version=yes
10619   ;;
10620
10621 sysv4 | sysv4.3*)
10622   version_type=linux # correct to gnu/linux during the next big refactor
10623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10624   soname_spec='${libname}${release}${shared_ext}$major'
10625   shlibpath_var=LD_LIBRARY_PATH
10626   case $host_vendor in
10627     sni)
10628       shlibpath_overrides_runpath=no
10629       need_lib_prefix=no
10630       runpath_var=LD_RUN_PATH
10631       ;;
10632     siemens)
10633       need_lib_prefix=no
10634       ;;
10635     motorola)
10636       need_lib_prefix=no
10637       need_version=no
10638       shlibpath_overrides_runpath=no
10639       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10640       ;;
10641   esac
10642   ;;
10643
10644 sysv4*MP*)
10645   if test -d /usr/nec ;then
10646     version_type=linux # correct to gnu/linux during the next big refactor
10647     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10648     soname_spec='$libname${shared_ext}.$major'
10649     shlibpath_var=LD_LIBRARY_PATH
10650   fi
10651   ;;
10652
10653 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10654   version_type=freebsd-elf
10655   need_lib_prefix=no
10656   need_version=no
10657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10658   soname_spec='${libname}${release}${shared_ext}$major'
10659   shlibpath_var=LD_LIBRARY_PATH
10660   shlibpath_overrides_runpath=yes
10661   hardcode_into_libs=yes
10662   if test "$with_gnu_ld" = yes; then
10663     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10664   else
10665     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10666     case $host_os in
10667       sco3.2v5*)
10668         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10669         ;;
10670     esac
10671   fi
10672   sys_lib_dlsearch_path_spec='/usr/lib'
10673   ;;
10674
10675 tpf*)
10676   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10677   version_type=linux # correct to gnu/linux during the next big refactor
10678   need_lib_prefix=no
10679   need_version=no
10680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10681   shlibpath_var=LD_LIBRARY_PATH
10682   shlibpath_overrides_runpath=no
10683   hardcode_into_libs=yes
10684   ;;
10685
10686 uts4*)
10687   version_type=linux # correct to gnu/linux during the next big refactor
10688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689   soname_spec='${libname}${release}${shared_ext}$major'
10690   shlibpath_var=LD_LIBRARY_PATH
10691   ;;
10692
10693 *)
10694   dynamic_linker=no
10695   ;;
10696 esac
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10698 $as_echo "$dynamic_linker" >&6; }
10699 test "$dynamic_linker" = no && can_build_shared=no
10700
10701 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10702 if test "$GCC" = yes; then
10703   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10704 fi
10705
10706 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10707   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10708 fi
10709 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10710   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10711 fi
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10805 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10806 hardcode_action=
10807 if test -n "$hardcode_libdir_flag_spec" ||
10808    test -n "$runpath_var" ||
10809    test "X$hardcode_automatic" = "Xyes" ; then
10810
10811   # We can hardcode non-existent directories.
10812   if test "$hardcode_direct" != no &&
10813      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10814      # have to relink, otherwise we might link with an installed library
10815      # when we should be linking with a yet-to-be-installed one
10816      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10817      test "$hardcode_minus_L" != no; then
10818     # Linking always hardcodes the temporary library directory.
10819     hardcode_action=relink
10820   else
10821     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10822     hardcode_action=immediate
10823   fi
10824 else
10825   # We cannot hardcode anything, or else we can only hardcode existing
10826   # directories.
10827   hardcode_action=unsupported
10828 fi
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10830 $as_echo "$hardcode_action" >&6; }
10831
10832 if test "$hardcode_action" = relink ||
10833    test "$inherit_rpath" = yes; then
10834   # Fast installation is not supported
10835   enable_fast_install=no
10836 elif test "$shlibpath_overrides_runpath" = yes ||
10837      test "$enable_shared" = no; then
10838   # Fast installation is not necessary
10839   enable_fast_install=needless
10840 fi
10841
10842
10843
10844
10845
10846
10847   if test "x$enable_dlopen" != xyes; then
10848   enable_dlopen=unknown
10849   enable_dlopen_self=unknown
10850   enable_dlopen_self_static=unknown
10851 else
10852   lt_cv_dlopen=no
10853   lt_cv_dlopen_libs=
10854
10855   case $host_os in
10856   beos*)
10857     lt_cv_dlopen="load_add_on"
10858     lt_cv_dlopen_libs=
10859     lt_cv_dlopen_self=yes
10860     ;;
10861
10862   mingw* | pw32* | cegcc*)
10863     lt_cv_dlopen="LoadLibrary"
10864     lt_cv_dlopen_libs=
10865     ;;
10866
10867   cygwin*)
10868     lt_cv_dlopen="dlopen"
10869     lt_cv_dlopen_libs=
10870     ;;
10871
10872   darwin*)
10873   # if libdl is installed we need to link against it
10874     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10875 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10876 if ${ac_cv_lib_dl_dlopen+:} false; then :
10877   $as_echo_n "(cached) " >&6
10878 else
10879   ac_check_lib_save_LIBS=$LIBS
10880 LIBS="-ldl  $LIBS"
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h.  */
10883
10884 /* Override any GCC internal prototype to avoid an error.
10885    Use char because int might match the return type of a GCC
10886    builtin and then its argument prototype would still apply.  */
10887 #ifdef __cplusplus
10888 extern "C"
10889 #endif
10890 char dlopen ();
10891 int
10892 main ()
10893 {
10894 return dlopen ();
10895   ;
10896   return 0;
10897 }
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"; then :
10900   ac_cv_lib_dl_dlopen=yes
10901 else
10902   ac_cv_lib_dl_dlopen=no
10903 fi
10904 rm -f core conftest.err conftest.$ac_objext \
10905     conftest$ac_exeext conftest.$ac_ext
10906 LIBS=$ac_check_lib_save_LIBS
10907 fi
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10909 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10910 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10911   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10912 else
10913
10914     lt_cv_dlopen="dyld"
10915     lt_cv_dlopen_libs=
10916     lt_cv_dlopen_self=yes
10917
10918 fi
10919
10920     ;;
10921
10922   *)
10923     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10924 if test "x$ac_cv_func_shl_load" = xyes; then :
10925   lt_cv_dlopen="shl_load"
10926 else
10927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10928 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10929 if ${ac_cv_lib_dld_shl_load+:} false; then :
10930   $as_echo_n "(cached) " >&6
10931 else
10932   ac_check_lib_save_LIBS=$LIBS
10933 LIBS="-ldld  $LIBS"
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h.  */
10936
10937 /* Override any GCC internal prototype to avoid an error.
10938    Use char because int might match the return type of a GCC
10939    builtin and then its argument prototype would still apply.  */
10940 #ifdef __cplusplus
10941 extern "C"
10942 #endif
10943 char shl_load ();
10944 int
10945 main ()
10946 {
10947 return shl_load ();
10948   ;
10949   return 0;
10950 }
10951 _ACEOF
10952 if ac_fn_c_try_link "$LINENO"; then :
10953   ac_cv_lib_dld_shl_load=yes
10954 else
10955   ac_cv_lib_dld_shl_load=no
10956 fi
10957 rm -f core conftest.err conftest.$ac_objext \
10958     conftest$ac_exeext conftest.$ac_ext
10959 LIBS=$ac_check_lib_save_LIBS
10960 fi
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10962 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10963 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10964   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10965 else
10966   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10967 if test "x$ac_cv_func_dlopen" = xyes; then :
10968   lt_cv_dlopen="dlopen"
10969 else
10970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10971 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10972 if ${ac_cv_lib_dl_dlopen+:} false; then :
10973   $as_echo_n "(cached) " >&6
10974 else
10975   ac_check_lib_save_LIBS=$LIBS
10976 LIBS="-ldl  $LIBS"
10977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h.  */
10979
10980 /* Override any GCC internal prototype to avoid an error.
10981    Use char because int might match the return type of a GCC
10982    builtin and then its argument prototype would still apply.  */
10983 #ifdef __cplusplus
10984 extern "C"
10985 #endif
10986 char dlopen ();
10987 int
10988 main ()
10989 {
10990 return dlopen ();
10991   ;
10992   return 0;
10993 }
10994 _ACEOF
10995 if ac_fn_c_try_link "$LINENO"; then :
10996   ac_cv_lib_dl_dlopen=yes
10997 else
10998   ac_cv_lib_dl_dlopen=no
10999 fi
11000 rm -f core conftest.err conftest.$ac_objext \
11001     conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_lib_save_LIBS
11003 fi
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11005 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11006 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11007   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11008 else
11009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11010 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11011 if ${ac_cv_lib_svld_dlopen+:} false; then :
11012   $as_echo_n "(cached) " >&6
11013 else
11014   ac_check_lib_save_LIBS=$LIBS
11015 LIBS="-lsvld  $LIBS"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h.  */
11018
11019 /* Override any GCC internal prototype to avoid an error.
11020    Use char because int might match the return type of a GCC
11021    builtin and then its argument prototype would still apply.  */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char dlopen ();
11026 int
11027 main ()
11028 {
11029 return dlopen ();
11030   ;
11031   return 0;
11032 }
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"; then :
11035   ac_cv_lib_svld_dlopen=yes
11036 else
11037   ac_cv_lib_svld_dlopen=no
11038 fi
11039 rm -f core conftest.err conftest.$ac_objext \
11040     conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_lib_save_LIBS
11042 fi
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11044 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11045 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11046   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11047 else
11048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11049 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11050 if ${ac_cv_lib_dld_dld_link+:} false; then :
11051   $as_echo_n "(cached) " >&6
11052 else
11053   ac_check_lib_save_LIBS=$LIBS
11054 LIBS="-ldld  $LIBS"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h.  */
11057
11058 /* Override any GCC internal prototype to avoid an error.
11059    Use char because int might match the return type of a GCC
11060    builtin and then its argument prototype would still apply.  */
11061 #ifdef __cplusplus
11062 extern "C"
11063 #endif
11064 char dld_link ();
11065 int
11066 main ()
11067 {
11068 return dld_link ();
11069   ;
11070   return 0;
11071 }
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"; then :
11074   ac_cv_lib_dld_dld_link=yes
11075 else
11076   ac_cv_lib_dld_dld_link=no
11077 fi
11078 rm -f core conftest.err conftest.$ac_objext \
11079     conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_lib_save_LIBS
11081 fi
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11083 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11084 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11085   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11086 fi
11087
11088
11089 fi
11090
11091
11092 fi
11093
11094
11095 fi
11096
11097
11098 fi
11099
11100
11101 fi
11102
11103     ;;
11104   esac
11105
11106   if test "x$lt_cv_dlopen" != xno; then
11107     enable_dlopen=yes
11108   else
11109     enable_dlopen=no
11110   fi
11111
11112   case $lt_cv_dlopen in
11113   dlopen)
11114     save_CPPFLAGS="$CPPFLAGS"
11115     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11116
11117     save_LDFLAGS="$LDFLAGS"
11118     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11119
11120     save_LIBS="$LIBS"
11121     LIBS="$lt_cv_dlopen_libs $LIBS"
11122
11123     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11124 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11125 if ${lt_cv_dlopen_self+:} false; then :
11126   $as_echo_n "(cached) " >&6
11127 else
11128           if test "$cross_compiling" = yes; then :
11129   lt_cv_dlopen_self=cross
11130 else
11131   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11132   lt_status=$lt_dlunknown
11133   cat > conftest.$ac_ext <<_LT_EOF
11134 #line $LINENO "configure"
11135 #include "confdefs.h"
11136
11137 #if HAVE_DLFCN_H
11138 #include <dlfcn.h>
11139 #endif
11140
11141 #include <stdio.h>
11142
11143 #ifdef RTLD_GLOBAL
11144 #  define LT_DLGLOBAL           RTLD_GLOBAL
11145 #else
11146 #  ifdef DL_GLOBAL
11147 #    define LT_DLGLOBAL         DL_GLOBAL
11148 #  else
11149 #    define LT_DLGLOBAL         0
11150 #  endif
11151 #endif
11152
11153 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11154    find out it does not work in some platform. */
11155 #ifndef LT_DLLAZY_OR_NOW
11156 #  ifdef RTLD_LAZY
11157 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11158 #  else
11159 #    ifdef DL_LAZY
11160 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11161 #    else
11162 #      ifdef RTLD_NOW
11163 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11164 #      else
11165 #        ifdef DL_NOW
11166 #          define LT_DLLAZY_OR_NOW      DL_NOW
11167 #        else
11168 #          define LT_DLLAZY_OR_NOW      0
11169 #        endif
11170 #      endif
11171 #    endif
11172 #  endif
11173 #endif
11174
11175 /* When -fvisbility=hidden is used, assume the code has been annotated
11176    correspondingly for the symbols needed.  */
11177 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11178 int fnord () __attribute__((visibility("default")));
11179 #endif
11180
11181 int fnord () { return 42; }
11182 int main ()
11183 {
11184   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11185   int status = $lt_dlunknown;
11186
11187   if (self)
11188     {
11189       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11190       else
11191         {
11192           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11193           else puts (dlerror ());
11194         }
11195       /* dlclose (self); */
11196     }
11197   else
11198     puts (dlerror ());
11199
11200   return status;
11201 }
11202 _LT_EOF
11203   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11204   (eval $ac_link) 2>&5
11205   ac_status=$?
11206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11207   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11208     (./conftest; exit; ) >&5 2>/dev/null
11209     lt_status=$?
11210     case x$lt_status in
11211       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11212       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11213       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11214     esac
11215   else :
11216     # compilation failed
11217     lt_cv_dlopen_self=no
11218   fi
11219 fi
11220 rm -fr conftest*
11221
11222
11223 fi
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11225 $as_echo "$lt_cv_dlopen_self" >&6; }
11226
11227     if test "x$lt_cv_dlopen_self" = xyes; then
11228       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11229       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11230 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11231 if ${lt_cv_dlopen_self_static+:} false; then :
11232   $as_echo_n "(cached) " >&6
11233 else
11234           if test "$cross_compiling" = yes; then :
11235   lt_cv_dlopen_self_static=cross
11236 else
11237   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11238   lt_status=$lt_dlunknown
11239   cat > conftest.$ac_ext <<_LT_EOF
11240 #line $LINENO "configure"
11241 #include "confdefs.h"
11242
11243 #if HAVE_DLFCN_H
11244 #include <dlfcn.h>
11245 #endif
11246
11247 #include <stdio.h>
11248
11249 #ifdef RTLD_GLOBAL
11250 #  define LT_DLGLOBAL           RTLD_GLOBAL
11251 #else
11252 #  ifdef DL_GLOBAL
11253 #    define LT_DLGLOBAL         DL_GLOBAL
11254 #  else
11255 #    define LT_DLGLOBAL         0
11256 #  endif
11257 #endif
11258
11259 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11260    find out it does not work in some platform. */
11261 #ifndef LT_DLLAZY_OR_NOW
11262 #  ifdef RTLD_LAZY
11263 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11264 #  else
11265 #    ifdef DL_LAZY
11266 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11267 #    else
11268 #      ifdef RTLD_NOW
11269 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11270 #      else
11271 #        ifdef DL_NOW
11272 #          define LT_DLLAZY_OR_NOW      DL_NOW
11273 #        else
11274 #          define LT_DLLAZY_OR_NOW      0
11275 #        endif
11276 #      endif
11277 #    endif
11278 #  endif
11279 #endif
11280
11281 /* When -fvisbility=hidden is used, assume the code has been annotated
11282    correspondingly for the symbols needed.  */
11283 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11284 int fnord () __attribute__((visibility("default")));
11285 #endif
11286
11287 int fnord () { return 42; }
11288 int main ()
11289 {
11290   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11291   int status = $lt_dlunknown;
11292
11293   if (self)
11294     {
11295       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11296       else
11297         {
11298           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11299           else puts (dlerror ());
11300         }
11301       /* dlclose (self); */
11302     }
11303   else
11304     puts (dlerror ());
11305
11306   return status;
11307 }
11308 _LT_EOF
11309   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11310   (eval $ac_link) 2>&5
11311   ac_status=$?
11312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11313   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11314     (./conftest; exit; ) >&5 2>/dev/null
11315     lt_status=$?
11316     case x$lt_status in
11317       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11318       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11319       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11320     esac
11321   else :
11322     # compilation failed
11323     lt_cv_dlopen_self_static=no
11324   fi
11325 fi
11326 rm -fr conftest*
11327
11328
11329 fi
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11331 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11332     fi
11333
11334     CPPFLAGS="$save_CPPFLAGS"
11335     LDFLAGS="$save_LDFLAGS"
11336     LIBS="$save_LIBS"
11337     ;;
11338   esac
11339
11340   case $lt_cv_dlopen_self in
11341   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11342   *) enable_dlopen_self=unknown ;;
11343   esac
11344
11345   case $lt_cv_dlopen_self_static in
11346   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11347   *) enable_dlopen_self_static=unknown ;;
11348   esac
11349 fi
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367 striplib=
11368 old_striplib=
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11370 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11371 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11372   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11373   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11375 $as_echo "yes" >&6; }
11376 else
11377 # FIXME - insert some real tests, host_os isn't really good enough
11378   case $host_os in
11379   darwin*)
11380     if test -n "$STRIP" ; then
11381       striplib="$STRIP -x"
11382       old_striplib="$STRIP -S"
11383       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11384 $as_echo "yes" >&6; }
11385     else
11386       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11387 $as_echo "no" >&6; }
11388     fi
11389     ;;
11390   *)
11391     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11392 $as_echo "no" >&6; }
11393     ;;
11394   esac
11395 fi
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408   # Report which library types will actually be built
11409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11410 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11412 $as_echo "$can_build_shared" >&6; }
11413
11414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11415 $as_echo_n "checking whether to build shared libraries... " >&6; }
11416   test "$can_build_shared" = "no" && enable_shared=no
11417
11418   # On AIX, shared libraries and static libraries use the same namespace, and
11419   # are all built from PIC.
11420   case $host_os in
11421   aix3*)
11422     test "$enable_shared" = yes && enable_static=no
11423     if test -n "$RANLIB"; then
11424       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11425       postinstall_cmds='$RANLIB $lib'
11426     fi
11427     ;;
11428
11429   aix[4-9]*)
11430     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11431       test "$enable_shared" = yes && enable_static=no
11432     fi
11433     ;;
11434   esac
11435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11436 $as_echo "$enable_shared" >&6; }
11437
11438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11439 $as_echo_n "checking whether to build static libraries... " >&6; }
11440   # Make sure either enable_shared or enable_static is yes.
11441   test "$enable_shared" = yes || enable_static=yes
11442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11443 $as_echo "$enable_static" >&6; }
11444
11445
11446
11447
11448 fi
11449 ac_ext=c
11450 ac_cpp='$CPP $CPPFLAGS'
11451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11454
11455 CC="$lt_save_CC"
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471         ac_config_commands="$ac_config_commands libtool"
11472
11473
11474
11475
11476 # Only expand once:
11477
11478
11479
11480 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11481 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11482
11483
11484
11485 cat >>confdefs.h <<_ACEOF
11486 #define VMAJ 1
11487 _ACEOF
11488
11489
11490 cat >>confdefs.h <<_ACEOF
11491 #define VMIN 7
11492 _ACEOF
11493
11494
11495 cat >>confdefs.h <<_ACEOF
11496 #define VMIC 3
11497 _ACEOF
11498
11499
11500 cat >>confdefs.h <<_ACEOF
11501 #define VREV 0
11502 _ACEOF
11503
11504 version_info="8:3:7"
11505 release_info=""
11506
11507
11508 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11509 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11510 VMAJ=1
11511
11512
11513 ### Needed information
11514
11515
11516
11517
11518 requirement_eeze="ecore >= 1.6.99 eina >= 1.6.99 libudev"
11519
11520
11521 ### Checks for programs
11522 ac_ext=c
11523 ac_cpp='$CPP $CPPFLAGS'
11524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11527 if test -n "$ac_tool_prefix"; then
11528   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11529 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11531 $as_echo_n "checking for $ac_word... " >&6; }
11532 if ${ac_cv_prog_CC+:} false; then :
11533   $as_echo_n "(cached) " >&6
11534 else
11535   if test -n "$CC"; then
11536   ac_cv_prog_CC="$CC" # Let the user override the test.
11537 else
11538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11539 for as_dir in $PATH
11540 do
11541   IFS=$as_save_IFS
11542   test -z "$as_dir" && as_dir=.
11543     for ac_exec_ext in '' $ac_executable_extensions; do
11544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11545     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11547     break 2
11548   fi
11549 done
11550   done
11551 IFS=$as_save_IFS
11552
11553 fi
11554 fi
11555 CC=$ac_cv_prog_CC
11556 if test -n "$CC"; then
11557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11558 $as_echo "$CC" >&6; }
11559 else
11560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11561 $as_echo "no" >&6; }
11562 fi
11563
11564
11565 fi
11566 if test -z "$ac_cv_prog_CC"; then
11567   ac_ct_CC=$CC
11568   # Extract the first word of "gcc", so it can be a program name with args.
11569 set dummy gcc; ac_word=$2
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11571 $as_echo_n "checking for $ac_word... " >&6; }
11572 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11573   $as_echo_n "(cached) " >&6
11574 else
11575   if test -n "$ac_ct_CC"; then
11576   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11577 else
11578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11579 for as_dir in $PATH
11580 do
11581   IFS=$as_save_IFS
11582   test -z "$as_dir" && as_dir=.
11583     for ac_exec_ext in '' $ac_executable_extensions; do
11584   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11585     ac_cv_prog_ac_ct_CC="gcc"
11586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11587     break 2
11588   fi
11589 done
11590   done
11591 IFS=$as_save_IFS
11592
11593 fi
11594 fi
11595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11596 if test -n "$ac_ct_CC"; then
11597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11598 $as_echo "$ac_ct_CC" >&6; }
11599 else
11600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11601 $as_echo "no" >&6; }
11602 fi
11603
11604   if test "x$ac_ct_CC" = x; then
11605     CC=""
11606   else
11607     case $cross_compiling:$ac_tool_warned in
11608 yes:)
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11611 ac_tool_warned=yes ;;
11612 esac
11613     CC=$ac_ct_CC
11614   fi
11615 else
11616   CC="$ac_cv_prog_CC"
11617 fi
11618
11619 if test -z "$CC"; then
11620           if test -n "$ac_tool_prefix"; then
11621     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11622 set dummy ${ac_tool_prefix}cc; ac_word=$2
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11624 $as_echo_n "checking for $ac_word... " >&6; }
11625 if ${ac_cv_prog_CC+:} false; then :
11626   $as_echo_n "(cached) " >&6
11627 else
11628   if test -n "$CC"; then
11629   ac_cv_prog_CC="$CC" # Let the user override the test.
11630 else
11631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11632 for as_dir in $PATH
11633 do
11634   IFS=$as_save_IFS
11635   test -z "$as_dir" && as_dir=.
11636     for ac_exec_ext in '' $ac_executable_extensions; do
11637   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11638     ac_cv_prog_CC="${ac_tool_prefix}cc"
11639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11640     break 2
11641   fi
11642 done
11643   done
11644 IFS=$as_save_IFS
11645
11646 fi
11647 fi
11648 CC=$ac_cv_prog_CC
11649 if test -n "$CC"; then
11650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11651 $as_echo "$CC" >&6; }
11652 else
11653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11654 $as_echo "no" >&6; }
11655 fi
11656
11657
11658   fi
11659 fi
11660 if test -z "$CC"; then
11661   # Extract the first word of "cc", so it can be a program name with args.
11662 set dummy cc; ac_word=$2
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11664 $as_echo_n "checking for $ac_word... " >&6; }
11665 if ${ac_cv_prog_CC+:} false; then :
11666   $as_echo_n "(cached) " >&6
11667 else
11668   if test -n "$CC"; then
11669   ac_cv_prog_CC="$CC" # Let the user override the test.
11670 else
11671   ac_prog_rejected=no
11672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11673 for as_dir in $PATH
11674 do
11675   IFS=$as_save_IFS
11676   test -z "$as_dir" && as_dir=.
11677     for ac_exec_ext in '' $ac_executable_extensions; do
11678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11679     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11680        ac_prog_rejected=yes
11681        continue
11682      fi
11683     ac_cv_prog_CC="cc"
11684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11685     break 2
11686   fi
11687 done
11688   done
11689 IFS=$as_save_IFS
11690
11691 if test $ac_prog_rejected = yes; then
11692   # We found a bogon in the path, so make sure we never use it.
11693   set dummy $ac_cv_prog_CC
11694   shift
11695   if test $# != 0; then
11696     # We chose a different compiler from the bogus one.
11697     # However, it has the same basename, so the bogon will be chosen
11698     # first if we set CC to just the basename; use the full file name.
11699     shift
11700     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11701   fi
11702 fi
11703 fi
11704 fi
11705 CC=$ac_cv_prog_CC
11706 if test -n "$CC"; then
11707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11708 $as_echo "$CC" >&6; }
11709 else
11710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11711 $as_echo "no" >&6; }
11712 fi
11713
11714
11715 fi
11716 if test -z "$CC"; then
11717   if test -n "$ac_tool_prefix"; then
11718   for ac_prog in cl.exe
11719   do
11720     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11721 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11723 $as_echo_n "checking for $ac_word... " >&6; }
11724 if ${ac_cv_prog_CC+:} false; then :
11725   $as_echo_n "(cached) " >&6
11726 else
11727   if test -n "$CC"; then
11728   ac_cv_prog_CC="$CC" # Let the user override the test.
11729 else
11730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11731 for as_dir in $PATH
11732 do
11733   IFS=$as_save_IFS
11734   test -z "$as_dir" && as_dir=.
11735     for ac_exec_ext in '' $ac_executable_extensions; do
11736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11737     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11739     break 2
11740   fi
11741 done
11742   done
11743 IFS=$as_save_IFS
11744
11745 fi
11746 fi
11747 CC=$ac_cv_prog_CC
11748 if test -n "$CC"; then
11749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11750 $as_echo "$CC" >&6; }
11751 else
11752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11754 fi
11755
11756
11757     test -n "$CC" && break
11758   done
11759 fi
11760 if test -z "$CC"; then
11761   ac_ct_CC=$CC
11762   for ac_prog in cl.exe
11763 do
11764   # Extract the first word of "$ac_prog", so it can be a program name with args.
11765 set dummy $ac_prog; ac_word=$2
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11767 $as_echo_n "checking for $ac_word... " >&6; }
11768 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11769   $as_echo_n "(cached) " >&6
11770 else
11771   if test -n "$ac_ct_CC"; then
11772   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11773 else
11774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11775 for as_dir in $PATH
11776 do
11777   IFS=$as_save_IFS
11778   test -z "$as_dir" && as_dir=.
11779     for ac_exec_ext in '' $ac_executable_extensions; do
11780   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11781     ac_cv_prog_ac_ct_CC="$ac_prog"
11782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11783     break 2
11784   fi
11785 done
11786   done
11787 IFS=$as_save_IFS
11788
11789 fi
11790 fi
11791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11792 if test -n "$ac_ct_CC"; then
11793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11794 $as_echo "$ac_ct_CC" >&6; }
11795 else
11796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11797 $as_echo "no" >&6; }
11798 fi
11799
11800
11801   test -n "$ac_ct_CC" && break
11802 done
11803
11804   if test "x$ac_ct_CC" = x; then
11805     CC=""
11806   else
11807     case $cross_compiling:$ac_tool_warned in
11808 yes:)
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11811 ac_tool_warned=yes ;;
11812 esac
11813     CC=$ac_ct_CC
11814   fi
11815 fi
11816
11817 fi
11818
11819
11820 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11822 as_fn_error $? "no acceptable C compiler found in \$PATH
11823 See \`config.log' for more details" "$LINENO" 5; }
11824
11825 # Provide some information about the compiler.
11826 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11827 set X $ac_compile
11828 ac_compiler=$2
11829 for ac_option in --version -v -V -qversion; do
11830   { { ac_try="$ac_compiler $ac_option >&5"
11831 case "(($ac_try" in
11832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11833   *) ac_try_echo=$ac_try;;
11834 esac
11835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11836 $as_echo "$ac_try_echo"; } >&5
11837   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11838   ac_status=$?
11839   if test -s conftest.err; then
11840     sed '10a\
11841 ... rest of stderr output deleted ...
11842          10q' conftest.err >conftest.er1
11843     cat conftest.er1 >&5
11844   fi
11845   rm -f conftest.er1 conftest.err
11846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11847   test $ac_status = 0; }
11848 done
11849
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11851 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11852 if ${ac_cv_c_compiler_gnu+:} false; then :
11853   $as_echo_n "(cached) " >&6
11854 else
11855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856 /* end confdefs.h.  */
11857
11858 int
11859 main ()
11860 {
11861 #ifndef __GNUC__
11862        choke me
11863 #endif
11864
11865   ;
11866   return 0;
11867 }
11868 _ACEOF
11869 if ac_fn_c_try_compile "$LINENO"; then :
11870   ac_compiler_gnu=yes
11871 else
11872   ac_compiler_gnu=no
11873 fi
11874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11875 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11876
11877 fi
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11879 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11880 if test $ac_compiler_gnu = yes; then
11881   GCC=yes
11882 else
11883   GCC=
11884 fi
11885 ac_test_CFLAGS=${CFLAGS+set}
11886 ac_save_CFLAGS=$CFLAGS
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11888 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11889 if ${ac_cv_prog_cc_g+:} false; then :
11890   $as_echo_n "(cached) " >&6
11891 else
11892   ac_save_c_werror_flag=$ac_c_werror_flag
11893    ac_c_werror_flag=yes
11894    ac_cv_prog_cc_g=no
11895    CFLAGS="-g"
11896    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h.  */
11898
11899 int
11900 main ()
11901 {
11902
11903   ;
11904   return 0;
11905 }
11906 _ACEOF
11907 if ac_fn_c_try_compile "$LINENO"; then :
11908   ac_cv_prog_cc_g=yes
11909 else
11910   CFLAGS=""
11911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h.  */
11913
11914 int
11915 main ()
11916 {
11917
11918   ;
11919   return 0;
11920 }
11921 _ACEOF
11922 if ac_fn_c_try_compile "$LINENO"; then :
11923
11924 else
11925   ac_c_werror_flag=$ac_save_c_werror_flag
11926          CFLAGS="-g"
11927          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h.  */
11929
11930 int
11931 main ()
11932 {
11933
11934   ;
11935   return 0;
11936 }
11937 _ACEOF
11938 if ac_fn_c_try_compile "$LINENO"; then :
11939   ac_cv_prog_cc_g=yes
11940 fi
11941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11942 fi
11943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11944 fi
11945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11946    ac_c_werror_flag=$ac_save_c_werror_flag
11947 fi
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11949 $as_echo "$ac_cv_prog_cc_g" >&6; }
11950 if test "$ac_test_CFLAGS" = set; then
11951   CFLAGS=$ac_save_CFLAGS
11952 elif test $ac_cv_prog_cc_g = yes; then
11953   if test "$GCC" = yes; then
11954     CFLAGS="-g -O2"
11955   else
11956     CFLAGS="-g"
11957   fi
11958 else
11959   if test "$GCC" = yes; then
11960     CFLAGS="-O2"
11961   else
11962     CFLAGS=
11963   fi
11964 fi
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11966 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11967 if ${ac_cv_prog_cc_c89+:} false; then :
11968   $as_echo_n "(cached) " >&6
11969 else
11970   ac_cv_prog_cc_c89=no
11971 ac_save_CC=$CC
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h.  */
11974 #include <stdarg.h>
11975 #include <stdio.h>
11976 #include <sys/types.h>
11977 #include <sys/stat.h>
11978 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11979 struct buf { int x; };
11980 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11981 static char *e (p, i)
11982      char **p;
11983      int i;
11984 {
11985   return p[i];
11986 }
11987 static char *f (char * (*g) (char **, int), char **p, ...)
11988 {
11989   char *s;
11990   va_list v;
11991   va_start (v,p);
11992   s = g (p, va_arg (v,int));
11993   va_end (v);
11994   return s;
11995 }
11996
11997 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11998    function prototypes and stuff, but not '\xHH' hex character constants.
11999    These don't provoke an error unfortunately, instead are silently treated
12000    as 'x'.  The following induces an error, until -std is added to get
12001    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12002    array size at least.  It's necessary to write '\x00'==0 to get something
12003    that's true only with -std.  */
12004 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12005
12006 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12007    inside strings and character constants.  */
12008 #define FOO(x) 'x'
12009 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12010
12011 int test (int i, double x);
12012 struct s1 {int (*f) (int a);};
12013 struct s2 {int (*f) (double a);};
12014 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12015 int argc;
12016 char **argv;
12017 int
12018 main ()
12019 {
12020 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12021   ;
12022   return 0;
12023 }
12024 _ACEOF
12025 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12026         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12027 do
12028   CC="$ac_save_CC $ac_arg"
12029   if ac_fn_c_try_compile "$LINENO"; then :
12030   ac_cv_prog_cc_c89=$ac_arg
12031 fi
12032 rm -f core conftest.err conftest.$ac_objext
12033   test "x$ac_cv_prog_cc_c89" != "xno" && break
12034 done
12035 rm -f conftest.$ac_ext
12036 CC=$ac_save_CC
12037
12038 fi
12039 # AC_CACHE_VAL
12040 case "x$ac_cv_prog_cc_c89" in
12041   x)
12042     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12043 $as_echo "none needed" >&6; } ;;
12044   xno)
12045     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12046 $as_echo "unsupported" >&6; } ;;
12047   *)
12048     CC="$CC $ac_cv_prog_cc_c89"
12049     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12050 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12051 esac
12052 if test "x$ac_cv_prog_cc_c89" != xno; then :
12053
12054 fi
12055
12056 ac_ext=c
12057 ac_cpp='$CPP $CPPFLAGS'
12058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12061
12062 depcc="$CC"   am_compiler_list=
12063
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12065 $as_echo_n "checking dependency style of $depcc... " >&6; }
12066 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12067   $as_echo_n "(cached) " >&6
12068 else
12069   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12070   # We make a subdir and do the tests there.  Otherwise we can end up
12071   # making bogus files that we don't know about and never remove.  For
12072   # instance it was reported that on HP-UX the gcc test will end up
12073   # making a dummy file named `D' -- because `-MD' means `put the output
12074   # in D'.
12075   rm -rf conftest.dir
12076   mkdir conftest.dir
12077   # Copy depcomp to subdir because otherwise we won't find it if we're
12078   # using a relative directory.
12079   cp "$am_depcomp" conftest.dir
12080   cd conftest.dir
12081   # We will build objects and dependencies in a subdirectory because
12082   # it helps to detect inapplicable dependency modes.  For instance
12083   # both Tru64's cc and ICC support -MD to output dependencies as a
12084   # side effect of compilation, but ICC will put the dependencies in
12085   # the current directory while Tru64 will put them in the object
12086   # directory.
12087   mkdir sub
12088
12089   am_cv_CC_dependencies_compiler_type=none
12090   if test "$am_compiler_list" = ""; then
12091      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12092   fi
12093   am__universal=false
12094   case " $depcc " in #(
12095      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12096      esac
12097
12098   for depmode in $am_compiler_list; do
12099     # Setup a source with many dependencies, because some compilers
12100     # like to wrap large dependency lists on column 80 (with \), and
12101     # we should not choose a depcomp mode which is confused by this.
12102     #
12103     # We need to recreate these files for each test, as the compiler may
12104     # overwrite some of them when testing with obscure command lines.
12105     # This happens at least with the AIX C compiler.
12106     : > sub/conftest.c
12107     for i in 1 2 3 4 5 6; do
12108       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12109       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12110       # Solaris 8's {/usr,}/bin/sh.
12111       touch sub/conftst$i.h
12112     done
12113     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12114
12115     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12116     # mode.  It turns out that the SunPro C++ compiler does not properly
12117     # handle `-M -o', and we need to detect this.  Also, some Intel
12118     # versions had trouble with output in subdirs
12119     am__obj=sub/conftest.${OBJEXT-o}
12120     am__minus_obj="-o $am__obj"
12121     case $depmode in
12122     gcc)
12123       # This depmode causes a compiler race in universal mode.
12124       test "$am__universal" = false || continue
12125       ;;
12126     nosideeffect)
12127       # after this tag, mechanisms are not by side-effect, so they'll
12128       # only be used when explicitly requested
12129       if test "x$enable_dependency_tracking" = xyes; then
12130         continue
12131       else
12132         break
12133       fi
12134       ;;
12135     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12136       # This compiler won't grok `-c -o', but also, the minuso test has
12137       # not run yet.  These depmodes are late enough in the game, and
12138       # so weak that their functioning should not be impacted.
12139       am__obj=conftest.${OBJEXT-o}
12140       am__minus_obj=
12141       ;;
12142     none) break ;;
12143     esac
12144     if depmode=$depmode \
12145        source=sub/conftest.c object=$am__obj \
12146        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12147        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12148          >/dev/null 2>conftest.err &&
12149        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12150        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12151        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12152        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12153       # icc doesn't choke on unknown options, it will just issue warnings
12154       # or remarks (even with -Werror).  So we grep stderr for any message
12155       # that says an option was ignored or not supported.
12156       # When given -MP, icc 7.0 and 7.1 complain thusly:
12157       #   icc: Command line warning: ignoring option '-M'; no argument required
12158       # The diagnosis changed in icc 8.0:
12159       #   icc: Command line remark: option '-MP' not supported
12160       if (grep 'ignoring option' conftest.err ||
12161           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12162         am_cv_CC_dependencies_compiler_type=$depmode
12163         break
12164       fi
12165     fi
12166   done
12167
12168   cd ..
12169   rm -rf conftest.dir
12170 else
12171   am_cv_CC_dependencies_compiler_type=none
12172 fi
12173
12174 fi
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12176 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12177 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12178
12179  if
12180   test "x$enable_dependency_tracking" != xno \
12181   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12182   am__fastdepCC_TRUE=
12183   am__fastdepCC_FALSE='#'
12184 else
12185   am__fastdepCC_TRUE='#'
12186   am__fastdepCC_FALSE=
12187 fi
12188
12189
12190 if test "x$CC" != xcc; then
12191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12192 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12193 else
12194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12195 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12196 fi
12197 set dummy $CC; ac_cc=`$as_echo "$2" |
12198                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12199 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12200   $as_echo_n "(cached) " >&6
12201 else
12202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h.  */
12204
12205 int
12206 main ()
12207 {
12208
12209   ;
12210   return 0;
12211 }
12212 _ACEOF
12213 # Make sure it works both with $CC and with simple cc.
12214 # We do the test twice because some compilers refuse to overwrite an
12215 # existing .o file with -o, though they will create one.
12216 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12217 rm -f conftest2.*
12218 if { { case "(($ac_try" in
12219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12220   *) ac_try_echo=$ac_try;;
12221 esac
12222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12223 $as_echo "$ac_try_echo"; } >&5
12224   (eval "$ac_try") 2>&5
12225   ac_status=$?
12226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12227   test $ac_status = 0; } &&
12228    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12230   *) ac_try_echo=$ac_try;;
12231 esac
12232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12233 $as_echo "$ac_try_echo"; } >&5
12234   (eval "$ac_try") 2>&5
12235   ac_status=$?
12236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12237   test $ac_status = 0; };
12238 then
12239   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12240   if test "x$CC" != xcc; then
12241     # Test first that cc exists at all.
12242     if { ac_try='cc -c conftest.$ac_ext >&5'
12243   { { case "(($ac_try" in
12244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12245   *) ac_try_echo=$ac_try;;
12246 esac
12247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12248 $as_echo "$ac_try_echo"; } >&5
12249   (eval "$ac_try") 2>&5
12250   ac_status=$?
12251   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12252   test $ac_status = 0; }; }; then
12253       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12254       rm -f conftest2.*
12255       if { { case "(($ac_try" in
12256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12257   *) ac_try_echo=$ac_try;;
12258 esac
12259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12260 $as_echo "$ac_try_echo"; } >&5
12261   (eval "$ac_try") 2>&5
12262   ac_status=$?
12263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12264   test $ac_status = 0; } &&
12265          test -f conftest2.$ac_objext && { { case "(($ac_try" in
12266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12267   *) ac_try_echo=$ac_try;;
12268 esac
12269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12270 $as_echo "$ac_try_echo"; } >&5
12271   (eval "$ac_try") 2>&5
12272   ac_status=$?
12273   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12274   test $ac_status = 0; };
12275       then
12276         # cc works too.
12277         :
12278       else
12279         # cc exists but doesn't like -o.
12280         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12281       fi
12282     fi
12283   fi
12284 else
12285   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12286 fi
12287 rm -f core conftest*
12288
12289 fi
12290 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12292 $as_echo "yes" >&6; }
12293 else
12294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12295 $as_echo "no" >&6; }
12296
12297 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12298
12299 fi
12300
12301 # FIXME: we rely on the cache variable name because
12302 # there is no other way.
12303 set dummy $CC
12304 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12305 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12306 if test "$am_t" != yes; then
12307    # Losing compiler, so override with the script.
12308    # FIXME: It is wrong to rewrite CC.
12309    # But if we don't then we get into trouble of one sort or another.
12310    # A longer-term fix would be to have automake use am__CC in this case,
12311    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12312    CC="$am_aux_dir/compile $CC"
12313 fi
12314
12315
12316
12317
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
12319 $as_echo_n "checking for __attribute__... " >&6; }
12320
12321 if ${ac_cv___attribute__+:} false; then :
12322   $as_echo_n "(cached) " >&6
12323 else
12324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h.  */
12326
12327 #include <stdlib.h>
12328
12329 int func(int x);
12330 int foo(int x __attribute__ ((unused)))
12331 {
12332    exit(1);
12333 }
12334
12335 int
12336 main ()
12337 {
12338
12339   ;
12340   return 0;
12341 }
12342 _ACEOF
12343 if ac_fn_c_try_compile "$LINENO"; then :
12344   ac_cv___attribute__="yes"
12345 else
12346   ac_cv___attribute__="no"
12347
12348 fi
12349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12350 fi
12351
12352
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
12354 $as_echo "$ac_cv___attribute__" >&6; }
12355
12356 if test "x${ac_cv___attribute__}" = "xyes" ; then
12357
12358 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
12359
12360
12361 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
12362
12363   else
12364
12365 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
12366
12367 fi
12368
12369
12370
12371 # pkg-config
12372
12373
12374
12375
12376
12377
12378
12379 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12380         if test -n "$ac_tool_prefix"; then
12381   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12382 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12384 $as_echo_n "checking for $ac_word... " >&6; }
12385 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12386   $as_echo_n "(cached) " >&6
12387 else
12388   case $PKG_CONFIG in
12389   [\\/]* | ?:[\\/]*)
12390   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12391   ;;
12392   *)
12393   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12394 for as_dir in $PATH
12395 do
12396   IFS=$as_save_IFS
12397   test -z "$as_dir" && as_dir=.
12398     for ac_exec_ext in '' $ac_executable_extensions; do
12399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12400     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12402     break 2
12403   fi
12404 done
12405   done
12406 IFS=$as_save_IFS
12407
12408   ;;
12409 esac
12410 fi
12411 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12412 if test -n "$PKG_CONFIG"; then
12413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12414 $as_echo "$PKG_CONFIG" >&6; }
12415 else
12416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12417 $as_echo "no" >&6; }
12418 fi
12419
12420
12421 fi
12422 if test -z "$ac_cv_path_PKG_CONFIG"; then
12423   ac_pt_PKG_CONFIG=$PKG_CONFIG
12424   # Extract the first word of "pkg-config", so it can be a program name with args.
12425 set dummy pkg-config; ac_word=$2
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12427 $as_echo_n "checking for $ac_word... " >&6; }
12428 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12429   $as_echo_n "(cached) " >&6
12430 else
12431   case $ac_pt_PKG_CONFIG in
12432   [\\/]* | ?:[\\/]*)
12433   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12434   ;;
12435   *)
12436   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12437 for as_dir in $PATH
12438 do
12439   IFS=$as_save_IFS
12440   test -z "$as_dir" && as_dir=.
12441     for ac_exec_ext in '' $ac_executable_extensions; do
12442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12443     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12445     break 2
12446   fi
12447 done
12448   done
12449 IFS=$as_save_IFS
12450
12451   ;;
12452 esac
12453 fi
12454 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12455 if test -n "$ac_pt_PKG_CONFIG"; then
12456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12457 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12458 else
12459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12460 $as_echo "no" >&6; }
12461 fi
12462
12463   if test "x$ac_pt_PKG_CONFIG" = x; then
12464     PKG_CONFIG=""
12465   else
12466     case $cross_compiling:$ac_tool_warned in
12467 yes:)
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12470 ac_tool_warned=yes ;;
12471 esac
12472     PKG_CONFIG=$ac_pt_PKG_CONFIG
12473   fi
12474 else
12475   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12476 fi
12477
12478 fi
12479 if test -n "$PKG_CONFIG"; then
12480         _pkg_min_version=0.9.0
12481         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12482 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12483         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12484                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12485 $as_echo "yes" >&6; }
12486         else
12487                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12488 $as_echo "no" >&6; }
12489                 PKG_CONFIG=""
12490         fi
12491 fi
12492
12493 # Check whether pkg-config supports Requires.private
12494 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then :
12495   pkgconfig_requires_private="Requires.private"
12496 else
12497   pkgconfig_requires_private="Requires"
12498
12499 fi
12500
12501
12502 # doxygen program for documentation building
12503
12504
12505
12506 # Check whether --enable-doc was given.
12507 if test "${enable_doc+set}" = set; then :
12508   enableval=$enable_doc;
12509     if test "x${enableval}" = "xyes" ; then
12510        efl_enable_doc="yes"
12511     else
12512        efl_enable_doc="no"
12513     fi
12514
12515 else
12516   efl_enable_doc="yes"
12517 fi
12518
12519
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12521 $as_echo_n "checking whether to build documentation... " >&6; }
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12523 $as_echo "${efl_enable_doc}" >&6; }
12524
12525 if test "x${efl_enable_doc}" = "xyes" ; then
12526
12527
12528    efl_doxygen="doxygen"
12529
12530
12531 # Check whether --with-doxygen was given.
12532 if test "${with_doxygen+set}" = set; then :
12533   withval=$with_doxygen;       efl_doxygen=${withval}
12534        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12535 set dummy ${efl_doxygen}; ac_word=$2
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12537 $as_echo_n "checking for $ac_word... " >&6; }
12538 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12539   $as_echo_n "(cached) " >&6
12540 else
12541   if test -n "$efl_have_doxygen"; then
12542   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12543 else
12544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12545 for as_dir in $PATH
12546 do
12547   IFS=$as_save_IFS
12548   test -z "$as_dir" && as_dir=.
12549     for ac_exec_ext in '' $ac_executable_extensions; do
12550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12551     ac_cv_prog_efl_have_doxygen="yes"
12552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12553     break 2
12554   fi
12555 done
12556   done
12557 IFS=$as_save_IFS
12558
12559   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12560 fi
12561 fi
12562 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12563 if test -n "$efl_have_doxygen"; then
12564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12565 $as_echo "$efl_have_doxygen" >&6; }
12566 else
12567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12568 $as_echo "no" >&6; }
12569 fi
12570
12571
12572        if test "x${efl_have_doxygen}" = "xno" ; then
12573           echo "WARNING:"
12574           echo "The doxygen program you specified:"
12575           echo "${efl_doxygen}"
12576           echo "was not found.  Please check the path and make sure "
12577           echo "the program exists and is executable."
12578           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12579 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12580        fi
12581
12582 else
12583   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12584 set dummy ${efl_doxygen}; ac_word=$2
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12586 $as_echo_n "checking for $ac_word... " >&6; }
12587 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12588   $as_echo_n "(cached) " >&6
12589 else
12590   if test -n "$efl_have_doxygen"; then
12591   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12592 else
12593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12594 for as_dir in $PATH
12595 do
12596   IFS=$as_save_IFS
12597   test -z "$as_dir" && as_dir=.
12598     for ac_exec_ext in '' $ac_executable_extensions; do
12599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12600     ac_cv_prog_efl_have_doxygen="yes"
12601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12602     break 2
12603   fi
12604 done
12605   done
12606 IFS=$as_save_IFS
12607
12608   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12609 fi
12610 fi
12611 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12612 if test -n "$efl_have_doxygen"; then
12613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12614 $as_echo "$efl_have_doxygen" >&6; }
12615 else
12616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12617 $as_echo "no" >&6; }
12618 fi
12619
12620
12621        if test "x${efl_have_doxygen}" = "xno" ; then
12622           echo "WARNING:"
12623           echo "The doxygen program was not found in your execute path."
12624           echo "You may have doxygen installed somewhere not covered by your path."
12625           echo ""
12626           echo "If this is the case make sure you have the packages installed, AND"
12627           echo "that the doxygen program is in your execute path (see your"
12628           echo "shell manual page on setting the \$PATH environment variable), OR"
12629           echo "alternatively, specify the program to use with --with-doxygen."
12630           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12631 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12632        fi
12633
12634 fi
12635
12636 fi
12637
12638
12639
12640 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12641    efl_enable_doc="no"
12642 fi
12643
12644  if test "x${efl_enable_doc}" = "xyes"; then
12645   EFL_BUILD_DOC_TRUE=
12646   EFL_BUILD_DOC_FALSE='#'
12647 else
12648   EFL_BUILD_DOC_TRUE='#'
12649   EFL_BUILD_DOC_FALSE=
12650 fi
12651
12652
12653 if test "x${efl_enable_doc}" = "xyes" ; then
12654   build_doc="yes"
12655 else
12656   build_doc="no"
12657 fi
12658
12659
12660
12661
12662 ### Checks for libraries
12663
12664
12665 pkg_failed=no
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
12667 $as_echo_n "checking for EEZE... " >&6; }
12668
12669 if test -n "$EEZE_CFLAGS"; then
12670     pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
12671  elif test -n "$PKG_CONFIG"; then
12672     if test -n "$PKG_CONFIG" && \
12673     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
12674   ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
12675   ac_status=$?
12676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12677   test $ac_status = 0; }; then
12678   pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "${requirement_eeze}" 2>/dev/null`
12679                       test "x$?" != "x0" && pkg_failed=yes
12680 else
12681   pkg_failed=yes
12682 fi
12683  else
12684     pkg_failed=untried
12685 fi
12686 if test -n "$EEZE_LIBS"; then
12687     pkg_cv_EEZE_LIBS="$EEZE_LIBS"
12688  elif test -n "$PKG_CONFIG"; then
12689     if test -n "$PKG_CONFIG" && \
12690     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
12691   ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
12692   ac_status=$?
12693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12694   test $ac_status = 0; }; then
12695   pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "${requirement_eeze}" 2>/dev/null`
12696                       test "x$?" != "x0" && pkg_failed=yes
12697 else
12698   pkg_failed=yes
12699 fi
12700  else
12701     pkg_failed=untried
12702 fi
12703
12704
12705
12706 if test $pkg_failed = yes; then
12707         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12708 $as_echo "no" >&6; }
12709
12710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12711         _pkg_short_errors_supported=yes
12712 else
12713         _pkg_short_errors_supported=no
12714 fi
12715         if test $_pkg_short_errors_supported = yes; then
12716                 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_eeze}" 2>&1`
12717         else
12718                 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_eeze}" 2>&1`
12719         fi
12720         # Put the nasty error message in config.log where it belongs
12721         echo "$EEZE_PKG_ERRORS" >&5
12722
12723         as_fn_error $? "Package requirements (${requirement_eeze}) were not met:
12724
12725 $EEZE_PKG_ERRORS
12726
12727 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12728 installed software in a non-standard prefix.
12729
12730 Alternatively, you may set the environment variables EEZE_CFLAGS
12731 and EEZE_LIBS to avoid the need to call pkg-config.
12732 See the pkg-config man page for more details." "$LINENO" 5
12733 elif test $pkg_failed = untried; then
12734         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12735 $as_echo "no" >&6; }
12736         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12738 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12739 is in your PATH or set the PKG_CONFIG environment variable to the full
12740 path to pkg-config.
12741
12742 Alternatively, you may set the environment variables EEZE_CFLAGS
12743 and EEZE_LIBS to avoid the need to call pkg-config.
12744 See the pkg-config man page for more details.
12745
12746 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12747 See \`config.log' for more details" "$LINENO" 5; }
12748 else
12749         EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
12750         EEZE_LIBS=$pkg_cv_EEZE_LIBS
12751         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12752 $as_echo "yes" >&6; }
12753
12754 fi
12755
12756 udev_version=$(pkg-config libudev --modversion)
12757
12758 if test $udev_version -lt 143;then
12759   as_fn_error $? "udev version is too old!" "$LINENO" 5
12760 elif test $udev_version -lt 148;then
12761   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Old udev version detected, enabling compat code" >&5
12762 $as_echo "$as_me: WARNING: Old udev version detected, enabling compat code" >&2;}
12763
12764 $as_echo "#define OLD_UDEV_RRRRRRRRRRRRRR 1" >>confdefs.h
12765
12766 fi
12767
12768 eeze_mount=
12769 if test -n "$PKG_CONFIG" && \
12770     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12771   ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12772   ac_status=$?
12773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12774   test $ac_status = 0; }; then
12775
12776
12777 $as_echo "#define HAVE_EEZE_MOUNT 1" >>confdefs.h
12778
12779       if true; then
12780   HAVE_EEZE_MOUNT_TRUE=
12781   HAVE_EEZE_MOUNT_FALSE='#'
12782 else
12783   HAVE_EEZE_MOUNT_TRUE='#'
12784   HAVE_EEZE_MOUNT_FALSE=
12785 fi
12786
12787      eeze_mount="yes"
12788
12789 else
12790    if false; then
12791   HAVE_EEZE_MOUNT_TRUE=
12792   HAVE_EEZE_MOUNT_FALSE='#'
12793 else
12794   HAVE_EEZE_MOUNT_TRUE='#'
12795   HAVE_EEZE_MOUNT_FALSE=
12796 fi
12797
12798
12799 fi
12800
12801 if test "x$eeze_mount" = "xyes";then
12802
12803 # Check whether --with-mount was given.
12804 if test "${with_mount+set}" = set; then :
12805   withval=$with_mount; with_mount=$withval
12806 else
12807   with_mount="detect"
12808 fi
12809
12810
12811 # Check whether --with-umount was given.
12812 if test "${with_umount+set}" = set; then :
12813   withval=$with_umount; with_umount=$withval
12814 else
12815   with_umount="detect"
12816 fi
12817
12818
12819 # Check whether --with-eject was given.
12820 if test "${with_eject+set}" = set; then :
12821   withval=$with_eject; with_eject=$withval
12822 else
12823   with_eject="detect"
12824 fi
12825
12826
12827 pkg_failed=no
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMOUNT" >&5
12829 $as_echo_n "checking for LIBMOUNT... " >&6; }
12830
12831 if test -n "$LIBMOUNT_CFLAGS"; then
12832     pkg_cv_LIBMOUNT_CFLAGS="$LIBMOUNT_CFLAGS"
12833  elif test -n "$PKG_CONFIG"; then
12834     if test -n "$PKG_CONFIG" && \
12835     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12836   ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12837   ac_status=$?
12838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12839   test $ac_status = 0; }; then
12840   pkg_cv_LIBMOUNT_CFLAGS=`$PKG_CONFIG --cflags "mount >= 2.18.0" 2>/dev/null`
12841                       test "x$?" != "x0" && pkg_failed=yes
12842 else
12843   pkg_failed=yes
12844 fi
12845  else
12846     pkg_failed=untried
12847 fi
12848 if test -n "$LIBMOUNT_LIBS"; then
12849     pkg_cv_LIBMOUNT_LIBS="$LIBMOUNT_LIBS"
12850  elif test -n "$PKG_CONFIG"; then
12851     if test -n "$PKG_CONFIG" && \
12852     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12853   ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12854   ac_status=$?
12855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12856   test $ac_status = 0; }; then
12857   pkg_cv_LIBMOUNT_LIBS=`$PKG_CONFIG --libs "mount >= 2.18.0" 2>/dev/null`
12858                       test "x$?" != "x0" && pkg_failed=yes
12859 else
12860   pkg_failed=yes
12861 fi
12862  else
12863     pkg_failed=untried
12864 fi
12865
12866
12867
12868 if test $pkg_failed = yes; then
12869         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12870 $as_echo "no" >&6; }
12871
12872 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12873         _pkg_short_errors_supported=yes
12874 else
12875         _pkg_short_errors_supported=no
12876 fi
12877         if test $_pkg_short_errors_supported = yes; then
12878                 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mount >= 2.18.0" 2>&1`
12879         else
12880                 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mount >= 2.18.0" 2>&1`
12881         fi
12882         # Put the nasty error message in config.log where it belongs
12883         echo "$LIBMOUNT_PKG_ERRORS" >&5
12884
12885         as_fn_error $? "Package requirements (mount >= 2.18.0) were not met:
12886
12887 $LIBMOUNT_PKG_ERRORS
12888
12889 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12890 installed software in a non-standard prefix.
12891
12892 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12893 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12894 See the pkg-config man page for more details." "$LINENO" 5
12895 elif test $pkg_failed = untried; then
12896         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12897 $as_echo "no" >&6; }
12898         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12900 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12901 is in your PATH or set the PKG_CONFIG environment variable to the full
12902 path to pkg-config.
12903
12904 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12905 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12906 See the pkg-config man page for more details.
12907
12908 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12909 See \`config.log' for more details" "$LINENO" 5; }
12910 else
12911         LIBMOUNT_CFLAGS=$pkg_cv_LIBMOUNT_CFLAGS
12912         LIBMOUNT_LIBS=$pkg_cv_LIBMOUNT_LIBS
12913         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12914 $as_echo "yes" >&6; }
12915
12916 fi
12917   mount_v=$(pkg-config --modversion mount)
12918
12919 pkg_failed=no
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FILE" >&5
12921 $as_echo_n "checking for ECORE_FILE... " >&6; }
12922
12923 if test -n "$ECORE_FILE_CFLAGS"; then
12924     pkg_cv_ECORE_FILE_CFLAGS="$ECORE_FILE_CFLAGS"
12925  elif test -n "$PKG_CONFIG"; then
12926     if test -n "$PKG_CONFIG" && \
12927     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99\""; } >&5
12928   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99") 2>&5
12929   ac_status=$?
12930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12931   test $ac_status = 0; }; then
12932   pkg_cv_ECORE_FILE_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99" 2>/dev/null`
12933                       test "x$?" != "x0" && pkg_failed=yes
12934 else
12935   pkg_failed=yes
12936 fi
12937  else
12938     pkg_failed=untried
12939 fi
12940 if test -n "$ECORE_FILE_LIBS"; then
12941     pkg_cv_ECORE_FILE_LIBS="$ECORE_FILE_LIBS"
12942  elif test -n "$PKG_CONFIG"; then
12943     if test -n "$PKG_CONFIG" && \
12944     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99\""; } >&5
12945   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99") 2>&5
12946   ac_status=$?
12947   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12948   test $ac_status = 0; }; then
12949   pkg_cv_ECORE_FILE_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99" 2>/dev/null`
12950                       test "x$?" != "x0" && pkg_failed=yes
12951 else
12952   pkg_failed=yes
12953 fi
12954  else
12955     pkg_failed=untried
12956 fi
12957
12958
12959
12960 if test $pkg_failed = yes; then
12961         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12962 $as_echo "no" >&6; }
12963
12964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12965         _pkg_short_errors_supported=yes
12966 else
12967         _pkg_short_errors_supported=no
12968 fi
12969         if test $_pkg_short_errors_supported = yes; then
12970                 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-file >= 1.6.99" 2>&1`
12971         else
12972                 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-file >= 1.6.99" 2>&1`
12973         fi
12974         # Put the nasty error message in config.log where it belongs
12975         echo "$ECORE_FILE_PKG_ERRORS" >&5
12976
12977         as_fn_error $? "Package requirements (ecore-file >= 1.6.99) were not met:
12978
12979 $ECORE_FILE_PKG_ERRORS
12980
12981 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12982 installed software in a non-standard prefix.
12983
12984 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12985 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12986 See the pkg-config man page for more details." "$LINENO" 5
12987 elif test $pkg_failed = untried; then
12988         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12989 $as_echo "no" >&6; }
12990         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12992 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12993 is in your PATH or set the PKG_CONFIG environment variable to the full
12994 path to pkg-config.
12995
12996 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12997 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12998 See the pkg-config man page for more details.
12999
13000 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13001 See \`config.log' for more details" "$LINENO" 5; }
13002 else
13003         ECORE_FILE_CFLAGS=$pkg_cv_ECORE_FILE_CFLAGS
13004         ECORE_FILE_LIBS=$pkg_cv_ECORE_FILE_LIBS
13005         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13006 $as_echo "yes" >&6; }
13007
13008 fi
13009
13010 pkg_failed=no
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
13012 $as_echo_n "checking for EET... " >&6; }
13013
13014 if test -n "$EET_CFLAGS"; then
13015     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
13016  elif test -n "$PKG_CONFIG"; then
13017     if test -n "$PKG_CONFIG" && \
13018     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
13019   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
13020   ac_status=$?
13021   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13022   test $ac_status = 0; }; then
13023   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
13024                       test "x$?" != "x0" && pkg_failed=yes
13025 else
13026   pkg_failed=yes
13027 fi
13028  else
13029     pkg_failed=untried
13030 fi
13031 if test -n "$EET_LIBS"; then
13032     pkg_cv_EET_LIBS="$EET_LIBS"
13033  elif test -n "$PKG_CONFIG"; then
13034     if test -n "$PKG_CONFIG" && \
13035     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
13036   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
13037   ac_status=$?
13038   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13039   test $ac_status = 0; }; then
13040   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
13041                       test "x$?" != "x0" && pkg_failed=yes
13042 else
13043   pkg_failed=yes
13044 fi
13045  else
13046     pkg_failed=untried
13047 fi
13048
13049
13050
13051 if test $pkg_failed = yes; then
13052         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13053 $as_echo "no" >&6; }
13054
13055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13056         _pkg_short_errors_supported=yes
13057 else
13058         _pkg_short_errors_supported=no
13059 fi
13060         if test $_pkg_short_errors_supported = yes; then
13061                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
13062         else
13063                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
13064         fi
13065         # Put the nasty error message in config.log where it belongs
13066         echo "$EET_PKG_ERRORS" >&5
13067
13068         as_fn_error $? "Package requirements (eet >= 1.6.99) were not met:
13069
13070 $EET_PKG_ERRORS
13071
13072 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13073 installed software in a non-standard prefix.
13074
13075 Alternatively, you may set the environment variables EET_CFLAGS
13076 and EET_LIBS to avoid the need to call pkg-config.
13077 See the pkg-config man page for more details." "$LINENO" 5
13078 elif test $pkg_failed = untried; then
13079         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13080 $as_echo "no" >&6; }
13081         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13083 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13084 is in your PATH or set the PKG_CONFIG environment variable to the full
13085 path to pkg-config.
13086
13087 Alternatively, you may set the environment variables EET_CFLAGS
13088 and EET_LIBS to avoid the need to call pkg-config.
13089 See the pkg-config man page for more details.
13090
13091 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13092 See \`config.log' for more details" "$LINENO" 5; }
13093 else
13094         EET_CFLAGS=$pkg_cv_EET_CFLAGS
13095         EET_LIBS=$pkg_cv_EET_LIBS
13096         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13097 $as_echo "yes" >&6; }
13098
13099 fi
13100
13101 pkg_failed=no
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_CON" >&5
13103 $as_echo_n "checking for ECORE_CON... " >&6; }
13104
13105 if test -n "$ECORE_CON_CFLAGS"; then
13106     pkg_cv_ECORE_CON_CFLAGS="$ECORE_CON_CFLAGS"
13107  elif test -n "$PKG_CONFIG"; then
13108     if test -n "$PKG_CONFIG" && \
13109     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.6.99\""; } >&5
13110   ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.6.99") 2>&5
13111   ac_status=$?
13112   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13113   test $ac_status = 0; }; then
13114   pkg_cv_ECORE_CON_CFLAGS=`$PKG_CONFIG --cflags "ecore-con >= 1.6.99" 2>/dev/null`
13115                       test "x$?" != "x0" && pkg_failed=yes
13116 else
13117   pkg_failed=yes
13118 fi
13119  else
13120     pkg_failed=untried
13121 fi
13122 if test -n "$ECORE_CON_LIBS"; then
13123     pkg_cv_ECORE_CON_LIBS="$ECORE_CON_LIBS"
13124  elif test -n "$PKG_CONFIG"; then
13125     if test -n "$PKG_CONFIG" && \
13126     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.6.99\""; } >&5
13127   ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.6.99") 2>&5
13128   ac_status=$?
13129   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13130   test $ac_status = 0; }; then
13131   pkg_cv_ECORE_CON_LIBS=`$PKG_CONFIG --libs "ecore-con >= 1.6.99" 2>/dev/null`
13132                       test "x$?" != "x0" && pkg_failed=yes
13133 else
13134   pkg_failed=yes
13135 fi
13136  else
13137     pkg_failed=untried
13138 fi
13139
13140
13141
13142 if test $pkg_failed = yes; then
13143         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13144 $as_echo "no" >&6; }
13145
13146 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13147         _pkg_short_errors_supported=yes
13148 else
13149         _pkg_short_errors_supported=no
13150 fi
13151         if test $_pkg_short_errors_supported = yes; then
13152                 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-con >= 1.6.99" 2>&1`
13153         else
13154                 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-con >= 1.6.99" 2>&1`
13155         fi
13156         # Put the nasty error message in config.log where it belongs
13157         echo "$ECORE_CON_PKG_ERRORS" >&5
13158
13159         as_fn_error $? "Package requirements (ecore-con >= 1.6.99) were not met:
13160
13161 $ECORE_CON_PKG_ERRORS
13162
13163 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13164 installed software in a non-standard prefix.
13165
13166 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
13167 and ECORE_CON_LIBS to avoid the need to call pkg-config.
13168 See the pkg-config man page for more details." "$LINENO" 5
13169 elif test $pkg_failed = untried; then
13170         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13171 $as_echo "no" >&6; }
13172         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13174 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13175 is in your PATH or set the PKG_CONFIG environment variable to the full
13176 path to pkg-config.
13177
13178 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
13179 and ECORE_CON_LIBS to avoid the need to call pkg-config.
13180 See the pkg-config man page for more details.
13181
13182 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13183 See \`config.log' for more details" "$LINENO" 5; }
13184 else
13185         ECORE_CON_CFLAGS=$pkg_cv_ECORE_CON_CFLAGS
13186         ECORE_CON_LIBS=$pkg_cv_ECORE_CON_LIBS
13187         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13188 $as_echo "yes" >&6; }
13189
13190 fi
13191
13192   if test "x$with_mount" = "xdetect";then
13193     # Extract the first word of "mount", so it can be a program name with args.
13194 set dummy mount; ac_word=$2
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13196 $as_echo_n "checking for $ac_word... " >&6; }
13197 if ${ac_cv_path_with_mount+:} false; then :
13198   $as_echo_n "(cached) " >&6
13199 else
13200   case $with_mount in
13201   [\\/]* | ?:[\\/]*)
13202   ac_cv_path_with_mount="$with_mount" # Let the user override the test with a path.
13203   ;;
13204   *)
13205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13206 for as_dir in $PATH
13207 do
13208   IFS=$as_save_IFS
13209   test -z "$as_dir" && as_dir=.
13210     for ac_exec_ext in '' $ac_executable_extensions; do
13211   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13212     ac_cv_path_with_mount="$as_dir/$ac_word$ac_exec_ext"
13213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13214     break 2
13215   fi
13216 done
13217   done
13218 IFS=$as_save_IFS
13219
13220   ;;
13221 esac
13222 fi
13223 with_mount=$ac_cv_path_with_mount
13224 if test -n "$with_mount"; then
13225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_mount" >&5
13226 $as_echo "$with_mount" >&6; }
13227 else
13228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13229 $as_echo "no" >&6; }
13230 fi
13231
13232
13233   fi
13234   if test -z "$with_mount" ; then
13235
13236 cat >>confdefs.h <<_ACEOF
13237 #define MOUNTABLE 0
13238 _ACEOF
13239
13240   else
13241
13242 cat >>confdefs.h <<_ACEOF
13243 #define MOUNTABLE 1
13244 _ACEOF
13245
13246   fi
13247
13248 cat >>confdefs.h <<_ACEOF
13249 #define EEZE_MOUNT_BIN "$with_mount"
13250 _ACEOF
13251
13252
13253   if test "x$with_umount" = "xdetect";then
13254     # Extract the first word of "umount", so it can be a program name with args.
13255 set dummy umount; ac_word=$2
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13257 $as_echo_n "checking for $ac_word... " >&6; }
13258 if ${ac_cv_path_with_umount+:} false; then :
13259   $as_echo_n "(cached) " >&6
13260 else
13261   case $with_umount in
13262   [\\/]* | ?:[\\/]*)
13263   ac_cv_path_with_umount="$with_umount" # Let the user override the test with a path.
13264   ;;
13265   *)
13266   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13267 for as_dir in $PATH
13268 do
13269   IFS=$as_save_IFS
13270   test -z "$as_dir" && as_dir=.
13271     for ac_exec_ext in '' $ac_executable_extensions; do
13272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13273     ac_cv_path_with_umount="$as_dir/$ac_word$ac_exec_ext"
13274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13275     break 2
13276   fi
13277 done
13278   done
13279 IFS=$as_save_IFS
13280
13281   ;;
13282 esac
13283 fi
13284 with_umount=$ac_cv_path_with_umount
13285 if test -n "$with_umount"; then
13286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_umount" >&5
13287 $as_echo "$with_umount" >&6; }
13288 else
13289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13290 $as_echo "no" >&6; }
13291 fi
13292
13293
13294   fi
13295   if test -z "$with_umount" ; then
13296
13297 cat >>confdefs.h <<_ACEOF
13298 #define UNMOUNTABLE 0
13299 _ACEOF
13300
13301   else
13302
13303 cat >>confdefs.h <<_ACEOF
13304 #define UNMOUNTABLE 1
13305 _ACEOF
13306
13307   fi
13308
13309 cat >>confdefs.h <<_ACEOF
13310 #define EEZE_UNMOUNT_BIN "$with_umount"
13311 _ACEOF
13312
13313
13314   if test "x$with_eject" = "xdetect";then
13315     # Extract the first word of "eject", so it can be a program name with args.
13316 set dummy eject; ac_word=$2
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13318 $as_echo_n "checking for $ac_word... " >&6; }
13319 if ${ac_cv_path_with_eject+:} false; then :
13320   $as_echo_n "(cached) " >&6
13321 else
13322   case $with_eject in
13323   [\\/]* | ?:[\\/]*)
13324   ac_cv_path_with_eject="$with_eject" # Let the user override the test with a path.
13325   ;;
13326   *)
13327   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13328 for as_dir in $PATH
13329 do
13330   IFS=$as_save_IFS
13331   test -z "$as_dir" && as_dir=.
13332     for ac_exec_ext in '' $ac_executable_extensions; do
13333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13334     ac_cv_path_with_eject="$as_dir/$ac_word$ac_exec_ext"
13335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13336     break 2
13337   fi
13338 done
13339   done
13340 IFS=$as_save_IFS
13341
13342   ;;
13343 esac
13344 fi
13345 with_eject=$ac_cv_path_with_eject
13346 if test -n "$with_eject"; then
13347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_eject" >&5
13348 $as_echo "$with_eject" >&6; }
13349 else
13350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13351 $as_echo "no" >&6; }
13352 fi
13353
13354
13355   fi
13356   if test -z "$with_eject" ; then
13357
13358 cat >>confdefs.h <<_ACEOF
13359 #define EJECTABLE 0
13360 _ACEOF
13361
13362   else
13363
13364 cat >>confdefs.h <<_ACEOF
13365 #define EJECTABLE 1
13366 _ACEOF
13367
13368   fi
13369
13370 cat >>confdefs.h <<_ACEOF
13371 #define EEZE_EJECT_BIN "$with_eject"
13372 _ACEOF
13373
13374 fi
13375
13376 want_mtab=
13377 # Check whether --enable-mtab was given.
13378 if test "${enable_mtab+set}" = set; then :
13379   enableval=$enable_mtab;
13380     if test "x${enableval}" = "xyes" ; then
13381        want_mtab="yes"
13382     else
13383        want_mtab="no"
13384     fi
13385 else
13386   want_mtab="auto"
13387 fi
13388
13389
13390
13391 if test "x${want_mtab}" = "xyes" ; then
13392    if false; then
13393   OLD_LIBMOUNT_TRUE=
13394   OLD_LIBMOUNT_FALSE='#'
13395 else
13396   OLD_LIBMOUNT_TRUE='#'
13397   OLD_LIBMOUNT_FALSE=
13398 fi
13399
13400    if false; then
13401   NEW_LIBMOUNT_TRUE=
13402   NEW_LIBMOUNT_FALSE='#'
13403 else
13404   NEW_LIBMOUNT_TRUE='#'
13405   NEW_LIBMOUNT_FALSE=
13406 fi
13407
13408 else
13409   if test -n "$mount_v";then
13410      if test "$(echo $mount_v | cut -d'.' -f2)" -lt 19; then
13411   OLD_LIBMOUNT_TRUE=
13412   OLD_LIBMOUNT_FALSE='#'
13413 else
13414   OLD_LIBMOUNT_TRUE='#'
13415   OLD_LIBMOUNT_FALSE=
13416 fi
13417
13418      if test "$(echo $mount_v | cut -d'.' -f2)" -gt 19; then
13419   NEW_LIBMOUNT_TRUE=
13420   NEW_LIBMOUNT_FALSE='#'
13421 else
13422   NEW_LIBMOUNT_TRUE='#'
13423   NEW_LIBMOUNT_FALSE=
13424 fi
13425
13426   else
13427      if false; then
13428   OLD_LIBMOUNT_TRUE=
13429   OLD_LIBMOUNT_FALSE='#'
13430 else
13431   OLD_LIBMOUNT_TRUE='#'
13432   OLD_LIBMOUNT_FALSE=
13433 fi
13434
13435      if false; then
13436   NEW_LIBMOUNT_TRUE=
13437   NEW_LIBMOUNT_FALSE='#'
13438 else
13439   NEW_LIBMOUNT_TRUE='#'
13440   NEW_LIBMOUNT_FALSE=
13441 fi
13442
13443   fi
13444 fi
13445 if test -z "$OLD_LIBMOUNT_TRUE"; then :
13446
13447
13448 cat >>confdefs.h <<_ACEOF
13449 #define OLD_LIBMOUNT 1
13450 _ACEOF
13451
13452
13453 fi
13454
13455 for ac_header in netinet/in.h
13456 do :
13457   ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
13458 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
13459   cat >>confdefs.h <<_ACEOF
13460 #define HAVE_NETINET_IN_H 1
13461 _ACEOF
13462
13463 fi
13464
13465 done
13466
13467 want_ipv6="yes"
13468 have_ipv6="no"
13469
13470 # Check whether --enable-ipv6 was given.
13471 if test "${enable_ipv6+set}" = set; then :
13472   enableval=$enable_ipv6;
13473     if test "x${enableval}" = "xyes" ; then
13474        want_ipv6="yes"
13475     else
13476        want_ipv6="no"
13477     fi
13478 else
13479   want_ipv6="auto"
13480 fi
13481
13482
13483 # Verify IPV6 availability in headers
13484 if test "x${want_ipv6}" != "xno" ; then
13485    ac_fn_c_check_type "$LINENO" "struct ipv6_mreq" "ac_cv_type_struct_ipv6_mreq" "
13486 #ifdef HAVE_NETINET_IN_H
13487 # include <netinet/in.h>
13488 #endif
13489
13490 "
13491 if test "x$ac_cv_type_struct_ipv6_mreq" = xyes; then :
13492
13493 cat >>confdefs.h <<_ACEOF
13494 #define HAVE_STRUCT_IPV6_MREQ 1
13495 _ACEOF
13496
13497 have_ipv6="yes"
13498 else
13499   have_ipv6="no"
13500 fi
13501
13502 fi
13503
13504 if test "x${have_ipv6}" = "xyes" ; then
13505
13506 $as_echo "#define HAVE_IPV6 1" >>confdefs.h
13507
13508 fi
13509
13510 ### Checks for header files
13511
13512
13513 ### Checks for types
13514
13515
13516 ### Checks for structures
13517
13518
13519 ### Checks for compiler characteristics
13520
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13522 $as_echo_n "checking for ANSI C header files... " >&6; }
13523 if ${ac_cv_header_stdc+:} false; then :
13524   $as_echo_n "(cached) " >&6
13525 else
13526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h.  */
13528 #include <stdlib.h>
13529 #include <stdarg.h>
13530 #include <string.h>
13531 #include <float.h>
13532
13533 int
13534 main ()
13535 {
13536
13537   ;
13538   return 0;
13539 }
13540 _ACEOF
13541 if ac_fn_c_try_compile "$LINENO"; then :
13542   ac_cv_header_stdc=yes
13543 else
13544   ac_cv_header_stdc=no
13545 fi
13546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13547
13548 if test $ac_cv_header_stdc = yes; then
13549   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h.  */
13552 #include <string.h>
13553
13554 _ACEOF
13555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13556   $EGREP "memchr" >/dev/null 2>&1; then :
13557
13558 else
13559   ac_cv_header_stdc=no
13560 fi
13561 rm -f conftest*
13562
13563 fi
13564
13565 if test $ac_cv_header_stdc = yes; then
13566   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h.  */
13569 #include <stdlib.h>
13570
13571 _ACEOF
13572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13573   $EGREP "free" >/dev/null 2>&1; then :
13574
13575 else
13576   ac_cv_header_stdc=no
13577 fi
13578 rm -f conftest*
13579
13580 fi
13581
13582 if test $ac_cv_header_stdc = yes; then
13583   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13584   if test "$cross_compiling" = yes; then :
13585   :
13586 else
13587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h.  */
13589 #include <ctype.h>
13590 #include <stdlib.h>
13591 #if ((' ' & 0x0FF) == 0x020)
13592 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13593 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13594 #else
13595 # define ISLOWER(c) \
13596                    (('a' <= (c) && (c) <= 'i') \
13597                      || ('j' <= (c) && (c) <= 'r') \
13598                      || ('s' <= (c) && (c) <= 'z'))
13599 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13600 #endif
13601
13602 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13603 int
13604 main ()
13605 {
13606   int i;
13607   for (i = 0; i < 256; i++)
13608     if (XOR (islower (i), ISLOWER (i))
13609         || toupper (i) != TOUPPER (i))
13610       return 2;
13611   return 0;
13612 }
13613 _ACEOF
13614 if ac_fn_c_try_run "$LINENO"; then :
13615
13616 else
13617   ac_cv_header_stdc=no
13618 fi
13619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13620   conftest.$ac_objext conftest.beam conftest.$ac_ext
13621 fi
13622
13623 fi
13624 fi
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13626 $as_echo "$ac_cv_header_stdc" >&6; }
13627 if test $ac_cv_header_stdc = yes; then
13628
13629 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13630
13631 fi
13632
13633
13634 if ! test "x${VMIC}" = "x" ; then
13635
13636
13637 CFLAGS_save="${CFLAGS}"
13638 CFLAGS="${CFLAGS} -Wall"
13639
13640 ac_ext=c
13641 ac_cpp='$CPP $CPPFLAGS'
13642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13645
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
13647 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
13648
13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h.  */
13651
13652 int
13653 main ()
13654 {
13655
13656   ;
13657   return 0;
13658 }
13659 _ACEOF
13660 if ac_fn_c_try_compile "$LINENO"; then :
13661   have_flag="yes"
13662 else
13663   have_flag="no"
13664 fi
13665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13667 $as_echo "${have_flag}" >&6; }
13668
13669 if test "x${have_flag}" = "xno" ; then
13670    CFLAGS="${CFLAGS_save}"
13671 fi
13672 ac_ext=c
13673 ac_cpp='$CPP $CPPFLAGS'
13674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13677
13678
13679
13680
13681
13682 CFLAGS_save="${CFLAGS}"
13683 CFLAGS="${CFLAGS} -W"
13684
13685 ac_ext=c
13686 ac_cpp='$CPP $CPPFLAGS'
13687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13690
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
13692 $as_echo_n "checking whether the compiler supports -W... " >&6; }
13693
13694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13695 /* end confdefs.h.  */
13696
13697 int
13698 main ()
13699 {
13700
13701   ;
13702   return 0;
13703 }
13704 _ACEOF
13705 if ac_fn_c_try_compile "$LINENO"; then :
13706   have_flag="yes"
13707 else
13708   have_flag="no"
13709 fi
13710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13712 $as_echo "${have_flag}" >&6; }
13713
13714 if test "x${have_flag}" = "xno" ; then
13715    CFLAGS="${CFLAGS_save}"
13716 fi
13717 ac_ext=c
13718 ac_cpp='$CPP $CPPFLAGS'
13719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13722
13723
13724
13725 fi
13726
13727
13728
13729 CFLAGS_save="${CFLAGS}"
13730 CFLAGS="${CFLAGS} -Wshadow"
13731
13732 ac_ext=c
13733 ac_cpp='$CPP $CPPFLAGS'
13734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13737
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
13739 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
13740
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h.  */
13743
13744 int
13745 main ()
13746 {
13747
13748   ;
13749   return 0;
13750 }
13751 _ACEOF
13752 if ac_fn_c_try_compile "$LINENO"; then :
13753   have_flag="yes"
13754 else
13755   have_flag="no"
13756 fi
13757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13759 $as_echo "${have_flag}" >&6; }
13760
13761 if test "x${have_flag}" = "xno" ; then
13762    CFLAGS="${CFLAGS_save}"
13763 fi
13764 ac_ext=c
13765 ac_cpp='$CPP $CPPFLAGS'
13766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13769
13770
13771
13772
13773
13774 ### Binary
13775
13776
13777
13778
13779
13780 # Check whether --enable-eeze-udev-test was given.
13781 if test "${enable_eeze_udev_test+set}" = set; then :
13782   enableval=$enable_eeze_udev_test;
13783     if test "x${enableval}" = "xyes" ; then
13784        have_eeze_udev_test="yes"
13785     else
13786        have_eeze_udev_test="no"
13787     fi
13788
13789 else
13790   have_eeze_udev_test="yes"
13791 fi
13792
13793
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_udev_test binary" >&5
13795 $as_echo_n "checking whether to build eeze_udev_test binary... " >&6; }
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_udev_test" >&5
13797 $as_echo "$have_eeze_udev_test" >&6; }
13798
13799 if test "x$have_eeze_udev_test" = "xyes"; then
13800    EEZE_UDEV_TEST_PRG=eeze_udev_test${EXEEXT}
13801 fi
13802
13803
13804
13805  if test "x$have_eeze_udev_test" = "xyes"; then
13806   BUILD_EEZE_UDEV_TEST_TRUE=
13807   BUILD_EEZE_UDEV_TEST_FALSE='#'
13808 else
13809   BUILD_EEZE_UDEV_TEST_TRUE='#'
13810   BUILD_EEZE_UDEV_TEST_FALSE=
13811 fi
13812
13813
13814 if test "x$have_eeze_udev_test" = "xyes"; then :
13815
13816 fi
13817
13818
13819
13820
13821
13822
13823 # Check whether --enable-eeze-mount was given.
13824 if test "${enable_eeze_mount+set}" = set; then :
13825   enableval=$enable_eeze_mount;
13826     if test "x${enableval}" = "xyes" ; then
13827        have_eeze_mount="yes"
13828     else
13829        have_eeze_mount="no"
13830     fi
13831
13832 else
13833   have_eeze_mount="yes"
13834 fi
13835
13836
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_mount binary" >&5
13838 $as_echo_n "checking whether to build eeze_mount binary... " >&6; }
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_mount" >&5
13840 $as_echo "$have_eeze_mount" >&6; }
13841
13842 if test "x$have_eeze_mount" = "xyes"; then
13843    EEZE_MOUNT_PRG=eeze_mount${EXEEXT}
13844 fi
13845
13846
13847
13848  if test "x$have_eeze_mount" = "xyes"; then
13849   BUILD_EEZE_MOUNT_TRUE=
13850   BUILD_EEZE_MOUNT_FALSE='#'
13851 else
13852   BUILD_EEZE_MOUNT_TRUE='#'
13853   BUILD_EEZE_MOUNT_FALSE=
13854 fi
13855
13856
13857 if test "x$have_eeze_mount" = "xyes"; then :
13858
13859 fi
13860
13861
13862
13863
13864
13865
13866 # Check whether --enable-eeze-disk-ls was given.
13867 if test "${enable_eeze_disk_ls+set}" = set; then :
13868   enableval=$enable_eeze_disk_ls;
13869     if test "x${enableval}" = "xyes" ; then
13870        have_eeze_disk_ls="yes"
13871     else
13872        have_eeze_disk_ls="no"
13873     fi
13874
13875 else
13876   have_eeze_disk_ls="yes"
13877 fi
13878
13879
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_disk_ls binary" >&5
13881 $as_echo_n "checking whether to build eeze_disk_ls binary... " >&6; }
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_disk_ls" >&5
13883 $as_echo "$have_eeze_disk_ls" >&6; }
13884
13885 if test "x$have_eeze_disk_ls" = "xyes"; then
13886    EEZE_DISK_LS_PRG=eeze_disk_ls${EXEEXT}
13887 fi
13888
13889
13890
13891  if test "x$have_eeze_disk_ls" = "xyes"; then
13892   BUILD_EEZE_DISK_LS_TRUE=
13893   BUILD_EEZE_DISK_LS_FALSE='#'
13894 else
13895   BUILD_EEZE_DISK_LS_TRUE='#'
13896   BUILD_EEZE_DISK_LS_FALSE=
13897 fi
13898
13899
13900 if test "x$have_eeze_disk_ls" = "xyes"; then :
13901
13902 fi
13903
13904
13905
13906
13907
13908
13909 # Check whether --enable-eeze-umount was given.
13910 if test "${enable_eeze_umount+set}" = set; then :
13911   enableval=$enable_eeze_umount;
13912     if test "x${enableval}" = "xyes" ; then
13913        have_eeze_umount="yes"
13914     else
13915        have_eeze_umount="no"
13916     fi
13917
13918 else
13919   have_eeze_umount="yes"
13920 fi
13921
13922
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_umount binary" >&5
13924 $as_echo_n "checking whether to build eeze_umount binary... " >&6; }
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_umount" >&5
13926 $as_echo "$have_eeze_umount" >&6; }
13927
13928 if test "x$have_eeze_umount" = "xyes"; then
13929    EEZE_UMOUNT_PRG=eeze_umount${EXEEXT}
13930 fi
13931
13932
13933
13934  if test "x$have_eeze_umount" = "xyes"; then
13935   BUILD_EEZE_UMOUNT_TRUE=
13936   BUILD_EEZE_UMOUNT_FALSE='#'
13937 else
13938   BUILD_EEZE_UMOUNT_TRUE='#'
13939   BUILD_EEZE_UMOUNT_FALSE=
13940 fi
13941
13942
13943 if test "x$have_eeze_umount" = "xyes"; then :
13944
13945 fi
13946
13947
13948
13949
13950
13951
13952 # Check whether --enable-eeze-scanner was given.
13953 if test "${enable_eeze_scanner+set}" = set; then :
13954   enableval=$enable_eeze_scanner;
13955     if test "x${enableval}" = "xyes" ; then
13956        have_eeze_scanner="yes"
13957     else
13958        have_eeze_scanner="no"
13959     fi
13960
13961 else
13962   have_eeze_scanner="yes"
13963 fi
13964
13965
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_scanner binary" >&5
13967 $as_echo_n "checking whether to build eeze_scanner binary... " >&6; }
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_scanner" >&5
13969 $as_echo "$have_eeze_scanner" >&6; }
13970
13971 if test "x$have_eeze_scanner" = "xyes"; then
13972    EEZE_SCANNER_PRG=eeze_scanner${EXEEXT}
13973 fi
13974
13975
13976
13977  if test "x$have_eeze_scanner" = "xyes"; then
13978   BUILD_EEZE_SCANNER_TRUE=
13979   BUILD_EEZE_SCANNER_FALSE='#'
13980 else
13981   BUILD_EEZE_SCANNER_TRUE='#'
13982   BUILD_EEZE_SCANNER_FALSE=
13983 fi
13984
13985
13986 if test "x$have_eeze_scanner" = "xyes"; then :
13987
13988 fi
13989
13990
13991
13992
13993
13994
13995 ac_config_files="$ac_config_files Makefile doc/eeze.dox doc/Makefile doc/Doxyfile src/Makefile src/lib/Makefile src/bin/Makefile eeze.pc eeze.spec"
13996
13997 cat >confcache <<\_ACEOF
13998 # This file is a shell script that caches the results of configure
13999 # tests run on this system so they can be shared between configure
14000 # scripts and configure runs, see configure's option --config-cache.
14001 # It is not useful on other systems.  If it contains results you don't
14002 # want to keep, you may remove or edit it.
14003 #
14004 # config.status only pays attention to the cache file if you give it
14005 # the --recheck option to rerun configure.
14006 #
14007 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14008 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14009 # following values.
14010
14011 _ACEOF
14012
14013 # The following way of writing the cache mishandles newlines in values,
14014 # but we know of no workaround that is simple, portable, and efficient.
14015 # So, we kill variables containing newlines.
14016 # Ultrix sh set writes to stderr and can't be redirected directly,
14017 # and sets the high bit in the cache file unless we assign to the vars.
14018 (
14019   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14020     eval ac_val=\$$ac_var
14021     case $ac_val in #(
14022     *${as_nl}*)
14023       case $ac_var in #(
14024       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14025 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14026       esac
14027       case $ac_var in #(
14028       _ | IFS | as_nl) ;; #(
14029       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14030       *) { eval $ac_var=; unset $ac_var;} ;;
14031       esac ;;
14032     esac
14033   done
14034
14035   (set) 2>&1 |
14036     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14037     *${as_nl}ac_space=\ *)
14038       # `set' does not quote correctly, so add quotes: double-quote
14039       # substitution turns \\\\ into \\, and sed turns \\ into \.
14040       sed -n \
14041         "s/'/'\\\\''/g;
14042           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14043       ;; #(
14044     *)
14045       # `set' quotes correctly as required by POSIX, so do not add quotes.
14046       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14047       ;;
14048     esac |
14049     sort
14050 ) |
14051   sed '
14052      /^ac_cv_env_/b end
14053      t clear
14054      :clear
14055      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14056      t end
14057      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14058      :end' >>confcache
14059 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14060   if test -w "$cache_file"; then
14061     if test "x$cache_file" != "x/dev/null"; then
14062       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14063 $as_echo "$as_me: updating cache $cache_file" >&6;}
14064       if test ! -f "$cache_file" || test -h "$cache_file"; then
14065         cat confcache >"$cache_file"
14066       else
14067         case $cache_file in #(
14068         */* | ?:*)
14069           mv -f confcache "$cache_file"$$ &&
14070           mv -f "$cache_file"$$ "$cache_file" ;; #(
14071         *)
14072           mv -f confcache "$cache_file" ;;
14073         esac
14074       fi
14075     fi
14076   else
14077     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14078 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14079   fi
14080 fi
14081 rm -f confcache
14082
14083 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14084 # Let make expand exec_prefix.
14085 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14086
14087 DEFS=-DHAVE_CONFIG_H
14088
14089 ac_libobjs=
14090 ac_ltlibobjs=
14091 U=
14092 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14093   # 1. Remove the extension, and $U if already installed.
14094   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14095   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14096   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14097   #    will be set to the directory where LIBOBJS objects are built.
14098   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14099   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14100 done
14101 LIBOBJS=$ac_libobjs
14102
14103 LTLIBOBJS=$ac_ltlibobjs
14104
14105
14106  if test -n "$EXEEXT"; then
14107   am__EXEEXT_TRUE=
14108   am__EXEEXT_FALSE='#'
14109 else
14110   am__EXEEXT_TRUE='#'
14111   am__EXEEXT_FALSE=
14112 fi
14113
14114 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14115   as_fn_error $? "conditional \"AMDEP\" was never defined.
14116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14117 fi
14118 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14119   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14121 fi
14122 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14123   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14125 fi
14126 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14127   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14129 fi
14130 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
14131   as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
14132 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14133 fi
14134 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
14135   as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
14136 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14137 fi
14138 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14139   as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14141 fi
14142 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14143   as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14144 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14145 fi
14146 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14147   as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14149 fi
14150 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14151   as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14153 fi
14154 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14155   as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14157 fi
14158 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14159   as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14161 fi
14162 if test -z "${BUILD_EEZE_UDEV_TEST_TRUE}" && test -z "${BUILD_EEZE_UDEV_TEST_FALSE}"; then
14163   as_fn_error $? "conditional \"BUILD_EEZE_UDEV_TEST\" was never defined.
14164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14165 fi
14166 if test -z "${BUILD_EEZE_MOUNT_TRUE}" && test -z "${BUILD_EEZE_MOUNT_FALSE}"; then
14167   as_fn_error $? "conditional \"BUILD_EEZE_MOUNT\" was never defined.
14168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14169 fi
14170 if test -z "${BUILD_EEZE_DISK_LS_TRUE}" && test -z "${BUILD_EEZE_DISK_LS_FALSE}"; then
14171   as_fn_error $? "conditional \"BUILD_EEZE_DISK_LS\" was never defined.
14172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14173 fi
14174 if test -z "${BUILD_EEZE_UMOUNT_TRUE}" && test -z "${BUILD_EEZE_UMOUNT_FALSE}"; then
14175   as_fn_error $? "conditional \"BUILD_EEZE_UMOUNT\" was never defined.
14176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14177 fi
14178 if test -z "${BUILD_EEZE_SCANNER_TRUE}" && test -z "${BUILD_EEZE_SCANNER_FALSE}"; then
14179   as_fn_error $? "conditional \"BUILD_EEZE_SCANNER\" was never defined.
14180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14181 fi
14182
14183 : "${CONFIG_STATUS=./config.status}"
14184 ac_write_fail=0
14185 ac_clean_files_save=$ac_clean_files
14186 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14188 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14189 as_write_fail=0
14190 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14191 #! $SHELL
14192 # Generated by $as_me.
14193 # Run this file to recreate the current configuration.
14194 # Compiler output produced by configure, useful for debugging
14195 # configure, is in config.log if it exists.
14196
14197 debug=false
14198 ac_cs_recheck=false
14199 ac_cs_silent=false
14200
14201 SHELL=\${CONFIG_SHELL-$SHELL}
14202 export SHELL
14203 _ASEOF
14204 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14205 ## -------------------- ##
14206 ## M4sh Initialization. ##
14207 ## -------------------- ##
14208
14209 # Be more Bourne compatible
14210 DUALCASE=1; export DUALCASE # for MKS sh
14211 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14212   emulate sh
14213   NULLCMD=:
14214   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14215   # is contrary to our usage.  Disable this feature.
14216   alias -g '${1+"$@"}'='"$@"'
14217   setopt NO_GLOB_SUBST
14218 else
14219   case `(set -o) 2>/dev/null` in #(
14220   *posix*) :
14221     set -o posix ;; #(
14222   *) :
14223      ;;
14224 esac
14225 fi
14226
14227
14228 as_nl='
14229 '
14230 export as_nl
14231 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14232 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14233 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14234 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14235 # Prefer a ksh shell builtin over an external printf program on Solaris,
14236 # but without wasting forks for bash or zsh.
14237 if test -z "$BASH_VERSION$ZSH_VERSION" \
14238     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14239   as_echo='print -r --'
14240   as_echo_n='print -rn --'
14241 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14242   as_echo='printf %s\n'
14243   as_echo_n='printf %s'
14244 else
14245   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14246     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14247     as_echo_n='/usr/ucb/echo -n'
14248   else
14249     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14250     as_echo_n_body='eval
14251       arg=$1;
14252       case $arg in #(
14253       *"$as_nl"*)
14254         expr "X$arg" : "X\\(.*\\)$as_nl";
14255         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14256       esac;
14257       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14258     '
14259     export as_echo_n_body
14260     as_echo_n='sh -c $as_echo_n_body as_echo'
14261   fi
14262   export as_echo_body
14263   as_echo='sh -c $as_echo_body as_echo'
14264 fi
14265
14266 # The user is always right.
14267 if test "${PATH_SEPARATOR+set}" != set; then
14268   PATH_SEPARATOR=:
14269   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14270     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14271       PATH_SEPARATOR=';'
14272   }
14273 fi
14274
14275
14276 # IFS
14277 # We need space, tab and new line, in precisely that order.  Quoting is
14278 # there to prevent editors from complaining about space-tab.
14279 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14280 # splitting by setting IFS to empty value.)
14281 IFS=" ""        $as_nl"
14282
14283 # Find who we are.  Look in the path if we contain no directory separator.
14284 as_myself=
14285 case $0 in #((
14286   *[\\/]* ) as_myself=$0 ;;
14287   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14288 for as_dir in $PATH
14289 do
14290   IFS=$as_save_IFS
14291   test -z "$as_dir" && as_dir=.
14292     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14293   done
14294 IFS=$as_save_IFS
14295
14296      ;;
14297 esac
14298 # We did not find ourselves, most probably we were run as `sh COMMAND'
14299 # in which case we are not to be found in the path.
14300 if test "x$as_myself" = x; then
14301   as_myself=$0
14302 fi
14303 if test ! -f "$as_myself"; then
14304   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14305   exit 1
14306 fi
14307
14308 # Unset variables that we do not need and which cause bugs (e.g. in
14309 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14310 # suppresses any "Segmentation fault" message there.  '((' could
14311 # trigger a bug in pdksh 5.2.14.
14312 for as_var in BASH_ENV ENV MAIL MAILPATH
14313 do eval test x\${$as_var+set} = xset \
14314   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14315 done
14316 PS1='$ '
14317 PS2='> '
14318 PS4='+ '
14319
14320 # NLS nuisances.
14321 LC_ALL=C
14322 export LC_ALL
14323 LANGUAGE=C
14324 export LANGUAGE
14325
14326 # CDPATH.
14327 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14328
14329
14330 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14331 # ----------------------------------------
14332 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14333 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14334 # script with STATUS, using 1 if that was 0.
14335 as_fn_error ()
14336 {
14337   as_status=$1; test $as_status -eq 0 && as_status=1
14338   if test "$4"; then
14339     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14340     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14341   fi
14342   $as_echo "$as_me: error: $2" >&2
14343   as_fn_exit $as_status
14344 } # as_fn_error
14345
14346
14347 # as_fn_set_status STATUS
14348 # -----------------------
14349 # Set $? to STATUS, without forking.
14350 as_fn_set_status ()
14351 {
14352   return $1
14353 } # as_fn_set_status
14354
14355 # as_fn_exit STATUS
14356 # -----------------
14357 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14358 as_fn_exit ()
14359 {
14360   set +e
14361   as_fn_set_status $1
14362   exit $1
14363 } # as_fn_exit
14364
14365 # as_fn_unset VAR
14366 # ---------------
14367 # Portably unset VAR.
14368 as_fn_unset ()
14369 {
14370   { eval $1=; unset $1;}
14371 }
14372 as_unset=as_fn_unset
14373 # as_fn_append VAR VALUE
14374 # ----------------------
14375 # Append the text in VALUE to the end of the definition contained in VAR. Take
14376 # advantage of any shell optimizations that allow amortized linear growth over
14377 # repeated appends, instead of the typical quadratic growth present in naive
14378 # implementations.
14379 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14380   eval 'as_fn_append ()
14381   {
14382     eval $1+=\$2
14383   }'
14384 else
14385   as_fn_append ()
14386   {
14387     eval $1=\$$1\$2
14388   }
14389 fi # as_fn_append
14390
14391 # as_fn_arith ARG...
14392 # ------------------
14393 # Perform arithmetic evaluation on the ARGs, and store the result in the
14394 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14395 # must be portable across $(()) and expr.
14396 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14397   eval 'as_fn_arith ()
14398   {
14399     as_val=$(( $* ))
14400   }'
14401 else
14402   as_fn_arith ()
14403   {
14404     as_val=`expr "$@" || test $? -eq 1`
14405   }
14406 fi # as_fn_arith
14407
14408
14409 if expr a : '\(a\)' >/dev/null 2>&1 &&
14410    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14411   as_expr=expr
14412 else
14413   as_expr=false
14414 fi
14415
14416 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14417   as_basename=basename
14418 else
14419   as_basename=false
14420 fi
14421
14422 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14423   as_dirname=dirname
14424 else
14425   as_dirname=false
14426 fi
14427
14428 as_me=`$as_basename -- "$0" ||
14429 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14430          X"$0" : 'X\(//\)$' \| \
14431          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14432 $as_echo X/"$0" |
14433     sed '/^.*\/\([^/][^/]*\)\/*$/{
14434             s//\1/
14435             q
14436           }
14437           /^X\/\(\/\/\)$/{
14438             s//\1/
14439             q
14440           }
14441           /^X\/\(\/\).*/{
14442             s//\1/
14443             q
14444           }
14445           s/.*/./; q'`
14446
14447 # Avoid depending upon Character Ranges.
14448 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14449 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14450 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14451 as_cr_digits='0123456789'
14452 as_cr_alnum=$as_cr_Letters$as_cr_digits
14453
14454 ECHO_C= ECHO_N= ECHO_T=
14455 case `echo -n x` in #(((((
14456 -n*)
14457   case `echo 'xy\c'` in
14458   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14459   xy)  ECHO_C='\c';;
14460   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14461        ECHO_T=' ';;
14462   esac;;
14463 *)
14464   ECHO_N='-n';;
14465 esac
14466
14467 rm -f conf$$ conf$$.exe conf$$.file
14468 if test -d conf$$.dir; then
14469   rm -f conf$$.dir/conf$$.file
14470 else
14471   rm -f conf$$.dir
14472   mkdir conf$$.dir 2>/dev/null
14473 fi
14474 if (echo >conf$$.file) 2>/dev/null; then
14475   if ln -s conf$$.file conf$$ 2>/dev/null; then
14476     as_ln_s='ln -s'
14477     # ... but there are two gotchas:
14478     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14479     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14480     # In both cases, we have to default to `cp -p'.
14481     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14482       as_ln_s='cp -p'
14483   elif ln conf$$.file conf$$ 2>/dev/null; then
14484     as_ln_s=ln
14485   else
14486     as_ln_s='cp -p'
14487   fi
14488 else
14489   as_ln_s='cp -p'
14490 fi
14491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14492 rmdir conf$$.dir 2>/dev/null
14493
14494
14495 # as_fn_mkdir_p
14496 # -------------
14497 # Create "$as_dir" as a directory, including parents if necessary.
14498 as_fn_mkdir_p ()
14499 {
14500
14501   case $as_dir in #(
14502   -*) as_dir=./$as_dir;;
14503   esac
14504   test -d "$as_dir" || eval $as_mkdir_p || {
14505     as_dirs=
14506     while :; do
14507       case $as_dir in #(
14508       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14509       *) as_qdir=$as_dir;;
14510       esac
14511       as_dirs="'$as_qdir' $as_dirs"
14512       as_dir=`$as_dirname -- "$as_dir" ||
14513 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14514          X"$as_dir" : 'X\(//\)[^/]' \| \
14515          X"$as_dir" : 'X\(//\)$' \| \
14516          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14517 $as_echo X"$as_dir" |
14518     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14519             s//\1/
14520             q
14521           }
14522           /^X\(\/\/\)[^/].*/{
14523             s//\1/
14524             q
14525           }
14526           /^X\(\/\/\)$/{
14527             s//\1/
14528             q
14529           }
14530           /^X\(\/\).*/{
14531             s//\1/
14532             q
14533           }
14534           s/.*/./; q'`
14535       test -d "$as_dir" && break
14536     done
14537     test -z "$as_dirs" || eval "mkdir $as_dirs"
14538   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14539
14540
14541 } # as_fn_mkdir_p
14542 if mkdir -p . 2>/dev/null; then
14543   as_mkdir_p='mkdir -p "$as_dir"'
14544 else
14545   test -d ./-p && rmdir ./-p
14546   as_mkdir_p=false
14547 fi
14548
14549 if test -x / >/dev/null 2>&1; then
14550   as_test_x='test -x'
14551 else
14552   if ls -dL / >/dev/null 2>&1; then
14553     as_ls_L_option=L
14554   else
14555     as_ls_L_option=
14556   fi
14557   as_test_x='
14558     eval sh -c '\''
14559       if test -d "$1"; then
14560         test -d "$1/.";
14561       else
14562         case $1 in #(
14563         -*)set "./$1";;
14564         esac;
14565         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14566         ???[sx]*):;;*)false;;esac;fi
14567     '\'' sh
14568   '
14569 fi
14570 as_executable_p=$as_test_x
14571
14572 # Sed expression to map a string onto a valid CPP name.
14573 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14574
14575 # Sed expression to map a string onto a valid variable name.
14576 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14577
14578
14579 exec 6>&1
14580 ## ----------------------------------- ##
14581 ## Main body of $CONFIG_STATUS script. ##
14582 ## ----------------------------------- ##
14583 _ASEOF
14584 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14585
14586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14587 # Save the log message, to keep $0 and so on meaningful, and to
14588 # report actual input values of CONFIG_FILES etc. instead of their
14589 # values after options handling.
14590 ac_log="
14591 This file was extended by eeze $as_me 1.7.3, which was
14592 generated by GNU Autoconf 2.68.  Invocation command line was
14593
14594   CONFIG_FILES    = $CONFIG_FILES
14595   CONFIG_HEADERS  = $CONFIG_HEADERS
14596   CONFIG_LINKS    = $CONFIG_LINKS
14597   CONFIG_COMMANDS = $CONFIG_COMMANDS
14598   $ $0 $@
14599
14600 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14601 "
14602
14603 _ACEOF
14604
14605 case $ac_config_files in *"
14606 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14607 esac
14608
14609 case $ac_config_headers in *"
14610 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14611 esac
14612
14613
14614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14615 # Files that config.status was made for.
14616 config_files="$ac_config_files"
14617 config_headers="$ac_config_headers"
14618 config_commands="$ac_config_commands"
14619
14620 _ACEOF
14621
14622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14623 ac_cs_usage="\
14624 \`$as_me' instantiates files and other configuration actions
14625 from templates according to the current configuration.  Unless the files
14626 and actions are specified as TAGs, all are instantiated by default.
14627
14628 Usage: $0 [OPTION]... [TAG]...
14629
14630   -h, --help       print this help, then exit
14631   -V, --version    print version number and configuration settings, then exit
14632       --config     print configuration, then exit
14633   -q, --quiet, --silent
14634                    do not print progress messages
14635   -d, --debug      don't remove temporary files
14636       --recheck    update $as_me by reconfiguring in the same conditions
14637       --file=FILE[:TEMPLATE]
14638                    instantiate the configuration file FILE
14639       --header=FILE[:TEMPLATE]
14640                    instantiate the configuration header FILE
14641
14642 Configuration files:
14643 $config_files
14644
14645 Configuration headers:
14646 $config_headers
14647
14648 Configuration commands:
14649 $config_commands
14650
14651 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14652
14653 _ACEOF
14654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14655 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14656 ac_cs_version="\\
14657 eeze config.status 1.7.3
14658 configured by $0, generated by GNU Autoconf 2.68,
14659   with options \\"\$ac_cs_config\\"
14660
14661 Copyright (C) 2010 Free Software Foundation, Inc.
14662 This config.status script is free software; the Free Software Foundation
14663 gives unlimited permission to copy, distribute and modify it."
14664
14665 ac_pwd='$ac_pwd'
14666 srcdir='$srcdir'
14667 INSTALL='$INSTALL'
14668 MKDIR_P='$MKDIR_P'
14669 AWK='$AWK'
14670 test -n "\$AWK" || AWK=awk
14671 _ACEOF
14672
14673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14674 # The default lists apply if the user does not specify any file.
14675 ac_need_defaults=:
14676 while test $# != 0
14677 do
14678   case $1 in
14679   --*=?*)
14680     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14681     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14682     ac_shift=:
14683     ;;
14684   --*=)
14685     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14686     ac_optarg=
14687     ac_shift=:
14688     ;;
14689   *)
14690     ac_option=$1
14691     ac_optarg=$2
14692     ac_shift=shift
14693     ;;
14694   esac
14695
14696   case $ac_option in
14697   # Handling of the options.
14698   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14699     ac_cs_recheck=: ;;
14700   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14701     $as_echo "$ac_cs_version"; exit ;;
14702   --config | --confi | --conf | --con | --co | --c )
14703     $as_echo "$ac_cs_config"; exit ;;
14704   --debug | --debu | --deb | --de | --d | -d )
14705     debug=: ;;
14706   --file | --fil | --fi | --f )
14707     $ac_shift
14708     case $ac_optarg in
14709     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14710     '') as_fn_error $? "missing file argument" ;;
14711     esac
14712     as_fn_append CONFIG_FILES " '$ac_optarg'"
14713     ac_need_defaults=false;;
14714   --header | --heade | --head | --hea )
14715     $ac_shift
14716     case $ac_optarg in
14717     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14718     esac
14719     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14720     ac_need_defaults=false;;
14721   --he | --h)
14722     # Conflict between --help and --header
14723     as_fn_error $? "ambiguous option: \`$1'
14724 Try \`$0 --help' for more information.";;
14725   --help | --hel | -h )
14726     $as_echo "$ac_cs_usage"; exit ;;
14727   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14728   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14729     ac_cs_silent=: ;;
14730
14731   # This is an error.
14732   -*) as_fn_error $? "unrecognized option: \`$1'
14733 Try \`$0 --help' for more information." ;;
14734
14735   *) as_fn_append ac_config_targets " $1"
14736      ac_need_defaults=false ;;
14737
14738   esac
14739   shift
14740 done
14741
14742 ac_configure_extra_args=
14743
14744 if $ac_cs_silent; then
14745   exec 6>/dev/null
14746   ac_configure_extra_args="$ac_configure_extra_args --silent"
14747 fi
14748
14749 _ACEOF
14750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14751 if \$ac_cs_recheck; then
14752   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14753   shift
14754   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14755   CONFIG_SHELL='$SHELL'
14756   export CONFIG_SHELL
14757   exec "\$@"
14758 fi
14759
14760 _ACEOF
14761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14762 exec 5>>config.log
14763 {
14764   echo
14765   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14766 ## Running $as_me. ##
14767 _ASBOX
14768   $as_echo "$ac_log"
14769 } >&5
14770
14771 _ACEOF
14772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14773 #
14774 # INIT-COMMANDS
14775 #
14776 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14777
14778
14779 # The HP-UX ksh and POSIX shell print the target directory to stdout
14780 # if CDPATH is set.
14781 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14782
14783 sed_quote_subst='$sed_quote_subst'
14784 double_quote_subst='$double_quote_subst'
14785 delay_variable_subst='$delay_variable_subst'
14786 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14787 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14788 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14789 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14790 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14791 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14792 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14793 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14794 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14795 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14796 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14797 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14798 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14799 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14800 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14801 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14802 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14803 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14804 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14805 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14806 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14807 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14808 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14809 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14810 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14811 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14812 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14813 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14814 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14815 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14816 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14817 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14818 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14819 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14820 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14821 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14822 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14823 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14824 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14825 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14826 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14827 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14828 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14829 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14830 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14831 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14832 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14833 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14834 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14835 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14836 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14837 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14838 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14839 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14840 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14841 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14842 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14843 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14844 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14845 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14846 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14847 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14848 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14849 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14850 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14851 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14852 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14853 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14854 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14855 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14856 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14857 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14858 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14859 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14860 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14861 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14862 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14863 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14864 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14865 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14866 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14867 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14868 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14869 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14870 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14871 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14872 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14873 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14874 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14875 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14876 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14877 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14878 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14879 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14880 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14881 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14882 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14883 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14884 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14885 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14886 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14887 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14888 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14889 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14890 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14891 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14892 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14893 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14894 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14895 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14896 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14897 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14898 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14899 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14900 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14901 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14902 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14903 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14904 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14905 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14906 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14907 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14908 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14909 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14910 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14911 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14912 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14913 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14914 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14915 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14916
14917 LTCC='$LTCC'
14918 LTCFLAGS='$LTCFLAGS'
14919 compiler='$compiler_DEFAULT'
14920
14921 # A function that is used when there is no print builtin or printf.
14922 func_fallback_echo ()
14923 {
14924   eval 'cat <<_LTECHO_EOF
14925 \$1
14926 _LTECHO_EOF'
14927 }
14928
14929 # Quote evaled strings.
14930 for var in SHELL \
14931 ECHO \
14932 PATH_SEPARATOR \
14933 SED \
14934 GREP \
14935 EGREP \
14936 FGREP \
14937 LD \
14938 NM \
14939 LN_S \
14940 lt_SP2NL \
14941 lt_NL2SP \
14942 reload_flag \
14943 OBJDUMP \
14944 deplibs_check_method \
14945 file_magic_cmd \
14946 file_magic_glob \
14947 want_nocaseglob \
14948 DLLTOOL \
14949 sharedlib_from_linklib_cmd \
14950 AR \
14951 AR_FLAGS \
14952 archiver_list_spec \
14953 STRIP \
14954 RANLIB \
14955 CC \
14956 CFLAGS \
14957 compiler \
14958 lt_cv_sys_global_symbol_pipe \
14959 lt_cv_sys_global_symbol_to_cdecl \
14960 lt_cv_sys_global_symbol_to_c_name_address \
14961 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14962 nm_file_list_spec \
14963 lt_prog_compiler_no_builtin_flag \
14964 lt_prog_compiler_pic \
14965 lt_prog_compiler_wl \
14966 lt_prog_compiler_static \
14967 lt_cv_prog_compiler_c_o \
14968 need_locks \
14969 MANIFEST_TOOL \
14970 DSYMUTIL \
14971 NMEDIT \
14972 LIPO \
14973 OTOOL \
14974 OTOOL64 \
14975 shrext_cmds \
14976 export_dynamic_flag_spec \
14977 whole_archive_flag_spec \
14978 compiler_needs_object \
14979 with_gnu_ld \
14980 allow_undefined_flag \
14981 no_undefined_flag \
14982 hardcode_libdir_flag_spec \
14983 hardcode_libdir_separator \
14984 exclude_expsyms \
14985 include_expsyms \
14986 file_list_spec \
14987 variables_saved_for_relink \
14988 libname_spec \
14989 library_names_spec \
14990 soname_spec \
14991 install_override_mode \
14992 finish_eval \
14993 old_striplib \
14994 striplib; do
14995     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14996     *[\\\\\\\`\\"\\\$]*)
14997       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14998       ;;
14999     *)
15000       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15001       ;;
15002     esac
15003 done
15004
15005 # Double-quote double-evaled strings.
15006 for var in reload_cmds \
15007 old_postinstall_cmds \
15008 old_postuninstall_cmds \
15009 old_archive_cmds \
15010 extract_expsyms_cmds \
15011 old_archive_from_new_cmds \
15012 old_archive_from_expsyms_cmds \
15013 archive_cmds \
15014 archive_expsym_cmds \
15015 module_cmds \
15016 module_expsym_cmds \
15017 export_symbols_cmds \
15018 prelink_cmds \
15019 postlink_cmds \
15020 postinstall_cmds \
15021 postuninstall_cmds \
15022 finish_cmds \
15023 sys_lib_search_path_spec \
15024 sys_lib_dlsearch_path_spec; do
15025     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15026     *[\\\\\\\`\\"\\\$]*)
15027       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15028       ;;
15029     *)
15030       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15031       ;;
15032     esac
15033 done
15034
15035 ac_aux_dir='$ac_aux_dir'
15036 xsi_shell='$xsi_shell'
15037 lt_shell_append='$lt_shell_append'
15038
15039 # See if we are running on zsh, and set the options which allow our
15040 # commands through without removal of \ escapes INIT.
15041 if test -n "\${ZSH_VERSION+set}" ; then
15042    setopt NO_GLOB_SUBST
15043 fi
15044
15045
15046     PACKAGE='$PACKAGE'
15047     VERSION='$VERSION'
15048     TIMESTAMP='$TIMESTAMP'
15049     RM='$RM'
15050     ofile='$ofile'
15051
15052
15053
15054
15055 _ACEOF
15056
15057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15058
15059 # Handling of arguments.
15060 for ac_config_target in $ac_config_targets
15061 do
15062   case $ac_config_target in
15063     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15064     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15065     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15066     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15067     "doc/eeze.dox") CONFIG_FILES="$CONFIG_FILES doc/eeze.dox" ;;
15068     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15069     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15070     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15071     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15072     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
15073     "eeze.pc") CONFIG_FILES="$CONFIG_FILES eeze.pc" ;;
15074     "eeze.spec") CONFIG_FILES="$CONFIG_FILES eeze.spec" ;;
15075
15076   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15077   esac
15078 done
15079
15080
15081 # If the user did not use the arguments to specify the items to instantiate,
15082 # then the envvar interface is used.  Set only those that are not.
15083 # We use the long form for the default assignment because of an extremely
15084 # bizarre bug on SunOS 4.1.3.
15085 if $ac_need_defaults; then
15086   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15087   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15088   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15089 fi
15090
15091 # Have a temporary directory for convenience.  Make it in the build tree
15092 # simply because there is no reason against having it here, and in addition,
15093 # creating and moving files from /tmp can sometimes cause problems.
15094 # Hook for its removal unless debugging.
15095 # Note that there is a small window in which the directory will not be cleaned:
15096 # after its creation but before its name has been assigned to `$tmp'.
15097 $debug ||
15098 {
15099   tmp= ac_tmp=
15100   trap 'exit_status=$?
15101   : "${ac_tmp:=$tmp}"
15102   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15103 ' 0
15104   trap 'as_fn_exit 1' 1 2 13 15
15105 }
15106 # Create a (secure) tmp directory for tmp files.
15107
15108 {
15109   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15110   test -d "$tmp"
15111 }  ||
15112 {
15113   tmp=./conf$$-$RANDOM
15114   (umask 077 && mkdir "$tmp")
15115 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15116 ac_tmp=$tmp
15117
15118 # Set up the scripts for CONFIG_FILES section.
15119 # No need to generate them if there are no CONFIG_FILES.
15120 # This happens for instance with `./config.status config.h'.
15121 if test -n "$CONFIG_FILES"; then
15122
15123
15124 ac_cr=`echo X | tr X '\015'`
15125 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15126 # But we know of no other shell where ac_cr would be empty at this
15127 # point, so we can use a bashism as a fallback.
15128 if test "x$ac_cr" = x; then
15129   eval ac_cr=\$\'\\r\'
15130 fi
15131 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15132 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15133   ac_cs_awk_cr='\\r'
15134 else
15135   ac_cs_awk_cr=$ac_cr
15136 fi
15137
15138 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15139 _ACEOF
15140
15141
15142 {
15143   echo "cat >conf$$subs.awk <<_ACEOF" &&
15144   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15145   echo "_ACEOF"
15146 } >conf$$subs.sh ||
15147   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15148 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15149 ac_delim='%!_!# '
15150 for ac_last_try in false false false false false :; do
15151   . ./conf$$subs.sh ||
15152     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15153
15154   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15155   if test $ac_delim_n = $ac_delim_num; then
15156     break
15157   elif $ac_last_try; then
15158     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15159   else
15160     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15161   fi
15162 done
15163 rm -f conf$$subs.sh
15164
15165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15166 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15167 _ACEOF
15168 sed -n '
15169 h
15170 s/^/S["/; s/!.*/"]=/
15171 p
15172 g
15173 s/^[^!]*!//
15174 :repl
15175 t repl
15176 s/'"$ac_delim"'$//
15177 t delim
15178 :nl
15179 h
15180 s/\(.\{148\}\)..*/\1/
15181 t more1
15182 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15183 p
15184 n
15185 b repl
15186 :more1
15187 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15188 p
15189 g
15190 s/.\{148\}//
15191 t nl
15192 :delim
15193 h
15194 s/\(.\{148\}\)..*/\1/
15195 t more2
15196 s/["\\]/\\&/g; s/^/"/; s/$/"/
15197 p
15198 b
15199 :more2
15200 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15201 p
15202 g
15203 s/.\{148\}//
15204 t delim
15205 ' <conf$$subs.awk | sed '
15206 /^[^""]/{
15207   N
15208   s/\n//
15209 }
15210 ' >>$CONFIG_STATUS || ac_write_fail=1
15211 rm -f conf$$subs.awk
15212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15213 _ACAWK
15214 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15215   for (key in S) S_is_set[key] = 1
15216   FS = "\a"
15217
15218 }
15219 {
15220   line = $ 0
15221   nfields = split(line, field, "@")
15222   substed = 0
15223   len = length(field[1])
15224   for (i = 2; i < nfields; i++) {
15225     key = field[i]
15226     keylen = length(key)
15227     if (S_is_set[key]) {
15228       value = S[key]
15229       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15230       len += length(value) + length(field[++i])
15231       substed = 1
15232     } else
15233       len += 1 + keylen
15234   }
15235
15236   print line
15237 }
15238
15239 _ACAWK
15240 _ACEOF
15241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15242 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15243   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15244 else
15245   cat
15246 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15247   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15248 _ACEOF
15249
15250 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15251 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15252 # trailing colons and then remove the whole line if VPATH becomes empty
15253 # (actually we leave an empty line to preserve line numbers).
15254 if test "x$srcdir" = x.; then
15255   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15256 h
15257 s///
15258 s/^/:/
15259 s/[      ]*$/:/
15260 s/:\$(srcdir):/:/g
15261 s/:\${srcdir}:/:/g
15262 s/:@srcdir@:/:/g
15263 s/^:*//
15264 s/:*$//
15265 x
15266 s/\(=[   ]*\).*/\1/
15267 G
15268 s/\n//
15269 s/^[^=]*=[       ]*$//
15270 }'
15271 fi
15272
15273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15274 fi # test -n "$CONFIG_FILES"
15275
15276 # Set up the scripts for CONFIG_HEADERS section.
15277 # No need to generate them if there are no CONFIG_HEADERS.
15278 # This happens for instance with `./config.status Makefile'.
15279 if test -n "$CONFIG_HEADERS"; then
15280 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15281 BEGIN {
15282 _ACEOF
15283
15284 # Transform confdefs.h into an awk script `defines.awk', embedded as
15285 # here-document in config.status, that substitutes the proper values into
15286 # config.h.in to produce config.h.
15287
15288 # Create a delimiter string that does not exist in confdefs.h, to ease
15289 # handling of long lines.
15290 ac_delim='%!_!# '
15291 for ac_last_try in false false :; do
15292   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15293   if test -z "$ac_tt"; then
15294     break
15295   elif $ac_last_try; then
15296     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15297   else
15298     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15299   fi
15300 done
15301
15302 # For the awk script, D is an array of macro values keyed by name,
15303 # likewise P contains macro parameters if any.  Preserve backslash
15304 # newline sequences.
15305
15306 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15307 sed -n '
15308 s/.\{148\}/&'"$ac_delim"'/g
15309 t rset
15310 :rset
15311 s/^[     ]*#[    ]*define[       ][      ]*/ /
15312 t def
15313 d
15314 :def
15315 s/\\$//
15316 t bsnl
15317 s/["\\]/\\&/g
15318 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15319 D["\1"]=" \3"/p
15320 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15321 d
15322 :bsnl
15323 s/["\\]/\\&/g
15324 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15325 D["\1"]=" \3\\\\\\n"\\/p
15326 t cont
15327 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15328 t cont
15329 d
15330 :cont
15331 n
15332 s/.\{148\}/&'"$ac_delim"'/g
15333 t clear
15334 :clear
15335 s/\\$//
15336 t bsnlc
15337 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15338 d
15339 :bsnlc
15340 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15341 b cont
15342 ' <confdefs.h | sed '
15343 s/'"$ac_delim"'/"\\\
15344 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15345
15346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15347   for (key in D) D_is_set[key] = 1
15348   FS = "\a"
15349 }
15350 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15351   line = \$ 0
15352   split(line, arg, " ")
15353   if (arg[1] == "#") {
15354     defundef = arg[2]
15355     mac1 = arg[3]
15356   } else {
15357     defundef = substr(arg[1], 2)
15358     mac1 = arg[2]
15359   }
15360   split(mac1, mac2, "(") #)
15361   macro = mac2[1]
15362   prefix = substr(line, 1, index(line, defundef) - 1)
15363   if (D_is_set[macro]) {
15364     # Preserve the white space surrounding the "#".
15365     print prefix "define", macro P[macro] D[macro]
15366     next
15367   } else {
15368     # Replace #undef with comments.  This is necessary, for example,
15369     # in the case of _POSIX_SOURCE, which is predefined and required
15370     # on some systems where configure will not decide to define it.
15371     if (defundef == "undef") {
15372       print "/*", prefix defundef, macro, "*/"
15373       next
15374     }
15375   }
15376 }
15377 { print }
15378 _ACAWK
15379 _ACEOF
15380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15381   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15382 fi # test -n "$CONFIG_HEADERS"
15383
15384
15385 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15386 shift
15387 for ac_tag
15388 do
15389   case $ac_tag in
15390   :[FHLC]) ac_mode=$ac_tag; continue;;
15391   esac
15392   case $ac_mode$ac_tag in
15393   :[FHL]*:*);;
15394   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15395   :[FH]-) ac_tag=-:-;;
15396   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15397   esac
15398   ac_save_IFS=$IFS
15399   IFS=:
15400   set x $ac_tag
15401   IFS=$ac_save_IFS
15402   shift
15403   ac_file=$1
15404   shift
15405
15406   case $ac_mode in
15407   :L) ac_source=$1;;
15408   :[FH])
15409     ac_file_inputs=
15410     for ac_f
15411     do
15412       case $ac_f in
15413       -) ac_f="$ac_tmp/stdin";;
15414       *) # Look for the file first in the build tree, then in the source tree
15415          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15416          # because $ac_f cannot contain `:'.
15417          test -f "$ac_f" ||
15418            case $ac_f in
15419            [\\/$]*) false;;
15420            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15421            esac ||
15422            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15423       esac
15424       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15425       as_fn_append ac_file_inputs " '$ac_f'"
15426     done
15427
15428     # Let's still pretend it is `configure' which instantiates (i.e., don't
15429     # use $as_me), people would be surprised to read:
15430     #    /* config.h.  Generated by config.status.  */
15431     configure_input='Generated from '`
15432           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15433         `' by configure.'
15434     if test x"$ac_file" != x-; then
15435       configure_input="$ac_file.  $configure_input"
15436       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15437 $as_echo "$as_me: creating $ac_file" >&6;}
15438     fi
15439     # Neutralize special characters interpreted by sed in replacement strings.
15440     case $configure_input in #(
15441     *\&* | *\|* | *\\* )
15442        ac_sed_conf_input=`$as_echo "$configure_input" |
15443        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15444     *) ac_sed_conf_input=$configure_input;;
15445     esac
15446
15447     case $ac_tag in
15448     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15449       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15450     esac
15451     ;;
15452   esac
15453
15454   ac_dir=`$as_dirname -- "$ac_file" ||
15455 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15456          X"$ac_file" : 'X\(//\)[^/]' \| \
15457          X"$ac_file" : 'X\(//\)$' \| \
15458          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15459 $as_echo X"$ac_file" |
15460     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15461             s//\1/
15462             q
15463           }
15464           /^X\(\/\/\)[^/].*/{
15465             s//\1/
15466             q
15467           }
15468           /^X\(\/\/\)$/{
15469             s//\1/
15470             q
15471           }
15472           /^X\(\/\).*/{
15473             s//\1/
15474             q
15475           }
15476           s/.*/./; q'`
15477   as_dir="$ac_dir"; as_fn_mkdir_p
15478   ac_builddir=.
15479
15480 case "$ac_dir" in
15481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15482 *)
15483   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15484   # A ".." for each directory in $ac_dir_suffix.
15485   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15486   case $ac_top_builddir_sub in
15487   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15488   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15489   esac ;;
15490 esac
15491 ac_abs_top_builddir=$ac_pwd
15492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15493 # for backward compatibility:
15494 ac_top_builddir=$ac_top_build_prefix
15495
15496 case $srcdir in
15497   .)  # We are building in place.
15498     ac_srcdir=.
15499     ac_top_srcdir=$ac_top_builddir_sub
15500     ac_abs_top_srcdir=$ac_pwd ;;
15501   [\\/]* | ?:[\\/]* )  # Absolute name.
15502     ac_srcdir=$srcdir$ac_dir_suffix;
15503     ac_top_srcdir=$srcdir
15504     ac_abs_top_srcdir=$srcdir ;;
15505   *) # Relative name.
15506     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15507     ac_top_srcdir=$ac_top_build_prefix$srcdir
15508     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15509 esac
15510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15511
15512
15513   case $ac_mode in
15514   :F)
15515   #
15516   # CONFIG_FILE
15517   #
15518
15519   case $INSTALL in
15520   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15521   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15522   esac
15523   ac_MKDIR_P=$MKDIR_P
15524   case $MKDIR_P in
15525   [\\/$]* | ?:[\\/]* ) ;;
15526   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15527   esac
15528 _ACEOF
15529
15530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15531 # If the template does not know about datarootdir, expand it.
15532 # FIXME: This hack should be removed a few years after 2.60.
15533 ac_datarootdir_hack=; ac_datarootdir_seen=
15534 ac_sed_dataroot='
15535 /datarootdir/ {
15536   p
15537   q
15538 }
15539 /@datadir@/p
15540 /@docdir@/p
15541 /@infodir@/p
15542 /@localedir@/p
15543 /@mandir@/p'
15544 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15545 *datarootdir*) ac_datarootdir_seen=yes;;
15546 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15547   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15548 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15549 _ACEOF
15550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15551   ac_datarootdir_hack='
15552   s&@datadir@&$datadir&g
15553   s&@docdir@&$docdir&g
15554   s&@infodir@&$infodir&g
15555   s&@localedir@&$localedir&g
15556   s&@mandir@&$mandir&g
15557   s&\\\${datarootdir}&$datarootdir&g' ;;
15558 esac
15559 _ACEOF
15560
15561 # Neutralize VPATH when `$srcdir' = `.'.
15562 # Shell code in configure.ac might set extrasub.
15563 # FIXME: do we really want to maintain this feature?
15564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15565 ac_sed_extra="$ac_vpsub
15566 $extrasub
15567 _ACEOF
15568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15569 :t
15570 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15571 s|@configure_input@|$ac_sed_conf_input|;t t
15572 s&@top_builddir@&$ac_top_builddir_sub&;t t
15573 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15574 s&@srcdir@&$ac_srcdir&;t t
15575 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15576 s&@top_srcdir@&$ac_top_srcdir&;t t
15577 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15578 s&@builddir@&$ac_builddir&;t t
15579 s&@abs_builddir@&$ac_abs_builddir&;t t
15580 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15581 s&@INSTALL@&$ac_INSTALL&;t t
15582 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15583 $ac_datarootdir_hack
15584 "
15585 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15586   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15587
15588 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15589   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15590   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15591       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15592   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15593 which seems to be undefined.  Please make sure it is defined" >&5
15594 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15595 which seems to be undefined.  Please make sure it is defined" >&2;}
15596
15597   rm -f "$ac_tmp/stdin"
15598   case $ac_file in
15599   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15600   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15601   esac \
15602   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15603  ;;
15604   :H)
15605   #
15606   # CONFIG_HEADER
15607   #
15608   if test x"$ac_file" != x-; then
15609     {
15610       $as_echo "/* $configure_input  */" \
15611       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15612     } >"$ac_tmp/config.h" \
15613       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15614     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15615       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15616 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15617     else
15618       rm -f "$ac_file"
15619       mv "$ac_tmp/config.h" "$ac_file" \
15620         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15621     fi
15622   else
15623     $as_echo "/* $configure_input  */" \
15624       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15625       || as_fn_error $? "could not create -" "$LINENO" 5
15626   fi
15627 # Compute "$ac_file"'s index in $config_headers.
15628 _am_arg="$ac_file"
15629 _am_stamp_count=1
15630 for _am_header in $config_headers :; do
15631   case $_am_header in
15632     $_am_arg | $_am_arg:* )
15633       break ;;
15634     * )
15635       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15636   esac
15637 done
15638 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15639 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15640          X"$_am_arg" : 'X\(//\)[^/]' \| \
15641          X"$_am_arg" : 'X\(//\)$' \| \
15642          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15643 $as_echo X"$_am_arg" |
15644     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15645             s//\1/
15646             q
15647           }
15648           /^X\(\/\/\)[^/].*/{
15649             s//\1/
15650             q
15651           }
15652           /^X\(\/\/\)$/{
15653             s//\1/
15654             q
15655           }
15656           /^X\(\/\).*/{
15657             s//\1/
15658             q
15659           }
15660           s/.*/./; q'`/stamp-h$_am_stamp_count
15661  ;;
15662
15663   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15664 $as_echo "$as_me: executing $ac_file commands" >&6;}
15665  ;;
15666   esac
15667
15668
15669   case $ac_file$ac_mode in
15670     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15671   # Autoconf 2.62 quotes --file arguments for eval, but not when files
15672   # are listed without --file.  Let's play safe and only enable the eval
15673   # if we detect the quoting.
15674   case $CONFIG_FILES in
15675   *\'*) eval set x "$CONFIG_FILES" ;;
15676   *)   set x $CONFIG_FILES ;;
15677   esac
15678   shift
15679   for mf
15680   do
15681     # Strip MF so we end up with the name of the file.
15682     mf=`echo "$mf" | sed -e 's/:.*$//'`
15683     # Check whether this is an Automake generated Makefile or not.
15684     # We used to match only the files named `Makefile.in', but
15685     # some people rename them; so instead we look at the file content.
15686     # Grep'ing the first line is not enough: some people post-process
15687     # each Makefile.in and add a new line on top of each file to say so.
15688     # Grep'ing the whole file is not good either: AIX grep has a line
15689     # limit of 2048, but all sed's we know have understand at least 4000.
15690     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15691       dirpart=`$as_dirname -- "$mf" ||
15692 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15693          X"$mf" : 'X\(//\)[^/]' \| \
15694          X"$mf" : 'X\(//\)$' \| \
15695          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15696 $as_echo X"$mf" |
15697     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15698             s//\1/
15699             q
15700           }
15701           /^X\(\/\/\)[^/].*/{
15702             s//\1/
15703             q
15704           }
15705           /^X\(\/\/\)$/{
15706             s//\1/
15707             q
15708           }
15709           /^X\(\/\).*/{
15710             s//\1/
15711             q
15712           }
15713           s/.*/./; q'`
15714     else
15715       continue
15716     fi
15717     # Extract the definition of DEPDIR, am__include, and am__quote
15718     # from the Makefile without running `make'.
15719     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15720     test -z "$DEPDIR" && continue
15721     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15722     test -z "am__include" && continue
15723     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15724     # When using ansi2knr, U may be empty or an underscore; expand it
15725     U=`sed -n 's/^U = //p' < "$mf"`
15726     # Find all dependency output files, they are included files with
15727     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15728     # simplest approach to changing $(DEPDIR) to its actual value in the
15729     # expansion.
15730     for file in `sed -n "
15731       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15732          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15733       # Make sure the directory exists.
15734       test -f "$dirpart/$file" && continue
15735       fdir=`$as_dirname -- "$file" ||
15736 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15737          X"$file" : 'X\(//\)[^/]' \| \
15738          X"$file" : 'X\(//\)$' \| \
15739          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15740 $as_echo X"$file" |
15741     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15742             s//\1/
15743             q
15744           }
15745           /^X\(\/\/\)[^/].*/{
15746             s//\1/
15747             q
15748           }
15749           /^X\(\/\/\)$/{
15750             s//\1/
15751             q
15752           }
15753           /^X\(\/\).*/{
15754             s//\1/
15755             q
15756           }
15757           s/.*/./; q'`
15758       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15759       # echo "creating $dirpart/$file"
15760       echo '# dummy' > "$dirpart/$file"
15761     done
15762   done
15763 }
15764  ;;
15765     "libtool":C)
15766
15767     # See if we are running on zsh, and set the options which allow our
15768     # commands through without removal of \ escapes.
15769     if test -n "${ZSH_VERSION+set}" ; then
15770       setopt NO_GLOB_SUBST
15771     fi
15772
15773     cfgfile="${ofile}T"
15774     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15775     $RM "$cfgfile"
15776
15777     cat <<_LT_EOF >> "$cfgfile"
15778 #! $SHELL
15779
15780 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15781 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15782 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15783 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15784 #
15785 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15786 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15787 #                 Foundation, Inc.
15788 #   Written by Gordon Matzigkeit, 1996
15789 #
15790 #   This file is part of GNU Libtool.
15791 #
15792 # GNU Libtool is free software; you can redistribute it and/or
15793 # modify it under the terms of the GNU General Public License as
15794 # published by the Free Software Foundation; either version 2 of
15795 # the License, or (at your option) any later version.
15796 #
15797 # As a special exception to the GNU General Public License,
15798 # if you distribute this file as part of a program or library that
15799 # is built using GNU Libtool, you may include this file under the
15800 # same distribution terms that you use for the rest of that program.
15801 #
15802 # GNU Libtool is distributed in the hope that it will be useful,
15803 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15804 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15805 # GNU General Public License for more details.
15806 #
15807 # You should have received a copy of the GNU General Public License
15808 # along with GNU Libtool; see the file COPYING.  If not, a copy
15809 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15810 # obtained by writing to the Free Software Foundation, Inc.,
15811 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15812
15813
15814 # The names of the tagged configurations supported by this script.
15815 available_tags=""
15816
15817 # ### BEGIN LIBTOOL CONFIG
15818
15819 # Which release of libtool.m4 was used?
15820 macro_version=$macro_version
15821 macro_revision=$macro_revision
15822
15823 # Whether or not to build shared libraries.
15824 build_libtool_libs=$enable_shared
15825
15826 # Whether or not to build static libraries.
15827 build_old_libs=$enable_static
15828
15829 # What type of objects to build.
15830 pic_mode=$pic_mode
15831
15832 # Whether or not to optimize for fast installation.
15833 fast_install=$enable_fast_install
15834
15835 # Shell to use when invoking shell scripts.
15836 SHELL=$lt_SHELL
15837
15838 # An echo program that protects backslashes.
15839 ECHO=$lt_ECHO
15840
15841 # The PATH separator for the build system.
15842 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15843
15844 # The host system.
15845 host_alias=$host_alias
15846 host=$host
15847 host_os=$host_os
15848
15849 # The build system.
15850 build_alias=$build_alias
15851 build=$build
15852 build_os=$build_os
15853
15854 # A sed program that does not truncate output.
15855 SED=$lt_SED
15856
15857 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15858 Xsed="\$SED -e 1s/^X//"
15859
15860 # A grep program that handles long lines.
15861 GREP=$lt_GREP
15862
15863 # An ERE matcher.
15864 EGREP=$lt_EGREP
15865
15866 # A literal string matcher.
15867 FGREP=$lt_FGREP
15868
15869 # A BSD- or MS-compatible name lister.
15870 NM=$lt_NM
15871
15872 # Whether we need soft or hard links.
15873 LN_S=$lt_LN_S
15874
15875 # What is the maximum length of a command?
15876 max_cmd_len=$max_cmd_len
15877
15878 # Object file suffix (normally "o").
15879 objext=$ac_objext
15880
15881 # Executable file suffix (normally "").
15882 exeext=$exeext
15883
15884 # whether the shell understands "unset".
15885 lt_unset=$lt_unset
15886
15887 # turn spaces into newlines.
15888 SP2NL=$lt_lt_SP2NL
15889
15890 # turn newlines into spaces.
15891 NL2SP=$lt_lt_NL2SP
15892
15893 # convert \$build file names to \$host format.
15894 to_host_file_cmd=$lt_cv_to_host_file_cmd
15895
15896 # convert \$build files to toolchain format.
15897 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15898
15899 # An object symbol dumper.
15900 OBJDUMP=$lt_OBJDUMP
15901
15902 # Method to check whether dependent libraries are shared objects.
15903 deplibs_check_method=$lt_deplibs_check_method
15904
15905 # Command to use when deplibs_check_method = "file_magic".
15906 file_magic_cmd=$lt_file_magic_cmd
15907
15908 # How to find potential files when deplibs_check_method = "file_magic".
15909 file_magic_glob=$lt_file_magic_glob
15910
15911 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15912 want_nocaseglob=$lt_want_nocaseglob
15913
15914 # DLL creation program.
15915 DLLTOOL=$lt_DLLTOOL
15916
15917 # Command to associate shared and link libraries.
15918 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15919
15920 # The archiver.
15921 AR=$lt_AR
15922
15923 # Flags to create an archive.
15924 AR_FLAGS=$lt_AR_FLAGS
15925
15926 # How to feed a file listing to the archiver.
15927 archiver_list_spec=$lt_archiver_list_spec
15928
15929 # A symbol stripping program.
15930 STRIP=$lt_STRIP
15931
15932 # Commands used to install an old-style archive.
15933 RANLIB=$lt_RANLIB
15934 old_postinstall_cmds=$lt_old_postinstall_cmds
15935 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15936
15937 # Whether to use a lock for old archive extraction.
15938 lock_old_archive_extraction=$lock_old_archive_extraction
15939
15940 # A C compiler.
15941 LTCC=$lt_CC
15942
15943 # LTCC compiler flags.
15944 LTCFLAGS=$lt_CFLAGS
15945
15946 # Take the output of nm and produce a listing of raw symbols and C names.
15947 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15948
15949 # Transform the output of nm in a proper C declaration.
15950 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15951
15952 # Transform the output of nm in a C name address pair.
15953 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15954
15955 # Transform the output of nm in a C name address pair when lib prefix is needed.
15956 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15957
15958 # Specify filename containing input files for \$NM.
15959 nm_file_list_spec=$lt_nm_file_list_spec
15960
15961 # The root where to search for dependent libraries,and in which our libraries should be installed.
15962 lt_sysroot=$lt_sysroot
15963
15964 # The name of the directory that contains temporary libtool files.
15965 objdir=$objdir
15966
15967 # Used to examine libraries when file_magic_cmd begins with "file".
15968 MAGIC_CMD=$MAGIC_CMD
15969
15970 # Must we lock files when doing compilation?
15971 need_locks=$lt_need_locks
15972
15973 # Manifest tool.
15974 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15975
15976 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15977 DSYMUTIL=$lt_DSYMUTIL
15978
15979 # Tool to change global to local symbols on Mac OS X.
15980 NMEDIT=$lt_NMEDIT
15981
15982 # Tool to manipulate fat objects and archives on Mac OS X.
15983 LIPO=$lt_LIPO
15984
15985 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15986 OTOOL=$lt_OTOOL
15987
15988 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15989 OTOOL64=$lt_OTOOL64
15990
15991 # Old archive suffix (normally "a").
15992 libext=$libext
15993
15994 # Shared library suffix (normally ".so").
15995 shrext_cmds=$lt_shrext_cmds
15996
15997 # The commands to extract the exported symbol list from a shared archive.
15998 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15999
16000 # Variables whose values should be saved in libtool wrapper scripts and
16001 # restored at link time.
16002 variables_saved_for_relink=$lt_variables_saved_for_relink
16003
16004 # Do we need the "lib" prefix for modules?
16005 need_lib_prefix=$need_lib_prefix
16006
16007 # Do we need a version for libraries?
16008 need_version=$need_version
16009
16010 # Library versioning type.
16011 version_type=$version_type
16012
16013 # Shared library runtime path variable.
16014 runpath_var=$runpath_var
16015
16016 # Shared library path variable.
16017 shlibpath_var=$shlibpath_var
16018
16019 # Is shlibpath searched before the hard-coded library search path?
16020 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16021
16022 # Format of library name prefix.
16023 libname_spec=$lt_libname_spec
16024
16025 # List of archive names.  First name is the real one, the rest are links.
16026 # The last name is the one that the linker finds with -lNAME
16027 library_names_spec=$lt_library_names_spec
16028
16029 # The coded name of the library, if different from the real name.
16030 soname_spec=$lt_soname_spec
16031
16032 # Permission mode override for installation of shared libraries.
16033 install_override_mode=$lt_install_override_mode
16034
16035 # Command to use after installation of a shared archive.
16036 postinstall_cmds=$lt_postinstall_cmds
16037
16038 # Command to use after uninstallation of a shared archive.
16039 postuninstall_cmds=$lt_postuninstall_cmds
16040
16041 # Commands used to finish a libtool library installation in a directory.
16042 finish_cmds=$lt_finish_cmds
16043
16044 # As "finish_cmds", except a single script fragment to be evaled but
16045 # not shown.
16046 finish_eval=$lt_finish_eval
16047
16048 # Whether we should hardcode library paths into libraries.
16049 hardcode_into_libs=$hardcode_into_libs
16050
16051 # Compile-time system search path for libraries.
16052 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16053
16054 # Run-time system search path for libraries.
16055 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16056
16057 # Whether dlopen is supported.
16058 dlopen_support=$enable_dlopen
16059
16060 # Whether dlopen of programs is supported.
16061 dlopen_self=$enable_dlopen_self
16062
16063 # Whether dlopen of statically linked programs is supported.
16064 dlopen_self_static=$enable_dlopen_self_static
16065
16066 # Commands to strip libraries.
16067 old_striplib=$lt_old_striplib
16068 striplib=$lt_striplib
16069
16070
16071 # The linker used to build libraries.
16072 LD=$lt_LD
16073
16074 # How to create reloadable object files.
16075 reload_flag=$lt_reload_flag
16076 reload_cmds=$lt_reload_cmds
16077
16078 # Commands used to build an old-style archive.
16079 old_archive_cmds=$lt_old_archive_cmds
16080
16081 # A language specific compiler.
16082 CC=$lt_compiler
16083
16084 # Is the compiler the GNU compiler?
16085 with_gcc=$GCC
16086
16087 # Compiler flag to turn off builtin functions.
16088 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16089
16090 # Additional compiler flags for building library objects.
16091 pic_flag=$lt_lt_prog_compiler_pic
16092
16093 # How to pass a linker flag through the compiler.
16094 wl=$lt_lt_prog_compiler_wl
16095
16096 # Compiler flag to prevent dynamic linking.
16097 link_static_flag=$lt_lt_prog_compiler_static
16098
16099 # Does compiler simultaneously support -c and -o options?
16100 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16101
16102 # Whether or not to add -lc for building shared libraries.
16103 build_libtool_need_lc=$archive_cmds_need_lc
16104
16105 # Whether or not to disallow shared libs when runtime libs are static.
16106 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16107
16108 # Compiler flag to allow reflexive dlopens.
16109 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16110
16111 # Compiler flag to generate shared objects directly from archives.
16112 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16113
16114 # Whether the compiler copes with passing no objects directly.
16115 compiler_needs_object=$lt_compiler_needs_object
16116
16117 # Create an old-style archive from a shared archive.
16118 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16119
16120 # Create a temporary old-style archive to link instead of a shared archive.
16121 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16122
16123 # Commands used to build a shared archive.
16124 archive_cmds=$lt_archive_cmds
16125 archive_expsym_cmds=$lt_archive_expsym_cmds
16126
16127 # Commands used to build a loadable module if different from building
16128 # a shared archive.
16129 module_cmds=$lt_module_cmds
16130 module_expsym_cmds=$lt_module_expsym_cmds
16131
16132 # Whether we are building with GNU ld or not.
16133 with_gnu_ld=$lt_with_gnu_ld
16134
16135 # Flag that allows shared libraries with undefined symbols to be built.
16136 allow_undefined_flag=$lt_allow_undefined_flag
16137
16138 # Flag that enforces no undefined symbols.
16139 no_undefined_flag=$lt_no_undefined_flag
16140
16141 # Flag to hardcode \$libdir into a binary during linking.
16142 # This must work even if \$libdir does not exist
16143 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16144
16145 # Whether we need a single "-rpath" flag with a separated argument.
16146 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16147
16148 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16149 # DIR into the resulting binary.
16150 hardcode_direct=$hardcode_direct
16151
16152 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16153 # DIR into the resulting binary and the resulting library dependency is
16154 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16155 # library is relocated.
16156 hardcode_direct_absolute=$hardcode_direct_absolute
16157
16158 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16159 # into the resulting binary.
16160 hardcode_minus_L=$hardcode_minus_L
16161
16162 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16163 # into the resulting binary.
16164 hardcode_shlibpath_var=$hardcode_shlibpath_var
16165
16166 # Set to "yes" if building a shared library automatically hardcodes DIR
16167 # into the library and all subsequent libraries and executables linked
16168 # against it.
16169 hardcode_automatic=$hardcode_automatic
16170
16171 # Set to yes if linker adds runtime paths of dependent libraries
16172 # to runtime path list.
16173 inherit_rpath=$inherit_rpath
16174
16175 # Whether libtool must link a program against all its dependency libraries.
16176 link_all_deplibs=$link_all_deplibs
16177
16178 # Set to "yes" if exported symbols are required.
16179 always_export_symbols=$always_export_symbols
16180
16181 # The commands to list exported symbols.
16182 export_symbols_cmds=$lt_export_symbols_cmds
16183
16184 # Symbols that should not be listed in the preloaded symbols.
16185 exclude_expsyms=$lt_exclude_expsyms
16186
16187 # Symbols that must always be exported.
16188 include_expsyms=$lt_include_expsyms
16189
16190 # Commands necessary for linking programs (against libraries) with templates.
16191 prelink_cmds=$lt_prelink_cmds
16192
16193 # Commands necessary for finishing linking programs.
16194 postlink_cmds=$lt_postlink_cmds
16195
16196 # Specify filename containing input files.
16197 file_list_spec=$lt_file_list_spec
16198
16199 # How to hardcode a shared library path into an executable.
16200 hardcode_action=$hardcode_action
16201
16202 # ### END LIBTOOL CONFIG
16203
16204 _LT_EOF
16205
16206   case $host_os in
16207   aix3*)
16208     cat <<\_LT_EOF >> "$cfgfile"
16209 # AIX sometimes has problems with the GCC collect2 program.  For some
16210 # reason, if we set the COLLECT_NAMES environment variable, the problems
16211 # vanish in a puff of smoke.
16212 if test "X${COLLECT_NAMES+set}" != Xset; then
16213   COLLECT_NAMES=
16214   export COLLECT_NAMES
16215 fi
16216 _LT_EOF
16217     ;;
16218   esac
16219
16220
16221 ltmain="$ac_aux_dir/ltmain.sh"
16222
16223
16224   # We use sed instead of cat because bash on DJGPP gets confused if
16225   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16226   # text mode, it properly converts lines to CR/LF.  This bash problem
16227   # is reportedly fixed, but why not run on old versions too?
16228   sed '$q' "$ltmain" >> "$cfgfile" \
16229      || (rm -f "$cfgfile"; exit 1)
16230
16231   if test x"$xsi_shell" = xyes; then
16232   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16233 func_dirname ()\
16234 {\
16235 \    case ${1} in\
16236 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16237 \      *  ) func_dirname_result="${3}" ;;\
16238 \    esac\
16239 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16240   && mv -f "$cfgfile.tmp" "$cfgfile" \
16241     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16242 test 0 -eq $? || _lt_function_replace_fail=:
16243
16244
16245   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16246 func_basename ()\
16247 {\
16248 \    func_basename_result="${1##*/}"\
16249 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16250   && mv -f "$cfgfile.tmp" "$cfgfile" \
16251     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16252 test 0 -eq $? || _lt_function_replace_fail=:
16253
16254
16255   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16256 func_dirname_and_basename ()\
16257 {\
16258 \    case ${1} in\
16259 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16260 \      *  ) func_dirname_result="${3}" ;;\
16261 \    esac\
16262 \    func_basename_result="${1##*/}"\
16263 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16264   && mv -f "$cfgfile.tmp" "$cfgfile" \
16265     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16266 test 0 -eq $? || _lt_function_replace_fail=:
16267
16268
16269   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16270 func_stripname ()\
16271 {\
16272 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16273 \    # positional parameters, so assign one to ordinary parameter first.\
16274 \    func_stripname_result=${3}\
16275 \    func_stripname_result=${func_stripname_result#"${1}"}\
16276 \    func_stripname_result=${func_stripname_result%"${2}"}\
16277 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16278   && mv -f "$cfgfile.tmp" "$cfgfile" \
16279     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16280 test 0 -eq $? || _lt_function_replace_fail=:
16281
16282
16283   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16284 func_split_long_opt ()\
16285 {\
16286 \    func_split_long_opt_name=${1%%=*}\
16287 \    func_split_long_opt_arg=${1#*=}\
16288 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16289   && mv -f "$cfgfile.tmp" "$cfgfile" \
16290     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16291 test 0 -eq $? || _lt_function_replace_fail=:
16292
16293
16294   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16295 func_split_short_opt ()\
16296 {\
16297 \    func_split_short_opt_arg=${1#??}\
16298 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16299 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16300   && mv -f "$cfgfile.tmp" "$cfgfile" \
16301     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16302 test 0 -eq $? || _lt_function_replace_fail=:
16303
16304
16305   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16306 func_lo2o ()\
16307 {\
16308 \    case ${1} in\
16309 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16310 \      *)    func_lo2o_result=${1} ;;\
16311 \    esac\
16312 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16313   && mv -f "$cfgfile.tmp" "$cfgfile" \
16314     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16315 test 0 -eq $? || _lt_function_replace_fail=:
16316
16317
16318   sed -e '/^func_xform ()$/,/^} # func_xform /c\
16319 func_xform ()\
16320 {\
16321     func_xform_result=${1%.*}.lo\
16322 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16323   && mv -f "$cfgfile.tmp" "$cfgfile" \
16324     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16325 test 0 -eq $? || _lt_function_replace_fail=:
16326
16327
16328   sed -e '/^func_arith ()$/,/^} # func_arith /c\
16329 func_arith ()\
16330 {\
16331     func_arith_result=$(( $* ))\
16332 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16333   && mv -f "$cfgfile.tmp" "$cfgfile" \
16334     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16335 test 0 -eq $? || _lt_function_replace_fail=:
16336
16337
16338   sed -e '/^func_len ()$/,/^} # func_len /c\
16339 func_len ()\
16340 {\
16341     func_len_result=${#1}\
16342 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16343   && mv -f "$cfgfile.tmp" "$cfgfile" \
16344     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16345 test 0 -eq $? || _lt_function_replace_fail=:
16346
16347 fi
16348
16349 if test x"$lt_shell_append" = xyes; then
16350   sed -e '/^func_append ()$/,/^} # func_append /c\
16351 func_append ()\
16352 {\
16353     eval "${1}+=\\${2}"\
16354 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16355   && mv -f "$cfgfile.tmp" "$cfgfile" \
16356     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16357 test 0 -eq $? || _lt_function_replace_fail=:
16358
16359
16360   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16361 func_append_quoted ()\
16362 {\
16363 \    func_quote_for_eval "${2}"\
16364 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16365 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16366   && mv -f "$cfgfile.tmp" "$cfgfile" \
16367     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16368 test 0 -eq $? || _lt_function_replace_fail=:
16369
16370
16371   # Save a `func_append' function call where possible by direct use of '+='
16372   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16373     && mv -f "$cfgfile.tmp" "$cfgfile" \
16374       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16375   test 0 -eq $? || _lt_function_replace_fail=:
16376 else
16377   # Save a `func_append' function call even when '+=' is not available
16378   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16379     && mv -f "$cfgfile.tmp" "$cfgfile" \
16380       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16381   test 0 -eq $? || _lt_function_replace_fail=:
16382 fi
16383
16384 if test x"$_lt_function_replace_fail" = x":"; then
16385   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16386 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16387 fi
16388
16389
16390    mv -f "$cfgfile" "$ofile" ||
16391     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16392   chmod +x "$ofile"
16393
16394  ;;
16395
16396   esac
16397 done # for ac_tag
16398
16399
16400 as_fn_exit 0
16401 _ACEOF
16402 ac_clean_files=$ac_clean_files_save
16403
16404 test $ac_write_fail = 0 ||
16405   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16406
16407
16408 # configure is writing to config.log, and then calls config.status.
16409 # config.status does its own redirection, appending to config.log.
16410 # Unfortunately, on DOS this fails, as config.log is still kept open
16411 # by configure, so config.status won't be able to write to it; its
16412 # output is simply discarded.  So we exec the FD to /dev/null,
16413 # effectively closing config.log, so it can be properly (re)opened and
16414 # appended to by config.status.  When coming back to configure, we
16415 # need to make the FD available again.
16416 if test "$no_create" != yes; then
16417   ac_cs_success=:
16418   ac_config_status_args=
16419   test "$silent" = yes &&
16420     ac_config_status_args="$ac_config_status_args --quiet"
16421   exec 5>/dev/null
16422   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16423   exec 5>>config.log
16424   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16425   # would make configure fail if this is the last instruction.
16426   $ac_cs_success || as_fn_exit 1
16427 fi
16428 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16429   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16430 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16431 fi
16432
16433
16434
16435 #####################################################################
16436 ## Info
16437
16438 echo
16439 echo
16440 echo
16441 echo "------------------------------------------------------------------------"
16442 echo "$PACKAGE $VERSION"
16443 echo "------------------------------------------------------------------------"
16444 echo
16445 echo "Configuration Options Summary:"
16446 if test "x$eeze_mount" = "xyes";then
16447   echo
16448   echo "Mount..................: ${with_mount}"
16449   echo "Umount.................: ${with_umount}"
16450   echo "Eject..................: ${with_eject}"
16451   echo
16452 fi
16453 echo "Tests..................: ${have_eeze_udev_test}"
16454 echo
16455 echo "Demos..................:"
16456 echo "  eeze_mount...........: ${have_eeze_mount}"
16457 echo "  eeze_umount..........: ${have_eeze_umount}"
16458 echo "  eeze_disk_ls.........: ${have_eeze_disk_ls}"
16459 echo
16460 echo "Utilities..............:"
16461 echo "  eeze_scanner.........: ${have_eeze_scanner}"
16462 echo
16463 echo "IPv6...................: ${have_ipv6}"
16464 echo
16465 echo "Documentation..........: ${build_doc}"
16466 echo
16467 echo "Compilation............: make (or gmake)"
16468 echo "  CPPFLAGS.............: $CPPFLAGS"
16469 echo "  CFLAGS...............: $CFLAGS"
16470 echo "  LDFLAGS..............: $LDFLAGS"
16471 echo
16472 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16473 echo "  prefix...............: $prefix"
16474 echo
16475