Imported Upstream version 1.7.7
[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.7.
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.7'
574 PACKAGE_STRING='eeze 1.7.7'
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.7 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.7:";;
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.7
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.7, 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.7'
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*)
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   esac
8615
8616   ld_shlibs=yes
8617
8618   # On some targets, GNU ld is compatible enough with the native linker
8619   # that we're better off using the native interface for both.
8620   lt_use_gnu_ld_interface=no
8621   if test "$with_gnu_ld" = yes; then
8622     case $host_os in
8623       aix*)
8624         # The AIX port of GNU ld has always aspired to compatibility
8625         # with the native linker.  However, as the warning in the GNU ld
8626         # block says, versions before 2.19.5* couldn't really create working
8627         # shared libraries, regardless of the interface used.
8628         case `$LD -v 2>&1` in
8629           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8630           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8631           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8632           *)
8633             lt_use_gnu_ld_interface=yes
8634             ;;
8635         esac
8636         ;;
8637       *)
8638         lt_use_gnu_ld_interface=yes
8639         ;;
8640     esac
8641   fi
8642
8643   if test "$lt_use_gnu_ld_interface" = yes; then
8644     # If archive_cmds runs LD, not CC, wlarc should be empty
8645     wlarc='${wl}'
8646
8647     # Set some defaults for GNU ld with shared library support. These
8648     # are reset later if shared libraries are not supported. Putting them
8649     # here allows them to be overridden if necessary.
8650     runpath_var=LD_RUN_PATH
8651     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8652     export_dynamic_flag_spec='${wl}--export-dynamic'
8653     # ancient GNU ld didn't support --whole-archive et. al.
8654     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8655       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8656     else
8657       whole_archive_flag_spec=
8658     fi
8659     supports_anon_versioning=no
8660     case `$LD -v 2>&1` in
8661       *GNU\ gold*) supports_anon_versioning=yes ;;
8662       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8663       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8664       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8665       *\ 2.11.*) ;; # other 2.11 versions
8666       *) supports_anon_versioning=yes ;;
8667     esac
8668
8669     # See if GNU ld supports shared libraries.
8670     case $host_os in
8671     aix[3-9]*)
8672       # On AIX/PPC, the GNU linker is very broken
8673       if test "$host_cpu" != ia64; then
8674         ld_shlibs=no
8675         cat <<_LT_EOF 1>&2
8676
8677 *** Warning: the GNU linker, at least up to release 2.19, is reported
8678 *** to be unable to reliably create shared libraries on AIX.
8679 *** Therefore, libtool is disabling shared libraries support.  If you
8680 *** really care for shared libraries, you may want to install binutils
8681 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8682 *** You will then need to restart the configuration process.
8683
8684 _LT_EOF
8685       fi
8686       ;;
8687
8688     amigaos*)
8689       case $host_cpu in
8690       powerpc)
8691             # see comment about AmigaOS4 .so support
8692             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8693             archive_expsym_cmds=''
8694         ;;
8695       m68k)
8696             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)'
8697             hardcode_libdir_flag_spec='-L$libdir'
8698             hardcode_minus_L=yes
8699         ;;
8700       esac
8701       ;;
8702
8703     beos*)
8704       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8705         allow_undefined_flag=unsupported
8706         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8707         # support --undefined.  This deserves some investigation.  FIXME
8708         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8709       else
8710         ld_shlibs=no
8711       fi
8712       ;;
8713
8714     cygwin* | mingw* | pw32* | cegcc*)
8715       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8716       # as there is no search path for DLLs.
8717       hardcode_libdir_flag_spec='-L$libdir'
8718       export_dynamic_flag_spec='${wl}--export-all-symbols'
8719       allow_undefined_flag=unsupported
8720       always_export_symbols=no
8721       enable_shared_with_static_runtimes=yes
8722       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'
8723       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8724
8725       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8726         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8727         # If the export-symbols file already is a .def file (1st line
8728         # is EXPORTS), use it as is; otherwise, prepend...
8729         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8730           cp $export_symbols $output_objdir/$soname.def;
8731         else
8732           echo EXPORTS > $output_objdir/$soname.def;
8733           cat $export_symbols >> $output_objdir/$soname.def;
8734         fi~
8735         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8736       else
8737         ld_shlibs=no
8738       fi
8739       ;;
8740
8741     haiku*)
8742       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8743       link_all_deplibs=yes
8744       ;;
8745
8746     interix[3-9]*)
8747       hardcode_direct=no
8748       hardcode_shlibpath_var=no
8749       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8750       export_dynamic_flag_spec='${wl}-E'
8751       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8752       # Instead, shared libraries are loaded at an image base (0x10000000 by
8753       # default) and relocated if they conflict, which is a slow very memory
8754       # consuming and fragmenting process.  To avoid this, we pick a random,
8755       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8756       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8757       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8758       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'
8759       ;;
8760
8761     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8762       tmp_diet=no
8763       if test "$host_os" = linux-dietlibc; then
8764         case $cc_basename in
8765           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8766         esac
8767       fi
8768       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8769          && test "$tmp_diet" = no
8770       then
8771         tmp_addflag=' $pic_flag'
8772         tmp_sharedflag='-shared'
8773         case $cc_basename,$host_cpu in
8774         pgcc*)                          # Portland Group C compiler
8775           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'
8776           tmp_addflag=' $pic_flag'
8777           ;;
8778         pgf77* | pgf90* | pgf95* | pgfortran*)
8779                                         # Portland Group f77 and f90 compilers
8780           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'
8781           tmp_addflag=' $pic_flag -Mnomain' ;;
8782         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8783           tmp_addflag=' -i_dynamic' ;;
8784         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8785           tmp_addflag=' -i_dynamic -nofor_main' ;;
8786         ifc* | ifort*)                  # Intel Fortran compiler
8787           tmp_addflag=' -nofor_main' ;;
8788         lf95*)                          # Lahey Fortran 8.1
8789           whole_archive_flag_spec=
8790           tmp_sharedflag='--shared' ;;
8791         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8792           tmp_sharedflag='-qmkshrobj'
8793           tmp_addflag= ;;
8794         nvcc*)  # Cuda Compiler Driver 2.2
8795           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'
8796           compiler_needs_object=yes
8797           ;;
8798         esac
8799         case `$CC -V 2>&1 | sed 5q` in
8800         *Sun\ C*)                       # Sun C 5.9
8801           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'
8802           compiler_needs_object=yes
8803           tmp_sharedflag='-G' ;;
8804         *Sun\ F*)                       # Sun Fortran 8.3
8805           tmp_sharedflag='-G' ;;
8806         esac
8807         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8808
8809         if test "x$supports_anon_versioning" = xyes; then
8810           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8811             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8812             echo "local: *; };" >> $output_objdir/$libname.ver~
8813             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8814         fi
8815
8816         case $cc_basename in
8817         xlf* | bgf* | bgxlf* | mpixlf*)
8818           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8819           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8820           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8821           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8822           if test "x$supports_anon_versioning" = xyes; then
8823             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8824               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8825               echo "local: *; };" >> $output_objdir/$libname.ver~
8826               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8827           fi
8828           ;;
8829         esac
8830       else
8831         ld_shlibs=no
8832       fi
8833       ;;
8834
8835     netbsd*)
8836       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8837         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8838         wlarc=
8839       else
8840         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8841         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8842       fi
8843       ;;
8844
8845     solaris*)
8846       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8847         ld_shlibs=no
8848         cat <<_LT_EOF 1>&2
8849
8850 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8851 *** create shared libraries on Solaris systems.  Therefore, libtool
8852 *** is disabling shared libraries support.  We urge you to upgrade GNU
8853 *** binutils to release 2.9.1 or newer.  Another option is to modify
8854 *** your PATH or compiler configuration so that the native linker is
8855 *** used, and then restart.
8856
8857 _LT_EOF
8858       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8859         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8860         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8861       else
8862         ld_shlibs=no
8863       fi
8864       ;;
8865
8866     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8867       case `$LD -v 2>&1` in
8868         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8869         ld_shlibs=no
8870         cat <<_LT_EOF 1>&2
8871
8872 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8873 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8874 *** is disabling shared libraries support.  We urge you to upgrade GNU
8875 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8876 *** your PATH or compiler configuration so that the native linker is
8877 *** used, and then restart.
8878
8879 _LT_EOF
8880         ;;
8881         *)
8882           # For security reasons, it is highly recommended that you always
8883           # use absolute paths for naming shared libraries, and exclude the
8884           # DT_RUNPATH tag from executables and libraries.  But doing so
8885           # requires that you compile everything twice, which is a pain.
8886           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8887             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8888             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8889             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8890           else
8891             ld_shlibs=no
8892           fi
8893         ;;
8894       esac
8895       ;;
8896
8897     sunos4*)
8898       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8899       wlarc=
8900       hardcode_direct=yes
8901       hardcode_shlibpath_var=no
8902       ;;
8903
8904     *)
8905       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8906         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8907         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8908       else
8909         ld_shlibs=no
8910       fi
8911       ;;
8912     esac
8913
8914     if test "$ld_shlibs" = no; then
8915       runpath_var=
8916       hardcode_libdir_flag_spec=
8917       export_dynamic_flag_spec=
8918       whole_archive_flag_spec=
8919     fi
8920   else
8921     # PORTME fill in a description of your system's linker (not GNU ld)
8922     case $host_os in
8923     aix3*)
8924       allow_undefined_flag=unsupported
8925       always_export_symbols=yes
8926       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'
8927       # Note: this linker hardcodes the directories in LIBPATH if there
8928       # are no directories specified by -L.
8929       hardcode_minus_L=yes
8930       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8931         # Neither direct hardcoding nor static linking is supported with a
8932         # broken collect2.
8933         hardcode_direct=unsupported
8934       fi
8935       ;;
8936
8937     aix[4-9]*)
8938       if test "$host_cpu" = ia64; then
8939         # On IA64, the linker does run time linking by default, so we don't
8940         # have to do anything special.
8941         aix_use_runtimelinking=no
8942         exp_sym_flag='-Bexport'
8943         no_entry_flag=""
8944       else
8945         # If we're using GNU nm, then we don't want the "-C" option.
8946         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8947         # Also, AIX nm treats weak defined symbols like other global
8948         # defined symbols, whereas GNU nm marks them as "W".
8949         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8950           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'
8951         else
8952           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'
8953         fi
8954         aix_use_runtimelinking=no
8955
8956         # Test if we are trying to use run time linking or normal
8957         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8958         # need to do runtime linking.
8959         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8960           for ld_flag in $LDFLAGS; do
8961           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8962             aix_use_runtimelinking=yes
8963             break
8964           fi
8965           done
8966           ;;
8967         esac
8968
8969         exp_sym_flag='-bexport'
8970         no_entry_flag='-bnoentry'
8971       fi
8972
8973       # When large executables or shared objects are built, AIX ld can
8974       # have problems creating the table of contents.  If linking a library
8975       # or program results in "error TOC overflow" add -mminimal-toc to
8976       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8977       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8978
8979       archive_cmds=''
8980       hardcode_direct=yes
8981       hardcode_direct_absolute=yes
8982       hardcode_libdir_separator=':'
8983       link_all_deplibs=yes
8984       file_list_spec='${wl}-f,'
8985
8986       if test "$GCC" = yes; then
8987         case $host_os in aix4.[012]|aix4.[012].*)
8988         # We only want to do this on AIX 4.2 and lower, the check
8989         # below for broken collect2 doesn't work under 4.3+
8990           collect2name=`${CC} -print-prog-name=collect2`
8991           if test -f "$collect2name" &&
8992            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8993           then
8994           # We have reworked collect2
8995           :
8996           else
8997           # We have old collect2
8998           hardcode_direct=unsupported
8999           # It fails to find uninstalled libraries when the uninstalled
9000           # path is not listed in the libpath.  Setting hardcode_minus_L
9001           # to unsupported forces relinking
9002           hardcode_minus_L=yes
9003           hardcode_libdir_flag_spec='-L$libdir'
9004           hardcode_libdir_separator=
9005           fi
9006           ;;
9007         esac
9008         shared_flag='-shared'
9009         if test "$aix_use_runtimelinking" = yes; then
9010           shared_flag="$shared_flag "'${wl}-G'
9011         fi
9012       else
9013         # not using gcc
9014         if test "$host_cpu" = ia64; then
9015         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9016         # chokes on -Wl,-G. The following line is correct:
9017           shared_flag='-G'
9018         else
9019           if test "$aix_use_runtimelinking" = yes; then
9020             shared_flag='${wl}-G'
9021           else
9022             shared_flag='${wl}-bM:SRE'
9023           fi
9024         fi
9025       fi
9026
9027       export_dynamic_flag_spec='${wl}-bexpall'
9028       # It seems that -bexpall does not export symbols beginning with
9029       # underscore (_), so it is better to generate a list of symbols to export.
9030       always_export_symbols=yes
9031       if test "$aix_use_runtimelinking" = yes; then
9032         # Warning - without using the other runtime loading flags (-brtl),
9033         # -berok will link without error, but may produce a broken library.
9034         allow_undefined_flag='-berok'
9035         # Determine the default libpath from the value encoded in an
9036         # empty executable.
9037         if test "${lt_cv_aix_libpath+set}" = set; then
9038   aix_libpath=$lt_cv_aix_libpath
9039 else
9040   if ${lt_cv_aix_libpath_+:} false; then :
9041   $as_echo_n "(cached) " >&6
9042 else
9043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h.  */
9045
9046 int
9047 main ()
9048 {
9049
9050   ;
9051   return 0;
9052 }
9053 _ACEOF
9054 if ac_fn_c_try_link "$LINENO"; then :
9055
9056   lt_aix_libpath_sed='
9057       /Import File Strings/,/^$/ {
9058           /^0/ {
9059               s/^0  *\([^ ]*\) *$/\1/
9060               p
9061           }
9062       }'
9063   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9064   # Check for a 64-bit object if we didn't find anything.
9065   if test -z "$lt_cv_aix_libpath_"; then
9066     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9067   fi
9068 fi
9069 rm -f core conftest.err conftest.$ac_objext \
9070     conftest$ac_exeext conftest.$ac_ext
9071   if test -z "$lt_cv_aix_libpath_"; then
9072     lt_cv_aix_libpath_="/usr/lib:/lib"
9073   fi
9074
9075 fi
9076
9077   aix_libpath=$lt_cv_aix_libpath_
9078 fi
9079
9080         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9081         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"
9082       else
9083         if test "$host_cpu" = ia64; then
9084           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9085           allow_undefined_flag="-z nodefs"
9086           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"
9087         else
9088          # Determine the default libpath from the value encoded in an
9089          # empty executable.
9090          if test "${lt_cv_aix_libpath+set}" = set; then
9091   aix_libpath=$lt_cv_aix_libpath
9092 else
9093   if ${lt_cv_aix_libpath_+:} false; then :
9094   $as_echo_n "(cached) " >&6
9095 else
9096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h.  */
9098
9099 int
9100 main ()
9101 {
9102
9103   ;
9104   return 0;
9105 }
9106 _ACEOF
9107 if ac_fn_c_try_link "$LINENO"; then :
9108
9109   lt_aix_libpath_sed='
9110       /Import File Strings/,/^$/ {
9111           /^0/ {
9112               s/^0  *\([^ ]*\) *$/\1/
9113               p
9114           }
9115       }'
9116   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9117   # Check for a 64-bit object if we didn't find anything.
9118   if test -z "$lt_cv_aix_libpath_"; then
9119     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9120   fi
9121 fi
9122 rm -f core conftest.err conftest.$ac_objext \
9123     conftest$ac_exeext conftest.$ac_ext
9124   if test -z "$lt_cv_aix_libpath_"; then
9125     lt_cv_aix_libpath_="/usr/lib:/lib"
9126   fi
9127
9128 fi
9129
9130   aix_libpath=$lt_cv_aix_libpath_
9131 fi
9132
9133          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9134           # Warning - without using the other run time loading flags,
9135           # -berok will link without error, but may produce a broken library.
9136           no_undefined_flag=' ${wl}-bernotok'
9137           allow_undefined_flag=' ${wl}-berok'
9138           if test "$with_gnu_ld" = yes; then
9139             # We only use this code for GNU lds that support --whole-archive.
9140             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9141           else
9142             # Exported symbols can be pulled into shared objects from archives
9143             whole_archive_flag_spec='$convenience'
9144           fi
9145           archive_cmds_need_lc=yes
9146           # This is similar to how AIX traditionally builds its shared libraries.
9147           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'
9148         fi
9149       fi
9150       ;;
9151
9152     amigaos*)
9153       case $host_cpu in
9154       powerpc)
9155             # see comment about AmigaOS4 .so support
9156             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9157             archive_expsym_cmds=''
9158         ;;
9159       m68k)
9160             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)'
9161             hardcode_libdir_flag_spec='-L$libdir'
9162             hardcode_minus_L=yes
9163         ;;
9164       esac
9165       ;;
9166
9167     bsdi[45]*)
9168       export_dynamic_flag_spec=-rdynamic
9169       ;;
9170
9171     cygwin* | mingw* | pw32* | cegcc*)
9172       # When not using gcc, we currently assume that we are using
9173       # Microsoft Visual C++.
9174       # hardcode_libdir_flag_spec is actually meaningless, as there is
9175       # no search path for DLLs.
9176       case $cc_basename in
9177       cl*)
9178         # Native MSVC
9179         hardcode_libdir_flag_spec=' '
9180         allow_undefined_flag=unsupported
9181         always_export_symbols=yes
9182         file_list_spec='@'
9183         # Tell ltmain to make .lib files, not .a files.
9184         libext=lib
9185         # Tell ltmain to make .dll files, not .so files.
9186         shrext_cmds=".dll"
9187         # FIXME: Setting linknames here is a bad hack.
9188         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9189         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9190             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9191           else
9192             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9193           fi~
9194           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9195           linknames='
9196         # The linker will not automatically build a static lib if we build a DLL.
9197         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9198         enable_shared_with_static_runtimes=yes
9199         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9200         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9201         # Don't use ranlib
9202         old_postinstall_cmds='chmod 644 $oldlib'
9203         postlink_cmds='lt_outputfile="@OUTPUT@"~
9204           lt_tool_outputfile="@TOOL_OUTPUT@"~
9205           case $lt_outputfile in
9206             *.exe|*.EXE) ;;
9207             *)
9208               lt_outputfile="$lt_outputfile.exe"
9209               lt_tool_outputfile="$lt_tool_outputfile.exe"
9210               ;;
9211           esac~
9212           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9213             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9214             $RM "$lt_outputfile.manifest";
9215           fi'
9216         ;;
9217       *)
9218         # Assume MSVC wrapper
9219         hardcode_libdir_flag_spec=' '
9220         allow_undefined_flag=unsupported
9221         # Tell ltmain to make .lib files, not .a files.
9222         libext=lib
9223         # Tell ltmain to make .dll files, not .so files.
9224         shrext_cmds=".dll"
9225         # FIXME: Setting linknames here is a bad hack.
9226         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9227         # The linker will automatically build a .lib file if we build a DLL.
9228         old_archive_from_new_cmds='true'
9229         # FIXME: Should let the user specify the lib program.
9230         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9231         enable_shared_with_static_runtimes=yes
9232         ;;
9233       esac
9234       ;;
9235
9236     darwin* | rhapsody*)
9237
9238
9239   archive_cmds_need_lc=no
9240   hardcode_direct=no
9241   hardcode_automatic=yes
9242   hardcode_shlibpath_var=unsupported
9243   if test "$lt_cv_ld_force_load" = "yes"; then
9244     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\"`'
9245
9246   else
9247     whole_archive_flag_spec=''
9248   fi
9249   link_all_deplibs=yes
9250   allow_undefined_flag="$_lt_dar_allow_undefined"
9251   case $cc_basename in
9252      ifort*) _lt_dar_can_shared=yes ;;
9253      *) _lt_dar_can_shared=$GCC ;;
9254   esac
9255   if test "$_lt_dar_can_shared" = "yes"; then
9256     output_verbose_link_cmd=func_echo_all
9257     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9258     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9259     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}"
9260     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}"
9261
9262   else
9263   ld_shlibs=no
9264   fi
9265
9266       ;;
9267
9268     dgux*)
9269       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9270       hardcode_libdir_flag_spec='-L$libdir'
9271       hardcode_shlibpath_var=no
9272       ;;
9273
9274     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9275     # support.  Future versions do this automatically, but an explicit c++rt0.o
9276     # does not break anything, and helps significantly (at the cost of a little
9277     # extra space).
9278     freebsd2.2*)
9279       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9280       hardcode_libdir_flag_spec='-R$libdir'
9281       hardcode_direct=yes
9282       hardcode_shlibpath_var=no
9283       ;;
9284
9285     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9286     freebsd2.*)
9287       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9288       hardcode_direct=yes
9289       hardcode_minus_L=yes
9290       hardcode_shlibpath_var=no
9291       ;;
9292
9293     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9294     freebsd* | dragonfly*)
9295       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9296       hardcode_libdir_flag_spec='-R$libdir'
9297       hardcode_direct=yes
9298       hardcode_shlibpath_var=no
9299       ;;
9300
9301     hpux9*)
9302       if test "$GCC" = yes; then
9303         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'
9304       else
9305         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'
9306       fi
9307       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9308       hardcode_libdir_separator=:
9309       hardcode_direct=yes
9310
9311       # hardcode_minus_L: Not really in the search PATH,
9312       # but as the default location of the library.
9313       hardcode_minus_L=yes
9314       export_dynamic_flag_spec='${wl}-E'
9315       ;;
9316
9317     hpux10*)
9318       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9319         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9320       else
9321         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9322       fi
9323       if test "$with_gnu_ld" = no; then
9324         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9325         hardcode_libdir_separator=:
9326         hardcode_direct=yes
9327         hardcode_direct_absolute=yes
9328         export_dynamic_flag_spec='${wl}-E'
9329         # hardcode_minus_L: Not really in the search PATH,
9330         # but as the default location of the library.
9331         hardcode_minus_L=yes
9332       fi
9333       ;;
9334
9335     hpux11*)
9336       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9337         case $host_cpu in
9338         hppa*64*)
9339           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9340           ;;
9341         ia64*)
9342           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9343           ;;
9344         *)
9345           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9346           ;;
9347         esac
9348       else
9349         case $host_cpu in
9350         hppa*64*)
9351           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9352           ;;
9353         ia64*)
9354           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9355           ;;
9356         *)
9357
9358           # Older versions of the 11.00 compiler do not understand -b yet
9359           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9360           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9361 $as_echo_n "checking if $CC understands -b... " >&6; }
9362 if ${lt_cv_prog_compiler__b+:} false; then :
9363   $as_echo_n "(cached) " >&6
9364 else
9365   lt_cv_prog_compiler__b=no
9366    save_LDFLAGS="$LDFLAGS"
9367    LDFLAGS="$LDFLAGS -b"
9368    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9369    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9370      # The linker can only warn and ignore the option if not recognized
9371      # So say no if there are warnings
9372      if test -s conftest.err; then
9373        # Append any errors to the config.log.
9374        cat conftest.err 1>&5
9375        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9376        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9377        if diff conftest.exp conftest.er2 >/dev/null; then
9378          lt_cv_prog_compiler__b=yes
9379        fi
9380      else
9381        lt_cv_prog_compiler__b=yes
9382      fi
9383    fi
9384    $RM -r conftest*
9385    LDFLAGS="$save_LDFLAGS"
9386
9387 fi
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9389 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9390
9391 if test x"$lt_cv_prog_compiler__b" = xyes; then
9392     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9393 else
9394     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9395 fi
9396
9397           ;;
9398         esac
9399       fi
9400       if test "$with_gnu_ld" = no; then
9401         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9402         hardcode_libdir_separator=:
9403
9404         case $host_cpu in
9405         hppa*64*|ia64*)
9406           hardcode_direct=no
9407           hardcode_shlibpath_var=no
9408           ;;
9409         *)
9410           hardcode_direct=yes
9411           hardcode_direct_absolute=yes
9412           export_dynamic_flag_spec='${wl}-E'
9413
9414           # hardcode_minus_L: Not really in the search PATH,
9415           # but as the default location of the library.
9416           hardcode_minus_L=yes
9417           ;;
9418         esac
9419       fi
9420       ;;
9421
9422     irix5* | irix6* | nonstopux*)
9423       if test "$GCC" = yes; then
9424         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'
9425         # Try to use the -exported_symbol ld option, if it does not
9426         # work, assume that -exports_file does not work either and
9427         # implicitly export all symbols.
9428         # This should be the same for all languages, so no per-tag cache variable.
9429         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9430 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9431 if ${lt_cv_irix_exported_symbol+:} false; then :
9432   $as_echo_n "(cached) " >&6
9433 else
9434   save_LDFLAGS="$LDFLAGS"
9435            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9436            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h.  */
9438 int foo (void) { return 0; }
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441   lt_cv_irix_exported_symbol=yes
9442 else
9443   lt_cv_irix_exported_symbol=no
9444 fi
9445 rm -f core conftest.err conftest.$ac_objext \
9446     conftest$ac_exeext conftest.$ac_ext
9447            LDFLAGS="$save_LDFLAGS"
9448 fi
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9450 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9451         if test "$lt_cv_irix_exported_symbol" = yes; then
9452           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'
9453         fi
9454       else
9455         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'
9456         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'
9457       fi
9458       archive_cmds_need_lc='no'
9459       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9460       hardcode_libdir_separator=:
9461       inherit_rpath=yes
9462       link_all_deplibs=yes
9463       ;;
9464
9465     netbsd*)
9466       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9467         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9468       else
9469         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9470       fi
9471       hardcode_libdir_flag_spec='-R$libdir'
9472       hardcode_direct=yes
9473       hardcode_shlibpath_var=no
9474       ;;
9475
9476     newsos6)
9477       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9478       hardcode_direct=yes
9479       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9480       hardcode_libdir_separator=:
9481       hardcode_shlibpath_var=no
9482       ;;
9483
9484     *nto* | *qnx*)
9485       ;;
9486
9487     openbsd*)
9488       if test -f /usr/libexec/ld.so; then
9489         hardcode_direct=yes
9490         hardcode_shlibpath_var=no
9491         hardcode_direct_absolute=yes
9492         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9493           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9494           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9495           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9496           export_dynamic_flag_spec='${wl}-E'
9497         else
9498           case $host_os in
9499            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9500              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9501              hardcode_libdir_flag_spec='-R$libdir'
9502              ;;
9503            *)
9504              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9505              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9506              ;;
9507           esac
9508         fi
9509       else
9510         ld_shlibs=no
9511       fi
9512       ;;
9513
9514     os2*)
9515       hardcode_libdir_flag_spec='-L$libdir'
9516       hardcode_minus_L=yes
9517       allow_undefined_flag=unsupported
9518       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'
9519       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9520       ;;
9521
9522     osf3*)
9523       if test "$GCC" = yes; then
9524         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9525         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'
9526       else
9527         allow_undefined_flag=' -expect_unresolved \*'
9528         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'
9529       fi
9530       archive_cmds_need_lc='no'
9531       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9532       hardcode_libdir_separator=:
9533       ;;
9534
9535     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9536       if test "$GCC" = yes; then
9537         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9538         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'
9539         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9540       else
9541         allow_undefined_flag=' -expect_unresolved \*'
9542         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'
9543         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~
9544         $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'
9545
9546         # Both c and cxx compiler support -rpath directly
9547         hardcode_libdir_flag_spec='-rpath $libdir'
9548       fi
9549       archive_cmds_need_lc='no'
9550       hardcode_libdir_separator=:
9551       ;;
9552
9553     solaris*)
9554       no_undefined_flag=' -z defs'
9555       if test "$GCC" = yes; then
9556         wlarc='${wl}'
9557         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9558         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9559           $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'
9560       else
9561         case `$CC -V 2>&1` in
9562         *"Compilers 5.0"*)
9563           wlarc=''
9564           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9565           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9566           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9567           ;;
9568         *)
9569           wlarc='${wl}'
9570           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9571           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9572           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9573           ;;
9574         esac
9575       fi
9576       hardcode_libdir_flag_spec='-R$libdir'
9577       hardcode_shlibpath_var=no
9578       case $host_os in
9579       solaris2.[0-5] | solaris2.[0-5].*) ;;
9580       *)
9581         # The compiler driver will combine and reorder linker options,
9582         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9583         # but is careful enough not to reorder.
9584         # Supported since Solaris 2.6 (maybe 2.5.1?)
9585         if test "$GCC" = yes; then
9586           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9587         else
9588           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9589         fi
9590         ;;
9591       esac
9592       link_all_deplibs=yes
9593       ;;
9594
9595     sunos4*)
9596       if test "x$host_vendor" = xsequent; then
9597         # Use $CC to link under sequent, because it throws in some extra .o
9598         # files that make .init and .fini sections work.
9599         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9600       else
9601         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9602       fi
9603       hardcode_libdir_flag_spec='-L$libdir'
9604       hardcode_direct=yes
9605       hardcode_minus_L=yes
9606       hardcode_shlibpath_var=no
9607       ;;
9608
9609     sysv4)
9610       case $host_vendor in
9611         sni)
9612           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9613           hardcode_direct=yes # is this really true???
9614         ;;
9615         siemens)
9616           ## LD is ld it makes a PLAMLIB
9617           ## CC just makes a GrossModule.
9618           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9619           reload_cmds='$CC -r -o $output$reload_objs'
9620           hardcode_direct=no
9621         ;;
9622         motorola)
9623           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9624           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9625         ;;
9626       esac
9627       runpath_var='LD_RUN_PATH'
9628       hardcode_shlibpath_var=no
9629       ;;
9630
9631     sysv4.3*)
9632       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9633       hardcode_shlibpath_var=no
9634       export_dynamic_flag_spec='-Bexport'
9635       ;;
9636
9637     sysv4*MP*)
9638       if test -d /usr/nec; then
9639         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9640         hardcode_shlibpath_var=no
9641         runpath_var=LD_RUN_PATH
9642         hardcode_runpath_var=yes
9643         ld_shlibs=yes
9644       fi
9645       ;;
9646
9647     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9648       no_undefined_flag='${wl}-z,text'
9649       archive_cmds_need_lc=no
9650       hardcode_shlibpath_var=no
9651       runpath_var='LD_RUN_PATH'
9652
9653       if test "$GCC" = yes; then
9654         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9655         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9656       else
9657         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9658         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9659       fi
9660       ;;
9661
9662     sysv5* | sco3.2v5* | sco5v6*)
9663       # Note: We can NOT use -z defs as we might desire, because we do not
9664       # link with -lc, and that would cause any symbols used from libc to
9665       # always be unresolved, which means just about no library would
9666       # ever link correctly.  If we're not using GNU ld we use -z text
9667       # though, which does catch some bad symbols but isn't as heavy-handed
9668       # as -z defs.
9669       no_undefined_flag='${wl}-z,text'
9670       allow_undefined_flag='${wl}-z,nodefs'
9671       archive_cmds_need_lc=no
9672       hardcode_shlibpath_var=no
9673       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9674       hardcode_libdir_separator=':'
9675       link_all_deplibs=yes
9676       export_dynamic_flag_spec='${wl}-Bexport'
9677       runpath_var='LD_RUN_PATH'
9678
9679       if test "$GCC" = yes; then
9680         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9681         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9682       else
9683         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9684         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9685       fi
9686       ;;
9687
9688     uts4*)
9689       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9690       hardcode_libdir_flag_spec='-L$libdir'
9691       hardcode_shlibpath_var=no
9692       ;;
9693
9694     *)
9695       ld_shlibs=no
9696       ;;
9697     esac
9698
9699     if test x$host_vendor = xsni; then
9700       case $host in
9701       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9702         export_dynamic_flag_spec='${wl}-Blargedynsym'
9703         ;;
9704       esac
9705     fi
9706   fi
9707
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9709 $as_echo "$ld_shlibs" >&6; }
9710 test "$ld_shlibs" = no && can_build_shared=no
9711
9712 with_gnu_ld=$with_gnu_ld
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728 #
9729 # Do we need to explicitly link libc?
9730 #
9731 case "x$archive_cmds_need_lc" in
9732 x|xyes)
9733   # Assume -lc should be added
9734   archive_cmds_need_lc=yes
9735
9736   if test "$enable_shared" = yes && test "$GCC" = yes; then
9737     case $archive_cmds in
9738     *'~'*)
9739       # FIXME: we may have to deal with multi-command sequences.
9740       ;;
9741     '$CC '*)
9742       # Test whether the compiler implicitly links with -lc since on some
9743       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9744       # to ld, don't add -lc before -lgcc.
9745       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9746 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9747 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9748   $as_echo_n "(cached) " >&6
9749 else
9750   $RM conftest*
9751         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9752
9753         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9754   (eval $ac_compile) 2>&5
9755   ac_status=$?
9756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9757   test $ac_status = 0; } 2>conftest.err; then
9758           soname=conftest
9759           lib=conftest
9760           libobjs=conftest.$ac_objext
9761           deplibs=
9762           wl=$lt_prog_compiler_wl
9763           pic_flag=$lt_prog_compiler_pic
9764           compiler_flags=-v
9765           linker_flags=-v
9766           verstring=
9767           output_objdir=.
9768           libname=conftest
9769           lt_save_allow_undefined_flag=$allow_undefined_flag
9770           allow_undefined_flag=
9771           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9772   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9773   ac_status=$?
9774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9775   test $ac_status = 0; }
9776           then
9777             lt_cv_archive_cmds_need_lc=no
9778           else
9779             lt_cv_archive_cmds_need_lc=yes
9780           fi
9781           allow_undefined_flag=$lt_save_allow_undefined_flag
9782         else
9783           cat conftest.err 1>&5
9784         fi
9785         $RM conftest*
9786
9787 fi
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9789 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9790       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9791       ;;
9792     esac
9793   fi
9794   ;;
9795 esac
9796
9797
9798
9799
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9949 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9950
9951 if test "$GCC" = yes; then
9952   case $host_os in
9953     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9954     *) lt_awk_arg="/^libraries:/" ;;
9955   esac
9956   case $host_os in
9957     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9958     *) lt_sed_strip_eq="s,=/,/,g" ;;
9959   esac
9960   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9961   case $lt_search_path_spec in
9962   *\;*)
9963     # if the path contains ";" then we assume it to be the separator
9964     # otherwise default to the standard path separator (i.e. ":") - it is
9965     # assumed that no part of a normal pathname contains ";" but that should
9966     # okay in the real world where ";" in dirpaths is itself problematic.
9967     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9968     ;;
9969   *)
9970     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9971     ;;
9972   esac
9973   # Ok, now we have the path, separated by spaces, we can step through it
9974   # and add multilib dir if necessary.
9975   lt_tmp_lt_search_path_spec=
9976   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9977   for lt_sys_path in $lt_search_path_spec; do
9978     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9979       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9980     else
9981       test -d "$lt_sys_path" && \
9982         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9983     fi
9984   done
9985   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9986 BEGIN {RS=" "; FS="/|\n";} {
9987   lt_foo="";
9988   lt_count=0;
9989   for (lt_i = NF; lt_i > 0; lt_i--) {
9990     if ($lt_i != "" && $lt_i != ".") {
9991       if ($lt_i == "..") {
9992         lt_count++;
9993       } else {
9994         if (lt_count == 0) {
9995           lt_foo="/" $lt_i lt_foo;
9996         } else {
9997           lt_count--;
9998         }
9999       }
10000     }
10001   }
10002   if (lt_foo != "") { lt_freq[lt_foo]++; }
10003   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10004 }'`
10005   # AWK program above erroneously prepends '/' to C:/dos/paths
10006   # for these hosts.
10007   case $host_os in
10008     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10009       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10010   esac
10011   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10012 else
10013   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10014 fi
10015 library_names_spec=
10016 libname_spec='lib$name'
10017 soname_spec=
10018 shrext_cmds=".so"
10019 postinstall_cmds=
10020 postuninstall_cmds=
10021 finish_cmds=
10022 finish_eval=
10023 shlibpath_var=
10024 shlibpath_overrides_runpath=unknown
10025 version_type=none
10026 dynamic_linker="$host_os ld.so"
10027 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10028 need_lib_prefix=unknown
10029 hardcode_into_libs=no
10030
10031 # when you set need_version to no, make sure it does not cause -set_version
10032 # flags to be left without arguments
10033 need_version=unknown
10034
10035 case $host_os in
10036 aix3*)
10037   version_type=linux # correct to gnu/linux during the next big refactor
10038   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10039   shlibpath_var=LIBPATH
10040
10041   # AIX 3 has no versioning support, so we append a major version to the name.
10042   soname_spec='${libname}${release}${shared_ext}$major'
10043   ;;
10044
10045 aix[4-9]*)
10046   version_type=linux # correct to gnu/linux during the next big refactor
10047   need_lib_prefix=no
10048   need_version=no
10049   hardcode_into_libs=yes
10050   if test "$host_cpu" = ia64; then
10051     # AIX 5 supports IA64
10052     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10053     shlibpath_var=LD_LIBRARY_PATH
10054   else
10055     # With GCC up to 2.95.x, collect2 would create an import file
10056     # for dependence libraries.  The import file would start with
10057     # the line `#! .'.  This would cause the generated library to
10058     # depend on `.', always an invalid library.  This was fixed in
10059     # development snapshots of GCC prior to 3.0.
10060     case $host_os in
10061       aix4 | aix4.[01] | aix4.[01].*)
10062       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10063            echo ' yes '
10064            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10065         :
10066       else
10067         can_build_shared=no
10068       fi
10069       ;;
10070     esac
10071     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10072     # soname into executable. Probably we can add versioning support to
10073     # collect2, so additional links can be useful in future.
10074     if test "$aix_use_runtimelinking" = yes; then
10075       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10076       # instead of lib<name>.a to let people know that these are not
10077       # typical AIX shared libraries.
10078       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10079     else
10080       # We preserve .a as extension for shared libraries through AIX4.2
10081       # and later when we are not doing run time linking.
10082       library_names_spec='${libname}${release}.a $libname.a'
10083       soname_spec='${libname}${release}${shared_ext}$major'
10084     fi
10085     shlibpath_var=LIBPATH
10086   fi
10087   ;;
10088
10089 amigaos*)
10090   case $host_cpu in
10091   powerpc)
10092     # Since July 2007 AmigaOS4 officially supports .so libraries.
10093     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10094     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10095     ;;
10096   m68k)
10097     library_names_spec='$libname.ixlibrary $libname.a'
10098     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10099     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'
10100     ;;
10101   esac
10102   ;;
10103
10104 beos*)
10105   library_names_spec='${libname}${shared_ext}'
10106   dynamic_linker="$host_os ld.so"
10107   shlibpath_var=LIBRARY_PATH
10108   ;;
10109
10110 bsdi[45]*)
10111   version_type=linux # correct to gnu/linux during the next big refactor
10112   need_version=no
10113   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10114   soname_spec='${libname}${release}${shared_ext}$major'
10115   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10116   shlibpath_var=LD_LIBRARY_PATH
10117   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10118   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10119   # the default ld.so.conf also contains /usr/contrib/lib and
10120   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10121   # libtool to hard-code these into programs
10122   ;;
10123
10124 cygwin* | mingw* | pw32* | cegcc*)
10125   version_type=windows
10126   shrext_cmds=".dll"
10127   need_version=no
10128   need_lib_prefix=no
10129
10130   case $GCC,$cc_basename in
10131   yes,*)
10132     # gcc
10133     library_names_spec='$libname.dll.a'
10134     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10135     postinstall_cmds='base_file=`basename \${file}`~
10136       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10137       dldir=$destdir/`dirname \$dlpath`~
10138       test -d \$dldir || mkdir -p \$dldir~
10139       $install_prog $dir/$dlname \$dldir/$dlname~
10140       chmod a+x \$dldir/$dlname~
10141       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10142         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10143       fi'
10144     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10145       dlpath=$dir/\$dldll~
10146        $RM \$dlpath'
10147     shlibpath_overrides_runpath=yes
10148
10149     case $host_os in
10150     cygwin*)
10151       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10152       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10153
10154       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10155       ;;
10156     mingw* | cegcc*)
10157       # MinGW DLLs use traditional 'lib' prefix
10158       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10159       ;;
10160     pw32*)
10161       # pw32 DLLs use 'pw' prefix rather than 'lib'
10162       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10163       ;;
10164     esac
10165     dynamic_linker='Win32 ld.exe'
10166     ;;
10167
10168   *,cl*)
10169     # Native MSVC
10170     libname_spec='$name'
10171     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10172     library_names_spec='${libname}.dll.lib'
10173
10174     case $build_os in
10175     mingw*)
10176       sys_lib_search_path_spec=
10177       lt_save_ifs=$IFS
10178       IFS=';'
10179       for lt_path in $LIB
10180       do
10181         IFS=$lt_save_ifs
10182         # Let DOS variable expansion print the short 8.3 style file name.
10183         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10184         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10185       done
10186       IFS=$lt_save_ifs
10187       # Convert to MSYS style.
10188       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10189       ;;
10190     cygwin*)
10191       # Convert to unix form, then to dos form, then back to unix form
10192       # but this time dos style (no spaces!) so that the unix form looks
10193       # like /cygdrive/c/PROGRA~1:/cygdr...
10194       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10195       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10196       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10197       ;;
10198     *)
10199       sys_lib_search_path_spec="$LIB"
10200       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10201         # It is most probably a Windows format PATH.
10202         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10203       else
10204         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10205       fi
10206       # FIXME: find the short name or the path components, as spaces are
10207       # common. (e.g. "Program Files" -> "PROGRA~1")
10208       ;;
10209     esac
10210
10211     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10212     postinstall_cmds='base_file=`basename \${file}`~
10213       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10214       dldir=$destdir/`dirname \$dlpath`~
10215       test -d \$dldir || mkdir -p \$dldir~
10216       $install_prog $dir/$dlname \$dldir/$dlname'
10217     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10218       dlpath=$dir/\$dldll~
10219        $RM \$dlpath'
10220     shlibpath_overrides_runpath=yes
10221     dynamic_linker='Win32 link.exe'
10222     ;;
10223
10224   *)
10225     # Assume MSVC wrapper
10226     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10227     dynamic_linker='Win32 ld.exe'
10228     ;;
10229   esac
10230   # FIXME: first we should search . and the directory the executable is in
10231   shlibpath_var=PATH
10232   ;;
10233
10234 darwin* | rhapsody*)
10235   dynamic_linker="$host_os dyld"
10236   version_type=darwin
10237   need_lib_prefix=no
10238   need_version=no
10239   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10240   soname_spec='${libname}${release}${major}$shared_ext'
10241   shlibpath_overrides_runpath=yes
10242   shlibpath_var=DYLD_LIBRARY_PATH
10243   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10244
10245   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10246   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10247   ;;
10248
10249 dgux*)
10250   version_type=linux # correct to gnu/linux during the next big refactor
10251   need_lib_prefix=no
10252   need_version=no
10253   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10254   soname_spec='${libname}${release}${shared_ext}$major'
10255   shlibpath_var=LD_LIBRARY_PATH
10256   ;;
10257
10258 freebsd* | dragonfly*)
10259   # DragonFly does not have aout.  When/if they implement a new
10260   # versioning mechanism, adjust this.
10261   if test -x /usr/bin/objformat; then
10262     objformat=`/usr/bin/objformat`
10263   else
10264     case $host_os in
10265     freebsd[23].*) objformat=aout ;;
10266     *) objformat=elf ;;
10267     esac
10268   fi
10269   version_type=freebsd-$objformat
10270   case $version_type in
10271     freebsd-elf*)
10272       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10273       need_version=no
10274       need_lib_prefix=no
10275       ;;
10276     freebsd-*)
10277       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10278       need_version=yes
10279       ;;
10280   esac
10281   shlibpath_var=LD_LIBRARY_PATH
10282   case $host_os in
10283   freebsd2.*)
10284     shlibpath_overrides_runpath=yes
10285     ;;
10286   freebsd3.[01]* | freebsdelf3.[01]*)
10287     shlibpath_overrides_runpath=yes
10288     hardcode_into_libs=yes
10289     ;;
10290   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10291   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10292     shlibpath_overrides_runpath=no
10293     hardcode_into_libs=yes
10294     ;;
10295   *) # from 4.6 on, and DragonFly
10296     shlibpath_overrides_runpath=yes
10297     hardcode_into_libs=yes
10298     ;;
10299   esac
10300   ;;
10301
10302 gnu*)
10303   version_type=linux # correct to gnu/linux during the next big refactor
10304   need_lib_prefix=no
10305   need_version=no
10306   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10307   soname_spec='${libname}${release}${shared_ext}$major'
10308   shlibpath_var=LD_LIBRARY_PATH
10309   shlibpath_overrides_runpath=no
10310   hardcode_into_libs=yes
10311   ;;
10312
10313 haiku*)
10314   version_type=linux # correct to gnu/linux during the next big refactor
10315   need_lib_prefix=no
10316   need_version=no
10317   dynamic_linker="$host_os runtime_loader"
10318   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10319   soname_spec='${libname}${release}${shared_ext}$major'
10320   shlibpath_var=LIBRARY_PATH
10321   shlibpath_overrides_runpath=yes
10322   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10323   hardcode_into_libs=yes
10324   ;;
10325
10326 hpux9* | hpux10* | hpux11*)
10327   # Give a soname corresponding to the major version so that dld.sl refuses to
10328   # link against other versions.
10329   version_type=sunos
10330   need_lib_prefix=no
10331   need_version=no
10332   case $host_cpu in
10333   ia64*)
10334     shrext_cmds='.so'
10335     hardcode_into_libs=yes
10336     dynamic_linker="$host_os dld.so"
10337     shlibpath_var=LD_LIBRARY_PATH
10338     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10339     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340     soname_spec='${libname}${release}${shared_ext}$major'
10341     if test "X$HPUX_IA64_MODE" = X32; then
10342       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10343     else
10344       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10345     fi
10346     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10347     ;;
10348   hppa*64*)
10349     shrext_cmds='.sl'
10350     hardcode_into_libs=yes
10351     dynamic_linker="$host_os dld.sl"
10352     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10353     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10354     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10355     soname_spec='${libname}${release}${shared_ext}$major'
10356     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10357     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10358     ;;
10359   *)
10360     shrext_cmds='.sl'
10361     dynamic_linker="$host_os dld.sl"
10362     shlibpath_var=SHLIB_PATH
10363     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10364     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365     soname_spec='${libname}${release}${shared_ext}$major'
10366     ;;
10367   esac
10368   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10369   postinstall_cmds='chmod 555 $lib'
10370   # or fails outright, so override atomically:
10371   install_override_mode=555
10372   ;;
10373
10374 interix[3-9]*)
10375   version_type=linux # correct to gnu/linux during the next big refactor
10376   need_lib_prefix=no
10377   need_version=no
10378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10379   soname_spec='${libname}${release}${shared_ext}$major'
10380   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10381   shlibpath_var=LD_LIBRARY_PATH
10382   shlibpath_overrides_runpath=no
10383   hardcode_into_libs=yes
10384   ;;
10385
10386 irix5* | irix6* | nonstopux*)
10387   case $host_os in
10388     nonstopux*) version_type=nonstopux ;;
10389     *)
10390         if test "$lt_cv_prog_gnu_ld" = yes; then
10391                 version_type=linux # correct to gnu/linux during the next big refactor
10392         else
10393                 version_type=irix
10394         fi ;;
10395   esac
10396   need_lib_prefix=no
10397   need_version=no
10398   soname_spec='${libname}${release}${shared_ext}$major'
10399   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10400   case $host_os in
10401   irix5* | nonstopux*)
10402     libsuff= shlibsuff=
10403     ;;
10404   *)
10405     case $LD in # libtool.m4 will add one of these switches to LD
10406     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10407       libsuff= shlibsuff= libmagic=32-bit;;
10408     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10409       libsuff=32 shlibsuff=N32 libmagic=N32;;
10410     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10411       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10412     *) libsuff= shlibsuff= libmagic=never-match;;
10413     esac
10414     ;;
10415   esac
10416   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10417   shlibpath_overrides_runpath=no
10418   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10419   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10420   hardcode_into_libs=yes
10421   ;;
10422
10423 # No shared lib support for Linux oldld, aout, or coff.
10424 linux*oldld* | linux*aout* | linux*coff*)
10425   dynamic_linker=no
10426   ;;
10427
10428 # This must be glibc/ELF.
10429 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10430   version_type=linux # correct to gnu/linux during the next big refactor
10431   need_lib_prefix=no
10432   need_version=no
10433   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10434   soname_spec='${libname}${release}${shared_ext}$major'
10435   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10436   shlibpath_var=LD_LIBRARY_PATH
10437   shlibpath_overrides_runpath=no
10438
10439   # Some binutils ld are patched to set DT_RUNPATH
10440   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10441   $as_echo_n "(cached) " >&6
10442 else
10443   lt_cv_shlibpath_overrides_runpath=no
10444     save_LDFLAGS=$LDFLAGS
10445     save_libdir=$libdir
10446     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10447          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10448     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h.  */
10450
10451 int
10452 main ()
10453 {
10454
10455   ;
10456   return 0;
10457 }
10458 _ACEOF
10459 if ac_fn_c_try_link "$LINENO"; then :
10460   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10461   lt_cv_shlibpath_overrides_runpath=yes
10462 fi
10463 fi
10464 rm -f core conftest.err conftest.$ac_objext \
10465     conftest$ac_exeext conftest.$ac_ext
10466     LDFLAGS=$save_LDFLAGS
10467     libdir=$save_libdir
10468
10469 fi
10470
10471   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10472
10473   # This implies no fast_install, which is unacceptable.
10474   # Some rework will be needed to allow for fast_install
10475   # before this can be enabled.
10476   hardcode_into_libs=yes
10477
10478   # Add ABI-specific directories to the system library path.
10479   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10480
10481   # Append ld.so.conf contents to the search path
10482   if test -f /etc/ld.so.conf; then
10483     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' ' '`
10484     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10485
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 netbsd*)
10498   version_type=sunos
10499   need_lib_prefix=no
10500   need_version=no
10501   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10502     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10503     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10504     dynamic_linker='NetBSD (a.out) ld.so'
10505   else
10506     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10507     soname_spec='${libname}${release}${shared_ext}$major'
10508     dynamic_linker='NetBSD ld.elf_so'
10509   fi
10510   shlibpath_var=LD_LIBRARY_PATH
10511   shlibpath_overrides_runpath=yes
10512   hardcode_into_libs=yes
10513   ;;
10514
10515 newsos6)
10516   version_type=linux # correct to gnu/linux during the next big refactor
10517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10518   shlibpath_var=LD_LIBRARY_PATH
10519   shlibpath_overrides_runpath=yes
10520   ;;
10521
10522 *nto* | *qnx*)
10523   version_type=qnx
10524   need_lib_prefix=no
10525   need_version=no
10526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527   soname_spec='${libname}${release}${shared_ext}$major'
10528   shlibpath_var=LD_LIBRARY_PATH
10529   shlibpath_overrides_runpath=no
10530   hardcode_into_libs=yes
10531   dynamic_linker='ldqnx.so'
10532   ;;
10533
10534 openbsd*)
10535   version_type=sunos
10536   sys_lib_dlsearch_path_spec="/usr/lib"
10537   need_lib_prefix=no
10538   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10539   case $host_os in
10540     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10541     *)                          need_version=no  ;;
10542   esac
10543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10544   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10545   shlibpath_var=LD_LIBRARY_PATH
10546   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10547     case $host_os in
10548       openbsd2.[89] | openbsd2.[89].*)
10549         shlibpath_overrides_runpath=no
10550         ;;
10551       *)
10552         shlibpath_overrides_runpath=yes
10553         ;;
10554       esac
10555   else
10556     shlibpath_overrides_runpath=yes
10557   fi
10558   ;;
10559
10560 os2*)
10561   libname_spec='$name'
10562   shrext_cmds=".dll"
10563   need_lib_prefix=no
10564   library_names_spec='$libname${shared_ext} $libname.a'
10565   dynamic_linker='OS/2 ld.exe'
10566   shlibpath_var=LIBPATH
10567   ;;
10568
10569 osf3* | osf4* | osf5*)
10570   version_type=osf
10571   need_lib_prefix=no
10572   need_version=no
10573   soname_spec='${libname}${release}${shared_ext}$major'
10574   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575   shlibpath_var=LD_LIBRARY_PATH
10576   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10577   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10578   ;;
10579
10580 rdos*)
10581   dynamic_linker=no
10582   ;;
10583
10584 solaris*)
10585   version_type=linux # correct to gnu/linux during the next big refactor
10586   need_lib_prefix=no
10587   need_version=no
10588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10589   soname_spec='${libname}${release}${shared_ext}$major'
10590   shlibpath_var=LD_LIBRARY_PATH
10591   shlibpath_overrides_runpath=yes
10592   hardcode_into_libs=yes
10593   # ldd complains unless libraries are executable
10594   postinstall_cmds='chmod +x $lib'
10595   ;;
10596
10597 sunos4*)
10598   version_type=sunos
10599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10600   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10601   shlibpath_var=LD_LIBRARY_PATH
10602   shlibpath_overrides_runpath=yes
10603   if test "$with_gnu_ld" = yes; then
10604     need_lib_prefix=no
10605   fi
10606   need_version=yes
10607   ;;
10608
10609 sysv4 | sysv4.3*)
10610   version_type=linux # correct to gnu/linux during the next big refactor
10611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612   soname_spec='${libname}${release}${shared_ext}$major'
10613   shlibpath_var=LD_LIBRARY_PATH
10614   case $host_vendor in
10615     sni)
10616       shlibpath_overrides_runpath=no
10617       need_lib_prefix=no
10618       runpath_var=LD_RUN_PATH
10619       ;;
10620     siemens)
10621       need_lib_prefix=no
10622       ;;
10623     motorola)
10624       need_lib_prefix=no
10625       need_version=no
10626       shlibpath_overrides_runpath=no
10627       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10628       ;;
10629   esac
10630   ;;
10631
10632 sysv4*MP*)
10633   if test -d /usr/nec ;then
10634     version_type=linux # correct to gnu/linux during the next big refactor
10635     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10636     soname_spec='$libname${shared_ext}.$major'
10637     shlibpath_var=LD_LIBRARY_PATH
10638   fi
10639   ;;
10640
10641 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10642   version_type=freebsd-elf
10643   need_lib_prefix=no
10644   need_version=no
10645   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10646   soname_spec='${libname}${release}${shared_ext}$major'
10647   shlibpath_var=LD_LIBRARY_PATH
10648   shlibpath_overrides_runpath=yes
10649   hardcode_into_libs=yes
10650   if test "$with_gnu_ld" = yes; then
10651     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10652   else
10653     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10654     case $host_os in
10655       sco3.2v5*)
10656         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10657         ;;
10658     esac
10659   fi
10660   sys_lib_dlsearch_path_spec='/usr/lib'
10661   ;;
10662
10663 tpf*)
10664   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10665   version_type=linux # correct to gnu/linux during the next big refactor
10666   need_lib_prefix=no
10667   need_version=no
10668   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669   shlibpath_var=LD_LIBRARY_PATH
10670   shlibpath_overrides_runpath=no
10671   hardcode_into_libs=yes
10672   ;;
10673
10674 uts4*)
10675   version_type=linux # correct to gnu/linux during the next big refactor
10676   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677   soname_spec='${libname}${release}${shared_ext}$major'
10678   shlibpath_var=LD_LIBRARY_PATH
10679   ;;
10680
10681 *)
10682   dynamic_linker=no
10683   ;;
10684 esac
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10686 $as_echo "$dynamic_linker" >&6; }
10687 test "$dynamic_linker" = no && can_build_shared=no
10688
10689 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10690 if test "$GCC" = yes; then
10691   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10692 fi
10693
10694 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10695   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10696 fi
10697 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10698   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10699 fi
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10793 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10794 hardcode_action=
10795 if test -n "$hardcode_libdir_flag_spec" ||
10796    test -n "$runpath_var" ||
10797    test "X$hardcode_automatic" = "Xyes" ; then
10798
10799   # We can hardcode non-existent directories.
10800   if test "$hardcode_direct" != no &&
10801      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10802      # have to relink, otherwise we might link with an installed library
10803      # when we should be linking with a yet-to-be-installed one
10804      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10805      test "$hardcode_minus_L" != no; then
10806     # Linking always hardcodes the temporary library directory.
10807     hardcode_action=relink
10808   else
10809     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10810     hardcode_action=immediate
10811   fi
10812 else
10813   # We cannot hardcode anything, or else we can only hardcode existing
10814   # directories.
10815   hardcode_action=unsupported
10816 fi
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10818 $as_echo "$hardcode_action" >&6; }
10819
10820 if test "$hardcode_action" = relink ||
10821    test "$inherit_rpath" = yes; then
10822   # Fast installation is not supported
10823   enable_fast_install=no
10824 elif test "$shlibpath_overrides_runpath" = yes ||
10825      test "$enable_shared" = no; then
10826   # Fast installation is not necessary
10827   enable_fast_install=needless
10828 fi
10829
10830
10831
10832
10833
10834
10835   if test "x$enable_dlopen" != xyes; then
10836   enable_dlopen=unknown
10837   enable_dlopen_self=unknown
10838   enable_dlopen_self_static=unknown
10839 else
10840   lt_cv_dlopen=no
10841   lt_cv_dlopen_libs=
10842
10843   case $host_os in
10844   beos*)
10845     lt_cv_dlopen="load_add_on"
10846     lt_cv_dlopen_libs=
10847     lt_cv_dlopen_self=yes
10848     ;;
10849
10850   mingw* | pw32* | cegcc*)
10851     lt_cv_dlopen="LoadLibrary"
10852     lt_cv_dlopen_libs=
10853     ;;
10854
10855   cygwin*)
10856     lt_cv_dlopen="dlopen"
10857     lt_cv_dlopen_libs=
10858     ;;
10859
10860   darwin*)
10861   # if libdl is installed we need to link against it
10862     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10863 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10864 if ${ac_cv_lib_dl_dlopen+:} false; then :
10865   $as_echo_n "(cached) " >&6
10866 else
10867   ac_check_lib_save_LIBS=$LIBS
10868 LIBS="-ldl  $LIBS"
10869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10870 /* end confdefs.h.  */
10871
10872 /* Override any GCC internal prototype to avoid an error.
10873    Use char because int might match the return type of a GCC
10874    builtin and then its argument prototype would still apply.  */
10875 #ifdef __cplusplus
10876 extern "C"
10877 #endif
10878 char dlopen ();
10879 int
10880 main ()
10881 {
10882 return dlopen ();
10883   ;
10884   return 0;
10885 }
10886 _ACEOF
10887 if ac_fn_c_try_link "$LINENO"; then :
10888   ac_cv_lib_dl_dlopen=yes
10889 else
10890   ac_cv_lib_dl_dlopen=no
10891 fi
10892 rm -f core conftest.err conftest.$ac_objext \
10893     conftest$ac_exeext conftest.$ac_ext
10894 LIBS=$ac_check_lib_save_LIBS
10895 fi
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10897 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10898 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10899   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10900 else
10901
10902     lt_cv_dlopen="dyld"
10903     lt_cv_dlopen_libs=
10904     lt_cv_dlopen_self=yes
10905
10906 fi
10907
10908     ;;
10909
10910   *)
10911     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10912 if test "x$ac_cv_func_shl_load" = xyes; then :
10913   lt_cv_dlopen="shl_load"
10914 else
10915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10916 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10917 if ${ac_cv_lib_dld_shl_load+:} false; then :
10918   $as_echo_n "(cached) " >&6
10919 else
10920   ac_check_lib_save_LIBS=$LIBS
10921 LIBS="-ldld  $LIBS"
10922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h.  */
10924
10925 /* Override any GCC internal prototype to avoid an error.
10926    Use char because int might match the return type of a GCC
10927    builtin and then its argument prototype would still apply.  */
10928 #ifdef __cplusplus
10929 extern "C"
10930 #endif
10931 char shl_load ();
10932 int
10933 main ()
10934 {
10935 return shl_load ();
10936   ;
10937   return 0;
10938 }
10939 _ACEOF
10940 if ac_fn_c_try_link "$LINENO"; then :
10941   ac_cv_lib_dld_shl_load=yes
10942 else
10943   ac_cv_lib_dld_shl_load=no
10944 fi
10945 rm -f core conftest.err conftest.$ac_objext \
10946     conftest$ac_exeext conftest.$ac_ext
10947 LIBS=$ac_check_lib_save_LIBS
10948 fi
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10950 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10951 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10952   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10953 else
10954   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10955 if test "x$ac_cv_func_dlopen" = xyes; then :
10956   lt_cv_dlopen="dlopen"
10957 else
10958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10959 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10960 if ${ac_cv_lib_dl_dlopen+:} false; then :
10961   $as_echo_n "(cached) " >&6
10962 else
10963   ac_check_lib_save_LIBS=$LIBS
10964 LIBS="-ldl  $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h.  */
10967
10968 /* Override any GCC internal prototype to avoid an error.
10969    Use char because int might match the return type of a GCC
10970    builtin and then its argument prototype would still apply.  */
10971 #ifdef __cplusplus
10972 extern "C"
10973 #endif
10974 char dlopen ();
10975 int
10976 main ()
10977 {
10978 return dlopen ();
10979   ;
10980   return 0;
10981 }
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"; then :
10984   ac_cv_lib_dl_dlopen=yes
10985 else
10986   ac_cv_lib_dl_dlopen=no
10987 fi
10988 rm -f core conftest.err conftest.$ac_objext \
10989     conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10991 fi
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10993 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10994 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10995   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10996 else
10997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10998 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10999 if ${ac_cv_lib_svld_dlopen+:} false; then :
11000   $as_echo_n "(cached) " >&6
11001 else
11002   ac_check_lib_save_LIBS=$LIBS
11003 LIBS="-lsvld  $LIBS"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h.  */
11006
11007 /* Override any GCC internal prototype to avoid an error.
11008    Use char because int might match the return type of a GCC
11009    builtin and then its argument prototype would still apply.  */
11010 #ifdef __cplusplus
11011 extern "C"
11012 #endif
11013 char dlopen ();
11014 int
11015 main ()
11016 {
11017 return dlopen ();
11018   ;
11019   return 0;
11020 }
11021 _ACEOF
11022 if ac_fn_c_try_link "$LINENO"; then :
11023   ac_cv_lib_svld_dlopen=yes
11024 else
11025   ac_cv_lib_svld_dlopen=no
11026 fi
11027 rm -f core conftest.err conftest.$ac_objext \
11028     conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_lib_save_LIBS
11030 fi
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11032 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11033 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11034   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11035 else
11036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11037 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11038 if ${ac_cv_lib_dld_dld_link+:} false; then :
11039   $as_echo_n "(cached) " >&6
11040 else
11041   ac_check_lib_save_LIBS=$LIBS
11042 LIBS="-ldld  $LIBS"
11043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h.  */
11045
11046 /* Override any GCC internal prototype to avoid an error.
11047    Use char because int might match the return type of a GCC
11048    builtin and then its argument prototype would still apply.  */
11049 #ifdef __cplusplus
11050 extern "C"
11051 #endif
11052 char dld_link ();
11053 int
11054 main ()
11055 {
11056 return dld_link ();
11057   ;
11058   return 0;
11059 }
11060 _ACEOF
11061 if ac_fn_c_try_link "$LINENO"; then :
11062   ac_cv_lib_dld_dld_link=yes
11063 else
11064   ac_cv_lib_dld_dld_link=no
11065 fi
11066 rm -f core conftest.err conftest.$ac_objext \
11067     conftest$ac_exeext conftest.$ac_ext
11068 LIBS=$ac_check_lib_save_LIBS
11069 fi
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11071 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11072 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11073   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11074 fi
11075
11076
11077 fi
11078
11079
11080 fi
11081
11082
11083 fi
11084
11085
11086 fi
11087
11088
11089 fi
11090
11091     ;;
11092   esac
11093
11094   if test "x$lt_cv_dlopen" != xno; then
11095     enable_dlopen=yes
11096   else
11097     enable_dlopen=no
11098   fi
11099
11100   case $lt_cv_dlopen in
11101   dlopen)
11102     save_CPPFLAGS="$CPPFLAGS"
11103     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11104
11105     save_LDFLAGS="$LDFLAGS"
11106     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11107
11108     save_LIBS="$LIBS"
11109     LIBS="$lt_cv_dlopen_libs $LIBS"
11110
11111     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11112 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11113 if ${lt_cv_dlopen_self+:} false; then :
11114   $as_echo_n "(cached) " >&6
11115 else
11116           if test "$cross_compiling" = yes; then :
11117   lt_cv_dlopen_self=cross
11118 else
11119   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11120   lt_status=$lt_dlunknown
11121   cat > conftest.$ac_ext <<_LT_EOF
11122 #line $LINENO "configure"
11123 #include "confdefs.h"
11124
11125 #if HAVE_DLFCN_H
11126 #include <dlfcn.h>
11127 #endif
11128
11129 #include <stdio.h>
11130
11131 #ifdef RTLD_GLOBAL
11132 #  define LT_DLGLOBAL           RTLD_GLOBAL
11133 #else
11134 #  ifdef DL_GLOBAL
11135 #    define LT_DLGLOBAL         DL_GLOBAL
11136 #  else
11137 #    define LT_DLGLOBAL         0
11138 #  endif
11139 #endif
11140
11141 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11142    find out it does not work in some platform. */
11143 #ifndef LT_DLLAZY_OR_NOW
11144 #  ifdef RTLD_LAZY
11145 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11146 #  else
11147 #    ifdef DL_LAZY
11148 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11149 #    else
11150 #      ifdef RTLD_NOW
11151 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11152 #      else
11153 #        ifdef DL_NOW
11154 #          define LT_DLLAZY_OR_NOW      DL_NOW
11155 #        else
11156 #          define LT_DLLAZY_OR_NOW      0
11157 #        endif
11158 #      endif
11159 #    endif
11160 #  endif
11161 #endif
11162
11163 /* When -fvisbility=hidden is used, assume the code has been annotated
11164    correspondingly for the symbols needed.  */
11165 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11166 int fnord () __attribute__((visibility("default")));
11167 #endif
11168
11169 int fnord () { return 42; }
11170 int main ()
11171 {
11172   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11173   int status = $lt_dlunknown;
11174
11175   if (self)
11176     {
11177       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11178       else
11179         {
11180           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11181           else puts (dlerror ());
11182         }
11183       /* dlclose (self); */
11184     }
11185   else
11186     puts (dlerror ());
11187
11188   return status;
11189 }
11190 _LT_EOF
11191   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11192   (eval $ac_link) 2>&5
11193   ac_status=$?
11194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11195   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11196     (./conftest; exit; ) >&5 2>/dev/null
11197     lt_status=$?
11198     case x$lt_status in
11199       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11200       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11201       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11202     esac
11203   else :
11204     # compilation failed
11205     lt_cv_dlopen_self=no
11206   fi
11207 fi
11208 rm -fr conftest*
11209
11210
11211 fi
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11213 $as_echo "$lt_cv_dlopen_self" >&6; }
11214
11215     if test "x$lt_cv_dlopen_self" = xyes; then
11216       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11217       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11218 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11219 if ${lt_cv_dlopen_self_static+:} false; then :
11220   $as_echo_n "(cached) " >&6
11221 else
11222           if test "$cross_compiling" = yes; then :
11223   lt_cv_dlopen_self_static=cross
11224 else
11225   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11226   lt_status=$lt_dlunknown
11227   cat > conftest.$ac_ext <<_LT_EOF
11228 #line $LINENO "configure"
11229 #include "confdefs.h"
11230
11231 #if HAVE_DLFCN_H
11232 #include <dlfcn.h>
11233 #endif
11234
11235 #include <stdio.h>
11236
11237 #ifdef RTLD_GLOBAL
11238 #  define LT_DLGLOBAL           RTLD_GLOBAL
11239 #else
11240 #  ifdef DL_GLOBAL
11241 #    define LT_DLGLOBAL         DL_GLOBAL
11242 #  else
11243 #    define LT_DLGLOBAL         0
11244 #  endif
11245 #endif
11246
11247 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11248    find out it does not work in some platform. */
11249 #ifndef LT_DLLAZY_OR_NOW
11250 #  ifdef RTLD_LAZY
11251 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11252 #  else
11253 #    ifdef DL_LAZY
11254 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11255 #    else
11256 #      ifdef RTLD_NOW
11257 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11258 #      else
11259 #        ifdef DL_NOW
11260 #          define LT_DLLAZY_OR_NOW      DL_NOW
11261 #        else
11262 #          define LT_DLLAZY_OR_NOW      0
11263 #        endif
11264 #      endif
11265 #    endif
11266 #  endif
11267 #endif
11268
11269 /* When -fvisbility=hidden is used, assume the code has been annotated
11270    correspondingly for the symbols needed.  */
11271 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11272 int fnord () __attribute__((visibility("default")));
11273 #endif
11274
11275 int fnord () { return 42; }
11276 int main ()
11277 {
11278   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11279   int status = $lt_dlunknown;
11280
11281   if (self)
11282     {
11283       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11284       else
11285         {
11286           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11287           else puts (dlerror ());
11288         }
11289       /* dlclose (self); */
11290     }
11291   else
11292     puts (dlerror ());
11293
11294   return status;
11295 }
11296 _LT_EOF
11297   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11298   (eval $ac_link) 2>&5
11299   ac_status=$?
11300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11301   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11302     (./conftest; exit; ) >&5 2>/dev/null
11303     lt_status=$?
11304     case x$lt_status in
11305       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11306       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11307       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11308     esac
11309   else :
11310     # compilation failed
11311     lt_cv_dlopen_self_static=no
11312   fi
11313 fi
11314 rm -fr conftest*
11315
11316
11317 fi
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11319 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11320     fi
11321
11322     CPPFLAGS="$save_CPPFLAGS"
11323     LDFLAGS="$save_LDFLAGS"
11324     LIBS="$save_LIBS"
11325     ;;
11326   esac
11327
11328   case $lt_cv_dlopen_self in
11329   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11330   *) enable_dlopen_self=unknown ;;
11331   esac
11332
11333   case $lt_cv_dlopen_self_static in
11334   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11335   *) enable_dlopen_self_static=unknown ;;
11336   esac
11337 fi
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355 striplib=
11356 old_striplib=
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11358 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11359 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11360   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11361   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11363 $as_echo "yes" >&6; }
11364 else
11365 # FIXME - insert some real tests, host_os isn't really good enough
11366   case $host_os in
11367   darwin*)
11368     if test -n "$STRIP" ; then
11369       striplib="$STRIP -x"
11370       old_striplib="$STRIP -S"
11371       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11372 $as_echo "yes" >&6; }
11373     else
11374       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11375 $as_echo "no" >&6; }
11376     fi
11377     ;;
11378   *)
11379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11380 $as_echo "no" >&6; }
11381     ;;
11382   esac
11383 fi
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396   # Report which library types will actually be built
11397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11398 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11400 $as_echo "$can_build_shared" >&6; }
11401
11402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11403 $as_echo_n "checking whether to build shared libraries... " >&6; }
11404   test "$can_build_shared" = "no" && enable_shared=no
11405
11406   # On AIX, shared libraries and static libraries use the same namespace, and
11407   # are all built from PIC.
11408   case $host_os in
11409   aix3*)
11410     test "$enable_shared" = yes && enable_static=no
11411     if test -n "$RANLIB"; then
11412       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11413       postinstall_cmds='$RANLIB $lib'
11414     fi
11415     ;;
11416
11417   aix[4-9]*)
11418     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11419       test "$enable_shared" = yes && enable_static=no
11420     fi
11421     ;;
11422   esac
11423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11424 $as_echo "$enable_shared" >&6; }
11425
11426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11427 $as_echo_n "checking whether to build static libraries... " >&6; }
11428   # Make sure either enable_shared or enable_static is yes.
11429   test "$enable_shared" = yes || enable_static=yes
11430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11431 $as_echo "$enable_static" >&6; }
11432
11433
11434
11435
11436 fi
11437 ac_ext=c
11438 ac_cpp='$CPP $CPPFLAGS'
11439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11442
11443 CC="$lt_save_CC"
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459         ac_config_commands="$ac_config_commands libtool"
11460
11461
11462
11463
11464 # Only expand once:
11465
11466
11467
11468 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11469 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11470
11471
11472
11473 cat >>confdefs.h <<_ACEOF
11474 #define VMAJ 1
11475 _ACEOF
11476
11477
11478 cat >>confdefs.h <<_ACEOF
11479 #define VMIN 7
11480 _ACEOF
11481
11482
11483 cat >>confdefs.h <<_ACEOF
11484 #define VMIC 7
11485 _ACEOF
11486
11487
11488 cat >>confdefs.h <<_ACEOF
11489 #define VREV 0
11490 _ACEOF
11491
11492 version_info="8:7:7"
11493 release_info=""
11494
11495
11496 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11497 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11498 VMAJ=1
11499
11500
11501 ### Needed information
11502
11503
11504
11505
11506 requirement_eeze="ecore >= 1.7.7 eina >= 1.7.7 libudev"
11507
11508
11509 ### Checks for programs
11510 ac_ext=c
11511 ac_cpp='$CPP $CPPFLAGS'
11512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11515 if test -n "$ac_tool_prefix"; then
11516   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11517 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11519 $as_echo_n "checking for $ac_word... " >&6; }
11520 if ${ac_cv_prog_CC+:} false; then :
11521   $as_echo_n "(cached) " >&6
11522 else
11523   if test -n "$CC"; then
11524   ac_cv_prog_CC="$CC" # Let the user override the test.
11525 else
11526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11527 for as_dir in $PATH
11528 do
11529   IFS=$as_save_IFS
11530   test -z "$as_dir" && as_dir=.
11531     for ac_exec_ext in '' $ac_executable_extensions; do
11532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11533     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11535     break 2
11536   fi
11537 done
11538   done
11539 IFS=$as_save_IFS
11540
11541 fi
11542 fi
11543 CC=$ac_cv_prog_CC
11544 if test -n "$CC"; then
11545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11546 $as_echo "$CC" >&6; }
11547 else
11548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11549 $as_echo "no" >&6; }
11550 fi
11551
11552
11553 fi
11554 if test -z "$ac_cv_prog_CC"; then
11555   ac_ct_CC=$CC
11556   # Extract the first word of "gcc", so it can be a program name with args.
11557 set dummy gcc; ac_word=$2
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11559 $as_echo_n "checking for $ac_word... " >&6; }
11560 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11561   $as_echo_n "(cached) " >&6
11562 else
11563   if test -n "$ac_ct_CC"; then
11564   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11565 else
11566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11567 for as_dir in $PATH
11568 do
11569   IFS=$as_save_IFS
11570   test -z "$as_dir" && as_dir=.
11571     for ac_exec_ext in '' $ac_executable_extensions; do
11572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11573     ac_cv_prog_ac_ct_CC="gcc"
11574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11575     break 2
11576   fi
11577 done
11578   done
11579 IFS=$as_save_IFS
11580
11581 fi
11582 fi
11583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11584 if test -n "$ac_ct_CC"; then
11585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11586 $as_echo "$ac_ct_CC" >&6; }
11587 else
11588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11589 $as_echo "no" >&6; }
11590 fi
11591
11592   if test "x$ac_ct_CC" = x; then
11593     CC=""
11594   else
11595     case $cross_compiling:$ac_tool_warned in
11596 yes:)
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11599 ac_tool_warned=yes ;;
11600 esac
11601     CC=$ac_ct_CC
11602   fi
11603 else
11604   CC="$ac_cv_prog_CC"
11605 fi
11606
11607 if test -z "$CC"; then
11608           if test -n "$ac_tool_prefix"; then
11609     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11610 set dummy ${ac_tool_prefix}cc; ac_word=$2
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11612 $as_echo_n "checking for $ac_word... " >&6; }
11613 if ${ac_cv_prog_CC+:} false; then :
11614   $as_echo_n "(cached) " >&6
11615 else
11616   if test -n "$CC"; then
11617   ac_cv_prog_CC="$CC" # Let the user override the test.
11618 else
11619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11620 for as_dir in $PATH
11621 do
11622   IFS=$as_save_IFS
11623   test -z "$as_dir" && as_dir=.
11624     for ac_exec_ext in '' $ac_executable_extensions; do
11625   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11626     ac_cv_prog_CC="${ac_tool_prefix}cc"
11627     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11628     break 2
11629   fi
11630 done
11631   done
11632 IFS=$as_save_IFS
11633
11634 fi
11635 fi
11636 CC=$ac_cv_prog_CC
11637 if test -n "$CC"; then
11638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11639 $as_echo "$CC" >&6; }
11640 else
11641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11642 $as_echo "no" >&6; }
11643 fi
11644
11645
11646   fi
11647 fi
11648 if test -z "$CC"; then
11649   # Extract the first word of "cc", so it can be a program name with args.
11650 set dummy cc; ac_word=$2
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11652 $as_echo_n "checking for $ac_word... " >&6; }
11653 if ${ac_cv_prog_CC+:} false; then :
11654   $as_echo_n "(cached) " >&6
11655 else
11656   if test -n "$CC"; then
11657   ac_cv_prog_CC="$CC" # Let the user override the test.
11658 else
11659   ac_prog_rejected=no
11660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11661 for as_dir in $PATH
11662 do
11663   IFS=$as_save_IFS
11664   test -z "$as_dir" && as_dir=.
11665     for ac_exec_ext in '' $ac_executable_extensions; do
11666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11667     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11668        ac_prog_rejected=yes
11669        continue
11670      fi
11671     ac_cv_prog_CC="cc"
11672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11673     break 2
11674   fi
11675 done
11676   done
11677 IFS=$as_save_IFS
11678
11679 if test $ac_prog_rejected = yes; then
11680   # We found a bogon in the path, so make sure we never use it.
11681   set dummy $ac_cv_prog_CC
11682   shift
11683   if test $# != 0; then
11684     # We chose a different compiler from the bogus one.
11685     # However, it has the same basename, so the bogon will be chosen
11686     # first if we set CC to just the basename; use the full file name.
11687     shift
11688     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11689   fi
11690 fi
11691 fi
11692 fi
11693 CC=$ac_cv_prog_CC
11694 if test -n "$CC"; then
11695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11696 $as_echo "$CC" >&6; }
11697 else
11698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699 $as_echo "no" >&6; }
11700 fi
11701
11702
11703 fi
11704 if test -z "$CC"; then
11705   if test -n "$ac_tool_prefix"; then
11706   for ac_prog in cl.exe
11707   do
11708     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11711 $as_echo_n "checking for $ac_word... " >&6; }
11712 if ${ac_cv_prog_CC+:} false; then :
11713   $as_echo_n "(cached) " >&6
11714 else
11715   if test -n "$CC"; then
11716   ac_cv_prog_CC="$CC" # Let the user override the test.
11717 else
11718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11719 for as_dir in $PATH
11720 do
11721   IFS=$as_save_IFS
11722   test -z "$as_dir" && as_dir=.
11723     for ac_exec_ext in '' $ac_executable_extensions; do
11724   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11725     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11727     break 2
11728   fi
11729 done
11730   done
11731 IFS=$as_save_IFS
11732
11733 fi
11734 fi
11735 CC=$ac_cv_prog_CC
11736 if test -n "$CC"; then
11737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11738 $as_echo "$CC" >&6; }
11739 else
11740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 $as_echo "no" >&6; }
11742 fi
11743
11744
11745     test -n "$CC" && break
11746   done
11747 fi
11748 if test -z "$CC"; then
11749   ac_ct_CC=$CC
11750   for ac_prog in cl.exe
11751 do
11752   # Extract the first word of "$ac_prog", so it can be a program name with args.
11753 set dummy $ac_prog; ac_word=$2
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11755 $as_echo_n "checking for $ac_word... " >&6; }
11756 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11757   $as_echo_n "(cached) " >&6
11758 else
11759   if test -n "$ac_ct_CC"; then
11760   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11761 else
11762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11763 for as_dir in $PATH
11764 do
11765   IFS=$as_save_IFS
11766   test -z "$as_dir" && as_dir=.
11767     for ac_exec_ext in '' $ac_executable_extensions; do
11768   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11769     ac_cv_prog_ac_ct_CC="$ac_prog"
11770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11771     break 2
11772   fi
11773 done
11774   done
11775 IFS=$as_save_IFS
11776
11777 fi
11778 fi
11779 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11780 if test -n "$ac_ct_CC"; then
11781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11782 $as_echo "$ac_ct_CC" >&6; }
11783 else
11784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11785 $as_echo "no" >&6; }
11786 fi
11787
11788
11789   test -n "$ac_ct_CC" && break
11790 done
11791
11792   if test "x$ac_ct_CC" = x; then
11793     CC=""
11794   else
11795     case $cross_compiling:$ac_tool_warned in
11796 yes:)
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11799 ac_tool_warned=yes ;;
11800 esac
11801     CC=$ac_ct_CC
11802   fi
11803 fi
11804
11805 fi
11806
11807
11808 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11810 as_fn_error $? "no acceptable C compiler found in \$PATH
11811 See \`config.log' for more details" "$LINENO" 5; }
11812
11813 # Provide some information about the compiler.
11814 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11815 set X $ac_compile
11816 ac_compiler=$2
11817 for ac_option in --version -v -V -qversion; do
11818   { { ac_try="$ac_compiler $ac_option >&5"
11819 case "(($ac_try" in
11820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11821   *) ac_try_echo=$ac_try;;
11822 esac
11823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11824 $as_echo "$ac_try_echo"; } >&5
11825   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11826   ac_status=$?
11827   if test -s conftest.err; then
11828     sed '10a\
11829 ... rest of stderr output deleted ...
11830          10q' conftest.err >conftest.er1
11831     cat conftest.er1 >&5
11832   fi
11833   rm -f conftest.er1 conftest.err
11834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11835   test $ac_status = 0; }
11836 done
11837
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11839 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11840 if ${ac_cv_c_compiler_gnu+:} false; then :
11841   $as_echo_n "(cached) " >&6
11842 else
11843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h.  */
11845
11846 int
11847 main ()
11848 {
11849 #ifndef __GNUC__
11850        choke me
11851 #endif
11852
11853   ;
11854   return 0;
11855 }
11856 _ACEOF
11857 if ac_fn_c_try_compile "$LINENO"; then :
11858   ac_compiler_gnu=yes
11859 else
11860   ac_compiler_gnu=no
11861 fi
11862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11863 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11864
11865 fi
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11867 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11868 if test $ac_compiler_gnu = yes; then
11869   GCC=yes
11870 else
11871   GCC=
11872 fi
11873 ac_test_CFLAGS=${CFLAGS+set}
11874 ac_save_CFLAGS=$CFLAGS
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11876 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11877 if ${ac_cv_prog_cc_g+:} false; then :
11878   $as_echo_n "(cached) " >&6
11879 else
11880   ac_save_c_werror_flag=$ac_c_werror_flag
11881    ac_c_werror_flag=yes
11882    ac_cv_prog_cc_g=no
11883    CFLAGS="-g"
11884    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h.  */
11886
11887 int
11888 main ()
11889 {
11890
11891   ;
11892   return 0;
11893 }
11894 _ACEOF
11895 if ac_fn_c_try_compile "$LINENO"; then :
11896   ac_cv_prog_cc_g=yes
11897 else
11898   CFLAGS=""
11899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h.  */
11901
11902 int
11903 main ()
11904 {
11905
11906   ;
11907   return 0;
11908 }
11909 _ACEOF
11910 if ac_fn_c_try_compile "$LINENO"; then :
11911
11912 else
11913   ac_c_werror_flag=$ac_save_c_werror_flag
11914          CFLAGS="-g"
11915          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h.  */
11917
11918 int
11919 main ()
11920 {
11921
11922   ;
11923   return 0;
11924 }
11925 _ACEOF
11926 if ac_fn_c_try_compile "$LINENO"; then :
11927   ac_cv_prog_cc_g=yes
11928 fi
11929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11930 fi
11931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11932 fi
11933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11934    ac_c_werror_flag=$ac_save_c_werror_flag
11935 fi
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11937 $as_echo "$ac_cv_prog_cc_g" >&6; }
11938 if test "$ac_test_CFLAGS" = set; then
11939   CFLAGS=$ac_save_CFLAGS
11940 elif test $ac_cv_prog_cc_g = yes; then
11941   if test "$GCC" = yes; then
11942     CFLAGS="-g -O2"
11943   else
11944     CFLAGS="-g"
11945   fi
11946 else
11947   if test "$GCC" = yes; then
11948     CFLAGS="-O2"
11949   else
11950     CFLAGS=
11951   fi
11952 fi
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11954 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11955 if ${ac_cv_prog_cc_c89+:} false; then :
11956   $as_echo_n "(cached) " >&6
11957 else
11958   ac_cv_prog_cc_c89=no
11959 ac_save_CC=$CC
11960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h.  */
11962 #include <stdarg.h>
11963 #include <stdio.h>
11964 #include <sys/types.h>
11965 #include <sys/stat.h>
11966 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11967 struct buf { int x; };
11968 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11969 static char *e (p, i)
11970      char **p;
11971      int i;
11972 {
11973   return p[i];
11974 }
11975 static char *f (char * (*g) (char **, int), char **p, ...)
11976 {
11977   char *s;
11978   va_list v;
11979   va_start (v,p);
11980   s = g (p, va_arg (v,int));
11981   va_end (v);
11982   return s;
11983 }
11984
11985 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11986    function prototypes and stuff, but not '\xHH' hex character constants.
11987    These don't provoke an error unfortunately, instead are silently treated
11988    as 'x'.  The following induces an error, until -std is added to get
11989    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11990    array size at least.  It's necessary to write '\x00'==0 to get something
11991    that's true only with -std.  */
11992 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11993
11994 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11995    inside strings and character constants.  */
11996 #define FOO(x) 'x'
11997 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11998
11999 int test (int i, double x);
12000 struct s1 {int (*f) (int a);};
12001 struct s2 {int (*f) (double a);};
12002 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12003 int argc;
12004 char **argv;
12005 int
12006 main ()
12007 {
12008 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12009   ;
12010   return 0;
12011 }
12012 _ACEOF
12013 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12014         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12015 do
12016   CC="$ac_save_CC $ac_arg"
12017   if ac_fn_c_try_compile "$LINENO"; then :
12018   ac_cv_prog_cc_c89=$ac_arg
12019 fi
12020 rm -f core conftest.err conftest.$ac_objext
12021   test "x$ac_cv_prog_cc_c89" != "xno" && break
12022 done
12023 rm -f conftest.$ac_ext
12024 CC=$ac_save_CC
12025
12026 fi
12027 # AC_CACHE_VAL
12028 case "x$ac_cv_prog_cc_c89" in
12029   x)
12030     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12031 $as_echo "none needed" >&6; } ;;
12032   xno)
12033     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12034 $as_echo "unsupported" >&6; } ;;
12035   *)
12036     CC="$CC $ac_cv_prog_cc_c89"
12037     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12038 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12039 esac
12040 if test "x$ac_cv_prog_cc_c89" != xno; then :
12041
12042 fi
12043
12044 ac_ext=c
12045 ac_cpp='$CPP $CPPFLAGS'
12046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12049
12050 depcc="$CC"   am_compiler_list=
12051
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12053 $as_echo_n "checking dependency style of $depcc... " >&6; }
12054 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12055   $as_echo_n "(cached) " >&6
12056 else
12057   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12058   # We make a subdir and do the tests there.  Otherwise we can end up
12059   # making bogus files that we don't know about and never remove.  For
12060   # instance it was reported that on HP-UX the gcc test will end up
12061   # making a dummy file named `D' -- because `-MD' means `put the output
12062   # in D'.
12063   rm -rf conftest.dir
12064   mkdir conftest.dir
12065   # Copy depcomp to subdir because otherwise we won't find it if we're
12066   # using a relative directory.
12067   cp "$am_depcomp" conftest.dir
12068   cd conftest.dir
12069   # We will build objects and dependencies in a subdirectory because
12070   # it helps to detect inapplicable dependency modes.  For instance
12071   # both Tru64's cc and ICC support -MD to output dependencies as a
12072   # side effect of compilation, but ICC will put the dependencies in
12073   # the current directory while Tru64 will put them in the object
12074   # directory.
12075   mkdir sub
12076
12077   am_cv_CC_dependencies_compiler_type=none
12078   if test "$am_compiler_list" = ""; then
12079      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12080   fi
12081   am__universal=false
12082   case " $depcc " in #(
12083      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12084      esac
12085
12086   for depmode in $am_compiler_list; do
12087     # Setup a source with many dependencies, because some compilers
12088     # like to wrap large dependency lists on column 80 (with \), and
12089     # we should not choose a depcomp mode which is confused by this.
12090     #
12091     # We need to recreate these files for each test, as the compiler may
12092     # overwrite some of them when testing with obscure command lines.
12093     # This happens at least with the AIX C compiler.
12094     : > sub/conftest.c
12095     for i in 1 2 3 4 5 6; do
12096       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12097       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12098       # Solaris 8's {/usr,}/bin/sh.
12099       touch sub/conftst$i.h
12100     done
12101     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12102
12103     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12104     # mode.  It turns out that the SunPro C++ compiler does not properly
12105     # handle `-M -o', and we need to detect this.  Also, some Intel
12106     # versions had trouble with output in subdirs
12107     am__obj=sub/conftest.${OBJEXT-o}
12108     am__minus_obj="-o $am__obj"
12109     case $depmode in
12110     gcc)
12111       # This depmode causes a compiler race in universal mode.
12112       test "$am__universal" = false || continue
12113       ;;
12114     nosideeffect)
12115       # after this tag, mechanisms are not by side-effect, so they'll
12116       # only be used when explicitly requested
12117       if test "x$enable_dependency_tracking" = xyes; then
12118         continue
12119       else
12120         break
12121       fi
12122       ;;
12123     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12124       # This compiler won't grok `-c -o', but also, the minuso test has
12125       # not run yet.  These depmodes are late enough in the game, and
12126       # so weak that their functioning should not be impacted.
12127       am__obj=conftest.${OBJEXT-o}
12128       am__minus_obj=
12129       ;;
12130     none) break ;;
12131     esac
12132     if depmode=$depmode \
12133        source=sub/conftest.c object=$am__obj \
12134        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12135        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12136          >/dev/null 2>conftest.err &&
12137        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12138        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12139        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12140        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12141       # icc doesn't choke on unknown options, it will just issue warnings
12142       # or remarks (even with -Werror).  So we grep stderr for any message
12143       # that says an option was ignored or not supported.
12144       # When given -MP, icc 7.0 and 7.1 complain thusly:
12145       #   icc: Command line warning: ignoring option '-M'; no argument required
12146       # The diagnosis changed in icc 8.0:
12147       #   icc: Command line remark: option '-MP' not supported
12148       if (grep 'ignoring option' conftest.err ||
12149           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12150         am_cv_CC_dependencies_compiler_type=$depmode
12151         break
12152       fi
12153     fi
12154   done
12155
12156   cd ..
12157   rm -rf conftest.dir
12158 else
12159   am_cv_CC_dependencies_compiler_type=none
12160 fi
12161
12162 fi
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12164 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12165 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12166
12167  if
12168   test "x$enable_dependency_tracking" != xno \
12169   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12170   am__fastdepCC_TRUE=
12171   am__fastdepCC_FALSE='#'
12172 else
12173   am__fastdepCC_TRUE='#'
12174   am__fastdepCC_FALSE=
12175 fi
12176
12177
12178 if test "x$CC" != xcc; then
12179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12180 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12181 else
12182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12183 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12184 fi
12185 set dummy $CC; ac_cc=`$as_echo "$2" |
12186                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12187 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12188   $as_echo_n "(cached) " >&6
12189 else
12190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h.  */
12192
12193 int
12194 main ()
12195 {
12196
12197   ;
12198   return 0;
12199 }
12200 _ACEOF
12201 # Make sure it works both with $CC and with simple cc.
12202 # We do the test twice because some compilers refuse to overwrite an
12203 # existing .o file with -o, though they will create one.
12204 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12205 rm -f conftest2.*
12206 if { { case "(($ac_try" in
12207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12208   *) ac_try_echo=$ac_try;;
12209 esac
12210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12211 $as_echo "$ac_try_echo"; } >&5
12212   (eval "$ac_try") 2>&5
12213   ac_status=$?
12214   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12215   test $ac_status = 0; } &&
12216    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12218   *) ac_try_echo=$ac_try;;
12219 esac
12220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12221 $as_echo "$ac_try_echo"; } >&5
12222   (eval "$ac_try") 2>&5
12223   ac_status=$?
12224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12225   test $ac_status = 0; };
12226 then
12227   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12228   if test "x$CC" != xcc; then
12229     # Test first that cc exists at all.
12230     if { ac_try='cc -c conftest.$ac_ext >&5'
12231   { { case "(($ac_try" in
12232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12233   *) ac_try_echo=$ac_try;;
12234 esac
12235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12236 $as_echo "$ac_try_echo"; } >&5
12237   (eval "$ac_try") 2>&5
12238   ac_status=$?
12239   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12240   test $ac_status = 0; }; }; then
12241       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12242       rm -f conftest2.*
12243       if { { 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; } &&
12253          test -f conftest2.$ac_objext && { { case "(($ac_try" in
12254   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12255   *) ac_try_echo=$ac_try;;
12256 esac
12257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12258 $as_echo "$ac_try_echo"; } >&5
12259   (eval "$ac_try") 2>&5
12260   ac_status=$?
12261   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12262   test $ac_status = 0; };
12263       then
12264         # cc works too.
12265         :
12266       else
12267         # cc exists but doesn't like -o.
12268         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12269       fi
12270     fi
12271   fi
12272 else
12273   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12274 fi
12275 rm -f core conftest*
12276
12277 fi
12278 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12280 $as_echo "yes" >&6; }
12281 else
12282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12283 $as_echo "no" >&6; }
12284
12285 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12286
12287 fi
12288
12289 # FIXME: we rely on the cache variable name because
12290 # there is no other way.
12291 set dummy $CC
12292 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12293 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12294 if test "$am_t" != yes; then
12295    # Losing compiler, so override with the script.
12296    # FIXME: It is wrong to rewrite CC.
12297    # But if we don't then we get into trouble of one sort or another.
12298    # A longer-term fix would be to have automake use am__CC in this case,
12299    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12300    CC="$am_aux_dir/compile $CC"
12301 fi
12302
12303
12304
12305
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
12307 $as_echo_n "checking for __attribute__... " >&6; }
12308
12309 if ${ac_cv___attribute__+:} false; then :
12310   $as_echo_n "(cached) " >&6
12311 else
12312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h.  */
12314
12315 #include <stdlib.h>
12316
12317 int func(int x);
12318 int foo(int x __attribute__ ((unused)))
12319 {
12320    exit(1);
12321 }
12322
12323 int
12324 main ()
12325 {
12326
12327   ;
12328   return 0;
12329 }
12330 _ACEOF
12331 if ac_fn_c_try_compile "$LINENO"; then :
12332   ac_cv___attribute__="yes"
12333 else
12334   ac_cv___attribute__="no"
12335
12336 fi
12337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12338 fi
12339
12340
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
12342 $as_echo "$ac_cv___attribute__" >&6; }
12343
12344 if test "x${ac_cv___attribute__}" = "xyes" ; then
12345
12346 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
12347
12348
12349 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
12350
12351   else
12352
12353 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
12354
12355 fi
12356
12357
12358
12359 # pkg-config
12360
12361
12362
12363
12364
12365
12366 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12367         if test -n "$ac_tool_prefix"; then
12368   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12369 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12371 $as_echo_n "checking for $ac_word... " >&6; }
12372 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12373   $as_echo_n "(cached) " >&6
12374 else
12375   case $PKG_CONFIG in
12376   [\\/]* | ?:[\\/]*)
12377   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12378   ;;
12379   *)
12380   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12381 for as_dir in $PATH
12382 do
12383   IFS=$as_save_IFS
12384   test -z "$as_dir" && as_dir=.
12385     for ac_exec_ext in '' $ac_executable_extensions; do
12386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12387     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12389     break 2
12390   fi
12391 done
12392   done
12393 IFS=$as_save_IFS
12394
12395   ;;
12396 esac
12397 fi
12398 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12399 if test -n "$PKG_CONFIG"; then
12400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12401 $as_echo "$PKG_CONFIG" >&6; }
12402 else
12403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12404 $as_echo "no" >&6; }
12405 fi
12406
12407
12408 fi
12409 if test -z "$ac_cv_path_PKG_CONFIG"; then
12410   ac_pt_PKG_CONFIG=$PKG_CONFIG
12411   # Extract the first word of "pkg-config", so it can be a program name with args.
12412 set dummy pkg-config; ac_word=$2
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12414 $as_echo_n "checking for $ac_word... " >&6; }
12415 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12416   $as_echo_n "(cached) " >&6
12417 else
12418   case $ac_pt_PKG_CONFIG in
12419   [\\/]* | ?:[\\/]*)
12420   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12421   ;;
12422   *)
12423   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12424 for as_dir in $PATH
12425 do
12426   IFS=$as_save_IFS
12427   test -z "$as_dir" && as_dir=.
12428     for ac_exec_ext in '' $ac_executable_extensions; do
12429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12430     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12432     break 2
12433   fi
12434 done
12435   done
12436 IFS=$as_save_IFS
12437
12438   ;;
12439 esac
12440 fi
12441 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12442 if test -n "$ac_pt_PKG_CONFIG"; then
12443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12444 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12445 else
12446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12447 $as_echo "no" >&6; }
12448 fi
12449
12450   if test "x$ac_pt_PKG_CONFIG" = x; then
12451     PKG_CONFIG=""
12452   else
12453     case $cross_compiling:$ac_tool_warned in
12454 yes:)
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12457 ac_tool_warned=yes ;;
12458 esac
12459     PKG_CONFIG=$ac_pt_PKG_CONFIG
12460   fi
12461 else
12462   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12463 fi
12464
12465 fi
12466 if test -n "$PKG_CONFIG"; then
12467         _pkg_min_version=0.9.0
12468         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12469 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12470         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12471                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12472 $as_echo "yes" >&6; }
12473         else
12474                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12475 $as_echo "no" >&6; }
12476                 PKG_CONFIG=""
12477         fi
12478 fi
12479
12480 # Check whether pkg-config supports Requires.private
12481 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then :
12482   pkgconfig_requires_private="Requires.private"
12483 else
12484   pkgconfig_requires_private="Requires"
12485
12486 fi
12487
12488
12489 # doxygen program for documentation building
12490
12491
12492
12493 # Check whether --enable-doc was given.
12494 if test "${enable_doc+set}" = set; then :
12495   enableval=$enable_doc;
12496     if test "x${enableval}" = "xyes" ; then
12497        efl_enable_doc="yes"
12498     else
12499        efl_enable_doc="no"
12500     fi
12501
12502 else
12503   efl_enable_doc="yes"
12504 fi
12505
12506
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12508 $as_echo_n "checking whether to build documentation... " >&6; }
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12510 $as_echo "${efl_enable_doc}" >&6; }
12511
12512 if test "x${efl_enable_doc}" = "xyes" ; then
12513
12514
12515    efl_doxygen="doxygen"
12516
12517
12518 # Check whether --with-doxygen was given.
12519 if test "${with_doxygen+set}" = set; then :
12520   withval=$with_doxygen;       efl_doxygen=${withval}
12521        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12522 set dummy ${efl_doxygen}; ac_word=$2
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12524 $as_echo_n "checking for $ac_word... " >&6; }
12525 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12526   $as_echo_n "(cached) " >&6
12527 else
12528   if test -n "$efl_have_doxygen"; then
12529   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12530 else
12531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12532 for as_dir in $PATH
12533 do
12534   IFS=$as_save_IFS
12535   test -z "$as_dir" && as_dir=.
12536     for ac_exec_ext in '' $ac_executable_extensions; do
12537   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12538     ac_cv_prog_efl_have_doxygen="yes"
12539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12540     break 2
12541   fi
12542 done
12543   done
12544 IFS=$as_save_IFS
12545
12546   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12547 fi
12548 fi
12549 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12550 if test -n "$efl_have_doxygen"; then
12551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12552 $as_echo "$efl_have_doxygen" >&6; }
12553 else
12554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12555 $as_echo "no" >&6; }
12556 fi
12557
12558
12559        if test "x${efl_have_doxygen}" = "xno" ; then
12560           echo "WARNING:"
12561           echo "The doxygen program you specified:"
12562           echo "${efl_doxygen}"
12563           echo "was not found.  Please check the path and make sure "
12564           echo "the program exists and is executable."
12565           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12566 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12567        fi
12568
12569 else
12570   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12571 set dummy ${efl_doxygen}; ac_word=$2
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12573 $as_echo_n "checking for $ac_word... " >&6; }
12574 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12575   $as_echo_n "(cached) " >&6
12576 else
12577   if test -n "$efl_have_doxygen"; then
12578   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12579 else
12580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12581 for as_dir in $PATH
12582 do
12583   IFS=$as_save_IFS
12584   test -z "$as_dir" && as_dir=.
12585     for ac_exec_ext in '' $ac_executable_extensions; do
12586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12587     ac_cv_prog_efl_have_doxygen="yes"
12588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12589     break 2
12590   fi
12591 done
12592   done
12593 IFS=$as_save_IFS
12594
12595   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12596 fi
12597 fi
12598 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12599 if test -n "$efl_have_doxygen"; then
12600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12601 $as_echo "$efl_have_doxygen" >&6; }
12602 else
12603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12604 $as_echo "no" >&6; }
12605 fi
12606
12607
12608        if test "x${efl_have_doxygen}" = "xno" ; then
12609           echo "WARNING:"
12610           echo "The doxygen program was not found in your execute path."
12611           echo "You may have doxygen installed somewhere not covered by your path."
12612           echo ""
12613           echo "If this is the case make sure you have the packages installed, AND"
12614           echo "that the doxygen program is in your execute path (see your"
12615           echo "shell manual page on setting the \$PATH environment variable), OR"
12616           echo "alternatively, specify the program to use with --with-doxygen."
12617           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12618 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12619        fi
12620
12621 fi
12622
12623 fi
12624
12625
12626
12627 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12628    efl_enable_doc="no"
12629 fi
12630
12631  if test "x${efl_enable_doc}" = "xyes"; then
12632   EFL_BUILD_DOC_TRUE=
12633   EFL_BUILD_DOC_FALSE='#'
12634 else
12635   EFL_BUILD_DOC_TRUE='#'
12636   EFL_BUILD_DOC_FALSE=
12637 fi
12638
12639
12640 if test "x${efl_enable_doc}" = "xyes" ; then
12641   build_doc="yes"
12642 else
12643   build_doc="no"
12644 fi
12645
12646
12647
12648
12649 ### Checks for libraries
12650
12651
12652 pkg_failed=no
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
12654 $as_echo_n "checking for EEZE... " >&6; }
12655
12656 if test -n "$EEZE_CFLAGS"; then
12657     pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
12658  elif test -n "$PKG_CONFIG"; then
12659     if test -n "$PKG_CONFIG" && \
12660     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
12661   ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
12662   ac_status=$?
12663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12664   test $ac_status = 0; }; then
12665   pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "${requirement_eeze}" 2>/dev/null`
12666 else
12667   pkg_failed=yes
12668 fi
12669  else
12670     pkg_failed=untried
12671 fi
12672 if test -n "$EEZE_LIBS"; then
12673     pkg_cv_EEZE_LIBS="$EEZE_LIBS"
12674  elif test -n "$PKG_CONFIG"; then
12675     if test -n "$PKG_CONFIG" && \
12676     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
12677   ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
12678   ac_status=$?
12679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12680   test $ac_status = 0; }; then
12681   pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "${requirement_eeze}" 2>/dev/null`
12682 else
12683   pkg_failed=yes
12684 fi
12685  else
12686     pkg_failed=untried
12687 fi
12688
12689
12690
12691 if test $pkg_failed = yes; then
12692         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12693 $as_echo "no" >&6; }
12694
12695 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12696         _pkg_short_errors_supported=yes
12697 else
12698         _pkg_short_errors_supported=no
12699 fi
12700         if test $_pkg_short_errors_supported = yes; then
12701                 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "${requirement_eeze}" 2>&1`
12702         else
12703                 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors "${requirement_eeze}" 2>&1`
12704         fi
12705         # Put the nasty error message in config.log where it belongs
12706         echo "$EEZE_PKG_ERRORS" >&5
12707
12708         as_fn_error $? "Package requirements (${requirement_eeze}) were not met:
12709
12710 $EEZE_PKG_ERRORS
12711
12712 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12713 installed software in a non-standard prefix.
12714
12715 Alternatively, you may set the environment variables EEZE_CFLAGS
12716 and EEZE_LIBS to avoid the need to call pkg-config.
12717 See the pkg-config man page for more details." "$LINENO" 5
12718
12719 elif test $pkg_failed = untried; then
12720         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12721 $as_echo "no" >&6; }
12722         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12724 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12725 is in your PATH or set the PKG_CONFIG environment variable to the full
12726 path to pkg-config.
12727
12728 Alternatively, you may set the environment variables EEZE_CFLAGS
12729 and EEZE_LIBS to avoid the need to call pkg-config.
12730 See the pkg-config man page for more details.
12731
12732 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12733 See \`config.log' for more details" "$LINENO" 5; }
12734
12735 else
12736         EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
12737         EEZE_LIBS=$pkg_cv_EEZE_LIBS
12738         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12739 $as_echo "yes" >&6; }
12740
12741 fi
12742
12743 udev_version=$(pkg-config libudev --modversion)
12744
12745 if test $udev_version -lt 143;then
12746   as_fn_error $? "udev version is too old!" "$LINENO" 5
12747 elif test $udev_version -lt 148;then
12748   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Old udev version detected, enabling compat code" >&5
12749 $as_echo "$as_me: WARNING: Old udev version detected, enabling compat code" >&2;}
12750
12751 $as_echo "#define OLD_UDEV_RRRRRRRRRRRRRR 1" >>confdefs.h
12752
12753 fi
12754
12755 eeze_mount=
12756 if test -n "$PKG_CONFIG" && \
12757     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12758   ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12759   ac_status=$?
12760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12761   test $ac_status = 0; }; then
12762
12763
12764 $as_echo "#define HAVE_EEZE_MOUNT 1" >>confdefs.h
12765
12766       if true; then
12767   HAVE_EEZE_MOUNT_TRUE=
12768   HAVE_EEZE_MOUNT_FALSE='#'
12769 else
12770   HAVE_EEZE_MOUNT_TRUE='#'
12771   HAVE_EEZE_MOUNT_FALSE=
12772 fi
12773
12774      eeze_mount="yes"
12775
12776 else
12777    if false; then
12778   HAVE_EEZE_MOUNT_TRUE=
12779   HAVE_EEZE_MOUNT_FALSE='#'
12780 else
12781   HAVE_EEZE_MOUNT_TRUE='#'
12782   HAVE_EEZE_MOUNT_FALSE=
12783 fi
12784
12785
12786 fi
12787
12788 if test "x$eeze_mount" = "xyes";then
12789
12790 # Check whether --with-mount was given.
12791 if test "${with_mount+set}" = set; then :
12792   withval=$with_mount; with_mount=$withval
12793 else
12794   with_mount="detect"
12795 fi
12796
12797
12798 # Check whether --with-umount was given.
12799 if test "${with_umount+set}" = set; then :
12800   withval=$with_umount; with_umount=$withval
12801 else
12802   with_umount="detect"
12803 fi
12804
12805
12806 # Check whether --with-eject was given.
12807 if test "${with_eject+set}" = set; then :
12808   withval=$with_eject; with_eject=$withval
12809 else
12810   with_eject="detect"
12811 fi
12812
12813
12814 pkg_failed=no
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMOUNT" >&5
12816 $as_echo_n "checking for LIBMOUNT... " >&6; }
12817
12818 if test -n "$LIBMOUNT_CFLAGS"; then
12819     pkg_cv_LIBMOUNT_CFLAGS="$LIBMOUNT_CFLAGS"
12820  elif test -n "$PKG_CONFIG"; then
12821     if test -n "$PKG_CONFIG" && \
12822     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12823   ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12824   ac_status=$?
12825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12826   test $ac_status = 0; }; then
12827   pkg_cv_LIBMOUNT_CFLAGS=`$PKG_CONFIG --cflags "mount >= 2.18.0" 2>/dev/null`
12828 else
12829   pkg_failed=yes
12830 fi
12831  else
12832     pkg_failed=untried
12833 fi
12834 if test -n "$LIBMOUNT_LIBS"; then
12835     pkg_cv_LIBMOUNT_LIBS="$LIBMOUNT_LIBS"
12836  elif test -n "$PKG_CONFIG"; then
12837     if test -n "$PKG_CONFIG" && \
12838     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12839   ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12840   ac_status=$?
12841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12842   test $ac_status = 0; }; then
12843   pkg_cv_LIBMOUNT_LIBS=`$PKG_CONFIG --libs "mount >= 2.18.0" 2>/dev/null`
12844 else
12845   pkg_failed=yes
12846 fi
12847  else
12848     pkg_failed=untried
12849 fi
12850
12851
12852
12853 if test $pkg_failed = yes; then
12854         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12856
12857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12858         _pkg_short_errors_supported=yes
12859 else
12860         _pkg_short_errors_supported=no
12861 fi
12862         if test $_pkg_short_errors_supported = yes; then
12863                 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mount >= 2.18.0" 2>&1`
12864         else
12865                 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --print-errors "mount >= 2.18.0" 2>&1`
12866         fi
12867         # Put the nasty error message in config.log where it belongs
12868         echo "$LIBMOUNT_PKG_ERRORS" >&5
12869
12870         as_fn_error $? "Package requirements (mount >= 2.18.0) were not met:
12871
12872 $LIBMOUNT_PKG_ERRORS
12873
12874 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12875 installed software in a non-standard prefix.
12876
12877 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12878 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12879 See the pkg-config man page for more details." "$LINENO" 5
12880
12881 elif test $pkg_failed = untried; then
12882         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12883 $as_echo "no" >&6; }
12884         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12885 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12886 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12887 is in your PATH or set the PKG_CONFIG environment variable to the full
12888 path to pkg-config.
12889
12890 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12891 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12892 See the pkg-config man page for more details.
12893
12894 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12895 See \`config.log' for more details" "$LINENO" 5; }
12896
12897 else
12898         LIBMOUNT_CFLAGS=$pkg_cv_LIBMOUNT_CFLAGS
12899         LIBMOUNT_LIBS=$pkg_cv_LIBMOUNT_LIBS
12900         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12901 $as_echo "yes" >&6; }
12902
12903 fi
12904   mount_v=$(pkg-config --modversion mount)
12905
12906 pkg_failed=no
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FILE" >&5
12908 $as_echo_n "checking for ECORE_FILE... " >&6; }
12909
12910 if test -n "$ECORE_FILE_CFLAGS"; then
12911     pkg_cv_ECORE_FILE_CFLAGS="$ECORE_FILE_CFLAGS"
12912  elif test -n "$PKG_CONFIG"; then
12913     if test -n "$PKG_CONFIG" && \
12914     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7\""; } >&5
12915   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7") 2>&5
12916   ac_status=$?
12917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12918   test $ac_status = 0; }; then
12919   pkg_cv_ECORE_FILE_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.7" 2>/dev/null`
12920 else
12921   pkg_failed=yes
12922 fi
12923  else
12924     pkg_failed=untried
12925 fi
12926 if test -n "$ECORE_FILE_LIBS"; then
12927     pkg_cv_ECORE_FILE_LIBS="$ECORE_FILE_LIBS"
12928  elif test -n "$PKG_CONFIG"; then
12929     if test -n "$PKG_CONFIG" && \
12930     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7\""; } >&5
12931   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7") 2>&5
12932   ac_status=$?
12933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12934   test $ac_status = 0; }; then
12935   pkg_cv_ECORE_FILE_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.7" 2>/dev/null`
12936 else
12937   pkg_failed=yes
12938 fi
12939  else
12940     pkg_failed=untried
12941 fi
12942
12943
12944
12945 if test $pkg_failed = yes; then
12946         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12947 $as_echo "no" >&6; }
12948
12949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12950         _pkg_short_errors_supported=yes
12951 else
12952         _pkg_short_errors_supported=no
12953 fi
12954         if test $_pkg_short_errors_supported = yes; then
12955                 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.7.7" 2>&1`
12956         else
12957                 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.7.7" 2>&1`
12958         fi
12959         # Put the nasty error message in config.log where it belongs
12960         echo "$ECORE_FILE_PKG_ERRORS" >&5
12961
12962         as_fn_error $? "Package requirements (ecore-file >= 1.7.7) were not met:
12963
12964 $ECORE_FILE_PKG_ERRORS
12965
12966 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12967 installed software in a non-standard prefix.
12968
12969 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12970 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12971 See the pkg-config man page for more details." "$LINENO" 5
12972
12973 elif test $pkg_failed = untried; then
12974         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12975 $as_echo "no" >&6; }
12976         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12978 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12979 is in your PATH or set the PKG_CONFIG environment variable to the full
12980 path to pkg-config.
12981
12982 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12983 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12984 See the pkg-config man page for more details.
12985
12986 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12987 See \`config.log' for more details" "$LINENO" 5; }
12988
12989 else
12990         ECORE_FILE_CFLAGS=$pkg_cv_ECORE_FILE_CFLAGS
12991         ECORE_FILE_LIBS=$pkg_cv_ECORE_FILE_LIBS
12992         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12993 $as_echo "yes" >&6; }
12994
12995 fi
12996
12997 pkg_failed=no
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
12999 $as_echo_n "checking for EET... " >&6; }
13000
13001 if test -n "$EET_CFLAGS"; then
13002     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
13003  elif test -n "$PKG_CONFIG"; then
13004     if test -n "$PKG_CONFIG" && \
13005     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.7.7\""; } >&5
13006   ($PKG_CONFIG --exists --print-errors "eet >= 1.7.7") 2>&5
13007   ac_status=$?
13008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13009   test $ac_status = 0; }; then
13010   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.7.7" 2>/dev/null`
13011 else
13012   pkg_failed=yes
13013 fi
13014  else
13015     pkg_failed=untried
13016 fi
13017 if test -n "$EET_LIBS"; then
13018     pkg_cv_EET_LIBS="$EET_LIBS"
13019  elif test -n "$PKG_CONFIG"; then
13020     if test -n "$PKG_CONFIG" && \
13021     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.7.7\""; } >&5
13022   ($PKG_CONFIG --exists --print-errors "eet >= 1.7.7") 2>&5
13023   ac_status=$?
13024   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13025   test $ac_status = 0; }; then
13026   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.7.7" 2>/dev/null`
13027 else
13028   pkg_failed=yes
13029 fi
13030  else
13031     pkg_failed=untried
13032 fi
13033
13034
13035
13036 if test $pkg_failed = yes; then
13037         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13038 $as_echo "no" >&6; }
13039
13040 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13041         _pkg_short_errors_supported=yes
13042 else
13043         _pkg_short_errors_supported=no
13044 fi
13045         if test $_pkg_short_errors_supported = yes; then
13046                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.7.7" 2>&1`
13047         else
13048                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.7.7" 2>&1`
13049         fi
13050         # Put the nasty error message in config.log where it belongs
13051         echo "$EET_PKG_ERRORS" >&5
13052
13053         as_fn_error $? "Package requirements (eet >= 1.7.7) were not met:
13054
13055 $EET_PKG_ERRORS
13056
13057 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13058 installed software in a non-standard prefix.
13059
13060 Alternatively, you may set the environment variables EET_CFLAGS
13061 and EET_LIBS to avoid the need to call pkg-config.
13062 See the pkg-config man page for more details." "$LINENO" 5
13063
13064 elif test $pkg_failed = untried; then
13065         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13066 $as_echo "no" >&6; }
13067         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13069 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13070 is in your PATH or set the PKG_CONFIG environment variable to the full
13071 path to pkg-config.
13072
13073 Alternatively, you may set the environment variables EET_CFLAGS
13074 and EET_LIBS to avoid the need to call pkg-config.
13075 See the pkg-config man page for more details.
13076
13077 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13078 See \`config.log' for more details" "$LINENO" 5; }
13079
13080 else
13081         EET_CFLAGS=$pkg_cv_EET_CFLAGS
13082         EET_LIBS=$pkg_cv_EET_LIBS
13083         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13084 $as_echo "yes" >&6; }
13085
13086 fi
13087
13088 pkg_failed=no
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_CON" >&5
13090 $as_echo_n "checking for ECORE_CON... " >&6; }
13091
13092 if test -n "$ECORE_CON_CFLAGS"; then
13093     pkg_cv_ECORE_CON_CFLAGS="$ECORE_CON_CFLAGS"
13094  elif test -n "$PKG_CONFIG"; then
13095     if test -n "$PKG_CONFIG" && \
13096     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.7.7\""; } >&5
13097   ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.7.7") 2>&5
13098   ac_status=$?
13099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13100   test $ac_status = 0; }; then
13101   pkg_cv_ECORE_CON_CFLAGS=`$PKG_CONFIG --cflags "ecore-con >= 1.7.7" 2>/dev/null`
13102 else
13103   pkg_failed=yes
13104 fi
13105  else
13106     pkg_failed=untried
13107 fi
13108 if test -n "$ECORE_CON_LIBS"; then
13109     pkg_cv_ECORE_CON_LIBS="$ECORE_CON_LIBS"
13110  elif test -n "$PKG_CONFIG"; then
13111     if test -n "$PKG_CONFIG" && \
13112     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.7.7\""; } >&5
13113   ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.7.7") 2>&5
13114   ac_status=$?
13115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13116   test $ac_status = 0; }; then
13117   pkg_cv_ECORE_CON_LIBS=`$PKG_CONFIG --libs "ecore-con >= 1.7.7" 2>/dev/null`
13118 else
13119   pkg_failed=yes
13120 fi
13121  else
13122     pkg_failed=untried
13123 fi
13124
13125
13126
13127 if test $pkg_failed = yes; then
13128         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13129 $as_echo "no" >&6; }
13130
13131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13132         _pkg_short_errors_supported=yes
13133 else
13134         _pkg_short_errors_supported=no
13135 fi
13136         if test $_pkg_short_errors_supported = yes; then
13137                 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-con >= 1.7.7" 2>&1`
13138         else
13139                 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-con >= 1.7.7" 2>&1`
13140         fi
13141         # Put the nasty error message in config.log where it belongs
13142         echo "$ECORE_CON_PKG_ERRORS" >&5
13143
13144         as_fn_error $? "Package requirements (ecore-con >= 1.7.7) were not met:
13145
13146 $ECORE_CON_PKG_ERRORS
13147
13148 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13149 installed software in a non-standard prefix.
13150
13151 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
13152 and ECORE_CON_LIBS to avoid the need to call pkg-config.
13153 See the pkg-config man page for more details." "$LINENO" 5
13154
13155 elif test $pkg_failed = untried; then
13156         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13157 $as_echo "no" >&6; }
13158         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13160 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13161 is in your PATH or set the PKG_CONFIG environment variable to the full
13162 path to pkg-config.
13163
13164 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
13165 and ECORE_CON_LIBS to avoid the need to call pkg-config.
13166 See the pkg-config man page for more details.
13167
13168 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13169 See \`config.log' for more details" "$LINENO" 5; }
13170
13171 else
13172         ECORE_CON_CFLAGS=$pkg_cv_ECORE_CON_CFLAGS
13173         ECORE_CON_LIBS=$pkg_cv_ECORE_CON_LIBS
13174         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13175 $as_echo "yes" >&6; }
13176
13177 fi
13178
13179   if test "x$with_mount" = "xdetect";then
13180     # Extract the first word of "mount", so it can be a program name with args.
13181 set dummy mount; ac_word=$2
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13183 $as_echo_n "checking for $ac_word... " >&6; }
13184 if ${ac_cv_path_with_mount+:} false; then :
13185   $as_echo_n "(cached) " >&6
13186 else
13187   case $with_mount in
13188   [\\/]* | ?:[\\/]*)
13189   ac_cv_path_with_mount="$with_mount" # Let the user override the test with a path.
13190   ;;
13191   *)
13192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13193 for as_dir in $PATH
13194 do
13195   IFS=$as_save_IFS
13196   test -z "$as_dir" && as_dir=.
13197     for ac_exec_ext in '' $ac_executable_extensions; do
13198   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13199     ac_cv_path_with_mount="$as_dir/$ac_word$ac_exec_ext"
13200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13201     break 2
13202   fi
13203 done
13204   done
13205 IFS=$as_save_IFS
13206
13207   ;;
13208 esac
13209 fi
13210 with_mount=$ac_cv_path_with_mount
13211 if test -n "$with_mount"; then
13212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_mount" >&5
13213 $as_echo "$with_mount" >&6; }
13214 else
13215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13216 $as_echo "no" >&6; }
13217 fi
13218
13219
13220   fi
13221   if test -z "$with_mount" ; then
13222
13223 cat >>confdefs.h <<_ACEOF
13224 #define MOUNTABLE 0
13225 _ACEOF
13226
13227   else
13228
13229 cat >>confdefs.h <<_ACEOF
13230 #define MOUNTABLE 1
13231 _ACEOF
13232
13233   fi
13234
13235 cat >>confdefs.h <<_ACEOF
13236 #define EEZE_MOUNT_BIN "$with_mount"
13237 _ACEOF
13238
13239
13240   if test "x$with_umount" = "xdetect";then
13241     # Extract the first word of "umount", so it can be a program name with args.
13242 set dummy umount; ac_word=$2
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13244 $as_echo_n "checking for $ac_word... " >&6; }
13245 if ${ac_cv_path_with_umount+:} false; then :
13246   $as_echo_n "(cached) " >&6
13247 else
13248   case $with_umount in
13249   [\\/]* | ?:[\\/]*)
13250   ac_cv_path_with_umount="$with_umount" # Let the user override the test with a path.
13251   ;;
13252   *)
13253   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13254 for as_dir in $PATH
13255 do
13256   IFS=$as_save_IFS
13257   test -z "$as_dir" && as_dir=.
13258     for ac_exec_ext in '' $ac_executable_extensions; do
13259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13260     ac_cv_path_with_umount="$as_dir/$ac_word$ac_exec_ext"
13261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13262     break 2
13263   fi
13264 done
13265   done
13266 IFS=$as_save_IFS
13267
13268   ;;
13269 esac
13270 fi
13271 with_umount=$ac_cv_path_with_umount
13272 if test -n "$with_umount"; then
13273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_umount" >&5
13274 $as_echo "$with_umount" >&6; }
13275 else
13276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13277 $as_echo "no" >&6; }
13278 fi
13279
13280
13281   fi
13282   if test -z "$with_umount" ; then
13283
13284 cat >>confdefs.h <<_ACEOF
13285 #define UNMOUNTABLE 0
13286 _ACEOF
13287
13288   else
13289
13290 cat >>confdefs.h <<_ACEOF
13291 #define UNMOUNTABLE 1
13292 _ACEOF
13293
13294   fi
13295
13296 cat >>confdefs.h <<_ACEOF
13297 #define EEZE_UNMOUNT_BIN "$with_umount"
13298 _ACEOF
13299
13300
13301   if test "x$with_eject" = "xdetect";then
13302     # Extract the first word of "eject", so it can be a program name with args.
13303 set dummy eject; ac_word=$2
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13305 $as_echo_n "checking for $ac_word... " >&6; }
13306 if ${ac_cv_path_with_eject+:} false; then :
13307   $as_echo_n "(cached) " >&6
13308 else
13309   case $with_eject in
13310   [\\/]* | ?:[\\/]*)
13311   ac_cv_path_with_eject="$with_eject" # Let the user override the test with a path.
13312   ;;
13313   *)
13314   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13315 for as_dir in $PATH
13316 do
13317   IFS=$as_save_IFS
13318   test -z "$as_dir" && as_dir=.
13319     for ac_exec_ext in '' $ac_executable_extensions; do
13320   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13321     ac_cv_path_with_eject="$as_dir/$ac_word$ac_exec_ext"
13322     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13323     break 2
13324   fi
13325 done
13326   done
13327 IFS=$as_save_IFS
13328
13329   ;;
13330 esac
13331 fi
13332 with_eject=$ac_cv_path_with_eject
13333 if test -n "$with_eject"; then
13334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_eject" >&5
13335 $as_echo "$with_eject" >&6; }
13336 else
13337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13338 $as_echo "no" >&6; }
13339 fi
13340
13341
13342   fi
13343   if test -z "$with_eject" ; then
13344
13345 cat >>confdefs.h <<_ACEOF
13346 #define EJECTABLE 0
13347 _ACEOF
13348
13349   else
13350
13351 cat >>confdefs.h <<_ACEOF
13352 #define EJECTABLE 1
13353 _ACEOF
13354
13355   fi
13356
13357 cat >>confdefs.h <<_ACEOF
13358 #define EEZE_EJECT_BIN "$with_eject"
13359 _ACEOF
13360
13361 fi
13362
13363 want_mtab=
13364 # Check whether --enable-mtab was given.
13365 if test "${enable_mtab+set}" = set; then :
13366   enableval=$enable_mtab;
13367     if test "x${enableval}" = "xyes" ; then
13368        want_mtab="yes"
13369     else
13370        want_mtab="no"
13371     fi
13372 else
13373   want_mtab="auto"
13374 fi
13375
13376
13377
13378 if test "x${want_mtab}" = "xyes" ; then
13379    if false; then
13380   OLD_LIBMOUNT_TRUE=
13381   OLD_LIBMOUNT_FALSE='#'
13382 else
13383   OLD_LIBMOUNT_TRUE='#'
13384   OLD_LIBMOUNT_FALSE=
13385 fi
13386
13387    if false; then
13388   NEW_LIBMOUNT_TRUE=
13389   NEW_LIBMOUNT_FALSE='#'
13390 else
13391   NEW_LIBMOUNT_TRUE='#'
13392   NEW_LIBMOUNT_FALSE=
13393 fi
13394
13395 else
13396   if test -n "$mount_v";then
13397      if test "$(echo $mount_v | cut -d'.' -f2)" -lt 19; then
13398   OLD_LIBMOUNT_TRUE=
13399   OLD_LIBMOUNT_FALSE='#'
13400 else
13401   OLD_LIBMOUNT_TRUE='#'
13402   OLD_LIBMOUNT_FALSE=
13403 fi
13404
13405      if test "$(echo $mount_v | cut -d'.' -f2)" -gt 19; then
13406   NEW_LIBMOUNT_TRUE=
13407   NEW_LIBMOUNT_FALSE='#'
13408 else
13409   NEW_LIBMOUNT_TRUE='#'
13410   NEW_LIBMOUNT_FALSE=
13411 fi
13412
13413   else
13414      if false; then
13415   OLD_LIBMOUNT_TRUE=
13416   OLD_LIBMOUNT_FALSE='#'
13417 else
13418   OLD_LIBMOUNT_TRUE='#'
13419   OLD_LIBMOUNT_FALSE=
13420 fi
13421
13422      if false; then
13423   NEW_LIBMOUNT_TRUE=
13424   NEW_LIBMOUNT_FALSE='#'
13425 else
13426   NEW_LIBMOUNT_TRUE='#'
13427   NEW_LIBMOUNT_FALSE=
13428 fi
13429
13430   fi
13431 fi
13432 if test -z "$OLD_LIBMOUNT_TRUE"; then :
13433
13434
13435 cat >>confdefs.h <<_ACEOF
13436 #define OLD_LIBMOUNT 1
13437 _ACEOF
13438
13439
13440 fi
13441
13442 for ac_header in netinet/in.h
13443 do :
13444   ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
13445 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
13446   cat >>confdefs.h <<_ACEOF
13447 #define HAVE_NETINET_IN_H 1
13448 _ACEOF
13449
13450 fi
13451
13452 done
13453
13454 want_ipv6="yes"
13455 have_ipv6="no"
13456
13457 # Check whether --enable-ipv6 was given.
13458 if test "${enable_ipv6+set}" = set; then :
13459   enableval=$enable_ipv6;
13460     if test "x${enableval}" = "xyes" ; then
13461        want_ipv6="yes"
13462     else
13463        want_ipv6="no"
13464     fi
13465 else
13466   want_ipv6="auto"
13467 fi
13468
13469
13470 # Verify IPV6 availability in headers
13471 if test "x${want_ipv6}" != "xno" ; then
13472    ac_fn_c_check_type "$LINENO" "struct ipv6_mreq" "ac_cv_type_struct_ipv6_mreq" "
13473 #ifdef HAVE_NETINET_IN_H
13474 # include <netinet/in.h>
13475 #endif
13476
13477 "
13478 if test "x$ac_cv_type_struct_ipv6_mreq" = xyes; then :
13479
13480 cat >>confdefs.h <<_ACEOF
13481 #define HAVE_STRUCT_IPV6_MREQ 1
13482 _ACEOF
13483
13484 have_ipv6="yes"
13485 else
13486   have_ipv6="no"
13487 fi
13488
13489 fi
13490
13491 if test "x${have_ipv6}" = "xyes" ; then
13492
13493 $as_echo "#define HAVE_IPV6 1" >>confdefs.h
13494
13495 fi
13496
13497 ### Checks for header files
13498
13499
13500 ### Checks for types
13501
13502
13503 ### Checks for structures
13504
13505
13506 ### Checks for compiler characteristics
13507
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13509 $as_echo_n "checking for ANSI C header files... " >&6; }
13510 if ${ac_cv_header_stdc+:} false; then :
13511   $as_echo_n "(cached) " >&6
13512 else
13513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h.  */
13515 #include <stdlib.h>
13516 #include <stdarg.h>
13517 #include <string.h>
13518 #include <float.h>
13519
13520 int
13521 main ()
13522 {
13523
13524   ;
13525   return 0;
13526 }
13527 _ACEOF
13528 if ac_fn_c_try_compile "$LINENO"; then :
13529   ac_cv_header_stdc=yes
13530 else
13531   ac_cv_header_stdc=no
13532 fi
13533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13534
13535 if test $ac_cv_header_stdc = yes; then
13536   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h.  */
13539 #include <string.h>
13540
13541 _ACEOF
13542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13543   $EGREP "memchr" >/dev/null 2>&1; then :
13544
13545 else
13546   ac_cv_header_stdc=no
13547 fi
13548 rm -f conftest*
13549
13550 fi
13551
13552 if test $ac_cv_header_stdc = yes; then
13553   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h.  */
13556 #include <stdlib.h>
13557
13558 _ACEOF
13559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13560   $EGREP "free" >/dev/null 2>&1; then :
13561
13562 else
13563   ac_cv_header_stdc=no
13564 fi
13565 rm -f conftest*
13566
13567 fi
13568
13569 if test $ac_cv_header_stdc = yes; then
13570   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13571   if test "$cross_compiling" = yes; then :
13572   :
13573 else
13574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h.  */
13576 #include <ctype.h>
13577 #include <stdlib.h>
13578 #if ((' ' & 0x0FF) == 0x020)
13579 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13580 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13581 #else
13582 # define ISLOWER(c) \
13583                    (('a' <= (c) && (c) <= 'i') \
13584                      || ('j' <= (c) && (c) <= 'r') \
13585                      || ('s' <= (c) && (c) <= 'z'))
13586 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13587 #endif
13588
13589 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13590 int
13591 main ()
13592 {
13593   int i;
13594   for (i = 0; i < 256; i++)
13595     if (XOR (islower (i), ISLOWER (i))
13596         || toupper (i) != TOUPPER (i))
13597       return 2;
13598   return 0;
13599 }
13600 _ACEOF
13601 if ac_fn_c_try_run "$LINENO"; then :
13602
13603 else
13604   ac_cv_header_stdc=no
13605 fi
13606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13607   conftest.$ac_objext conftest.beam conftest.$ac_ext
13608 fi
13609
13610 fi
13611 fi
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13613 $as_echo "$ac_cv_header_stdc" >&6; }
13614 if test $ac_cv_header_stdc = yes; then
13615
13616 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13617
13618 fi
13619
13620
13621 if ! test "x${VMIC}" = "x" ; then
13622
13623
13624 CFLAGS_save="${CFLAGS}"
13625 CFLAGS="${CFLAGS} -Wall"
13626
13627 ac_ext=c
13628 ac_cpp='$CPP $CPPFLAGS'
13629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13632
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
13634 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
13635
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h.  */
13638
13639 int
13640 main ()
13641 {
13642
13643   ;
13644   return 0;
13645 }
13646 _ACEOF
13647 if ac_fn_c_try_compile "$LINENO"; then :
13648   have_flag="yes"
13649 else
13650   have_flag="no"
13651 fi
13652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13654 $as_echo "${have_flag}" >&6; }
13655
13656 if test "x${have_flag}" = "xno" ; then
13657    CFLAGS="${CFLAGS_save}"
13658 fi
13659 ac_ext=c
13660 ac_cpp='$CPP $CPPFLAGS'
13661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13664
13665
13666
13667
13668
13669 CFLAGS_save="${CFLAGS}"
13670 CFLAGS="${CFLAGS} -W"
13671
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
13679 $as_echo_n "checking whether the compiler supports -W... " >&6; }
13680
13681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h.  */
13683
13684 int
13685 main ()
13686 {
13687
13688   ;
13689   return 0;
13690 }
13691 _ACEOF
13692 if ac_fn_c_try_compile "$LINENO"; then :
13693   have_flag="yes"
13694 else
13695   have_flag="no"
13696 fi
13697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13699 $as_echo "${have_flag}" >&6; }
13700
13701 if test "x${have_flag}" = "xno" ; then
13702    CFLAGS="${CFLAGS_save}"
13703 fi
13704 ac_ext=c
13705 ac_cpp='$CPP $CPPFLAGS'
13706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13709
13710
13711
13712 fi
13713
13714
13715
13716 CFLAGS_save="${CFLAGS}"
13717 CFLAGS="${CFLAGS} -Wshadow"
13718
13719 ac_ext=c
13720 ac_cpp='$CPP $CPPFLAGS'
13721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13724
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
13726 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
13727
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h.  */
13730
13731 int
13732 main ()
13733 {
13734
13735   ;
13736   return 0;
13737 }
13738 _ACEOF
13739 if ac_fn_c_try_compile "$LINENO"; then :
13740   have_flag="yes"
13741 else
13742   have_flag="no"
13743 fi
13744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13746 $as_echo "${have_flag}" >&6; }
13747
13748 if test "x${have_flag}" = "xno" ; then
13749    CFLAGS="${CFLAGS_save}"
13750 fi
13751 ac_ext=c
13752 ac_cpp='$CPP $CPPFLAGS'
13753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13756
13757
13758
13759
13760
13761 ### Binary
13762
13763
13764
13765
13766
13767 # Check whether --enable-eeze-udev-test was given.
13768 if test "${enable_eeze_udev_test+set}" = set; then :
13769   enableval=$enable_eeze_udev_test;
13770     if test "x${enableval}" = "xyes" ; then
13771        have_eeze_udev_test="yes"
13772     else
13773        have_eeze_udev_test="no"
13774     fi
13775
13776 else
13777   have_eeze_udev_test="yes"
13778 fi
13779
13780
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_udev_test binary" >&5
13782 $as_echo_n "checking whether to build eeze_udev_test binary... " >&6; }
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_udev_test" >&5
13784 $as_echo "$have_eeze_udev_test" >&6; }
13785
13786 if test "x$have_eeze_udev_test" = "xyes"; then
13787    EEZE_UDEV_TEST_PRG=eeze_udev_test${EXEEXT}
13788 fi
13789
13790
13791
13792  if test "x$have_eeze_udev_test" = "xyes"; then
13793   BUILD_EEZE_UDEV_TEST_TRUE=
13794   BUILD_EEZE_UDEV_TEST_FALSE='#'
13795 else
13796   BUILD_EEZE_UDEV_TEST_TRUE='#'
13797   BUILD_EEZE_UDEV_TEST_FALSE=
13798 fi
13799
13800
13801 if test "x$have_eeze_udev_test" = "xyes"; then :
13802
13803 fi
13804
13805
13806
13807
13808
13809
13810 # Check whether --enable-eeze-mount was given.
13811 if test "${enable_eeze_mount+set}" = set; then :
13812   enableval=$enable_eeze_mount;
13813     if test "x${enableval}" = "xyes" ; then
13814        have_eeze_mount="yes"
13815     else
13816        have_eeze_mount="no"
13817     fi
13818
13819 else
13820   have_eeze_mount="yes"
13821 fi
13822
13823
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_mount binary" >&5
13825 $as_echo_n "checking whether to build eeze_mount binary... " >&6; }
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_mount" >&5
13827 $as_echo "$have_eeze_mount" >&6; }
13828
13829 if test "x$have_eeze_mount" = "xyes"; then
13830    EEZE_MOUNT_PRG=eeze_mount${EXEEXT}
13831 fi
13832
13833
13834
13835  if test "x$have_eeze_mount" = "xyes"; then
13836   BUILD_EEZE_MOUNT_TRUE=
13837   BUILD_EEZE_MOUNT_FALSE='#'
13838 else
13839   BUILD_EEZE_MOUNT_TRUE='#'
13840   BUILD_EEZE_MOUNT_FALSE=
13841 fi
13842
13843
13844 if test "x$have_eeze_mount" = "xyes"; then :
13845
13846 fi
13847
13848
13849
13850
13851
13852
13853 # Check whether --enable-eeze-disk-ls was given.
13854 if test "${enable_eeze_disk_ls+set}" = set; then :
13855   enableval=$enable_eeze_disk_ls;
13856     if test "x${enableval}" = "xyes" ; then
13857        have_eeze_disk_ls="yes"
13858     else
13859        have_eeze_disk_ls="no"
13860     fi
13861
13862 else
13863   have_eeze_disk_ls="yes"
13864 fi
13865
13866
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_disk_ls binary" >&5
13868 $as_echo_n "checking whether to build eeze_disk_ls binary... " >&6; }
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_disk_ls" >&5
13870 $as_echo "$have_eeze_disk_ls" >&6; }
13871
13872 if test "x$have_eeze_disk_ls" = "xyes"; then
13873    EEZE_DISK_LS_PRG=eeze_disk_ls${EXEEXT}
13874 fi
13875
13876
13877
13878  if test "x$have_eeze_disk_ls" = "xyes"; then
13879   BUILD_EEZE_DISK_LS_TRUE=
13880   BUILD_EEZE_DISK_LS_FALSE='#'
13881 else
13882   BUILD_EEZE_DISK_LS_TRUE='#'
13883   BUILD_EEZE_DISK_LS_FALSE=
13884 fi
13885
13886
13887 if test "x$have_eeze_disk_ls" = "xyes"; then :
13888
13889 fi
13890
13891
13892
13893
13894
13895
13896 # Check whether --enable-eeze-umount was given.
13897 if test "${enable_eeze_umount+set}" = set; then :
13898   enableval=$enable_eeze_umount;
13899     if test "x${enableval}" = "xyes" ; then
13900        have_eeze_umount="yes"
13901     else
13902        have_eeze_umount="no"
13903     fi
13904
13905 else
13906   have_eeze_umount="yes"
13907 fi
13908
13909
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_umount binary" >&5
13911 $as_echo_n "checking whether to build eeze_umount binary... " >&6; }
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_umount" >&5
13913 $as_echo "$have_eeze_umount" >&6; }
13914
13915 if test "x$have_eeze_umount" = "xyes"; then
13916    EEZE_UMOUNT_PRG=eeze_umount${EXEEXT}
13917 fi
13918
13919
13920
13921  if test "x$have_eeze_umount" = "xyes"; then
13922   BUILD_EEZE_UMOUNT_TRUE=
13923   BUILD_EEZE_UMOUNT_FALSE='#'
13924 else
13925   BUILD_EEZE_UMOUNT_TRUE='#'
13926   BUILD_EEZE_UMOUNT_FALSE=
13927 fi
13928
13929
13930 if test "x$have_eeze_umount" = "xyes"; then :
13931
13932 fi
13933
13934
13935
13936
13937
13938
13939 # Check whether --enable-eeze-scanner was given.
13940 if test "${enable_eeze_scanner+set}" = set; then :
13941   enableval=$enable_eeze_scanner;
13942     if test "x${enableval}" = "xyes" ; then
13943        have_eeze_scanner="yes"
13944     else
13945        have_eeze_scanner="no"
13946     fi
13947
13948 else
13949   have_eeze_scanner="yes"
13950 fi
13951
13952
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_scanner binary" >&5
13954 $as_echo_n "checking whether to build eeze_scanner binary... " >&6; }
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_scanner" >&5
13956 $as_echo "$have_eeze_scanner" >&6; }
13957
13958 if test "x$have_eeze_scanner" = "xyes"; then
13959    EEZE_SCANNER_PRG=eeze_scanner${EXEEXT}
13960 fi
13961
13962
13963
13964  if test "x$have_eeze_scanner" = "xyes"; then
13965   BUILD_EEZE_SCANNER_TRUE=
13966   BUILD_EEZE_SCANNER_FALSE='#'
13967 else
13968   BUILD_EEZE_SCANNER_TRUE='#'
13969   BUILD_EEZE_SCANNER_FALSE=
13970 fi
13971
13972
13973 if test "x$have_eeze_scanner" = "xyes"; then :
13974
13975 fi
13976
13977
13978
13979
13980
13981
13982 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"
13983
13984 cat >confcache <<\_ACEOF
13985 # This file is a shell script that caches the results of configure
13986 # tests run on this system so they can be shared between configure
13987 # scripts and configure runs, see configure's option --config-cache.
13988 # It is not useful on other systems.  If it contains results you don't
13989 # want to keep, you may remove or edit it.
13990 #
13991 # config.status only pays attention to the cache file if you give it
13992 # the --recheck option to rerun configure.
13993 #
13994 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13995 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13996 # following values.
13997
13998 _ACEOF
13999
14000 # The following way of writing the cache mishandles newlines in values,
14001 # but we know of no workaround that is simple, portable, and efficient.
14002 # So, we kill variables containing newlines.
14003 # Ultrix sh set writes to stderr and can't be redirected directly,
14004 # and sets the high bit in the cache file unless we assign to the vars.
14005 (
14006   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14007     eval ac_val=\$$ac_var
14008     case $ac_val in #(
14009     *${as_nl}*)
14010       case $ac_var in #(
14011       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14012 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14013       esac
14014       case $ac_var in #(
14015       _ | IFS | as_nl) ;; #(
14016       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14017       *) { eval $ac_var=; unset $ac_var;} ;;
14018       esac ;;
14019     esac
14020   done
14021
14022   (set) 2>&1 |
14023     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14024     *${as_nl}ac_space=\ *)
14025       # `set' does not quote correctly, so add quotes: double-quote
14026       # substitution turns \\\\ into \\, and sed turns \\ into \.
14027       sed -n \
14028         "s/'/'\\\\''/g;
14029           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14030       ;; #(
14031     *)
14032       # `set' quotes correctly as required by POSIX, so do not add quotes.
14033       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14034       ;;
14035     esac |
14036     sort
14037 ) |
14038   sed '
14039      /^ac_cv_env_/b end
14040      t clear
14041      :clear
14042      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14043      t end
14044      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14045      :end' >>confcache
14046 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14047   if test -w "$cache_file"; then
14048     if test "x$cache_file" != "x/dev/null"; then
14049       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14050 $as_echo "$as_me: updating cache $cache_file" >&6;}
14051       if test ! -f "$cache_file" || test -h "$cache_file"; then
14052         cat confcache >"$cache_file"
14053       else
14054         case $cache_file in #(
14055         */* | ?:*)
14056           mv -f confcache "$cache_file"$$ &&
14057           mv -f "$cache_file"$$ "$cache_file" ;; #(
14058         *)
14059           mv -f confcache "$cache_file" ;;
14060         esac
14061       fi
14062     fi
14063   else
14064     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14065 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14066   fi
14067 fi
14068 rm -f confcache
14069
14070 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14071 # Let make expand exec_prefix.
14072 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14073
14074 DEFS=-DHAVE_CONFIG_H
14075
14076 ac_libobjs=
14077 ac_ltlibobjs=
14078 U=
14079 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14080   # 1. Remove the extension, and $U if already installed.
14081   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14082   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14083   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14084   #    will be set to the directory where LIBOBJS objects are built.
14085   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14086   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14087 done
14088 LIBOBJS=$ac_libobjs
14089
14090 LTLIBOBJS=$ac_ltlibobjs
14091
14092
14093  if test -n "$EXEEXT"; then
14094   am__EXEEXT_TRUE=
14095   am__EXEEXT_FALSE='#'
14096 else
14097   am__EXEEXT_TRUE='#'
14098   am__EXEEXT_FALSE=
14099 fi
14100
14101 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14102   as_fn_error $? "conditional \"AMDEP\" was never defined.
14103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14104 fi
14105 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14106   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14108 fi
14109 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14110   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14112 fi
14113 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14114   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14116 fi
14117 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
14118   as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
14119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14120 fi
14121 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
14122   as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
14123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14124 fi
14125 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14126   as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14128 fi
14129 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14130   as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14132 fi
14133 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14134   as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14136 fi
14137 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14138   as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14140 fi
14141 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14142   as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14144 fi
14145 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14146   as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14148 fi
14149 if test -z "${BUILD_EEZE_UDEV_TEST_TRUE}" && test -z "${BUILD_EEZE_UDEV_TEST_FALSE}"; then
14150   as_fn_error $? "conditional \"BUILD_EEZE_UDEV_TEST\" was never defined.
14151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14152 fi
14153 if test -z "${BUILD_EEZE_MOUNT_TRUE}" && test -z "${BUILD_EEZE_MOUNT_FALSE}"; then
14154   as_fn_error $? "conditional \"BUILD_EEZE_MOUNT\" was never defined.
14155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14156 fi
14157 if test -z "${BUILD_EEZE_DISK_LS_TRUE}" && test -z "${BUILD_EEZE_DISK_LS_FALSE}"; then
14158   as_fn_error $? "conditional \"BUILD_EEZE_DISK_LS\" was never defined.
14159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14160 fi
14161 if test -z "${BUILD_EEZE_UMOUNT_TRUE}" && test -z "${BUILD_EEZE_UMOUNT_FALSE}"; then
14162   as_fn_error $? "conditional \"BUILD_EEZE_UMOUNT\" was never defined.
14163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14164 fi
14165 if test -z "${BUILD_EEZE_SCANNER_TRUE}" && test -z "${BUILD_EEZE_SCANNER_FALSE}"; then
14166   as_fn_error $? "conditional \"BUILD_EEZE_SCANNER\" was never defined.
14167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14168 fi
14169
14170 : "${CONFIG_STATUS=./config.status}"
14171 ac_write_fail=0
14172 ac_clean_files_save=$ac_clean_files
14173 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14175 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14176 as_write_fail=0
14177 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14178 #! $SHELL
14179 # Generated by $as_me.
14180 # Run this file to recreate the current configuration.
14181 # Compiler output produced by configure, useful for debugging
14182 # configure, is in config.log if it exists.
14183
14184 debug=false
14185 ac_cs_recheck=false
14186 ac_cs_silent=false
14187
14188 SHELL=\${CONFIG_SHELL-$SHELL}
14189 export SHELL
14190 _ASEOF
14191 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14192 ## -------------------- ##
14193 ## M4sh Initialization. ##
14194 ## -------------------- ##
14195
14196 # Be more Bourne compatible
14197 DUALCASE=1; export DUALCASE # for MKS sh
14198 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14199   emulate sh
14200   NULLCMD=:
14201   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14202   # is contrary to our usage.  Disable this feature.
14203   alias -g '${1+"$@"}'='"$@"'
14204   setopt NO_GLOB_SUBST
14205 else
14206   case `(set -o) 2>/dev/null` in #(
14207   *posix*) :
14208     set -o posix ;; #(
14209   *) :
14210      ;;
14211 esac
14212 fi
14213
14214
14215 as_nl='
14216 '
14217 export as_nl
14218 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14219 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14221 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14222 # Prefer a ksh shell builtin over an external printf program on Solaris,
14223 # but without wasting forks for bash or zsh.
14224 if test -z "$BASH_VERSION$ZSH_VERSION" \
14225     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14226   as_echo='print -r --'
14227   as_echo_n='print -rn --'
14228 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14229   as_echo='printf %s\n'
14230   as_echo_n='printf %s'
14231 else
14232   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14233     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14234     as_echo_n='/usr/ucb/echo -n'
14235   else
14236     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14237     as_echo_n_body='eval
14238       arg=$1;
14239       case $arg in #(
14240       *"$as_nl"*)
14241         expr "X$arg" : "X\\(.*\\)$as_nl";
14242         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14243       esac;
14244       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14245     '
14246     export as_echo_n_body
14247     as_echo_n='sh -c $as_echo_n_body as_echo'
14248   fi
14249   export as_echo_body
14250   as_echo='sh -c $as_echo_body as_echo'
14251 fi
14252
14253 # The user is always right.
14254 if test "${PATH_SEPARATOR+set}" != set; then
14255   PATH_SEPARATOR=:
14256   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14257     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14258       PATH_SEPARATOR=';'
14259   }
14260 fi
14261
14262
14263 # IFS
14264 # We need space, tab and new line, in precisely that order.  Quoting is
14265 # there to prevent editors from complaining about space-tab.
14266 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14267 # splitting by setting IFS to empty value.)
14268 IFS=" ""        $as_nl"
14269
14270 # Find who we are.  Look in the path if we contain no directory separator.
14271 as_myself=
14272 case $0 in #((
14273   *[\\/]* ) as_myself=$0 ;;
14274   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14275 for as_dir in $PATH
14276 do
14277   IFS=$as_save_IFS
14278   test -z "$as_dir" && as_dir=.
14279     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14280   done
14281 IFS=$as_save_IFS
14282
14283      ;;
14284 esac
14285 # We did not find ourselves, most probably we were run as `sh COMMAND'
14286 # in which case we are not to be found in the path.
14287 if test "x$as_myself" = x; then
14288   as_myself=$0
14289 fi
14290 if test ! -f "$as_myself"; then
14291   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14292   exit 1
14293 fi
14294
14295 # Unset variables that we do not need and which cause bugs (e.g. in
14296 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14297 # suppresses any "Segmentation fault" message there.  '((' could
14298 # trigger a bug in pdksh 5.2.14.
14299 for as_var in BASH_ENV ENV MAIL MAILPATH
14300 do eval test x\${$as_var+set} = xset \
14301   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14302 done
14303 PS1='$ '
14304 PS2='> '
14305 PS4='+ '
14306
14307 # NLS nuisances.
14308 LC_ALL=C
14309 export LC_ALL
14310 LANGUAGE=C
14311 export LANGUAGE
14312
14313 # CDPATH.
14314 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14315
14316
14317 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14318 # ----------------------------------------
14319 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14320 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14321 # script with STATUS, using 1 if that was 0.
14322 as_fn_error ()
14323 {
14324   as_status=$1; test $as_status -eq 0 && as_status=1
14325   if test "$4"; then
14326     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14327     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14328   fi
14329   $as_echo "$as_me: error: $2" >&2
14330   as_fn_exit $as_status
14331 } # as_fn_error
14332
14333
14334 # as_fn_set_status STATUS
14335 # -----------------------
14336 # Set $? to STATUS, without forking.
14337 as_fn_set_status ()
14338 {
14339   return $1
14340 } # as_fn_set_status
14341
14342 # as_fn_exit STATUS
14343 # -----------------
14344 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14345 as_fn_exit ()
14346 {
14347   set +e
14348   as_fn_set_status $1
14349   exit $1
14350 } # as_fn_exit
14351
14352 # as_fn_unset VAR
14353 # ---------------
14354 # Portably unset VAR.
14355 as_fn_unset ()
14356 {
14357   { eval $1=; unset $1;}
14358 }
14359 as_unset=as_fn_unset
14360 # as_fn_append VAR VALUE
14361 # ----------------------
14362 # Append the text in VALUE to the end of the definition contained in VAR. Take
14363 # advantage of any shell optimizations that allow amortized linear growth over
14364 # repeated appends, instead of the typical quadratic growth present in naive
14365 # implementations.
14366 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14367   eval 'as_fn_append ()
14368   {
14369     eval $1+=\$2
14370   }'
14371 else
14372   as_fn_append ()
14373   {
14374     eval $1=\$$1\$2
14375   }
14376 fi # as_fn_append
14377
14378 # as_fn_arith ARG...
14379 # ------------------
14380 # Perform arithmetic evaluation on the ARGs, and store the result in the
14381 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14382 # must be portable across $(()) and expr.
14383 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14384   eval 'as_fn_arith ()
14385   {
14386     as_val=$(( $* ))
14387   }'
14388 else
14389   as_fn_arith ()
14390   {
14391     as_val=`expr "$@" || test $? -eq 1`
14392   }
14393 fi # as_fn_arith
14394
14395
14396 if expr a : '\(a\)' >/dev/null 2>&1 &&
14397    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14398   as_expr=expr
14399 else
14400   as_expr=false
14401 fi
14402
14403 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14404   as_basename=basename
14405 else
14406   as_basename=false
14407 fi
14408
14409 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14410   as_dirname=dirname
14411 else
14412   as_dirname=false
14413 fi
14414
14415 as_me=`$as_basename -- "$0" ||
14416 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14417          X"$0" : 'X\(//\)$' \| \
14418          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14419 $as_echo X/"$0" |
14420     sed '/^.*\/\([^/][^/]*\)\/*$/{
14421             s//\1/
14422             q
14423           }
14424           /^X\/\(\/\/\)$/{
14425             s//\1/
14426             q
14427           }
14428           /^X\/\(\/\).*/{
14429             s//\1/
14430             q
14431           }
14432           s/.*/./; q'`
14433
14434 # Avoid depending upon Character Ranges.
14435 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14436 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14437 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14438 as_cr_digits='0123456789'
14439 as_cr_alnum=$as_cr_Letters$as_cr_digits
14440
14441 ECHO_C= ECHO_N= ECHO_T=
14442 case `echo -n x` in #(((((
14443 -n*)
14444   case `echo 'xy\c'` in
14445   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14446   xy)  ECHO_C='\c';;
14447   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14448        ECHO_T=' ';;
14449   esac;;
14450 *)
14451   ECHO_N='-n';;
14452 esac
14453
14454 rm -f conf$$ conf$$.exe conf$$.file
14455 if test -d conf$$.dir; then
14456   rm -f conf$$.dir/conf$$.file
14457 else
14458   rm -f conf$$.dir
14459   mkdir conf$$.dir 2>/dev/null
14460 fi
14461 if (echo >conf$$.file) 2>/dev/null; then
14462   if ln -s conf$$.file conf$$ 2>/dev/null; then
14463     as_ln_s='ln -s'
14464     # ... but there are two gotchas:
14465     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14466     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14467     # In both cases, we have to default to `cp -p'.
14468     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14469       as_ln_s='cp -p'
14470   elif ln conf$$.file conf$$ 2>/dev/null; then
14471     as_ln_s=ln
14472   else
14473     as_ln_s='cp -p'
14474   fi
14475 else
14476   as_ln_s='cp -p'
14477 fi
14478 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14479 rmdir conf$$.dir 2>/dev/null
14480
14481
14482 # as_fn_mkdir_p
14483 # -------------
14484 # Create "$as_dir" as a directory, including parents if necessary.
14485 as_fn_mkdir_p ()
14486 {
14487
14488   case $as_dir in #(
14489   -*) as_dir=./$as_dir;;
14490   esac
14491   test -d "$as_dir" || eval $as_mkdir_p || {
14492     as_dirs=
14493     while :; do
14494       case $as_dir in #(
14495       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14496       *) as_qdir=$as_dir;;
14497       esac
14498       as_dirs="'$as_qdir' $as_dirs"
14499       as_dir=`$as_dirname -- "$as_dir" ||
14500 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14501          X"$as_dir" : 'X\(//\)[^/]' \| \
14502          X"$as_dir" : 'X\(//\)$' \| \
14503          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14504 $as_echo X"$as_dir" |
14505     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14506             s//\1/
14507             q
14508           }
14509           /^X\(\/\/\)[^/].*/{
14510             s//\1/
14511             q
14512           }
14513           /^X\(\/\/\)$/{
14514             s//\1/
14515             q
14516           }
14517           /^X\(\/\).*/{
14518             s//\1/
14519             q
14520           }
14521           s/.*/./; q'`
14522       test -d "$as_dir" && break
14523     done
14524     test -z "$as_dirs" || eval "mkdir $as_dirs"
14525   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14526
14527
14528 } # as_fn_mkdir_p
14529 if mkdir -p . 2>/dev/null; then
14530   as_mkdir_p='mkdir -p "$as_dir"'
14531 else
14532   test -d ./-p && rmdir ./-p
14533   as_mkdir_p=false
14534 fi
14535
14536 if test -x / >/dev/null 2>&1; then
14537   as_test_x='test -x'
14538 else
14539   if ls -dL / >/dev/null 2>&1; then
14540     as_ls_L_option=L
14541   else
14542     as_ls_L_option=
14543   fi
14544   as_test_x='
14545     eval sh -c '\''
14546       if test -d "$1"; then
14547         test -d "$1/.";
14548       else
14549         case $1 in #(
14550         -*)set "./$1";;
14551         esac;
14552         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14553         ???[sx]*):;;*)false;;esac;fi
14554     '\'' sh
14555   '
14556 fi
14557 as_executable_p=$as_test_x
14558
14559 # Sed expression to map a string onto a valid CPP name.
14560 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14561
14562 # Sed expression to map a string onto a valid variable name.
14563 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14564
14565
14566 exec 6>&1
14567 ## ----------------------------------- ##
14568 ## Main body of $CONFIG_STATUS script. ##
14569 ## ----------------------------------- ##
14570 _ASEOF
14571 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14572
14573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14574 # Save the log message, to keep $0 and so on meaningful, and to
14575 # report actual input values of CONFIG_FILES etc. instead of their
14576 # values after options handling.
14577 ac_log="
14578 This file was extended by eeze $as_me 1.7.7, which was
14579 generated by GNU Autoconf 2.68.  Invocation command line was
14580
14581   CONFIG_FILES    = $CONFIG_FILES
14582   CONFIG_HEADERS  = $CONFIG_HEADERS
14583   CONFIG_LINKS    = $CONFIG_LINKS
14584   CONFIG_COMMANDS = $CONFIG_COMMANDS
14585   $ $0 $@
14586
14587 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14588 "
14589
14590 _ACEOF
14591
14592 case $ac_config_files in *"
14593 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14594 esac
14595
14596 case $ac_config_headers in *"
14597 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14598 esac
14599
14600
14601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14602 # Files that config.status was made for.
14603 config_files="$ac_config_files"
14604 config_headers="$ac_config_headers"
14605 config_commands="$ac_config_commands"
14606
14607 _ACEOF
14608
14609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14610 ac_cs_usage="\
14611 \`$as_me' instantiates files and other configuration actions
14612 from templates according to the current configuration.  Unless the files
14613 and actions are specified as TAGs, all are instantiated by default.
14614
14615 Usage: $0 [OPTION]... [TAG]...
14616
14617   -h, --help       print this help, then exit
14618   -V, --version    print version number and configuration settings, then exit
14619       --config     print configuration, then exit
14620   -q, --quiet, --silent
14621                    do not print progress messages
14622   -d, --debug      don't remove temporary files
14623       --recheck    update $as_me by reconfiguring in the same conditions
14624       --file=FILE[:TEMPLATE]
14625                    instantiate the configuration file FILE
14626       --header=FILE[:TEMPLATE]
14627                    instantiate the configuration header FILE
14628
14629 Configuration files:
14630 $config_files
14631
14632 Configuration headers:
14633 $config_headers
14634
14635 Configuration commands:
14636 $config_commands
14637
14638 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14639
14640 _ACEOF
14641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14642 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14643 ac_cs_version="\\
14644 eeze config.status 1.7.7
14645 configured by $0, generated by GNU Autoconf 2.68,
14646   with options \\"\$ac_cs_config\\"
14647
14648 Copyright (C) 2010 Free Software Foundation, Inc.
14649 This config.status script is free software; the Free Software Foundation
14650 gives unlimited permission to copy, distribute and modify it."
14651
14652 ac_pwd='$ac_pwd'
14653 srcdir='$srcdir'
14654 INSTALL='$INSTALL'
14655 MKDIR_P='$MKDIR_P'
14656 AWK='$AWK'
14657 test -n "\$AWK" || AWK=awk
14658 _ACEOF
14659
14660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14661 # The default lists apply if the user does not specify any file.
14662 ac_need_defaults=:
14663 while test $# != 0
14664 do
14665   case $1 in
14666   --*=?*)
14667     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14668     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14669     ac_shift=:
14670     ;;
14671   --*=)
14672     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14673     ac_optarg=
14674     ac_shift=:
14675     ;;
14676   *)
14677     ac_option=$1
14678     ac_optarg=$2
14679     ac_shift=shift
14680     ;;
14681   esac
14682
14683   case $ac_option in
14684   # Handling of the options.
14685   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14686     ac_cs_recheck=: ;;
14687   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14688     $as_echo "$ac_cs_version"; exit ;;
14689   --config | --confi | --conf | --con | --co | --c )
14690     $as_echo "$ac_cs_config"; exit ;;
14691   --debug | --debu | --deb | --de | --d | -d )
14692     debug=: ;;
14693   --file | --fil | --fi | --f )
14694     $ac_shift
14695     case $ac_optarg in
14696     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14697     '') as_fn_error $? "missing file argument" ;;
14698     esac
14699     as_fn_append CONFIG_FILES " '$ac_optarg'"
14700     ac_need_defaults=false;;
14701   --header | --heade | --head | --hea )
14702     $ac_shift
14703     case $ac_optarg in
14704     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14705     esac
14706     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14707     ac_need_defaults=false;;
14708   --he | --h)
14709     # Conflict between --help and --header
14710     as_fn_error $? "ambiguous option: \`$1'
14711 Try \`$0 --help' for more information.";;
14712   --help | --hel | -h )
14713     $as_echo "$ac_cs_usage"; exit ;;
14714   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14715   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14716     ac_cs_silent=: ;;
14717
14718   # This is an error.
14719   -*) as_fn_error $? "unrecognized option: \`$1'
14720 Try \`$0 --help' for more information." ;;
14721
14722   *) as_fn_append ac_config_targets " $1"
14723      ac_need_defaults=false ;;
14724
14725   esac
14726   shift
14727 done
14728
14729 ac_configure_extra_args=
14730
14731 if $ac_cs_silent; then
14732   exec 6>/dev/null
14733   ac_configure_extra_args="$ac_configure_extra_args --silent"
14734 fi
14735
14736 _ACEOF
14737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14738 if \$ac_cs_recheck; then
14739   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14740   shift
14741   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14742   CONFIG_SHELL='$SHELL'
14743   export CONFIG_SHELL
14744   exec "\$@"
14745 fi
14746
14747 _ACEOF
14748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14749 exec 5>>config.log
14750 {
14751   echo
14752   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14753 ## Running $as_me. ##
14754 _ASBOX
14755   $as_echo "$ac_log"
14756 } >&5
14757
14758 _ACEOF
14759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14760 #
14761 # INIT-COMMANDS
14762 #
14763 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14764
14765
14766 # The HP-UX ksh and POSIX shell print the target directory to stdout
14767 # if CDPATH is set.
14768 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14769
14770 sed_quote_subst='$sed_quote_subst'
14771 double_quote_subst='$double_quote_subst'
14772 delay_variable_subst='$delay_variable_subst'
14773 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14774 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14775 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14776 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14777 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14778 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14779 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14780 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14781 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14782 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14783 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14784 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14785 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14786 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14787 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14788 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14789 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14790 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14791 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14792 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14793 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14794 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14795 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14796 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14797 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14798 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14799 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14800 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14801 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14802 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14803 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14804 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14805 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14806 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14807 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14808 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14809 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14810 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14811 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14812 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14813 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14814 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14815 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14816 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14817 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14818 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14819 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14820 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14821 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14822 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14823 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14824 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14825 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14826 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14827 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14828 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14829 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"`'
14830 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14831 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14832 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14833 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14834 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14835 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14836 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14837 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14838 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14839 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14840 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14841 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14842 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14843 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14844 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14845 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14846 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14847 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14848 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14849 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14850 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14851 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14852 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14853 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14854 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14855 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14856 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14857 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14858 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14859 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14860 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14861 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14862 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14863 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14864 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14865 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14866 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14867 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14868 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14869 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14870 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14871 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14872 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14873 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14874 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14875 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14876 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14877 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14878 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14879 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14880 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14881 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14882 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14883 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14884 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14885 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14886 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14887 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14888 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14889 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14890 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14891 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14892 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14893 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14894 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14895 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14896 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14897 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14898 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14899 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14900 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14901 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14902 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14903
14904 LTCC='$LTCC'
14905 LTCFLAGS='$LTCFLAGS'
14906 compiler='$compiler_DEFAULT'
14907
14908 # A function that is used when there is no print builtin or printf.
14909 func_fallback_echo ()
14910 {
14911   eval 'cat <<_LTECHO_EOF
14912 \$1
14913 _LTECHO_EOF'
14914 }
14915
14916 # Quote evaled strings.
14917 for var in SHELL \
14918 ECHO \
14919 PATH_SEPARATOR \
14920 SED \
14921 GREP \
14922 EGREP \
14923 FGREP \
14924 LD \
14925 NM \
14926 LN_S \
14927 lt_SP2NL \
14928 lt_NL2SP \
14929 reload_flag \
14930 OBJDUMP \
14931 deplibs_check_method \
14932 file_magic_cmd \
14933 file_magic_glob \
14934 want_nocaseglob \
14935 DLLTOOL \
14936 sharedlib_from_linklib_cmd \
14937 AR \
14938 AR_FLAGS \
14939 archiver_list_spec \
14940 STRIP \
14941 RANLIB \
14942 CC \
14943 CFLAGS \
14944 compiler \
14945 lt_cv_sys_global_symbol_pipe \
14946 lt_cv_sys_global_symbol_to_cdecl \
14947 lt_cv_sys_global_symbol_to_c_name_address \
14948 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14949 nm_file_list_spec \
14950 lt_prog_compiler_no_builtin_flag \
14951 lt_prog_compiler_pic \
14952 lt_prog_compiler_wl \
14953 lt_prog_compiler_static \
14954 lt_cv_prog_compiler_c_o \
14955 need_locks \
14956 MANIFEST_TOOL \
14957 DSYMUTIL \
14958 NMEDIT \
14959 LIPO \
14960 OTOOL \
14961 OTOOL64 \
14962 shrext_cmds \
14963 export_dynamic_flag_spec \
14964 whole_archive_flag_spec \
14965 compiler_needs_object \
14966 with_gnu_ld \
14967 allow_undefined_flag \
14968 no_undefined_flag \
14969 hardcode_libdir_flag_spec \
14970 hardcode_libdir_separator \
14971 exclude_expsyms \
14972 include_expsyms \
14973 file_list_spec \
14974 variables_saved_for_relink \
14975 libname_spec \
14976 library_names_spec \
14977 soname_spec \
14978 install_override_mode \
14979 finish_eval \
14980 old_striplib \
14981 striplib; do
14982     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14983     *[\\\\\\\`\\"\\\$]*)
14984       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14985       ;;
14986     *)
14987       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14988       ;;
14989     esac
14990 done
14991
14992 # Double-quote double-evaled strings.
14993 for var in reload_cmds \
14994 old_postinstall_cmds \
14995 old_postuninstall_cmds \
14996 old_archive_cmds \
14997 extract_expsyms_cmds \
14998 old_archive_from_new_cmds \
14999 old_archive_from_expsyms_cmds \
15000 archive_cmds \
15001 archive_expsym_cmds \
15002 module_cmds \
15003 module_expsym_cmds \
15004 export_symbols_cmds \
15005 prelink_cmds \
15006 postlink_cmds \
15007 postinstall_cmds \
15008 postuninstall_cmds \
15009 finish_cmds \
15010 sys_lib_search_path_spec \
15011 sys_lib_dlsearch_path_spec; do
15012     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15013     *[\\\\\\\`\\"\\\$]*)
15014       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15015       ;;
15016     *)
15017       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15018       ;;
15019     esac
15020 done
15021
15022 ac_aux_dir='$ac_aux_dir'
15023 xsi_shell='$xsi_shell'
15024 lt_shell_append='$lt_shell_append'
15025
15026 # See if we are running on zsh, and set the options which allow our
15027 # commands through without removal of \ escapes INIT.
15028 if test -n "\${ZSH_VERSION+set}" ; then
15029    setopt NO_GLOB_SUBST
15030 fi
15031
15032
15033     PACKAGE='$PACKAGE'
15034     VERSION='$VERSION'
15035     TIMESTAMP='$TIMESTAMP'
15036     RM='$RM'
15037     ofile='$ofile'
15038
15039
15040
15041
15042 _ACEOF
15043
15044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15045
15046 # Handling of arguments.
15047 for ac_config_target in $ac_config_targets
15048 do
15049   case $ac_config_target in
15050     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15051     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15052     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15053     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15054     "doc/eeze.dox") CONFIG_FILES="$CONFIG_FILES doc/eeze.dox" ;;
15055     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15056     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15057     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15058     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15059     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
15060     "eeze.pc") CONFIG_FILES="$CONFIG_FILES eeze.pc" ;;
15061     "eeze.spec") CONFIG_FILES="$CONFIG_FILES eeze.spec" ;;
15062
15063   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15064   esac
15065 done
15066
15067
15068 # If the user did not use the arguments to specify the items to instantiate,
15069 # then the envvar interface is used.  Set only those that are not.
15070 # We use the long form for the default assignment because of an extremely
15071 # bizarre bug on SunOS 4.1.3.
15072 if $ac_need_defaults; then
15073   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15074   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15075   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15076 fi
15077
15078 # Have a temporary directory for convenience.  Make it in the build tree
15079 # simply because there is no reason against having it here, and in addition,
15080 # creating and moving files from /tmp can sometimes cause problems.
15081 # Hook for its removal unless debugging.
15082 # Note that there is a small window in which the directory will not be cleaned:
15083 # after its creation but before its name has been assigned to `$tmp'.
15084 $debug ||
15085 {
15086   tmp= ac_tmp=
15087   trap 'exit_status=$?
15088   : "${ac_tmp:=$tmp}"
15089   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15090 ' 0
15091   trap 'as_fn_exit 1' 1 2 13 15
15092 }
15093 # Create a (secure) tmp directory for tmp files.
15094
15095 {
15096   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15097   test -d "$tmp"
15098 }  ||
15099 {
15100   tmp=./conf$$-$RANDOM
15101   (umask 077 && mkdir "$tmp")
15102 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15103 ac_tmp=$tmp
15104
15105 # Set up the scripts for CONFIG_FILES section.
15106 # No need to generate them if there are no CONFIG_FILES.
15107 # This happens for instance with `./config.status config.h'.
15108 if test -n "$CONFIG_FILES"; then
15109
15110
15111 ac_cr=`echo X | tr X '\015'`
15112 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15113 # But we know of no other shell where ac_cr would be empty at this
15114 # point, so we can use a bashism as a fallback.
15115 if test "x$ac_cr" = x; then
15116   eval ac_cr=\$\'\\r\'
15117 fi
15118 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15119 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15120   ac_cs_awk_cr='\\r'
15121 else
15122   ac_cs_awk_cr=$ac_cr
15123 fi
15124
15125 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15126 _ACEOF
15127
15128
15129 {
15130   echo "cat >conf$$subs.awk <<_ACEOF" &&
15131   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15132   echo "_ACEOF"
15133 } >conf$$subs.sh ||
15134   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15135 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15136 ac_delim='%!_!# '
15137 for ac_last_try in false false false false false :; do
15138   . ./conf$$subs.sh ||
15139     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15140
15141   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15142   if test $ac_delim_n = $ac_delim_num; then
15143     break
15144   elif $ac_last_try; then
15145     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15146   else
15147     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15148   fi
15149 done
15150 rm -f conf$$subs.sh
15151
15152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15153 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15154 _ACEOF
15155 sed -n '
15156 h
15157 s/^/S["/; s/!.*/"]=/
15158 p
15159 g
15160 s/^[^!]*!//
15161 :repl
15162 t repl
15163 s/'"$ac_delim"'$//
15164 t delim
15165 :nl
15166 h
15167 s/\(.\{148\}\)..*/\1/
15168 t more1
15169 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15170 p
15171 n
15172 b repl
15173 :more1
15174 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15175 p
15176 g
15177 s/.\{148\}//
15178 t nl
15179 :delim
15180 h
15181 s/\(.\{148\}\)..*/\1/
15182 t more2
15183 s/["\\]/\\&/g; s/^/"/; s/$/"/
15184 p
15185 b
15186 :more2
15187 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15188 p
15189 g
15190 s/.\{148\}//
15191 t delim
15192 ' <conf$$subs.awk | sed '
15193 /^[^""]/{
15194   N
15195   s/\n//
15196 }
15197 ' >>$CONFIG_STATUS || ac_write_fail=1
15198 rm -f conf$$subs.awk
15199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15200 _ACAWK
15201 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15202   for (key in S) S_is_set[key] = 1
15203   FS = "\a"
15204
15205 }
15206 {
15207   line = $ 0
15208   nfields = split(line, field, "@")
15209   substed = 0
15210   len = length(field[1])
15211   for (i = 2; i < nfields; i++) {
15212     key = field[i]
15213     keylen = length(key)
15214     if (S_is_set[key]) {
15215       value = S[key]
15216       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15217       len += length(value) + length(field[++i])
15218       substed = 1
15219     } else
15220       len += 1 + keylen
15221   }
15222
15223   print line
15224 }
15225
15226 _ACAWK
15227 _ACEOF
15228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15229 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15230   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15231 else
15232   cat
15233 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15234   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15235 _ACEOF
15236
15237 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15238 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15239 # trailing colons and then remove the whole line if VPATH becomes empty
15240 # (actually we leave an empty line to preserve line numbers).
15241 if test "x$srcdir" = x.; then
15242   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15243 h
15244 s///
15245 s/^/:/
15246 s/[      ]*$/:/
15247 s/:\$(srcdir):/:/g
15248 s/:\${srcdir}:/:/g
15249 s/:@srcdir@:/:/g
15250 s/^:*//
15251 s/:*$//
15252 x
15253 s/\(=[   ]*\).*/\1/
15254 G
15255 s/\n//
15256 s/^[^=]*=[       ]*$//
15257 }'
15258 fi
15259
15260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15261 fi # test -n "$CONFIG_FILES"
15262
15263 # Set up the scripts for CONFIG_HEADERS section.
15264 # No need to generate them if there are no CONFIG_HEADERS.
15265 # This happens for instance with `./config.status Makefile'.
15266 if test -n "$CONFIG_HEADERS"; then
15267 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15268 BEGIN {
15269 _ACEOF
15270
15271 # Transform confdefs.h into an awk script `defines.awk', embedded as
15272 # here-document in config.status, that substitutes the proper values into
15273 # config.h.in to produce config.h.
15274
15275 # Create a delimiter string that does not exist in confdefs.h, to ease
15276 # handling of long lines.
15277 ac_delim='%!_!# '
15278 for ac_last_try in false false :; do
15279   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15280   if test -z "$ac_tt"; then
15281     break
15282   elif $ac_last_try; then
15283     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15284   else
15285     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15286   fi
15287 done
15288
15289 # For the awk script, D is an array of macro values keyed by name,
15290 # likewise P contains macro parameters if any.  Preserve backslash
15291 # newline sequences.
15292
15293 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15294 sed -n '
15295 s/.\{148\}/&'"$ac_delim"'/g
15296 t rset
15297 :rset
15298 s/^[     ]*#[    ]*define[       ][      ]*/ /
15299 t def
15300 d
15301 :def
15302 s/\\$//
15303 t bsnl
15304 s/["\\]/\\&/g
15305 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15306 D["\1"]=" \3"/p
15307 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15308 d
15309 :bsnl
15310 s/["\\]/\\&/g
15311 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15312 D["\1"]=" \3\\\\\\n"\\/p
15313 t cont
15314 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15315 t cont
15316 d
15317 :cont
15318 n
15319 s/.\{148\}/&'"$ac_delim"'/g
15320 t clear
15321 :clear
15322 s/\\$//
15323 t bsnlc
15324 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15325 d
15326 :bsnlc
15327 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15328 b cont
15329 ' <confdefs.h | sed '
15330 s/'"$ac_delim"'/"\\\
15331 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15332
15333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15334   for (key in D) D_is_set[key] = 1
15335   FS = "\a"
15336 }
15337 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15338   line = \$ 0
15339   split(line, arg, " ")
15340   if (arg[1] == "#") {
15341     defundef = arg[2]
15342     mac1 = arg[3]
15343   } else {
15344     defundef = substr(arg[1], 2)
15345     mac1 = arg[2]
15346   }
15347   split(mac1, mac2, "(") #)
15348   macro = mac2[1]
15349   prefix = substr(line, 1, index(line, defundef) - 1)
15350   if (D_is_set[macro]) {
15351     # Preserve the white space surrounding the "#".
15352     print prefix "define", macro P[macro] D[macro]
15353     next
15354   } else {
15355     # Replace #undef with comments.  This is necessary, for example,
15356     # in the case of _POSIX_SOURCE, which is predefined and required
15357     # on some systems where configure will not decide to define it.
15358     if (defundef == "undef") {
15359       print "/*", prefix defundef, macro, "*/"
15360       next
15361     }
15362   }
15363 }
15364 { print }
15365 _ACAWK
15366 _ACEOF
15367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15368   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15369 fi # test -n "$CONFIG_HEADERS"
15370
15371
15372 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15373 shift
15374 for ac_tag
15375 do
15376   case $ac_tag in
15377   :[FHLC]) ac_mode=$ac_tag; continue;;
15378   esac
15379   case $ac_mode$ac_tag in
15380   :[FHL]*:*);;
15381   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15382   :[FH]-) ac_tag=-:-;;
15383   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15384   esac
15385   ac_save_IFS=$IFS
15386   IFS=:
15387   set x $ac_tag
15388   IFS=$ac_save_IFS
15389   shift
15390   ac_file=$1
15391   shift
15392
15393   case $ac_mode in
15394   :L) ac_source=$1;;
15395   :[FH])
15396     ac_file_inputs=
15397     for ac_f
15398     do
15399       case $ac_f in
15400       -) ac_f="$ac_tmp/stdin";;
15401       *) # Look for the file first in the build tree, then in the source tree
15402          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15403          # because $ac_f cannot contain `:'.
15404          test -f "$ac_f" ||
15405            case $ac_f in
15406            [\\/$]*) false;;
15407            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15408            esac ||
15409            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15410       esac
15411       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15412       as_fn_append ac_file_inputs " '$ac_f'"
15413     done
15414
15415     # Let's still pretend it is `configure' which instantiates (i.e., don't
15416     # use $as_me), people would be surprised to read:
15417     #    /* config.h.  Generated by config.status.  */
15418     configure_input='Generated from '`
15419           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15420         `' by configure.'
15421     if test x"$ac_file" != x-; then
15422       configure_input="$ac_file.  $configure_input"
15423       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15424 $as_echo "$as_me: creating $ac_file" >&6;}
15425     fi
15426     # Neutralize special characters interpreted by sed in replacement strings.
15427     case $configure_input in #(
15428     *\&* | *\|* | *\\* )
15429        ac_sed_conf_input=`$as_echo "$configure_input" |
15430        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15431     *) ac_sed_conf_input=$configure_input;;
15432     esac
15433
15434     case $ac_tag in
15435     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15436       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15437     esac
15438     ;;
15439   esac
15440
15441   ac_dir=`$as_dirname -- "$ac_file" ||
15442 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15443          X"$ac_file" : 'X\(//\)[^/]' \| \
15444          X"$ac_file" : 'X\(//\)$' \| \
15445          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15446 $as_echo X"$ac_file" |
15447     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15448             s//\1/
15449             q
15450           }
15451           /^X\(\/\/\)[^/].*/{
15452             s//\1/
15453             q
15454           }
15455           /^X\(\/\/\)$/{
15456             s//\1/
15457             q
15458           }
15459           /^X\(\/\).*/{
15460             s//\1/
15461             q
15462           }
15463           s/.*/./; q'`
15464   as_dir="$ac_dir"; as_fn_mkdir_p
15465   ac_builddir=.
15466
15467 case "$ac_dir" in
15468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15469 *)
15470   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15471   # A ".." for each directory in $ac_dir_suffix.
15472   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15473   case $ac_top_builddir_sub in
15474   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15475   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15476   esac ;;
15477 esac
15478 ac_abs_top_builddir=$ac_pwd
15479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15480 # for backward compatibility:
15481 ac_top_builddir=$ac_top_build_prefix
15482
15483 case $srcdir in
15484   .)  # We are building in place.
15485     ac_srcdir=.
15486     ac_top_srcdir=$ac_top_builddir_sub
15487     ac_abs_top_srcdir=$ac_pwd ;;
15488   [\\/]* | ?:[\\/]* )  # Absolute name.
15489     ac_srcdir=$srcdir$ac_dir_suffix;
15490     ac_top_srcdir=$srcdir
15491     ac_abs_top_srcdir=$srcdir ;;
15492   *) # Relative name.
15493     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15494     ac_top_srcdir=$ac_top_build_prefix$srcdir
15495     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15496 esac
15497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15498
15499
15500   case $ac_mode in
15501   :F)
15502   #
15503   # CONFIG_FILE
15504   #
15505
15506   case $INSTALL in
15507   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15508   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15509   esac
15510   ac_MKDIR_P=$MKDIR_P
15511   case $MKDIR_P in
15512   [\\/$]* | ?:[\\/]* ) ;;
15513   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15514   esac
15515 _ACEOF
15516
15517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15518 # If the template does not know about datarootdir, expand it.
15519 # FIXME: This hack should be removed a few years after 2.60.
15520 ac_datarootdir_hack=; ac_datarootdir_seen=
15521 ac_sed_dataroot='
15522 /datarootdir/ {
15523   p
15524   q
15525 }
15526 /@datadir@/p
15527 /@docdir@/p
15528 /@infodir@/p
15529 /@localedir@/p
15530 /@mandir@/p'
15531 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15532 *datarootdir*) ac_datarootdir_seen=yes;;
15533 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15534   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15535 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15536 _ACEOF
15537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15538   ac_datarootdir_hack='
15539   s&@datadir@&$datadir&g
15540   s&@docdir@&$docdir&g
15541   s&@infodir@&$infodir&g
15542   s&@localedir@&$localedir&g
15543   s&@mandir@&$mandir&g
15544   s&\\\${datarootdir}&$datarootdir&g' ;;
15545 esac
15546 _ACEOF
15547
15548 # Neutralize VPATH when `$srcdir' = `.'.
15549 # Shell code in configure.ac might set extrasub.
15550 # FIXME: do we really want to maintain this feature?
15551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15552 ac_sed_extra="$ac_vpsub
15553 $extrasub
15554 _ACEOF
15555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15556 :t
15557 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15558 s|@configure_input@|$ac_sed_conf_input|;t t
15559 s&@top_builddir@&$ac_top_builddir_sub&;t t
15560 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15561 s&@srcdir@&$ac_srcdir&;t t
15562 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15563 s&@top_srcdir@&$ac_top_srcdir&;t t
15564 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15565 s&@builddir@&$ac_builddir&;t t
15566 s&@abs_builddir@&$ac_abs_builddir&;t t
15567 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15568 s&@INSTALL@&$ac_INSTALL&;t t
15569 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15570 $ac_datarootdir_hack
15571 "
15572 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15573   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15574
15575 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15576   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15577   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15578       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15579   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15580 which seems to be undefined.  Please make sure it is defined" >&5
15581 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15582 which seems to be undefined.  Please make sure it is defined" >&2;}
15583
15584   rm -f "$ac_tmp/stdin"
15585   case $ac_file in
15586   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15587   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15588   esac \
15589   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15590  ;;
15591   :H)
15592   #
15593   # CONFIG_HEADER
15594   #
15595   if test x"$ac_file" != x-; then
15596     {
15597       $as_echo "/* $configure_input  */" \
15598       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15599     } >"$ac_tmp/config.h" \
15600       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15601     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15602       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15603 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15604     else
15605       rm -f "$ac_file"
15606       mv "$ac_tmp/config.h" "$ac_file" \
15607         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15608     fi
15609   else
15610     $as_echo "/* $configure_input  */" \
15611       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15612       || as_fn_error $? "could not create -" "$LINENO" 5
15613   fi
15614 # Compute "$ac_file"'s index in $config_headers.
15615 _am_arg="$ac_file"
15616 _am_stamp_count=1
15617 for _am_header in $config_headers :; do
15618   case $_am_header in
15619     $_am_arg | $_am_arg:* )
15620       break ;;
15621     * )
15622       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15623   esac
15624 done
15625 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15626 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15627          X"$_am_arg" : 'X\(//\)[^/]' \| \
15628          X"$_am_arg" : 'X\(//\)$' \| \
15629          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15630 $as_echo X"$_am_arg" |
15631     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15632             s//\1/
15633             q
15634           }
15635           /^X\(\/\/\)[^/].*/{
15636             s//\1/
15637             q
15638           }
15639           /^X\(\/\/\)$/{
15640             s//\1/
15641             q
15642           }
15643           /^X\(\/\).*/{
15644             s//\1/
15645             q
15646           }
15647           s/.*/./; q'`/stamp-h$_am_stamp_count
15648  ;;
15649
15650   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15651 $as_echo "$as_me: executing $ac_file commands" >&6;}
15652  ;;
15653   esac
15654
15655
15656   case $ac_file$ac_mode in
15657     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15658   # Autoconf 2.62 quotes --file arguments for eval, but not when files
15659   # are listed without --file.  Let's play safe and only enable the eval
15660   # if we detect the quoting.
15661   case $CONFIG_FILES in
15662   *\'*) eval set x "$CONFIG_FILES" ;;
15663   *)   set x $CONFIG_FILES ;;
15664   esac
15665   shift
15666   for mf
15667   do
15668     # Strip MF so we end up with the name of the file.
15669     mf=`echo "$mf" | sed -e 's/:.*$//'`
15670     # Check whether this is an Automake generated Makefile or not.
15671     # We used to match only the files named `Makefile.in', but
15672     # some people rename them; so instead we look at the file content.
15673     # Grep'ing the first line is not enough: some people post-process
15674     # each Makefile.in and add a new line on top of each file to say so.
15675     # Grep'ing the whole file is not good either: AIX grep has a line
15676     # limit of 2048, but all sed's we know have understand at least 4000.
15677     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15678       dirpart=`$as_dirname -- "$mf" ||
15679 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15680          X"$mf" : 'X\(//\)[^/]' \| \
15681          X"$mf" : 'X\(//\)$' \| \
15682          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15683 $as_echo X"$mf" |
15684     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15685             s//\1/
15686             q
15687           }
15688           /^X\(\/\/\)[^/].*/{
15689             s//\1/
15690             q
15691           }
15692           /^X\(\/\/\)$/{
15693             s//\1/
15694             q
15695           }
15696           /^X\(\/\).*/{
15697             s//\1/
15698             q
15699           }
15700           s/.*/./; q'`
15701     else
15702       continue
15703     fi
15704     # Extract the definition of DEPDIR, am__include, and am__quote
15705     # from the Makefile without running `make'.
15706     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15707     test -z "$DEPDIR" && continue
15708     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15709     test -z "am__include" && continue
15710     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15711     # When using ansi2knr, U may be empty or an underscore; expand it
15712     U=`sed -n 's/^U = //p' < "$mf"`
15713     # Find all dependency output files, they are included files with
15714     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15715     # simplest approach to changing $(DEPDIR) to its actual value in the
15716     # expansion.
15717     for file in `sed -n "
15718       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15719          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15720       # Make sure the directory exists.
15721       test -f "$dirpart/$file" && continue
15722       fdir=`$as_dirname -- "$file" ||
15723 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15724          X"$file" : 'X\(//\)[^/]' \| \
15725          X"$file" : 'X\(//\)$' \| \
15726          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15727 $as_echo X"$file" |
15728     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15729             s//\1/
15730             q
15731           }
15732           /^X\(\/\/\)[^/].*/{
15733             s//\1/
15734             q
15735           }
15736           /^X\(\/\/\)$/{
15737             s//\1/
15738             q
15739           }
15740           /^X\(\/\).*/{
15741             s//\1/
15742             q
15743           }
15744           s/.*/./; q'`
15745       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15746       # echo "creating $dirpart/$file"
15747       echo '# dummy' > "$dirpart/$file"
15748     done
15749   done
15750 }
15751  ;;
15752     "libtool":C)
15753
15754     # See if we are running on zsh, and set the options which allow our
15755     # commands through without removal of \ escapes.
15756     if test -n "${ZSH_VERSION+set}" ; then
15757       setopt NO_GLOB_SUBST
15758     fi
15759
15760     cfgfile="${ofile}T"
15761     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15762     $RM "$cfgfile"
15763
15764     cat <<_LT_EOF >> "$cfgfile"
15765 #! $SHELL
15766
15767 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15768 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15769 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15770 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15771 #
15772 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15773 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15774 #                 Foundation, Inc.
15775 #   Written by Gordon Matzigkeit, 1996
15776 #
15777 #   This file is part of GNU Libtool.
15778 #
15779 # GNU Libtool is free software; you can redistribute it and/or
15780 # modify it under the terms of the GNU General Public License as
15781 # published by the Free Software Foundation; either version 2 of
15782 # the License, or (at your option) any later version.
15783 #
15784 # As a special exception to the GNU General Public License,
15785 # if you distribute this file as part of a program or library that
15786 # is built using GNU Libtool, you may include this file under the
15787 # same distribution terms that you use for the rest of that program.
15788 #
15789 # GNU Libtool is distributed in the hope that it will be useful,
15790 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15791 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15792 # GNU General Public License for more details.
15793 #
15794 # You should have received a copy of the GNU General Public License
15795 # along with GNU Libtool; see the file COPYING.  If not, a copy
15796 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15797 # obtained by writing to the Free Software Foundation, Inc.,
15798 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15799
15800
15801 # The names of the tagged configurations supported by this script.
15802 available_tags=""
15803
15804 # ### BEGIN LIBTOOL CONFIG
15805
15806 # Which release of libtool.m4 was used?
15807 macro_version=$macro_version
15808 macro_revision=$macro_revision
15809
15810 # Whether or not to build shared libraries.
15811 build_libtool_libs=$enable_shared
15812
15813 # Whether or not to build static libraries.
15814 build_old_libs=$enable_static
15815
15816 # What type of objects to build.
15817 pic_mode=$pic_mode
15818
15819 # Whether or not to optimize for fast installation.
15820 fast_install=$enable_fast_install
15821
15822 # Shell to use when invoking shell scripts.
15823 SHELL=$lt_SHELL
15824
15825 # An echo program that protects backslashes.
15826 ECHO=$lt_ECHO
15827
15828 # The PATH separator for the build system.
15829 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15830
15831 # The host system.
15832 host_alias=$host_alias
15833 host=$host
15834 host_os=$host_os
15835
15836 # The build system.
15837 build_alias=$build_alias
15838 build=$build
15839 build_os=$build_os
15840
15841 # A sed program that does not truncate output.
15842 SED=$lt_SED
15843
15844 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15845 Xsed="\$SED -e 1s/^X//"
15846
15847 # A grep program that handles long lines.
15848 GREP=$lt_GREP
15849
15850 # An ERE matcher.
15851 EGREP=$lt_EGREP
15852
15853 # A literal string matcher.
15854 FGREP=$lt_FGREP
15855
15856 # A BSD- or MS-compatible name lister.
15857 NM=$lt_NM
15858
15859 # Whether we need soft or hard links.
15860 LN_S=$lt_LN_S
15861
15862 # What is the maximum length of a command?
15863 max_cmd_len=$max_cmd_len
15864
15865 # Object file suffix (normally "o").
15866 objext=$ac_objext
15867
15868 # Executable file suffix (normally "").
15869 exeext=$exeext
15870
15871 # whether the shell understands "unset".
15872 lt_unset=$lt_unset
15873
15874 # turn spaces into newlines.
15875 SP2NL=$lt_lt_SP2NL
15876
15877 # turn newlines into spaces.
15878 NL2SP=$lt_lt_NL2SP
15879
15880 # convert \$build file names to \$host format.
15881 to_host_file_cmd=$lt_cv_to_host_file_cmd
15882
15883 # convert \$build files to toolchain format.
15884 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15885
15886 # An object symbol dumper.
15887 OBJDUMP=$lt_OBJDUMP
15888
15889 # Method to check whether dependent libraries are shared objects.
15890 deplibs_check_method=$lt_deplibs_check_method
15891
15892 # Command to use when deplibs_check_method = "file_magic".
15893 file_magic_cmd=$lt_file_magic_cmd
15894
15895 # How to find potential files when deplibs_check_method = "file_magic".
15896 file_magic_glob=$lt_file_magic_glob
15897
15898 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15899 want_nocaseglob=$lt_want_nocaseglob
15900
15901 # DLL creation program.
15902 DLLTOOL=$lt_DLLTOOL
15903
15904 # Command to associate shared and link libraries.
15905 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15906
15907 # The archiver.
15908 AR=$lt_AR
15909
15910 # Flags to create an archive.
15911 AR_FLAGS=$lt_AR_FLAGS
15912
15913 # How to feed a file listing to the archiver.
15914 archiver_list_spec=$lt_archiver_list_spec
15915
15916 # A symbol stripping program.
15917 STRIP=$lt_STRIP
15918
15919 # Commands used to install an old-style archive.
15920 RANLIB=$lt_RANLIB
15921 old_postinstall_cmds=$lt_old_postinstall_cmds
15922 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15923
15924 # Whether to use a lock for old archive extraction.
15925 lock_old_archive_extraction=$lock_old_archive_extraction
15926
15927 # A C compiler.
15928 LTCC=$lt_CC
15929
15930 # LTCC compiler flags.
15931 LTCFLAGS=$lt_CFLAGS
15932
15933 # Take the output of nm and produce a listing of raw symbols and C names.
15934 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15935
15936 # Transform the output of nm in a proper C declaration.
15937 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15938
15939 # Transform the output of nm in a C name address pair.
15940 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15941
15942 # Transform the output of nm in a C name address pair when lib prefix is needed.
15943 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15944
15945 # Specify filename containing input files for \$NM.
15946 nm_file_list_spec=$lt_nm_file_list_spec
15947
15948 # The root where to search for dependent libraries,and in which our libraries should be installed.
15949 lt_sysroot=$lt_sysroot
15950
15951 # The name of the directory that contains temporary libtool files.
15952 objdir=$objdir
15953
15954 # Used to examine libraries when file_magic_cmd begins with "file".
15955 MAGIC_CMD=$MAGIC_CMD
15956
15957 # Must we lock files when doing compilation?
15958 need_locks=$lt_need_locks
15959
15960 # Manifest tool.
15961 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15962
15963 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15964 DSYMUTIL=$lt_DSYMUTIL
15965
15966 # Tool to change global to local symbols on Mac OS X.
15967 NMEDIT=$lt_NMEDIT
15968
15969 # Tool to manipulate fat objects and archives on Mac OS X.
15970 LIPO=$lt_LIPO
15971
15972 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15973 OTOOL=$lt_OTOOL
15974
15975 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15976 OTOOL64=$lt_OTOOL64
15977
15978 # Old archive suffix (normally "a").
15979 libext=$libext
15980
15981 # Shared library suffix (normally ".so").
15982 shrext_cmds=$lt_shrext_cmds
15983
15984 # The commands to extract the exported symbol list from a shared archive.
15985 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15986
15987 # Variables whose values should be saved in libtool wrapper scripts and
15988 # restored at link time.
15989 variables_saved_for_relink=$lt_variables_saved_for_relink
15990
15991 # Do we need the "lib" prefix for modules?
15992 need_lib_prefix=$need_lib_prefix
15993
15994 # Do we need a version for libraries?
15995 need_version=$need_version
15996
15997 # Library versioning type.
15998 version_type=$version_type
15999
16000 # Shared library runtime path variable.
16001 runpath_var=$runpath_var
16002
16003 # Shared library path variable.
16004 shlibpath_var=$shlibpath_var
16005
16006 # Is shlibpath searched before the hard-coded library search path?
16007 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16008
16009 # Format of library name prefix.
16010 libname_spec=$lt_libname_spec
16011
16012 # List of archive names.  First name is the real one, the rest are links.
16013 # The last name is the one that the linker finds with -lNAME
16014 library_names_spec=$lt_library_names_spec
16015
16016 # The coded name of the library, if different from the real name.
16017 soname_spec=$lt_soname_spec
16018
16019 # Permission mode override for installation of shared libraries.
16020 install_override_mode=$lt_install_override_mode
16021
16022 # Command to use after installation of a shared archive.
16023 postinstall_cmds=$lt_postinstall_cmds
16024
16025 # Command to use after uninstallation of a shared archive.
16026 postuninstall_cmds=$lt_postuninstall_cmds
16027
16028 # Commands used to finish a libtool library installation in a directory.
16029 finish_cmds=$lt_finish_cmds
16030
16031 # As "finish_cmds", except a single script fragment to be evaled but
16032 # not shown.
16033 finish_eval=$lt_finish_eval
16034
16035 # Whether we should hardcode library paths into libraries.
16036 hardcode_into_libs=$hardcode_into_libs
16037
16038 # Compile-time system search path for libraries.
16039 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16040
16041 # Run-time system search path for libraries.
16042 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16043
16044 # Whether dlopen is supported.
16045 dlopen_support=$enable_dlopen
16046
16047 # Whether dlopen of programs is supported.
16048 dlopen_self=$enable_dlopen_self
16049
16050 # Whether dlopen of statically linked programs is supported.
16051 dlopen_self_static=$enable_dlopen_self_static
16052
16053 # Commands to strip libraries.
16054 old_striplib=$lt_old_striplib
16055 striplib=$lt_striplib
16056
16057
16058 # The linker used to build libraries.
16059 LD=$lt_LD
16060
16061 # How to create reloadable object files.
16062 reload_flag=$lt_reload_flag
16063 reload_cmds=$lt_reload_cmds
16064
16065 # Commands used to build an old-style archive.
16066 old_archive_cmds=$lt_old_archive_cmds
16067
16068 # A language specific compiler.
16069 CC=$lt_compiler
16070
16071 # Is the compiler the GNU compiler?
16072 with_gcc=$GCC
16073
16074 # Compiler flag to turn off builtin functions.
16075 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16076
16077 # Additional compiler flags for building library objects.
16078 pic_flag=$lt_lt_prog_compiler_pic
16079
16080 # How to pass a linker flag through the compiler.
16081 wl=$lt_lt_prog_compiler_wl
16082
16083 # Compiler flag to prevent dynamic linking.
16084 link_static_flag=$lt_lt_prog_compiler_static
16085
16086 # Does compiler simultaneously support -c and -o options?
16087 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16088
16089 # Whether or not to add -lc for building shared libraries.
16090 build_libtool_need_lc=$archive_cmds_need_lc
16091
16092 # Whether or not to disallow shared libs when runtime libs are static.
16093 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16094
16095 # Compiler flag to allow reflexive dlopens.
16096 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16097
16098 # Compiler flag to generate shared objects directly from archives.
16099 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16100
16101 # Whether the compiler copes with passing no objects directly.
16102 compiler_needs_object=$lt_compiler_needs_object
16103
16104 # Create an old-style archive from a shared archive.
16105 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16106
16107 # Create a temporary old-style archive to link instead of a shared archive.
16108 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16109
16110 # Commands used to build a shared archive.
16111 archive_cmds=$lt_archive_cmds
16112 archive_expsym_cmds=$lt_archive_expsym_cmds
16113
16114 # Commands used to build a loadable module if different from building
16115 # a shared archive.
16116 module_cmds=$lt_module_cmds
16117 module_expsym_cmds=$lt_module_expsym_cmds
16118
16119 # Whether we are building with GNU ld or not.
16120 with_gnu_ld=$lt_with_gnu_ld
16121
16122 # Flag that allows shared libraries with undefined symbols to be built.
16123 allow_undefined_flag=$lt_allow_undefined_flag
16124
16125 # Flag that enforces no undefined symbols.
16126 no_undefined_flag=$lt_no_undefined_flag
16127
16128 # Flag to hardcode \$libdir into a binary during linking.
16129 # This must work even if \$libdir does not exist
16130 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16131
16132 # Whether we need a single "-rpath" flag with a separated argument.
16133 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16134
16135 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16136 # DIR into the resulting binary.
16137 hardcode_direct=$hardcode_direct
16138
16139 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16140 # DIR into the resulting binary and the resulting library dependency is
16141 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16142 # library is relocated.
16143 hardcode_direct_absolute=$hardcode_direct_absolute
16144
16145 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16146 # into the resulting binary.
16147 hardcode_minus_L=$hardcode_minus_L
16148
16149 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16150 # into the resulting binary.
16151 hardcode_shlibpath_var=$hardcode_shlibpath_var
16152
16153 # Set to "yes" if building a shared library automatically hardcodes DIR
16154 # into the library and all subsequent libraries and executables linked
16155 # against it.
16156 hardcode_automatic=$hardcode_automatic
16157
16158 # Set to yes if linker adds runtime paths of dependent libraries
16159 # to runtime path list.
16160 inherit_rpath=$inherit_rpath
16161
16162 # Whether libtool must link a program against all its dependency libraries.
16163 link_all_deplibs=$link_all_deplibs
16164
16165 # Set to "yes" if exported symbols are required.
16166 always_export_symbols=$always_export_symbols
16167
16168 # The commands to list exported symbols.
16169 export_symbols_cmds=$lt_export_symbols_cmds
16170
16171 # Symbols that should not be listed in the preloaded symbols.
16172 exclude_expsyms=$lt_exclude_expsyms
16173
16174 # Symbols that must always be exported.
16175 include_expsyms=$lt_include_expsyms
16176
16177 # Commands necessary for linking programs (against libraries) with templates.
16178 prelink_cmds=$lt_prelink_cmds
16179
16180 # Commands necessary for finishing linking programs.
16181 postlink_cmds=$lt_postlink_cmds
16182
16183 # Specify filename containing input files.
16184 file_list_spec=$lt_file_list_spec
16185
16186 # How to hardcode a shared library path into an executable.
16187 hardcode_action=$hardcode_action
16188
16189 # ### END LIBTOOL CONFIG
16190
16191 _LT_EOF
16192
16193   case $host_os in
16194   aix3*)
16195     cat <<\_LT_EOF >> "$cfgfile"
16196 # AIX sometimes has problems with the GCC collect2 program.  For some
16197 # reason, if we set the COLLECT_NAMES environment variable, the problems
16198 # vanish in a puff of smoke.
16199 if test "X${COLLECT_NAMES+set}" != Xset; then
16200   COLLECT_NAMES=
16201   export COLLECT_NAMES
16202 fi
16203 _LT_EOF
16204     ;;
16205   esac
16206
16207
16208 ltmain="$ac_aux_dir/ltmain.sh"
16209
16210
16211   # We use sed instead of cat because bash on DJGPP gets confused if
16212   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16213   # text mode, it properly converts lines to CR/LF.  This bash problem
16214   # is reportedly fixed, but why not run on old versions too?
16215   sed '$q' "$ltmain" >> "$cfgfile" \
16216      || (rm -f "$cfgfile"; exit 1)
16217
16218   if test x"$xsi_shell" = xyes; then
16219   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16220 func_dirname ()\
16221 {\
16222 \    case ${1} in\
16223 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16224 \      *  ) func_dirname_result="${3}" ;;\
16225 \    esac\
16226 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16227   && mv -f "$cfgfile.tmp" "$cfgfile" \
16228     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16229 test 0 -eq $? || _lt_function_replace_fail=:
16230
16231
16232   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16233 func_basename ()\
16234 {\
16235 \    func_basename_result="${1##*/}"\
16236 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16237   && mv -f "$cfgfile.tmp" "$cfgfile" \
16238     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16239 test 0 -eq $? || _lt_function_replace_fail=:
16240
16241
16242   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16243 func_dirname_and_basename ()\
16244 {\
16245 \    case ${1} in\
16246 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16247 \      *  ) func_dirname_result="${3}" ;;\
16248 \    esac\
16249 \    func_basename_result="${1##*/}"\
16250 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16251   && mv -f "$cfgfile.tmp" "$cfgfile" \
16252     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16253 test 0 -eq $? || _lt_function_replace_fail=:
16254
16255
16256   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16257 func_stripname ()\
16258 {\
16259 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16260 \    # positional parameters, so assign one to ordinary parameter first.\
16261 \    func_stripname_result=${3}\
16262 \    func_stripname_result=${func_stripname_result#"${1}"}\
16263 \    func_stripname_result=${func_stripname_result%"${2}"}\
16264 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16265   && mv -f "$cfgfile.tmp" "$cfgfile" \
16266     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16267 test 0 -eq $? || _lt_function_replace_fail=:
16268
16269
16270   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16271 func_split_long_opt ()\
16272 {\
16273 \    func_split_long_opt_name=${1%%=*}\
16274 \    func_split_long_opt_arg=${1#*=}\
16275 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16276   && mv -f "$cfgfile.tmp" "$cfgfile" \
16277     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16278 test 0 -eq $? || _lt_function_replace_fail=:
16279
16280
16281   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16282 func_split_short_opt ()\
16283 {\
16284 \    func_split_short_opt_arg=${1#??}\
16285 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16286 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16287   && mv -f "$cfgfile.tmp" "$cfgfile" \
16288     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16289 test 0 -eq $? || _lt_function_replace_fail=:
16290
16291
16292   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16293 func_lo2o ()\
16294 {\
16295 \    case ${1} in\
16296 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16297 \      *)    func_lo2o_result=${1} ;;\
16298 \    esac\
16299 } # Extended-shell func_lo2o 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_xform ()$/,/^} # func_xform /c\
16306 func_xform ()\
16307 {\
16308     func_xform_result=${1%.*}.lo\
16309 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16310   && mv -f "$cfgfile.tmp" "$cfgfile" \
16311     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16312 test 0 -eq $? || _lt_function_replace_fail=:
16313
16314
16315   sed -e '/^func_arith ()$/,/^} # func_arith /c\
16316 func_arith ()\
16317 {\
16318     func_arith_result=$(( $* ))\
16319 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16320   && mv -f "$cfgfile.tmp" "$cfgfile" \
16321     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16322 test 0 -eq $? || _lt_function_replace_fail=:
16323
16324
16325   sed -e '/^func_len ()$/,/^} # func_len /c\
16326 func_len ()\
16327 {\
16328     func_len_result=${#1}\
16329 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16330   && mv -f "$cfgfile.tmp" "$cfgfile" \
16331     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16332 test 0 -eq $? || _lt_function_replace_fail=:
16333
16334 fi
16335
16336 if test x"$lt_shell_append" = xyes; then
16337   sed -e '/^func_append ()$/,/^} # func_append /c\
16338 func_append ()\
16339 {\
16340     eval "${1}+=\\${2}"\
16341 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16342   && mv -f "$cfgfile.tmp" "$cfgfile" \
16343     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16344 test 0 -eq $? || _lt_function_replace_fail=:
16345
16346
16347   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16348 func_append_quoted ()\
16349 {\
16350 \    func_quote_for_eval "${2}"\
16351 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16352 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16353   && mv -f "$cfgfile.tmp" "$cfgfile" \
16354     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16355 test 0 -eq $? || _lt_function_replace_fail=:
16356
16357
16358   # Save a `func_append' function call where possible by direct use of '+='
16359   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16360     && mv -f "$cfgfile.tmp" "$cfgfile" \
16361       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16362   test 0 -eq $? || _lt_function_replace_fail=:
16363 else
16364   # Save a `func_append' function call even when '+=' is not available
16365   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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 fi
16370
16371 if test x"$_lt_function_replace_fail" = x":"; then
16372   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16373 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16374 fi
16375
16376
16377    mv -f "$cfgfile" "$ofile" ||
16378     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16379   chmod +x "$ofile"
16380
16381  ;;
16382
16383   esac
16384 done # for ac_tag
16385
16386
16387 as_fn_exit 0
16388 _ACEOF
16389 ac_clean_files=$ac_clean_files_save
16390
16391 test $ac_write_fail = 0 ||
16392   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16393
16394
16395 # configure is writing to config.log, and then calls config.status.
16396 # config.status does its own redirection, appending to config.log.
16397 # Unfortunately, on DOS this fails, as config.log is still kept open
16398 # by configure, so config.status won't be able to write to it; its
16399 # output is simply discarded.  So we exec the FD to /dev/null,
16400 # effectively closing config.log, so it can be properly (re)opened and
16401 # appended to by config.status.  When coming back to configure, we
16402 # need to make the FD available again.
16403 if test "$no_create" != yes; then
16404   ac_cs_success=:
16405   ac_config_status_args=
16406   test "$silent" = yes &&
16407     ac_config_status_args="$ac_config_status_args --quiet"
16408   exec 5>/dev/null
16409   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16410   exec 5>>config.log
16411   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16412   # would make configure fail if this is the last instruction.
16413   $ac_cs_success || as_fn_exit 1
16414 fi
16415 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16416   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16417 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16418 fi
16419
16420
16421
16422 #####################################################################
16423 ## Info
16424
16425 echo
16426 echo
16427 echo
16428 echo "------------------------------------------------------------------------"
16429 echo "$PACKAGE $VERSION"
16430 echo "------------------------------------------------------------------------"
16431 echo
16432 echo "Configuration Options Summary:"
16433 if test "x$eeze_mount" = "xyes";then
16434   echo
16435   echo "Mount..................: ${with_mount}"
16436   echo "Umount.................: ${with_umount}"
16437   echo "Eject..................: ${with_eject}"
16438   echo
16439 fi
16440 echo "Tests..................: ${have_eeze_udev_test}"
16441 echo
16442 echo "Demos..................:"
16443 echo "  eeze_mount...........: ${have_eeze_mount}"
16444 echo "  eeze_umount..........: ${have_eeze_umount}"
16445 echo "  eeze_disk_ls.........: ${have_eeze_disk_ls}"
16446 echo
16447 echo "Utilities..............:"
16448 echo "  eeze_scanner.........: ${have_eeze_scanner}"
16449 echo
16450 echo "IPv6...................: ${have_ipv6}"
16451 echo
16452 echo "Documentation..........: ${build_doc}"
16453 if test "x${build_doc}" = "xyes" ; then
16454 echo "    Installation.......: make install-doc"
16455 fi
16456 echo
16457 echo "Compilation............: make (or gmake)"
16458 echo "  CPPFLAGS.............: $CPPFLAGS"
16459 echo "  CFLAGS...............: $CFLAGS"
16460 echo "  LDFLAGS..............: $LDFLAGS"
16461 echo
16462 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16463 echo "  prefix...............: $prefix"
16464 echo
16465