Imported Upstream version 1.7.1
[platform/upstream/eeze.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for eeze 1.7.1.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177   if (eval "$as_required") 2>/dev/null; then :
178   as_have_required=yes
179 else
180   as_have_required=no
181 fi
182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189   IFS=$as_save_IFS
190   test -z "$as_dir" && as_dir=.
191   as_found=:
192   case $as_dir in #(
193          /*)
194            for as_base in sh bash ksh sh5; do
195              # Try only shells that exist, to save several forks.
196              as_shell=$as_dir/$as_base
197              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   CONFIG_SHELL=$as_shell as_have_required=yes
200                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   break 2
202 fi
203 fi
204            done;;
205        esac
206   as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210   CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215       if test "x$CONFIG_SHELL" != x; then :
216   # We cannot yet assume a decent shell, so we have to provide a
217         # neutralization value for shells without unset; and this also
218         # works around shells that cannot unset nonexistent variables.
219         BASH_ENV=/dev/null
220         ENV=/dev/null
221         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222         export CONFIG_SHELL
223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226     if test x$as_have_required = xno; then :
227   $as_echo "$0: This script requires a shell more modern than all"
228   $as_echo "$0: the shells that I found on your system."
229   if test x${ZSH_VERSION+set} = xset ; then
230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232   else
233     $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: enlightenment-devel@lists.sourceforge.net about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
238   fi
239   exit 1
240 fi
241 fi
242 fi
243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
248
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
252 # as_fn_unset VAR
253 # ---------------
254 # Portably unset VAR.
255 as_fn_unset ()
256 {
257   { eval $1=; unset $1;}
258 }
259 as_unset=as_fn_unset
260
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
264 as_fn_set_status ()
265 {
266   return $1
267 } # as_fn_set_status
268
269 # as_fn_exit STATUS
270 # -----------------
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272 as_fn_exit ()
273 {
274   set +e
275   as_fn_set_status $1
276   exit $1
277 } # as_fn_exit
278
279 # as_fn_mkdir_p
280 # -------------
281 # Create "$as_dir" as a directory, including parents if necessary.
282 as_fn_mkdir_p ()
283 {
284
285   case $as_dir in #(
286   -*) as_dir=./$as_dir;;
287   esac
288   test -d "$as_dir" || eval $as_mkdir_p || {
289     as_dirs=
290     while :; do
291       case $as_dir in #(
292       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293       *) as_qdir=$as_dir;;
294       esac
295       as_dirs="'$as_qdir' $as_dirs"
296       as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298          X"$as_dir" : 'X\(//\)[^/]' \| \
299          X"$as_dir" : 'X\(//\)$' \| \
300          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303             s//\1/
304             q
305           }
306           /^X\(\/\/\)[^/].*/{
307             s//\1/
308             q
309           }
310           /^X\(\/\/\)$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\).*/{
315             s//\1/
316             q
317           }
318           s/.*/./; q'`
319       test -d "$as_dir" && break
320     done
321     test -z "$as_dirs" || eval "mkdir $as_dirs"
322   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
324
325 } # as_fn_mkdir_p
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
331 # implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333   eval 'as_fn_append ()
334   {
335     eval $1+=\$2
336   }'
337 else
338   as_fn_append ()
339   {
340     eval $1=\$$1\$2
341   }
342 fi # as_fn_append
343
344 # as_fn_arith ARG...
345 # ------------------
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350   eval 'as_fn_arith ()
351   {
352     as_val=$(( $* ))
353   }'
354 else
355   as_fn_arith ()
356   {
357     as_val=`expr "$@" || test $? -eq 1`
358   }
359 fi # as_fn_arith
360
361
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
367 as_fn_error ()
368 {
369   as_status=$1; test $as_status -eq 0 && as_status=1
370   if test "$4"; then
371     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373   fi
374   $as_echo "$as_me: error: $2" >&2
375   as_fn_exit $as_status
376 } # as_fn_error
377
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379    test "X`expr 00001 : '.*\(...\)'`" = X001; then
380   as_expr=expr
381 else
382   as_expr=false
383 fi
384
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386   as_basename=basename
387 else
388   as_basename=false
389 fi
390
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392   as_dirname=dirname
393 else
394   as_dirname=false
395 fi
396
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399          X"$0" : 'X\(//\)$' \| \
400          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 $as_echo X/"$0" |
402     sed '/^.*\/\([^/][^/]*\)\/*$/{
403             s//\1/
404             q
405           }
406           /^X\/\(\/\/\)$/{
407             s//\1/
408             q
409           }
410           /^X\/\(\/\).*/{
411             s//\1/
412             q
413           }
414           s/.*/./; q'`
415
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424   as_lineno_1=$LINENO as_lineno_1a=$LINENO
425   as_lineno_2=$LINENO as_lineno_2a=$LINENO
426   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429   sed -n '
430     p
431     /[$]LINENO/=
432   ' <$as_myself |
433     sed '
434       s/[$]LINENO.*/&-/
435       t lineno
436       b
437       :lineno
438       N
439       :loop
440       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441       t loop
442       s/-\n.*//
443     ' >$as_me.lineno &&
444   chmod +x "$as_me.lineno" ||
445     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447   # Don't try to exec as it changes $[0], causing all sort of problems
448   # (the dirname of $[0] is not the place where we might find the
449   # original and so on.  Autoconf is especially sensitive to this).
450   . "./$as_me.lineno"
451   # Exit status is that of the last command.
452   exit
453 }
454
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
457 -n*)
458   case `echo 'xy\c'` in
459   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
460   xy)  ECHO_C='\c';;
461   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462        ECHO_T=' ';;
463   esac;;
464 *)
465   ECHO_N='-n';;
466 esac
467
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470   rm -f conf$$.dir/conf$$.file
471 else
472   rm -f conf$$.dir
473   mkdir conf$$.dir 2>/dev/null
474 fi
475 if (echo >conf$$.file) 2>/dev/null; then
476   if ln -s conf$$.file conf$$ 2>/dev/null; then
477     as_ln_s='ln -s'
478     # ... but there are two gotchas:
479     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481     # In both cases, we have to default to `cp -p'.
482     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483       as_ln_s='cp -p'
484   elif ln conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s=ln
486   else
487     as_ln_s='cp -p'
488   fi
489 else
490   as_ln_s='cp -p'
491 fi
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
494
495 if mkdir -p . 2>/dev/null; then
496   as_mkdir_p='mkdir -p "$as_dir"'
497 else
498   test -d ./-p && rmdir ./-p
499   as_mkdir_p=false
500 fi
501
502 if test -x / >/dev/null 2>&1; then
503   as_test_x='test -x'
504 else
505   if ls -dL / >/dev/null 2>&1; then
506     as_ls_L_option=L
507   else
508     as_ls_L_option=
509   fi
510   as_test_x='
511     eval sh -c '\''
512       if test -d "$1"; then
513         test -d "$1/.";
514       else
515         case $1 in #(
516         -*)set "./$1";;
517         esac;
518         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519         ???[sx]*):;;*)false;;esac;fi
520     '\'' sh
521   '
522 fi
523 as_executable_p=$as_test_x
524
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536 case X$lt_ECHO in
537 X*--fallback-echo)
538   # Remove one level of quotation (which was required for Make).
539   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540   ;;
541 esac
542
543 ECHO=${lt_ECHO-echo}
544 if test "X$1" = X--no-reexec; then
545   # Discard the --no-reexec flag, and continue.
546   shift
547 elif test "X$1" = X--fallback-echo; then
548   # Avoid inline document here, it may be left over
549   :
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551   # Yippee, $ECHO works!
552   :
553 else
554   # Restart under the correct shell.
555   exec $SHELL "$0" --no-reexec ${1+"$@"}
556 fi
557
558 if test "X$1" = X--fallback-echo; then
559   # used as fallback echo
560   shift
561   cat <<_LT_EOF
562 $*
563 _LT_EOF
564   exit 0
565 fi
566
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 # if CDPATH is set.
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571 if test -z "$lt_ECHO"; then
572   if test "X${echo_test_string+set}" != Xset; then
573     # find a string as large as possible, as long as the shell can cope with it
574     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578       then
579         break
580       fi
581     done
582   fi
583
584   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586      test "X$echo_testing_string" = "X$echo_test_string"; then
587     :
588   else
589     # The Solaris, AIX, and Digital Unix default echo programs unquote
590     # backslashes.  This makes it impossible to quote backslashes using
591     #   echo "$something" | sed 's/\\/\\\\/g'
592     #
593     # So, first we look for a working echo in the user's PATH.
594
595     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596     for dir in $PATH /usr/ucb; do
597       IFS="$lt_save_ifs"
598       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601          test "X$echo_testing_string" = "X$echo_test_string"; then
602         ECHO="$dir/echo"
603         break
604       fi
605     done
606     IFS="$lt_save_ifs"
607
608     if test "X$ECHO" = Xecho; then
609       # We didn't find a better echo, so look for alternatives.
610       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612          test "X$echo_testing_string" = "X$echo_test_string"; then
613         # This shell has a builtin print -r that does the trick.
614         ECHO='print -r'
615       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616            test "X$CONFIG_SHELL" != X/bin/ksh; then
617         # If we have ksh, try running configure again with it.
618         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619         export ORIGINAL_CONFIG_SHELL
620         CONFIG_SHELL=/bin/ksh
621         export CONFIG_SHELL
622         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623       else
624         # Try using printf.
625         ECHO='printf %s\n'
626         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628            test "X$echo_testing_string" = "X$echo_test_string"; then
629           # Cool, printf works
630           :
631         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632              test "X$echo_testing_string" = 'X\t' &&
633              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634              test "X$echo_testing_string" = "X$echo_test_string"; then
635           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636           export CONFIG_SHELL
637           SHELL="$CONFIG_SHELL"
638           export SHELL
639           ECHO="$CONFIG_SHELL $0 --fallback-echo"
640         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641              test "X$echo_testing_string" = 'X\t' &&
642              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643              test "X$echo_testing_string" = "X$echo_test_string"; then
644           ECHO="$CONFIG_SHELL $0 --fallback-echo"
645         else
646           # maybe with a smaller string...
647           prev=:
648
649           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651             then
652               break
653             fi
654             prev="$cmd"
655           done
656
657           if test "$prev" != 'sed 50q "$0"'; then
658             echo_test_string=`eval $prev`
659             export echo_test_string
660             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661           else
662             # Oops.  We lost completely, so just stick with echo.
663             ECHO=echo
664           fi
665         fi
666       fi
667     fi
668   fi
669 fi
670
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
673 lt_ECHO=$ECHO
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 fi
677
678
679
680
681 test -n "$DJDIR" || exec 7<&0 </dev/null
682 exec 6>&1
683
684 # Name of the host.
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689 #
690 # Initializations.
691 #
692 ac_default_prefix=/usr/local
693 ac_clean_files=
694 ac_config_libobj_dir=.
695 LIBOBJS=
696 cross_compiling=no
697 subdirs=
698 MFLAGS=
699 MAKEFLAGS=
700
701 # Identity of this package.
702 PACKAGE_NAME='eeze'
703 PACKAGE_TARNAME='eeze'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='eeze 1.7.1'
706 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707 PACKAGE_URL=''
708
709 ac_unique_file="configure.ac"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
712 #include <stdio.h>
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
715 #endif
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
718 #endif
719 #ifdef STDC_HEADERS
720 # include <stdlib.h>
721 # include <stddef.h>
722 #else
723 # ifdef HAVE_STDLIB_H
724 #  include <stdlib.h>
725 # endif
726 #endif
727 #ifdef HAVE_STRING_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #  include <memory.h>
730 # endif
731 # include <string.h>
732 #endif
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
735 #endif
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
738 #endif
739 #ifdef HAVE_STDINT_H
740 # include <stdint.h>
741 #endif
742 #ifdef HAVE_UNISTD_H
743 # include <unistd.h>
744 #endif"
745
746 ac_subst_vars='am__EXEEXT_FALSE
747 am__EXEEXT_TRUE
748 LTLIBOBJS
749 LIBOBJS
750 requirement_eeze
751 BUILD_EEZE_SCANNER_FALSE
752 BUILD_EEZE_SCANNER_TRUE
753 EEZE_SCANNER_PRG
754 BUILD_EEZE_UMOUNT_FALSE
755 BUILD_EEZE_UMOUNT_TRUE
756 EEZE_UMOUNT_PRG
757 BUILD_EEZE_DISK_LS_FALSE
758 BUILD_EEZE_DISK_LS_TRUE
759 EEZE_DISK_LS_PRG
760 BUILD_EEZE_MOUNT_FALSE
761 BUILD_EEZE_MOUNT_TRUE
762 EEZE_MOUNT_PRG
763 BUILD_EEZE_UDEV_TEST_FALSE
764 BUILD_EEZE_UDEV_TEST_TRUE
765 EEZE_UDEV_TEST_PRG
766 NEW_LIBMOUNT_FALSE
767 NEW_LIBMOUNT_TRUE
768 OLD_LIBMOUNT_FALSE
769 OLD_LIBMOUNT_TRUE
770 with_eject
771 with_umount
772 with_mount
773 ECORE_CON_LIBS
774 ECORE_CON_CFLAGS
775 EET_LIBS
776 EET_CFLAGS
777 ECORE_FILE_LIBS
778 ECORE_FILE_CFLAGS
779 LIBMOUNT_LIBS
780 LIBMOUNT_CFLAGS
781 HAVE_EEZE_MOUNT_FALSE
782 HAVE_EEZE_MOUNT_TRUE
783 EEZE_LIBS
784 EEZE_CFLAGS
785 EFL_BUILD_DOC_FALSE
786 EFL_BUILD_DOC_TRUE
787 efl_doxygen
788 efl_have_doxygen
789 pkgconfig_requires_private
790 PKG_CONFIG_LIBDIR
791 PKG_CONFIG_PATH
792 PKG_CONFIG
793 VMAJ
794 release_info
795 version_info
796 CPP
797 OTOOL64
798 OTOOL
799 LIPO
800 NMEDIT
801 DSYMUTIL
802 lt_ECHO
803 RANLIB
804 AR
805 OBJDUMP
806 LN_S
807 NM
808 ac_ct_DUMPBIN
809 DUMPBIN
810 LD
811 FGREP
812 EGREP
813 GREP
814 SED
815 am__fastdepCC_FALSE
816 am__fastdepCC_TRUE
817 CCDEPMODE
818 AMDEPBACKSLASH
819 AMDEP_FALSE
820 AMDEP_TRUE
821 am__quote
822 am__include
823 DEPDIR
824 OBJEXT
825 EXEEXT
826 ac_ct_CC
827 CPPFLAGS
828 LDFLAGS
829 CFLAGS
830 CC
831 host_os
832 host_vendor
833 host_cpu
834 host
835 build_os
836 build_vendor
837 build_cpu
838 build
839 LIBTOOL
840 AM_BACKSLASH
841 AM_DEFAULT_VERBOSITY
842 am__untar
843 am__tar
844 AMTAR
845 am__leading_dot
846 SET_MAKE
847 AWK
848 mkdir_p
849 MKDIR_P
850 INSTALL_STRIP_PROGRAM
851 STRIP
852 install_sh
853 MAKEINFO
854 AUTOHEADER
855 AUTOMAKE
856 AUTOCONF
857 ACLOCAL
858 VERSION
859 PACKAGE
860 CYGPATH_W
861 am__isrc
862 INSTALL_DATA
863 INSTALL_SCRIPT
864 INSTALL_PROGRAM
865 target_alias
866 host_alias
867 build_alias
868 LIBS
869 ECHO_T
870 ECHO_N
871 ECHO_C
872 DEFS
873 mandir
874 localedir
875 libdir
876 psdir
877 pdfdir
878 dvidir
879 htmldir
880 infodir
881 docdir
882 oldincludedir
883 includedir
884 localstatedir
885 sharedstatedir
886 sysconfdir
887 datadir
888 datarootdir
889 libexecdir
890 sbindir
891 bindir
892 program_transform_name
893 prefix
894 exec_prefix
895 PACKAGE_URL
896 PACKAGE_BUGREPORT
897 PACKAGE_STRING
898 PACKAGE_VERSION
899 PACKAGE_TARNAME
900 PACKAGE_NAME
901 PATH_SEPARATOR
902 SHELL'
903 ac_subst_files=''
904 ac_user_opts='
905 enable_option_checking
906 enable_silent_rules
907 enable_shared
908 enable_static
909 with_pic
910 enable_fast_install
911 enable_dependency_tracking
912 with_gnu_ld
913 enable_libtool_lock
914 enable_doc
915 with_doxygen
916 with_mount
917 with_umount
918 with_eject
919 enable_mtab
920 enable_ipv6
921 enable_eeze_udev_test
922 enable_eeze_mount
923 enable_eeze_disk_ls
924 enable_eeze_umount
925 enable_eeze_scanner
926 '
927       ac_precious_vars='build_alias
928 host_alias
929 target_alias
930 CC
931 CFLAGS
932 LDFLAGS
933 LIBS
934 CPPFLAGS
935 CPP
936 PKG_CONFIG
937 PKG_CONFIG_PATH
938 PKG_CONFIG_LIBDIR
939 EEZE_CFLAGS
940 EEZE_LIBS
941 LIBMOUNT_CFLAGS
942 LIBMOUNT_LIBS
943 ECORE_FILE_CFLAGS
944 ECORE_FILE_LIBS
945 EET_CFLAGS
946 EET_LIBS
947 ECORE_CON_CFLAGS
948 ECORE_CON_LIBS'
949
950
951 # Initialize some variables set by options.
952 ac_init_help=
953 ac_init_version=false
954 ac_unrecognized_opts=
955 ac_unrecognized_sep=
956 # The variables have the same names as the options, with
957 # dashes changed to underlines.
958 cache_file=/dev/null
959 exec_prefix=NONE
960 no_create=
961 no_recursion=
962 prefix=NONE
963 program_prefix=NONE
964 program_suffix=NONE
965 program_transform_name=s,x,x,
966 silent=
967 site=
968 srcdir=
969 verbose=
970 x_includes=NONE
971 x_libraries=NONE
972
973 # Installation directory options.
974 # These are left unexpanded so users can "make install exec_prefix=/foo"
975 # and all the variables that are supposed to be based on exec_prefix
976 # by default will actually change.
977 # Use braces instead of parens because sh, perl, etc. also accept them.
978 # (The list follows the same order as the GNU Coding Standards.)
979 bindir='${exec_prefix}/bin'
980 sbindir='${exec_prefix}/sbin'
981 libexecdir='${exec_prefix}/libexec'
982 datarootdir='${prefix}/share'
983 datadir='${datarootdir}'
984 sysconfdir='${prefix}/etc'
985 sharedstatedir='${prefix}/com'
986 localstatedir='${prefix}/var'
987 includedir='${prefix}/include'
988 oldincludedir='/usr/include'
989 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
990 infodir='${datarootdir}/info'
991 htmldir='${docdir}'
992 dvidir='${docdir}'
993 pdfdir='${docdir}'
994 psdir='${docdir}'
995 libdir='${exec_prefix}/lib'
996 localedir='${datarootdir}/locale'
997 mandir='${datarootdir}/man'
998
999 ac_prev=
1000 ac_dashdash=
1001 for ac_option
1002 do
1003   # If the previous option needs an argument, assign it.
1004   if test -n "$ac_prev"; then
1005     eval $ac_prev=\$ac_option
1006     ac_prev=
1007     continue
1008   fi
1009
1010   case $ac_option in
1011   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1012   *=)   ac_optarg= ;;
1013   *)    ac_optarg=yes ;;
1014   esac
1015
1016   # Accept the important Cygnus configure options, so we can diagnose typos.
1017
1018   case $ac_dashdash$ac_option in
1019   --)
1020     ac_dashdash=yes ;;
1021
1022   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1023     ac_prev=bindir ;;
1024   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1025     bindir=$ac_optarg ;;
1026
1027   -build | --build | --buil | --bui | --bu)
1028     ac_prev=build_alias ;;
1029   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1030     build_alias=$ac_optarg ;;
1031
1032   -cache-file | --cache-file | --cache-fil | --cache-fi \
1033   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1034     ac_prev=cache_file ;;
1035   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1036   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1037     cache_file=$ac_optarg ;;
1038
1039   --config-cache | -C)
1040     cache_file=config.cache ;;
1041
1042   -datadir | --datadir | --datadi | --datad)
1043     ac_prev=datadir ;;
1044   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1045     datadir=$ac_optarg ;;
1046
1047   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1048   | --dataroo | --dataro | --datar)
1049     ac_prev=datarootdir ;;
1050   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1051   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1052     datarootdir=$ac_optarg ;;
1053
1054   -disable-* | --disable-*)
1055     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1056     # Reject names that are not valid shell variable names.
1057     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058       as_fn_error $? "invalid feature name: $ac_useropt"
1059     ac_useropt_orig=$ac_useropt
1060     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061     case $ac_user_opts in
1062       *"
1063 "enable_$ac_useropt"
1064 "*) ;;
1065       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1066          ac_unrecognized_sep=', ';;
1067     esac
1068     eval enable_$ac_useropt=no ;;
1069
1070   -docdir | --docdir | --docdi | --doc | --do)
1071     ac_prev=docdir ;;
1072   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1073     docdir=$ac_optarg ;;
1074
1075   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1076     ac_prev=dvidir ;;
1077   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1078     dvidir=$ac_optarg ;;
1079
1080   -enable-* | --enable-*)
1081     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1082     # Reject names that are not valid shell variable names.
1083     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084       as_fn_error $? "invalid feature name: $ac_useropt"
1085     ac_useropt_orig=$ac_useropt
1086     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087     case $ac_user_opts in
1088       *"
1089 "enable_$ac_useropt"
1090 "*) ;;
1091       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1092          ac_unrecognized_sep=', ';;
1093     esac
1094     eval enable_$ac_useropt=\$ac_optarg ;;
1095
1096   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1097   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1098   | --exec | --exe | --ex)
1099     ac_prev=exec_prefix ;;
1100   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1101   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1102   | --exec=* | --exe=* | --ex=*)
1103     exec_prefix=$ac_optarg ;;
1104
1105   -gas | --gas | --ga | --g)
1106     # Obsolete; use --with-gas.
1107     with_gas=yes ;;
1108
1109   -help | --help | --hel | --he | -h)
1110     ac_init_help=long ;;
1111   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1112     ac_init_help=recursive ;;
1113   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1114     ac_init_help=short ;;
1115
1116   -host | --host | --hos | --ho)
1117     ac_prev=host_alias ;;
1118   -host=* | --host=* | --hos=* | --ho=*)
1119     host_alias=$ac_optarg ;;
1120
1121   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1122     ac_prev=htmldir ;;
1123   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1124   | --ht=*)
1125     htmldir=$ac_optarg ;;
1126
1127   -includedir | --includedir | --includedi | --included | --include \
1128   | --includ | --inclu | --incl | --inc)
1129     ac_prev=includedir ;;
1130   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1131   | --includ=* | --inclu=* | --incl=* | --inc=*)
1132     includedir=$ac_optarg ;;
1133
1134   -infodir | --infodir | --infodi | --infod | --info | --inf)
1135     ac_prev=infodir ;;
1136   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1137     infodir=$ac_optarg ;;
1138
1139   -libdir | --libdir | --libdi | --libd)
1140     ac_prev=libdir ;;
1141   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1142     libdir=$ac_optarg ;;
1143
1144   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1145   | --libexe | --libex | --libe)
1146     ac_prev=libexecdir ;;
1147   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1148   | --libexe=* | --libex=* | --libe=*)
1149     libexecdir=$ac_optarg ;;
1150
1151   -localedir | --localedir | --localedi | --localed | --locale)
1152     ac_prev=localedir ;;
1153   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1154     localedir=$ac_optarg ;;
1155
1156   -localstatedir | --localstatedir | --localstatedi | --localstated \
1157   | --localstate | --localstat | --localsta | --localst | --locals)
1158     ac_prev=localstatedir ;;
1159   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1160   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1161     localstatedir=$ac_optarg ;;
1162
1163   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1164     ac_prev=mandir ;;
1165   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1166     mandir=$ac_optarg ;;
1167
1168   -nfp | --nfp | --nf)
1169     # Obsolete; use --without-fp.
1170     with_fp=no ;;
1171
1172   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1173   | --no-cr | --no-c | -n)
1174     no_create=yes ;;
1175
1176   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1177   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1178     no_recursion=yes ;;
1179
1180   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1181   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1182   | --oldin | --oldi | --old | --ol | --o)
1183     ac_prev=oldincludedir ;;
1184   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1185   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1186   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1187     oldincludedir=$ac_optarg ;;
1188
1189   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1190     ac_prev=prefix ;;
1191   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1192     prefix=$ac_optarg ;;
1193
1194   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1195   | --program-pre | --program-pr | --program-p)
1196     ac_prev=program_prefix ;;
1197   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1198   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1199     program_prefix=$ac_optarg ;;
1200
1201   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1202   | --program-suf | --program-su | --program-s)
1203     ac_prev=program_suffix ;;
1204   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1205   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1206     program_suffix=$ac_optarg ;;
1207
1208   -program-transform-name | --program-transform-name \
1209   | --program-transform-nam | --program-transform-na \
1210   | --program-transform-n | --program-transform- \
1211   | --program-transform | --program-transfor \
1212   | --program-transfo | --program-transf \
1213   | --program-trans | --program-tran \
1214   | --progr-tra | --program-tr | --program-t)
1215     ac_prev=program_transform_name ;;
1216   -program-transform-name=* | --program-transform-name=* \
1217   | --program-transform-nam=* | --program-transform-na=* \
1218   | --program-transform-n=* | --program-transform-=* \
1219   | --program-transform=* | --program-transfor=* \
1220   | --program-transfo=* | --program-transf=* \
1221   | --program-trans=* | --program-tran=* \
1222   | --progr-tra=* | --program-tr=* | --program-t=*)
1223     program_transform_name=$ac_optarg ;;
1224
1225   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1226     ac_prev=pdfdir ;;
1227   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1228     pdfdir=$ac_optarg ;;
1229
1230   -psdir | --psdir | --psdi | --psd | --ps)
1231     ac_prev=psdir ;;
1232   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1233     psdir=$ac_optarg ;;
1234
1235   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1236   | -silent | --silent | --silen | --sile | --sil)
1237     silent=yes ;;
1238
1239   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1240     ac_prev=sbindir ;;
1241   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1242   | --sbi=* | --sb=*)
1243     sbindir=$ac_optarg ;;
1244
1245   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1246   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1247   | --sharedst | --shareds | --shared | --share | --shar \
1248   | --sha | --sh)
1249     ac_prev=sharedstatedir ;;
1250   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1251   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1252   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1253   | --sha=* | --sh=*)
1254     sharedstatedir=$ac_optarg ;;
1255
1256   -site | --site | --sit)
1257     ac_prev=site ;;
1258   -site=* | --site=* | --sit=*)
1259     site=$ac_optarg ;;
1260
1261   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1262     ac_prev=srcdir ;;
1263   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1264     srcdir=$ac_optarg ;;
1265
1266   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1267   | --syscon | --sysco | --sysc | --sys | --sy)
1268     ac_prev=sysconfdir ;;
1269   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1270   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1271     sysconfdir=$ac_optarg ;;
1272
1273   -target | --target | --targe | --targ | --tar | --ta | --t)
1274     ac_prev=target_alias ;;
1275   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1276     target_alias=$ac_optarg ;;
1277
1278   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1279     verbose=yes ;;
1280
1281   -version | --version | --versio | --versi | --vers | -V)
1282     ac_init_version=: ;;
1283
1284   -with-* | --with-*)
1285     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1286     # Reject names that are not valid shell variable names.
1287     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1288       as_fn_error $? "invalid package name: $ac_useropt"
1289     ac_useropt_orig=$ac_useropt
1290     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291     case $ac_user_opts in
1292       *"
1293 "with_$ac_useropt"
1294 "*) ;;
1295       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1296          ac_unrecognized_sep=', ';;
1297     esac
1298     eval with_$ac_useropt=\$ac_optarg ;;
1299
1300   -without-* | --without-*)
1301     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1302     # Reject names that are not valid shell variable names.
1303     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1304       as_fn_error $? "invalid package name: $ac_useropt"
1305     ac_useropt_orig=$ac_useropt
1306     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1307     case $ac_user_opts in
1308       *"
1309 "with_$ac_useropt"
1310 "*) ;;
1311       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1312          ac_unrecognized_sep=', ';;
1313     esac
1314     eval with_$ac_useropt=no ;;
1315
1316   --x)
1317     # Obsolete; use --with-x.
1318     with_x=yes ;;
1319
1320   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1321   | --x-incl | --x-inc | --x-in | --x-i)
1322     ac_prev=x_includes ;;
1323   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1324   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1325     x_includes=$ac_optarg ;;
1326
1327   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1328   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1329     ac_prev=x_libraries ;;
1330   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1331   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1332     x_libraries=$ac_optarg ;;
1333
1334   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1335 Try \`$0 --help' for more information"
1336     ;;
1337
1338   *=*)
1339     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1340     # Reject names that are not valid shell variable names.
1341     case $ac_envvar in #(
1342       '' | [0-9]* | *[!_$as_cr_alnum]* )
1343       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1344     esac
1345     eval $ac_envvar=\$ac_optarg
1346     export $ac_envvar ;;
1347
1348   *)
1349     # FIXME: should be removed in autoconf 3.0.
1350     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1351     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1352       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1353     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1354     ;;
1355
1356   esac
1357 done
1358
1359 if test -n "$ac_prev"; then
1360   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1361   as_fn_error $? "missing argument to $ac_option"
1362 fi
1363
1364 if test -n "$ac_unrecognized_opts"; then
1365   case $enable_option_checking in
1366     no) ;;
1367     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1368     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1369   esac
1370 fi
1371
1372 # Check all directory arguments for consistency.
1373 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1374                 datadir sysconfdir sharedstatedir localstatedir includedir \
1375                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1376                 libdir localedir mandir
1377 do
1378   eval ac_val=\$$ac_var
1379   # Remove trailing slashes.
1380   case $ac_val in
1381     */ )
1382       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1383       eval $ac_var=\$ac_val;;
1384   esac
1385   # Be sure to have absolute directory names.
1386   case $ac_val in
1387     [\\/$]* | ?:[\\/]* )  continue;;
1388     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1389   esac
1390   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1391 done
1392
1393 # There might be people who depend on the old broken behavior: `$host'
1394 # used to hold the argument of --host etc.
1395 # FIXME: To remove some day.
1396 build=$build_alias
1397 host=$host_alias
1398 target=$target_alias
1399
1400 # FIXME: To remove some day.
1401 if test "x$host_alias" != x; then
1402   if test "x$build_alias" = x; then
1403     cross_compiling=maybe
1404     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1405     If a cross compiler is detected then cross compile mode will be used" >&2
1406   elif test "x$build_alias" != "x$host_alias"; then
1407     cross_compiling=yes
1408   fi
1409 fi
1410
1411 ac_tool_prefix=
1412 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1413
1414 test "$silent" = yes && exec 6>/dev/null
1415
1416
1417 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1418 ac_ls_di=`ls -di .` &&
1419 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1420   as_fn_error $? "working directory cannot be determined"
1421 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1422   as_fn_error $? "pwd does not report name of working directory"
1423
1424
1425 # Find the source files, if location was not specified.
1426 if test -z "$srcdir"; then
1427   ac_srcdir_defaulted=yes
1428   # Try the directory containing this script, then the parent directory.
1429   ac_confdir=`$as_dirname -- "$as_myself" ||
1430 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1431          X"$as_myself" : 'X\(//\)[^/]' \| \
1432          X"$as_myself" : 'X\(//\)$' \| \
1433          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1434 $as_echo X"$as_myself" |
1435     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1436             s//\1/
1437             q
1438           }
1439           /^X\(\/\/\)[^/].*/{
1440             s//\1/
1441             q
1442           }
1443           /^X\(\/\/\)$/{
1444             s//\1/
1445             q
1446           }
1447           /^X\(\/\).*/{
1448             s//\1/
1449             q
1450           }
1451           s/.*/./; q'`
1452   srcdir=$ac_confdir
1453   if test ! -r "$srcdir/$ac_unique_file"; then
1454     srcdir=..
1455   fi
1456 else
1457   ac_srcdir_defaulted=no
1458 fi
1459 if test ! -r "$srcdir/$ac_unique_file"; then
1460   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1461   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1462 fi
1463 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1464 ac_abs_confdir=`(
1465         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1466         pwd)`
1467 # When building in place, set srcdir=.
1468 if test "$ac_abs_confdir" = "$ac_pwd"; then
1469   srcdir=.
1470 fi
1471 # Remove unnecessary trailing slashes from srcdir.
1472 # Double slashes in file names in object file debugging info
1473 # mess up M-x gdb in Emacs.
1474 case $srcdir in
1475 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1476 esac
1477 for ac_var in $ac_precious_vars; do
1478   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1479   eval ac_env_${ac_var}_value=\$${ac_var}
1480   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1481   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1482 done
1483
1484 #
1485 # Report the --help message.
1486 #
1487 if test "$ac_init_help" = "long"; then
1488   # Omit some internal or obsolete options to make the list less imposing.
1489   # This message is too long to be a string in the A/UX 3.1 sh.
1490   cat <<_ACEOF
1491 \`configure' configures eeze 1.7.1 to adapt to many kinds of systems.
1492
1493 Usage: $0 [OPTION]... [VAR=VALUE]...
1494
1495 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1496 VAR=VALUE.  See below for descriptions of some of the useful variables.
1497
1498 Defaults for the options are specified in brackets.
1499
1500 Configuration:
1501   -h, --help              display this help and exit
1502       --help=short        display options specific to this package
1503       --help=recursive    display the short help of all the included packages
1504   -V, --version           display version information and exit
1505   -q, --quiet, --silent   do not print \`checking ...' messages
1506       --cache-file=FILE   cache test results in FILE [disabled]
1507   -C, --config-cache      alias for \`--cache-file=config.cache'
1508   -n, --no-create         do not create output files
1509       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1510
1511 Installation directories:
1512   --prefix=PREFIX         install architecture-independent files in PREFIX
1513                           [$ac_default_prefix]
1514   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1515                           [PREFIX]
1516
1517 By default, \`make install' will install all the files in
1518 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1519 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1520 for instance \`--prefix=\$HOME'.
1521
1522 For better control, use the options below.
1523
1524 Fine tuning of the installation directories:
1525   --bindir=DIR            user executables [EPREFIX/bin]
1526   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1527   --libexecdir=DIR        program executables [EPREFIX/libexec]
1528   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1529   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1530   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1531   --libdir=DIR            object code libraries [EPREFIX/lib]
1532   --includedir=DIR        C header files [PREFIX/include]
1533   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1534   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1535   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1536   --infodir=DIR           info documentation [DATAROOTDIR/info]
1537   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1538   --mandir=DIR            man documentation [DATAROOTDIR/man]
1539   --docdir=DIR            documentation root [DATAROOTDIR/doc/eeze]
1540   --htmldir=DIR           html documentation [DOCDIR]
1541   --dvidir=DIR            dvi documentation [DOCDIR]
1542   --pdfdir=DIR            pdf documentation [DOCDIR]
1543   --psdir=DIR             ps documentation [DOCDIR]
1544 _ACEOF
1545
1546   cat <<\_ACEOF
1547
1548 Program names:
1549   --program-prefix=PREFIX            prepend PREFIX to installed program names
1550   --program-suffix=SUFFIX            append SUFFIX to installed program names
1551   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1552
1553 System types:
1554   --build=BUILD     configure for building on BUILD [guessed]
1555   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1556 _ACEOF
1557 fi
1558
1559 if test -n "$ac_init_help"; then
1560   case $ac_init_help in
1561      short | recursive ) echo "Configuration of eeze 1.7.1:";;
1562    esac
1563   cat <<\_ACEOF
1564
1565 Optional Features:
1566   --disable-option-checking  ignore unrecognized --enable/--with options
1567   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1568   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1569   --enable-silent-rules          less verbose build output (undo: `make V=1')
1570   --disable-silent-rules         verbose build output (undo: `make V=0')
1571   --enable-shared[=PKGS]  build shared libraries [default=yes]
1572   --enable-static[=PKGS]  build static libraries [default=yes]
1573   --enable-fast-install[=PKGS]
1574                           optimize for fast installation [default=yes]
1575   --disable-dependency-tracking  speeds up one-time build
1576   --enable-dependency-tracking   do not reject slow dependency extractors
1577   --disable-libtool-lock  avoid locking (might break parallel builds)
1578   --disable-doc           Disable documentation build [default=enabled]
1579   --enable-mtab           force use of mtab for mount info [default=detect]
1580   --disable-ipv6          disable ipv6 functionality [default=detect]
1581   --disable-eeze-udev-test
1582                           disable building of eeze_udev_test
1583   --disable-eeze-mount    disable building of eeze_mount
1584   --disable-eeze-disk-ls  disable building of eeze_disk_ls
1585   --disable-eeze-umount   disable building of eeze_umount
1586   --disable-eeze-scanner  disable building of eeze_scanner
1587
1588 Optional Packages:
1589   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1590   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1591   --with-pic              try to use only PIC/non-PIC objects [default=use
1592                           both]
1593   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1594   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1595   --with-mount            specify mount bin [default=detect]
1596   --with-umount           specify umount bin [default=detect]
1597   --with-eject            specify eject bin [default=detect]
1598
1599 Some influential environment variables:
1600   CC          C compiler command
1601   CFLAGS      C compiler flags
1602   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1603               nonstandard directory <lib dir>
1604   LIBS        libraries to pass to the linker, e.g. -l<library>
1605   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1606               you have headers in a nonstandard directory <include dir>
1607   CPP         C preprocessor
1608   PKG_CONFIG  path to pkg-config utility
1609   PKG_CONFIG_PATH
1610               directories to add to pkg-config's search path
1611   PKG_CONFIG_LIBDIR
1612               path overriding pkg-config's built-in search path
1613   EEZE_CFLAGS C compiler flags for EEZE, overriding pkg-config
1614   EEZE_LIBS   linker flags for EEZE, overriding pkg-config
1615   LIBMOUNT_CFLAGS
1616               C compiler flags for LIBMOUNT, overriding pkg-config
1617   LIBMOUNT_LIBS
1618               linker flags for LIBMOUNT, overriding pkg-config
1619   ECORE_FILE_CFLAGS
1620               C compiler flags for ECORE_FILE, overriding pkg-config
1621   ECORE_FILE_LIBS
1622               linker flags for ECORE_FILE, overriding pkg-config
1623   EET_CFLAGS  C compiler flags for EET, overriding pkg-config
1624   EET_LIBS    linker flags for EET, overriding pkg-config
1625   ECORE_CON_CFLAGS
1626               C compiler flags for ECORE_CON, overriding pkg-config
1627   ECORE_CON_LIBS
1628               linker flags for ECORE_CON, overriding pkg-config
1629
1630 Use these variables to override the choices made by `configure' or to help
1631 it to find libraries and programs with nonstandard names/locations.
1632
1633 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1634 _ACEOF
1635 ac_status=$?
1636 fi
1637
1638 if test "$ac_init_help" = "recursive"; then
1639   # If there are subdirs, report their specific --help.
1640   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1641     test -d "$ac_dir" ||
1642       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1643       continue
1644     ac_builddir=.
1645
1646 case "$ac_dir" in
1647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1648 *)
1649   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1650   # A ".." for each directory in $ac_dir_suffix.
1651   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1652   case $ac_top_builddir_sub in
1653   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1655   esac ;;
1656 esac
1657 ac_abs_top_builddir=$ac_pwd
1658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1659 # for backward compatibility:
1660 ac_top_builddir=$ac_top_build_prefix
1661
1662 case $srcdir in
1663   .)  # We are building in place.
1664     ac_srcdir=.
1665     ac_top_srcdir=$ac_top_builddir_sub
1666     ac_abs_top_srcdir=$ac_pwd ;;
1667   [\\/]* | ?:[\\/]* )  # Absolute name.
1668     ac_srcdir=$srcdir$ac_dir_suffix;
1669     ac_top_srcdir=$srcdir
1670     ac_abs_top_srcdir=$srcdir ;;
1671   *) # Relative name.
1672     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1673     ac_top_srcdir=$ac_top_build_prefix$srcdir
1674     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1675 esac
1676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1677
1678     cd "$ac_dir" || { ac_status=$?; continue; }
1679     # Check for guested configure.
1680     if test -f "$ac_srcdir/configure.gnu"; then
1681       echo &&
1682       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1683     elif test -f "$ac_srcdir/configure"; then
1684       echo &&
1685       $SHELL "$ac_srcdir/configure" --help=recursive
1686     else
1687       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1688     fi || ac_status=$?
1689     cd "$ac_pwd" || { ac_status=$?; break; }
1690   done
1691 fi
1692
1693 test -n "$ac_init_help" && exit $ac_status
1694 if $ac_init_version; then
1695   cat <<\_ACEOF
1696 eeze configure 1.7.1
1697 generated by GNU Autoconf 2.67
1698
1699 Copyright (C) 2010 Free Software Foundation, Inc.
1700 This configure script is free software; the Free Software Foundation
1701 gives unlimited permission to copy, distribute and modify it.
1702 _ACEOF
1703   exit
1704 fi
1705
1706 ## ------------------------ ##
1707 ## Autoconf initialization. ##
1708 ## ------------------------ ##
1709
1710 # ac_fn_c_try_compile LINENO
1711 # --------------------------
1712 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_c_try_compile ()
1714 {
1715   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716   rm -f conftest.$ac_objext
1717   if { { ac_try="$ac_compile"
1718 case "(($ac_try" in
1719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720   *) ac_try_echo=$ac_try;;
1721 esac
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724   (eval "$ac_compile") 2>conftest.err
1725   ac_status=$?
1726   if test -s conftest.err; then
1727     grep -v '^ *+' conftest.err >conftest.er1
1728     cat conftest.er1 >&5
1729     mv -f conftest.er1 conftest.err
1730   fi
1731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732   test $ac_status = 0; } && {
1733          test -z "$ac_c_werror_flag" ||
1734          test ! -s conftest.err
1735        } && test -s conftest.$ac_objext; then :
1736   ac_retval=0
1737 else
1738   $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1740
1741         ac_retval=1
1742 fi
1743   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1744   as_fn_set_status $ac_retval
1745
1746 } # ac_fn_c_try_compile
1747
1748 # ac_fn_c_try_link LINENO
1749 # -----------------------
1750 # Try to link conftest.$ac_ext, and return whether this succeeded.
1751 ac_fn_c_try_link ()
1752 {
1753   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754   rm -f conftest.$ac_objext conftest$ac_exeext
1755   if { { ac_try="$ac_link"
1756 case "(($ac_try" in
1757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758   *) ac_try_echo=$ac_try;;
1759 esac
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762   (eval "$ac_link") 2>conftest.err
1763   ac_status=$?
1764   if test -s conftest.err; then
1765     grep -v '^ *+' conftest.err >conftest.er1
1766     cat conftest.er1 >&5
1767     mv -f conftest.er1 conftest.err
1768   fi
1769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770   test $ac_status = 0; } && {
1771          test -z "$ac_c_werror_flag" ||
1772          test ! -s conftest.err
1773        } && test -s conftest$ac_exeext && {
1774          test "$cross_compiling" = yes ||
1775          $as_test_x conftest$ac_exeext
1776        }; then :
1777   ac_retval=0
1778 else
1779   $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1781
1782         ac_retval=1
1783 fi
1784   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1785   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1786   # interfere with the next link command; also delete a directory that is
1787   # left behind by Apple's compiler.  We do this before executing the actions.
1788   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1790   as_fn_set_status $ac_retval
1791
1792 } # ac_fn_c_try_link
1793
1794 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1795 # -------------------------------------------------------
1796 # Tests whether HEADER exists and can be compiled using the include files in
1797 # INCLUDES, setting the cache variable VAR accordingly.
1798 ac_fn_c_check_header_compile ()
1799 {
1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval "test \"\${$3+set}\"" = set; then :
1804   $as_echo_n "(cached) " >&6
1805 else
1806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h.  */
1808 $4
1809 #include <$2>
1810 _ACEOF
1811 if ac_fn_c_try_compile "$LINENO"; then :
1812   eval "$3=yes"
1813 else
1814   eval "$3=no"
1815 fi
1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1817 fi
1818 eval ac_res=\$$3
1819                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1822
1823 } # ac_fn_c_check_header_compile
1824
1825 # ac_fn_c_try_cpp LINENO
1826 # ----------------------
1827 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_c_try_cpp ()
1829 {
1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831   if { { ac_try="$ac_cpp conftest.$ac_ext"
1832 case "(($ac_try" in
1833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834   *) ac_try_echo=$ac_try;;
1835 esac
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1839   ac_status=$?
1840   if test -s conftest.err; then
1841     grep -v '^ *+' conftest.err >conftest.er1
1842     cat conftest.er1 >&5
1843     mv -f conftest.er1 conftest.err
1844   fi
1845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846   test $ac_status = 0; } > conftest.i && {
1847          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1848          test ! -s conftest.err
1849        }; then :
1850   ac_retval=0
1851 else
1852   $as_echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.$ac_ext >&5
1854
1855     ac_retval=1
1856 fi
1857   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1858   as_fn_set_status $ac_retval
1859
1860 } # ac_fn_c_try_cpp
1861
1862 # ac_fn_c_try_run LINENO
1863 # ----------------------
1864 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1865 # that executables *can* be run.
1866 ac_fn_c_try_run ()
1867 {
1868   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869   if { { ac_try="$ac_link"
1870 case "(($ac_try" in
1871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1872   *) ac_try_echo=$ac_try;;
1873 esac
1874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876   (eval "$ac_link") 2>&5
1877   ac_status=$?
1878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1880   { { case "(($ac_try" in
1881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882   *) ac_try_echo=$ac_try;;
1883 esac
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886   (eval "$ac_try") 2>&5
1887   ac_status=$?
1888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889   test $ac_status = 0; }; }; then :
1890   ac_retval=0
1891 else
1892   $as_echo "$as_me: program exited with status $ac_status" >&5
1893        $as_echo "$as_me: failed program was:" >&5
1894 sed 's/^/| /' conftest.$ac_ext >&5
1895
1896        ac_retval=$ac_status
1897 fi
1898   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1899   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1900   as_fn_set_status $ac_retval
1901
1902 } # ac_fn_c_try_run
1903
1904 # ac_fn_c_check_func LINENO FUNC VAR
1905 # ----------------------------------
1906 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1907 ac_fn_c_check_func ()
1908 {
1909   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if eval "test \"\${$3+set}\"" = set; then :
1913   $as_echo_n "(cached) " >&6
1914 else
1915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h.  */
1917 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1918    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1919 #define $2 innocuous_$2
1920
1921 /* System header to define __stub macros and hopefully few prototypes,
1922     which can conflict with char $2 (); below.
1923     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1924     <limits.h> exists even on freestanding compilers.  */
1925
1926 #ifdef __STDC__
1927 # include <limits.h>
1928 #else
1929 # include <assert.h>
1930 #endif
1931
1932 #undef $2
1933
1934 /* Override any GCC internal prototype to avoid an error.
1935    Use char because int might match the return type of a GCC
1936    builtin and then its argument prototype would still apply.  */
1937 #ifdef __cplusplus
1938 extern "C"
1939 #endif
1940 char $2 ();
1941 /* The GNU C library defines this for functions which it implements
1942     to always fail with ENOSYS.  Some functions are actually named
1943     something starting with __ and the normal name is an alias.  */
1944 #if defined __stub_$2 || defined __stub___$2
1945 choke me
1946 #endif
1947
1948 int
1949 main ()
1950 {
1951 return $2 ();
1952   ;
1953   return 0;
1954 }
1955 _ACEOF
1956 if ac_fn_c_try_link "$LINENO"; then :
1957   eval "$3=yes"
1958 else
1959   eval "$3=no"
1960 fi
1961 rm -f core conftest.err conftest.$ac_objext \
1962     conftest$ac_exeext conftest.$ac_ext
1963 fi
1964 eval ac_res=\$$3
1965                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1967   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1968
1969 } # ac_fn_c_check_func
1970
1971 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1972 # -------------------------------------------------------
1973 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1974 # the include files in INCLUDES and setting the cache variable VAR
1975 # accordingly.
1976 ac_fn_c_check_header_mongrel ()
1977 {
1978   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979   if eval "test \"\${$3+set}\"" = set; then :
1980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1981 $as_echo_n "checking for $2... " >&6; }
1982 if eval "test \"\${$3+set}\"" = set; then :
1983   $as_echo_n "(cached) " >&6
1984 fi
1985 eval ac_res=\$$3
1986                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987 $as_echo "$ac_res" >&6; }
1988 else
1989   # Is the header compilable?
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1991 $as_echo_n "checking $2 usability... " >&6; }
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h.  */
1994 $4
1995 #include <$2>
1996 _ACEOF
1997 if ac_fn_c_try_compile "$LINENO"; then :
1998   ac_header_compiler=yes
1999 else
2000   ac_header_compiler=no
2001 fi
2002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2004 $as_echo "$ac_header_compiler" >&6; }
2005
2006 # Is the header present?
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2008 $as_echo_n "checking $2 presence... " >&6; }
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h.  */
2011 #include <$2>
2012 _ACEOF
2013 if ac_fn_c_try_cpp "$LINENO"; then :
2014   ac_header_preproc=yes
2015 else
2016   ac_header_preproc=no
2017 fi
2018 rm -f conftest.err conftest.i conftest.$ac_ext
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2020 $as_echo "$ac_header_preproc" >&6; }
2021
2022 # So?  What about this header?
2023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2024   yes:no: )
2025     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2026 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2027     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2028 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2029     ;;
2030   no:yes:* )
2031     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2032 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2033     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2034 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2035     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2036 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2037     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2038 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2039     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2040 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2041 ( $as_echo "## -------------------------------------------------------- ##
2042 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2043 ## -------------------------------------------------------- ##"
2044      ) | sed "s/^/$as_me: WARNING:     /" >&2
2045     ;;
2046 esac
2047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if eval "test \"\${$3+set}\"" = set; then :
2050   $as_echo_n "(cached) " >&6
2051 else
2052   eval "$3=\$ac_header_compiler"
2053 fi
2054 eval ac_res=\$$3
2055                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056 $as_echo "$ac_res" >&6; }
2057 fi
2058   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2059
2060 } # ac_fn_c_check_header_mongrel
2061
2062 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2063 # -------------------------------------------
2064 # Tests whether TYPE exists after having included INCLUDES, setting cache
2065 # variable VAR accordingly.
2066 ac_fn_c_check_type ()
2067 {
2068   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2070 $as_echo_n "checking for $2... " >&6; }
2071 if eval "test \"\${$3+set}\"" = set; then :
2072   $as_echo_n "(cached) " >&6
2073 else
2074   eval "$3=no"
2075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h.  */
2077 $4
2078 int
2079 main ()
2080 {
2081 if (sizeof ($2))
2082          return 0;
2083   ;
2084   return 0;
2085 }
2086 _ACEOF
2087 if ac_fn_c_try_compile "$LINENO"; then :
2088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h.  */
2090 $4
2091 int
2092 main ()
2093 {
2094 if (sizeof (($2)))
2095             return 0;
2096   ;
2097   return 0;
2098 }
2099 _ACEOF
2100 if ac_fn_c_try_compile "$LINENO"; then :
2101
2102 else
2103   eval "$3=yes"
2104 fi
2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 fi
2109 eval ac_res=\$$3
2110                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2111 $as_echo "$ac_res" >&6; }
2112   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2113
2114 } # ac_fn_c_check_type
2115 cat >config.log <<_ACEOF
2116 This file contains any messages produced by compilers while
2117 running configure, to aid debugging if configure makes a mistake.
2118
2119 It was created by eeze $as_me 1.7.1, which was
2120 generated by GNU Autoconf 2.67.  Invocation command line was
2121
2122   $ $0 $@
2123
2124 _ACEOF
2125 exec 5>>config.log
2126 {
2127 cat <<_ASUNAME
2128 ## --------- ##
2129 ## Platform. ##
2130 ## --------- ##
2131
2132 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2133 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2134 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2135 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2136 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2137
2138 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2139 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2140
2141 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2142 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2143 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2144 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2145 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2146 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2147 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2148
2149 _ASUNAME
2150
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2153 do
2154   IFS=$as_save_IFS
2155   test -z "$as_dir" && as_dir=.
2156     $as_echo "PATH: $as_dir"
2157   done
2158 IFS=$as_save_IFS
2159
2160 } >&5
2161
2162 cat >&5 <<_ACEOF
2163
2164
2165 ## ----------- ##
2166 ## Core tests. ##
2167 ## ----------- ##
2168
2169 _ACEOF
2170
2171
2172 # Keep a trace of the command line.
2173 # Strip out --no-create and --no-recursion so they do not pile up.
2174 # Strip out --silent because we don't want to record it for future runs.
2175 # Also quote any args containing shell meta-characters.
2176 # Make two passes to allow for proper duplicate-argument suppression.
2177 ac_configure_args=
2178 ac_configure_args0=
2179 ac_configure_args1=
2180 ac_must_keep_next=false
2181 for ac_pass in 1 2
2182 do
2183   for ac_arg
2184   do
2185     case $ac_arg in
2186     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2187     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2188     | -silent | --silent | --silen | --sile | --sil)
2189       continue ;;
2190     *\'*)
2191       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2192     esac
2193     case $ac_pass in
2194     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2195     2)
2196       as_fn_append ac_configure_args1 " '$ac_arg'"
2197       if test $ac_must_keep_next = true; then
2198         ac_must_keep_next=false # Got value, back to normal.
2199       else
2200         case $ac_arg in
2201           *=* | --config-cache | -C | -disable-* | --disable-* \
2202           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2203           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2204           | -with-* | --with-* | -without-* | --without-* | --x)
2205             case "$ac_configure_args0 " in
2206               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2207             esac
2208             ;;
2209           -* ) ac_must_keep_next=true ;;
2210         esac
2211       fi
2212       as_fn_append ac_configure_args " '$ac_arg'"
2213       ;;
2214     esac
2215   done
2216 done
2217 { ac_configure_args0=; unset ac_configure_args0;}
2218 { ac_configure_args1=; unset ac_configure_args1;}
2219
2220 # When interrupted or exit'd, cleanup temporary files, and complete
2221 # config.log.  We remove comments because anyway the quotes in there
2222 # would cause problems or look ugly.
2223 # WARNING: Use '\'' to represent an apostrophe within the trap.
2224 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2225 trap 'exit_status=$?
2226   # Save into config.log some information that might help in debugging.
2227   {
2228     echo
2229
2230     $as_echo "## ---------------- ##
2231 ## Cache variables. ##
2232 ## ---------------- ##"
2233     echo
2234     # The following way of writing the cache mishandles newlines in values,
2235 (
2236   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2237     eval ac_val=\$$ac_var
2238     case $ac_val in #(
2239     *${as_nl}*)
2240       case $ac_var in #(
2241       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2242 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2243       esac
2244       case $ac_var in #(
2245       _ | IFS | as_nl) ;; #(
2246       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2247       *) { eval $ac_var=; unset $ac_var;} ;;
2248       esac ;;
2249     esac
2250   done
2251   (set) 2>&1 |
2252     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2253     *${as_nl}ac_space=\ *)
2254       sed -n \
2255         "s/'\''/'\''\\\\'\'''\''/g;
2256           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2257       ;; #(
2258     *)
2259       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2260       ;;
2261     esac |
2262     sort
2263 )
2264     echo
2265
2266     $as_echo "## ----------------- ##
2267 ## Output variables. ##
2268 ## ----------------- ##"
2269     echo
2270     for ac_var in $ac_subst_vars
2271     do
2272       eval ac_val=\$$ac_var
2273       case $ac_val in
2274       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2275       esac
2276       $as_echo "$ac_var='\''$ac_val'\''"
2277     done | sort
2278     echo
2279
2280     if test -n "$ac_subst_files"; then
2281       $as_echo "## ------------------- ##
2282 ## File substitutions. ##
2283 ## ------------------- ##"
2284       echo
2285       for ac_var in $ac_subst_files
2286       do
2287         eval ac_val=\$$ac_var
2288         case $ac_val in
2289         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2290         esac
2291         $as_echo "$ac_var='\''$ac_val'\''"
2292       done | sort
2293       echo
2294     fi
2295
2296     if test -s confdefs.h; then
2297       $as_echo "## ----------- ##
2298 ## confdefs.h. ##
2299 ## ----------- ##"
2300       echo
2301       cat confdefs.h
2302       echo
2303     fi
2304     test "$ac_signal" != 0 &&
2305       $as_echo "$as_me: caught signal $ac_signal"
2306     $as_echo "$as_me: exit $exit_status"
2307   } >&5
2308   rm -f core *.core core.conftest.* &&
2309     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2310     exit $exit_status
2311 ' 0
2312 for ac_signal in 1 2 13 15; do
2313   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2314 done
2315 ac_signal=0
2316
2317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2318 rm -f -r conftest* confdefs.h
2319
2320 $as_echo "/* confdefs.h */" > confdefs.h
2321
2322 # Predefined preprocessor variables.
2323
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_NAME "$PACKAGE_NAME"
2326 _ACEOF
2327
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2330 _ACEOF
2331
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2334 _ACEOF
2335
2336 cat >>confdefs.h <<_ACEOF
2337 #define PACKAGE_STRING "$PACKAGE_STRING"
2338 _ACEOF
2339
2340 cat >>confdefs.h <<_ACEOF
2341 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2342 _ACEOF
2343
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_URL "$PACKAGE_URL"
2346 _ACEOF
2347
2348
2349 # Let the site file select an alternate cache file if it wants to.
2350 # Prefer an explicitly selected file to automatically selected ones.
2351 ac_site_file1=NONE
2352 ac_site_file2=NONE
2353 if test -n "$CONFIG_SITE"; then
2354   # We do not want a PATH search for config.site.
2355   case $CONFIG_SITE in #((
2356     -*)  ac_site_file1=./$CONFIG_SITE;;
2357     */*) ac_site_file1=$CONFIG_SITE;;
2358     *)   ac_site_file1=./$CONFIG_SITE;;
2359   esac
2360 elif test "x$prefix" != xNONE; then
2361   ac_site_file1=$prefix/share/config.site
2362   ac_site_file2=$prefix/etc/config.site
2363 else
2364   ac_site_file1=$ac_default_prefix/share/config.site
2365   ac_site_file2=$ac_default_prefix/etc/config.site
2366 fi
2367 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2368 do
2369   test "x$ac_site_file" = xNONE && continue
2370   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2371     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2372 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2373     sed 's/^/| /' "$ac_site_file" >&5
2374     . "$ac_site_file" \
2375       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2377 as_fn_error $? "failed to load site script $ac_site_file
2378 See \`config.log' for more details" "$LINENO" 5 ; }
2379   fi
2380 done
2381
2382 if test -r "$cache_file"; then
2383   # Some versions of bash will fail to source /dev/null (special files
2384   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2385   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2386     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2387 $as_echo "$as_me: loading cache $cache_file" >&6;}
2388     case $cache_file in
2389       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2390       *)                      . "./$cache_file";;
2391     esac
2392   fi
2393 else
2394   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2395 $as_echo "$as_me: creating cache $cache_file" >&6;}
2396   >$cache_file
2397 fi
2398
2399 # Check that the precious variables saved in the cache have kept the same
2400 # value.
2401 ac_cache_corrupted=false
2402 for ac_var in $ac_precious_vars; do
2403   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2404   eval ac_new_set=\$ac_env_${ac_var}_set
2405   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2406   eval ac_new_val=\$ac_env_${ac_var}_value
2407   case $ac_old_set,$ac_new_set in
2408     set,)
2409       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2410 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2411       ac_cache_corrupted=: ;;
2412     ,set)
2413       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2414 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2415       ac_cache_corrupted=: ;;
2416     ,);;
2417     *)
2418       if test "x$ac_old_val" != "x$ac_new_val"; then
2419         # differences in whitespace do not lead to failure.
2420         ac_old_val_w=`echo x $ac_old_val`
2421         ac_new_val_w=`echo x $ac_new_val`
2422         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2423           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2424 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2425           ac_cache_corrupted=:
2426         else
2427           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2428 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2429           eval $ac_var=\$ac_old_val
2430         fi
2431         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2432 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2433         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2434 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2435       fi;;
2436   esac
2437   # Pass precious variables to config.status.
2438   if test "$ac_new_set" = set; then
2439     case $ac_new_val in
2440     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2441     *) ac_arg=$ac_var=$ac_new_val ;;
2442     esac
2443     case " $ac_configure_args " in
2444       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2445       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2446     esac
2447   fi
2448 done
2449 if $ac_cache_corrupted; then
2450   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2452   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2453 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2454   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2455 fi
2456 ## -------------------- ##
2457 ## Main body of script. ##
2458 ## -------------------- ##
2459
2460 ac_ext=c
2461 ac_cpp='$CPP $CPPFLAGS'
2462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2465
2466
2467
2468
2469
2470
2471 ac_config_headers="$ac_config_headers config.h"
2472
2473
2474
2475
2476 am__api_version='1.11'
2477
2478 ac_aux_dir=
2479 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2480   if test -f "$ac_dir/install-sh"; then
2481     ac_aux_dir=$ac_dir
2482     ac_install_sh="$ac_aux_dir/install-sh -c"
2483     break
2484   elif test -f "$ac_dir/install.sh"; then
2485     ac_aux_dir=$ac_dir
2486     ac_install_sh="$ac_aux_dir/install.sh -c"
2487     break
2488   elif test -f "$ac_dir/shtool"; then
2489     ac_aux_dir=$ac_dir
2490     ac_install_sh="$ac_aux_dir/shtool install -c"
2491     break
2492   fi
2493 done
2494 if test -z "$ac_aux_dir"; then
2495   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2496 fi
2497
2498 # These three variables are undocumented and unsupported,
2499 # and are intended to be withdrawn in a future Autoconf release.
2500 # They can cause serious problems if a builder's source tree is in a directory
2501 # whose full name contains unusual characters.
2502 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2503 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2504 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2505
2506
2507 # Find a good install program.  We prefer a C program (faster),
2508 # so one script is as good as another.  But avoid the broken or
2509 # incompatible versions:
2510 # SysV /etc/install, /usr/sbin/install
2511 # SunOS /usr/etc/install
2512 # IRIX /sbin/install
2513 # AIX /bin/install
2514 # AmigaOS /C/install, which installs bootblocks on floppy discs
2515 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2516 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2517 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2518 # OS/2's system install, which has a completely different semantic
2519 # ./install, which can be erroneously created by make from ./install.sh.
2520 # Reject install programs that cannot install multiple files.
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2522 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2523 if test -z "$INSTALL"; then
2524 if test "${ac_cv_path_install+set}" = set; then :
2525   $as_echo_n "(cached) " >&6
2526 else
2527   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 for as_dir in $PATH
2529 do
2530   IFS=$as_save_IFS
2531   test -z "$as_dir" && as_dir=.
2532     # Account for people who put trailing slashes in PATH elements.
2533 case $as_dir/ in #((
2534   ./ | .// | /[cC]/* | \
2535   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2536   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2537   /usr/ucb/* ) ;;
2538   *)
2539     # OSF1 and SCO ODT 3.0 have their own names for install.
2540     # Don't use installbsd from OSF since it installs stuff as root
2541     # by default.
2542     for ac_prog in ginstall scoinst install; do
2543       for ac_exec_ext in '' $ac_executable_extensions; do
2544         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2545           if test $ac_prog = install &&
2546             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2547             # AIX install.  It has an incompatible calling convention.
2548             :
2549           elif test $ac_prog = install &&
2550             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2551             # program-specific install script used by HP pwplus--don't use.
2552             :
2553           else
2554             rm -rf conftest.one conftest.two conftest.dir
2555             echo one > conftest.one
2556             echo two > conftest.two
2557             mkdir conftest.dir
2558             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2559               test -s conftest.one && test -s conftest.two &&
2560               test -s conftest.dir/conftest.one &&
2561               test -s conftest.dir/conftest.two
2562             then
2563               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2564               break 3
2565             fi
2566           fi
2567         fi
2568       done
2569     done
2570     ;;
2571 esac
2572
2573   done
2574 IFS=$as_save_IFS
2575
2576 rm -rf conftest.one conftest.two conftest.dir
2577
2578 fi
2579   if test "${ac_cv_path_install+set}" = set; then
2580     INSTALL=$ac_cv_path_install
2581   else
2582     # As a last resort, use the slow shell script.  Don't cache a
2583     # value for INSTALL within a source directory, because that will
2584     # break other packages using the cache if that directory is
2585     # removed, or if the value is a relative name.
2586     INSTALL=$ac_install_sh
2587   fi
2588 fi
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2590 $as_echo "$INSTALL" >&6; }
2591
2592 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2593 # It thinks the first close brace ends the variable substitution.
2594 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2595
2596 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2597
2598 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2599
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2601 $as_echo_n "checking whether build environment is sane... " >&6; }
2602 # Just in case
2603 sleep 1
2604 echo timestamp > conftest.file
2605 # Reject unsafe characters in $srcdir or the absolute working directory
2606 # name.  Accept space and tab only in the latter.
2607 am_lf='
2608 '
2609 case `pwd` in
2610   *[\\\"\#\$\&\'\`$am_lf]*)
2611     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2612 esac
2613 case $srcdir in
2614   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2615     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2616 esac
2617
2618 # Do `set' in a subshell so we don't clobber the current shell's
2619 # arguments.  Must try -L first in case configure is actually a
2620 # symlink; some systems play weird games with the mod time of symlinks
2621 # (eg FreeBSD returns the mod time of the symlink's containing
2622 # directory).
2623 if (
2624    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2625    if test "$*" = "X"; then
2626       # -L didn't work.
2627       set X `ls -t "$srcdir/configure" conftest.file`
2628    fi
2629    rm -f conftest.file
2630    if test "$*" != "X $srcdir/configure conftest.file" \
2631       && test "$*" != "X conftest.file $srcdir/configure"; then
2632
2633       # If neither matched, then we have a broken ls.  This can happen
2634       # if, for instance, CONFIG_SHELL is bash and it inherits a
2635       # broken ls alias from the environment.  This has actually
2636       # happened.  Such a system could not be considered "sane".
2637       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2638 alias in your environment" "$LINENO" 5
2639    fi
2640
2641    test "$2" = conftest.file
2642    )
2643 then
2644    # Ok.
2645    :
2646 else
2647    as_fn_error $? "newly created file is older than distributed files!
2648 Check your system clock" "$LINENO" 5
2649 fi
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2651 $as_echo "yes" >&6; }
2652 test "$program_prefix" != NONE &&
2653   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2654 # Use a double $ so make ignores it.
2655 test "$program_suffix" != NONE &&
2656   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2657 # Double any \ or $.
2658 # By default was `s,x,x', remove it if useless.
2659 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2660 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2661
2662 # expand $ac_aux_dir to an absolute path
2663 am_aux_dir=`cd $ac_aux_dir && pwd`
2664
2665 if test x"${MISSING+set}" != xset; then
2666   case $am_aux_dir in
2667   *\ * | *\     *)
2668     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2669   *)
2670     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2671   esac
2672 fi
2673 # Use eval to expand $SHELL
2674 if eval "$MISSING --run true"; then
2675   am_missing_run="$MISSING --run "
2676 else
2677   am_missing_run=
2678   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2679 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2680 fi
2681
2682 if test x"${install_sh}" != xset; then
2683   case $am_aux_dir in
2684   *\ * | *\     *)
2685     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2686   *)
2687     install_sh="\${SHELL} $am_aux_dir/install-sh"
2688   esac
2689 fi
2690
2691 # Installed binaries are usually stripped using `strip' when the user
2692 # run `make install-strip'.  However `strip' might not be the right
2693 # tool to use in cross-compilation environments, therefore Automake
2694 # will honor the `STRIP' environment variable to overrule this program.
2695 if test "$cross_compiling" != no; then
2696   if test -n "$ac_tool_prefix"; then
2697   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2698 set dummy ${ac_tool_prefix}strip; ac_word=$2
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if test "${ac_cv_prog_STRIP+set}" = set; then :
2702   $as_echo_n "(cached) " >&6
2703 else
2704   if test -n "$STRIP"; then
2705   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2706 else
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 for as_dir in $PATH
2709 do
2710   IFS=$as_save_IFS
2711   test -z "$as_dir" && as_dir=.
2712     for ac_exec_ext in '' $ac_executable_extensions; do
2713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716     break 2
2717   fi
2718 done
2719   done
2720 IFS=$as_save_IFS
2721
2722 fi
2723 fi
2724 STRIP=$ac_cv_prog_STRIP
2725 if test -n "$STRIP"; then
2726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2727 $as_echo "$STRIP" >&6; }
2728 else
2729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730 $as_echo "no" >&6; }
2731 fi
2732
2733
2734 fi
2735 if test -z "$ac_cv_prog_STRIP"; then
2736   ac_ct_STRIP=$STRIP
2737   # Extract the first word of "strip", so it can be a program name with args.
2738 set dummy strip; ac_word=$2
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2740 $as_echo_n "checking for $ac_word... " >&6; }
2741 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2742   $as_echo_n "(cached) " >&6
2743 else
2744   if test -n "$ac_ct_STRIP"; then
2745   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2746 else
2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748 for as_dir in $PATH
2749 do
2750   IFS=$as_save_IFS
2751   test -z "$as_dir" && as_dir=.
2752     for ac_exec_ext in '' $ac_executable_extensions; do
2753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754     ac_cv_prog_ac_ct_STRIP="strip"
2755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756     break 2
2757   fi
2758 done
2759   done
2760 IFS=$as_save_IFS
2761
2762 fi
2763 fi
2764 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2765 if test -n "$ac_ct_STRIP"; then
2766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2767 $as_echo "$ac_ct_STRIP" >&6; }
2768 else
2769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2770 $as_echo "no" >&6; }
2771 fi
2772
2773   if test "x$ac_ct_STRIP" = x; then
2774     STRIP=":"
2775   else
2776     case $cross_compiling:$ac_tool_warned in
2777 yes:)
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2780 ac_tool_warned=yes ;;
2781 esac
2782     STRIP=$ac_ct_STRIP
2783   fi
2784 else
2785   STRIP="$ac_cv_prog_STRIP"
2786 fi
2787
2788 fi
2789 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2790
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2792 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2793 if test -z "$MKDIR_P"; then
2794   if test "${ac_cv_path_mkdir+set}" = set; then :
2795   $as_echo_n "(cached) " >&6
2796 else
2797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2799 do
2800   IFS=$as_save_IFS
2801   test -z "$as_dir" && as_dir=.
2802     for ac_prog in mkdir gmkdir; do
2803          for ac_exec_ext in '' $ac_executable_extensions; do
2804            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2805            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2806              'mkdir (GNU coreutils) '* | \
2807              'mkdir (coreutils) '* | \
2808              'mkdir (fileutils) '4.1*)
2809                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2810                break 3;;
2811            esac
2812          done
2813        done
2814   done
2815 IFS=$as_save_IFS
2816
2817 fi
2818
2819   test -d ./--version && rmdir ./--version
2820   if test "${ac_cv_path_mkdir+set}" = set; then
2821     MKDIR_P="$ac_cv_path_mkdir -p"
2822   else
2823     # As a last resort, use the slow shell script.  Don't cache a
2824     # value for MKDIR_P within a source directory, because that will
2825     # break other packages using the cache if that directory is
2826     # removed, or if the value is a relative name.
2827     MKDIR_P="$ac_install_sh -d"
2828   fi
2829 fi
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2831 $as_echo "$MKDIR_P" >&6; }
2832
2833 mkdir_p="$MKDIR_P"
2834 case $mkdir_p in
2835   [\\/$]* | ?:[\\/]*) ;;
2836   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2837 esac
2838
2839 for ac_prog in gawk mawk nawk awk
2840 do
2841   # Extract the first word of "$ac_prog", so it can be a program name with args.
2842 set dummy $ac_prog; ac_word=$2
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844 $as_echo_n "checking for $ac_word... " >&6; }
2845 if test "${ac_cv_prog_AWK+set}" = set; then :
2846   $as_echo_n "(cached) " >&6
2847 else
2848   if test -n "$AWK"; then
2849   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2850 else
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 for as_dir in $PATH
2853 do
2854   IFS=$as_save_IFS
2855   test -z "$as_dir" && as_dir=.
2856     for ac_exec_ext in '' $ac_executable_extensions; do
2857   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858     ac_cv_prog_AWK="$ac_prog"
2859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860     break 2
2861   fi
2862 done
2863   done
2864 IFS=$as_save_IFS
2865
2866 fi
2867 fi
2868 AWK=$ac_cv_prog_AWK
2869 if test -n "$AWK"; then
2870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2871 $as_echo "$AWK" >&6; }
2872 else
2873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2875 fi
2876
2877
2878   test -n "$AWK" && break
2879 done
2880
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2882 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2883 set x ${MAKE-make}
2884 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2885 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2886   $as_echo_n "(cached) " >&6
2887 else
2888   cat >conftest.make <<\_ACEOF
2889 SHELL = /bin/sh
2890 all:
2891         @echo '@@@%%%=$(MAKE)=@@@%%%'
2892 _ACEOF
2893 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2894 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2895   *@@@%%%=?*=@@@%%%*)
2896     eval ac_cv_prog_make_${ac_make}_set=yes;;
2897   *)
2898     eval ac_cv_prog_make_${ac_make}_set=no;;
2899 esac
2900 rm -f conftest.make
2901 fi
2902 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2904 $as_echo "yes" >&6; }
2905   SET_MAKE=
2906 else
2907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2908 $as_echo "no" >&6; }
2909   SET_MAKE="MAKE=${MAKE-make}"
2910 fi
2911
2912 rm -rf .tst 2>/dev/null
2913 mkdir .tst 2>/dev/null
2914 if test -d .tst; then
2915   am__leading_dot=.
2916 else
2917   am__leading_dot=_
2918 fi
2919 rmdir .tst 2>/dev/null
2920
2921 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2922   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2923   # is not polluted with repeated "-I."
2924   am__isrc=' -I$(srcdir)'
2925   # test to see if srcdir already configured
2926   if test -f $srcdir/config.status; then
2927     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2928   fi
2929 fi
2930
2931 # test whether we have cygpath
2932 if test -z "$CYGPATH_W"; then
2933   if (cygpath --version) >/dev/null 2>/dev/null; then
2934     CYGPATH_W='cygpath -w'
2935   else
2936     CYGPATH_W=echo
2937   fi
2938 fi
2939
2940
2941 # Define the identity of the package.
2942  PACKAGE='eeze'
2943  VERSION='1.7.1'
2944
2945
2946 cat >>confdefs.h <<_ACEOF
2947 #define PACKAGE "$PACKAGE"
2948 _ACEOF
2949
2950
2951 cat >>confdefs.h <<_ACEOF
2952 #define VERSION "$VERSION"
2953 _ACEOF
2954
2955 # Some tools Automake needs.
2956
2957 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2958
2959
2960 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2961
2962
2963 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2964
2965
2966 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2967
2968
2969 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2970
2971 # We need awk for the "check" target.  The system "awk" is bad on
2972 # some platforms.
2973 # Always define AMTAR for backward compatibility.
2974
2975 AMTAR=${AMTAR-"${am_missing_run}tar"}
2976
2977 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2978
2979
2980
2981
2982
2983 # Check whether --enable-silent-rules was given.
2984 if test "${enable_silent_rules+set}" = set; then :
2985   enableval=$enable_silent_rules;
2986 fi
2987
2988 case $enable_silent_rules in
2989 yes) AM_DEFAULT_VERBOSITY=0;;
2990 no)  AM_DEFAULT_VERBOSITY=1;;
2991 *)   AM_DEFAULT_VERBOSITY=0;;
2992 esac
2993 AM_BACKSLASH='\'
2994
2995
2996 case `pwd` in
2997   *\ * | *\     *)
2998     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2999 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3000 esac
3001
3002
3003
3004 macro_version='2.2.6b'
3005 macro_revision='1.3017'
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019 ltmain="$ac_aux_dir/ltmain.sh"
3020
3021 # Make sure we can run config.sub.
3022 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3023   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3024
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3026 $as_echo_n "checking build system type... " >&6; }
3027 if test "${ac_cv_build+set}" = set; then :
3028   $as_echo_n "(cached) " >&6
3029 else
3030   ac_build_alias=$build_alias
3031 test "x$ac_build_alias" = x &&
3032   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3033 test "x$ac_build_alias" = x &&
3034   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3035 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3036   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3037
3038 fi
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3040 $as_echo "$ac_cv_build" >&6; }
3041 case $ac_cv_build in
3042 *-*-*) ;;
3043 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3044 esac
3045 build=$ac_cv_build
3046 ac_save_IFS=$IFS; IFS='-'
3047 set x $ac_cv_build
3048 shift
3049 build_cpu=$1
3050 build_vendor=$2
3051 shift; shift
3052 # Remember, the first character of IFS is used to create $*,
3053 # except with old shells:
3054 build_os=$*
3055 IFS=$ac_save_IFS
3056 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3057
3058
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3060 $as_echo_n "checking host system type... " >&6; }
3061 if test "${ac_cv_host+set}" = set; then :
3062   $as_echo_n "(cached) " >&6
3063 else
3064   if test "x$host_alias" = x; then
3065   ac_cv_host=$ac_cv_build
3066 else
3067   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3068     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3069 fi
3070
3071 fi
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3073 $as_echo "$ac_cv_host" >&6; }
3074 case $ac_cv_host in
3075 *-*-*) ;;
3076 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3077 esac
3078 host=$ac_cv_host
3079 ac_save_IFS=$IFS; IFS='-'
3080 set x $ac_cv_host
3081 shift
3082 host_cpu=$1
3083 host_vendor=$2
3084 shift; shift
3085 # Remember, the first character of IFS is used to create $*,
3086 # except with old shells:
3087 host_os=$*
3088 IFS=$ac_save_IFS
3089 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3090
3091
3092 DEPDIR="${am__leading_dot}deps"
3093
3094 ac_config_commands="$ac_config_commands depfiles"
3095
3096
3097 am_make=${MAKE-make}
3098 cat > confinc << 'END'
3099 am__doit:
3100         @echo this is the am__doit target
3101 .PHONY: am__doit
3102 END
3103 # If we don't find an include directive, just comment out the code.
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3105 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3106 am__include="#"
3107 am__quote=
3108 _am_result=none
3109 # First try GNU make style include.
3110 echo "include confinc" > confmf
3111 # Ignore all kinds of additional output from `make'.
3112 case `$am_make -s -f confmf 2> /dev/null` in #(
3113 *the\ am__doit\ target*)
3114   am__include=include
3115   am__quote=
3116   _am_result=GNU
3117   ;;
3118 esac
3119 # Now try BSD make style include.
3120 if test "$am__include" = "#"; then
3121    echo '.include "confinc"' > confmf
3122    case `$am_make -s -f confmf 2> /dev/null` in #(
3123    *the\ am__doit\ target*)
3124      am__include=.include
3125      am__quote="\""
3126      _am_result=BSD
3127      ;;
3128    esac
3129 fi
3130
3131
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3133 $as_echo "$_am_result" >&6; }
3134 rm -f confinc confmf
3135
3136 # Check whether --enable-dependency-tracking was given.
3137 if test "${enable_dependency_tracking+set}" = set; then :
3138   enableval=$enable_dependency_tracking;
3139 fi
3140
3141 if test "x$enable_dependency_tracking" != xno; then
3142   am_depcomp="$ac_aux_dir/depcomp"
3143   AMDEPBACKSLASH='\'
3144 fi
3145  if test "x$enable_dependency_tracking" != xno; then
3146   AMDEP_TRUE=
3147   AMDEP_FALSE='#'
3148 else
3149   AMDEP_TRUE='#'
3150   AMDEP_FALSE=
3151 fi
3152
3153
3154 ac_ext=c
3155 ac_cpp='$CPP $CPPFLAGS'
3156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3159 if test -n "$ac_tool_prefix"; then
3160   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3161 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if test "${ac_cv_prog_CC+set}" = set; then :
3165   $as_echo_n "(cached) " >&6
3166 else
3167   if test -n "$CC"; then
3168   ac_cv_prog_CC="$CC" # Let the user override the test.
3169 else
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 for as_dir in $PATH
3172 do
3173   IFS=$as_save_IFS
3174   test -z "$as_dir" && as_dir=.
3175     for ac_exec_ext in '' $ac_executable_extensions; do
3176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179     break 2
3180   fi
3181 done
3182   done
3183 IFS=$as_save_IFS
3184
3185 fi
3186 fi
3187 CC=$ac_cv_prog_CC
3188 if test -n "$CC"; then
3189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3190 $as_echo "$CC" >&6; }
3191 else
3192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193 $as_echo "no" >&6; }
3194 fi
3195
3196
3197 fi
3198 if test -z "$ac_cv_prog_CC"; then
3199   ac_ct_CC=$CC
3200   # Extract the first word of "gcc", so it can be a program name with args.
3201 set dummy gcc; ac_word=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3205   $as_echo_n "(cached) " >&6
3206 else
3207   if test -n "$ac_ct_CC"; then
3208   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3209 else
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 for as_dir in $PATH
3212 do
3213   IFS=$as_save_IFS
3214   test -z "$as_dir" && as_dir=.
3215     for ac_exec_ext in '' $ac_executable_extensions; do
3216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217     ac_cv_prog_ac_ct_CC="gcc"
3218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3219     break 2
3220   fi
3221 done
3222   done
3223 IFS=$as_save_IFS
3224
3225 fi
3226 fi
3227 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3228 if test -n "$ac_ct_CC"; then
3229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3230 $as_echo "$ac_ct_CC" >&6; }
3231 else
3232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3234 fi
3235
3236   if test "x$ac_ct_CC" = x; then
3237     CC=""
3238   else
3239     case $cross_compiling:$ac_tool_warned in
3240 yes:)
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3243 ac_tool_warned=yes ;;
3244 esac
3245     CC=$ac_ct_CC
3246   fi
3247 else
3248   CC="$ac_cv_prog_CC"
3249 fi
3250
3251 if test -z "$CC"; then
3252           if test -n "$ac_tool_prefix"; then
3253     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3254 set dummy ${ac_tool_prefix}cc; ac_word=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if test "${ac_cv_prog_CC+set}" = set; then :
3258   $as_echo_n "(cached) " >&6
3259 else
3260   if test -n "$CC"; then
3261   ac_cv_prog_CC="$CC" # Let the user override the test.
3262 else
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 for as_dir in $PATH
3265 do
3266   IFS=$as_save_IFS
3267   test -z "$as_dir" && as_dir=.
3268     for ac_exec_ext in '' $ac_executable_extensions; do
3269   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270     ac_cv_prog_CC="${ac_tool_prefix}cc"
3271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272     break 2
3273   fi
3274 done
3275   done
3276 IFS=$as_save_IFS
3277
3278 fi
3279 fi
3280 CC=$ac_cv_prog_CC
3281 if test -n "$CC"; then
3282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3283 $as_echo "$CC" >&6; }
3284 else
3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3287 fi
3288
3289
3290   fi
3291 fi
3292 if test -z "$CC"; then
3293   # Extract the first word of "cc", so it can be a program name with args.
3294 set dummy cc; ac_word=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if test "${ac_cv_prog_CC+set}" = set; then :
3298   $as_echo_n "(cached) " >&6
3299 else
3300   if test -n "$CC"; then
3301   ac_cv_prog_CC="$CC" # Let the user override the test.
3302 else
3303   ac_prog_rejected=no
3304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305 for as_dir in $PATH
3306 do
3307   IFS=$as_save_IFS
3308   test -z "$as_dir" && as_dir=.
3309     for ac_exec_ext in '' $ac_executable_extensions; do
3310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3312        ac_prog_rejected=yes
3313        continue
3314      fi
3315     ac_cv_prog_CC="cc"
3316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3317     break 2
3318   fi
3319 done
3320   done
3321 IFS=$as_save_IFS
3322
3323 if test $ac_prog_rejected = yes; then
3324   # We found a bogon in the path, so make sure we never use it.
3325   set dummy $ac_cv_prog_CC
3326   shift
3327   if test $# != 0; then
3328     # We chose a different compiler from the bogus one.
3329     # However, it has the same basename, so the bogon will be chosen
3330     # first if we set CC to just the basename; use the full file name.
3331     shift
3332     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3333   fi
3334 fi
3335 fi
3336 fi
3337 CC=$ac_cv_prog_CC
3338 if test -n "$CC"; then
3339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3340 $as_echo "$CC" >&6; }
3341 else
3342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3344 fi
3345
3346
3347 fi
3348 if test -z "$CC"; then
3349   if test -n "$ac_tool_prefix"; then
3350   for ac_prog in cl.exe
3351   do
3352     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_CC+set}" = set; then :
3357   $as_echo_n "(cached) " >&6
3358 else
3359   if test -n "$CC"; then
3360   ac_cv_prog_CC="$CC" # Let the user override the test.
3361 else
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 for as_dir in $PATH
3364 do
3365   IFS=$as_save_IFS
3366   test -z "$as_dir" && as_dir=.
3367     for ac_exec_ext in '' $ac_executable_extensions; do
3368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371     break 2
3372   fi
3373 done
3374   done
3375 IFS=$as_save_IFS
3376
3377 fi
3378 fi
3379 CC=$ac_cv_prog_CC
3380 if test -n "$CC"; then
3381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3382 $as_echo "$CC" >&6; }
3383 else
3384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3386 fi
3387
3388
3389     test -n "$CC" && break
3390   done
3391 fi
3392 if test -z "$CC"; then
3393   ac_ct_CC=$CC
3394   for ac_prog in cl.exe
3395 do
3396   # Extract the first word of "$ac_prog", so it can be a program name with args.
3397 set dummy $ac_prog; ac_word=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3401   $as_echo_n "(cached) " >&6
3402 else
3403   if test -n "$ac_ct_CC"; then
3404   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3405 else
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 for as_dir in $PATH
3408 do
3409   IFS=$as_save_IFS
3410   test -z "$as_dir" && as_dir=.
3411     for ac_exec_ext in '' $ac_executable_extensions; do
3412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413     ac_cv_prog_ac_ct_CC="$ac_prog"
3414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3415     break 2
3416   fi
3417 done
3418   done
3419 IFS=$as_save_IFS
3420
3421 fi
3422 fi
3423 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3424 if test -n "$ac_ct_CC"; then
3425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3426 $as_echo "$ac_ct_CC" >&6; }
3427 else
3428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3430 fi
3431
3432
3433   test -n "$ac_ct_CC" && break
3434 done
3435
3436   if test "x$ac_ct_CC" = x; then
3437     CC=""
3438   else
3439     case $cross_compiling:$ac_tool_warned in
3440 yes:)
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3443 ac_tool_warned=yes ;;
3444 esac
3445     CC=$ac_ct_CC
3446   fi
3447 fi
3448
3449 fi
3450
3451
3452 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3454 as_fn_error $? "no acceptable C compiler found in \$PATH
3455 See \`config.log' for more details" "$LINENO" 5 ; }
3456
3457 # Provide some information about the compiler.
3458 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3459 set X $ac_compile
3460 ac_compiler=$2
3461 for ac_option in --version -v -V -qversion; do
3462   { { ac_try="$ac_compiler $ac_option >&5"
3463 case "(($ac_try" in
3464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465   *) ac_try_echo=$ac_try;;
3466 esac
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3470   ac_status=$?
3471   if test -s conftest.err; then
3472     sed '10a\
3473 ... rest of stderr output deleted ...
3474          10q' conftest.err >conftest.er1
3475     cat conftest.er1 >&5
3476   fi
3477   rm -f conftest.er1 conftest.err
3478   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479   test $ac_status = 0; }
3480 done
3481
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h.  */
3484
3485 int
3486 main ()
3487 {
3488
3489   ;
3490   return 0;
3491 }
3492 _ACEOF
3493 ac_clean_files_save=$ac_clean_files
3494 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3495 # Try to create an executable without -o first, disregard a.out.
3496 # It will help us diagnose broken compilers, and finding out an intuition
3497 # of exeext.
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3499 $as_echo_n "checking whether the C compiler works... " >&6; }
3500 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3501
3502 # The possible output files:
3503 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3504
3505 ac_rmfiles=
3506 for ac_file in $ac_files
3507 do
3508   case $ac_file in
3509     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3510     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3511   esac
3512 done
3513 rm -f $ac_rmfiles
3514
3515 if { { ac_try="$ac_link_default"
3516 case "(($ac_try" in
3517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518   *) ac_try_echo=$ac_try;;
3519 esac
3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521 $as_echo "$ac_try_echo"; } >&5
3522   (eval "$ac_link_default") 2>&5
3523   ac_status=$?
3524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525   test $ac_status = 0; }; then :
3526   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3527 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3528 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3529 # so that the user can short-circuit this test for compilers unknown to
3530 # Autoconf.
3531 for ac_file in $ac_files ''
3532 do
3533   test -f "$ac_file" || continue
3534   case $ac_file in
3535     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3536         ;;
3537     [ab].out )
3538         # We found the default executable, but exeext='' is most
3539         # certainly right.
3540         break;;
3541     *.* )
3542         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3543         then :; else
3544            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3545         fi
3546         # We set ac_cv_exeext here because the later test for it is not
3547         # safe: cross compilers may not add the suffix if given an `-o'
3548         # argument, so we may need to know it at that point already.
3549         # Even if this section looks crufty: it has the advantage of
3550         # actually working.
3551         break;;
3552     * )
3553         break;;
3554   esac
3555 done
3556 test "$ac_cv_exeext" = no && ac_cv_exeext=
3557
3558 else
3559   ac_file=''
3560 fi
3561 if test -z "$ac_file"; then :
3562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3564 $as_echo "$as_me: failed program was:" >&5
3565 sed 's/^/| /' conftest.$ac_ext >&5
3566
3567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569 as_fn_error 77 "C compiler cannot create executables
3570 See \`config.log' for more details" "$LINENO" 5 ; }
3571 else
3572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3573 $as_echo "yes" >&6; }
3574 fi
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3576 $as_echo_n "checking for C compiler default output file name... " >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3578 $as_echo "$ac_file" >&6; }
3579 ac_exeext=$ac_cv_exeext
3580
3581 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3582 ac_clean_files=$ac_clean_files_save
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3584 $as_echo_n "checking for suffix of executables... " >&6; }
3585 if { { ac_try="$ac_link"
3586 case "(($ac_try" in
3587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3588   *) ac_try_echo=$ac_try;;
3589 esac
3590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3591 $as_echo "$ac_try_echo"; } >&5
3592   (eval "$ac_link") 2>&5
3593   ac_status=$?
3594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595   test $ac_status = 0; }; then :
3596   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3597 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3598 # work properly (i.e., refer to `conftest.exe'), while it won't with
3599 # `rm'.
3600 for ac_file in conftest.exe conftest conftest.*; do
3601   test -f "$ac_file" || continue
3602   case $ac_file in
3603     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3604     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3605           break;;
3606     * ) break;;
3607   esac
3608 done
3609 else
3610   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3612 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3613 See \`config.log' for more details" "$LINENO" 5 ; }
3614 fi
3615 rm -f conftest conftest$ac_cv_exeext
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3617 $as_echo "$ac_cv_exeext" >&6; }
3618
3619 rm -f conftest.$ac_ext
3620 EXEEXT=$ac_cv_exeext
3621 ac_exeext=$EXEEXT
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h.  */
3624 #include <stdio.h>
3625 int
3626 main ()
3627 {
3628 FILE *f = fopen ("conftest.out", "w");
3629  return ferror (f) || fclose (f) != 0;
3630
3631   ;
3632   return 0;
3633 }
3634 _ACEOF
3635 ac_clean_files="$ac_clean_files conftest.out"
3636 # Check that the compiler produces executables we can run.  If not, either
3637 # the compiler is broken, or we cross compile.
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3639 $as_echo_n "checking whether we are cross compiling... " >&6; }
3640 if test "$cross_compiling" != yes; then
3641   { { ac_try="$ac_link"
3642 case "(($ac_try" in
3643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3644   *) ac_try_echo=$ac_try;;
3645 esac
3646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3647 $as_echo "$ac_try_echo"; } >&5
3648   (eval "$ac_link") 2>&5
3649   ac_status=$?
3650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3651   test $ac_status = 0; }
3652   if { ac_try='./conftest$ac_cv_exeext'
3653   { { case "(($ac_try" in
3654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655   *) ac_try_echo=$ac_try;;
3656 esac
3657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3658 $as_echo "$ac_try_echo"; } >&5
3659   (eval "$ac_try") 2>&5
3660   ac_status=$?
3661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3662   test $ac_status = 0; }; }; then
3663     cross_compiling=no
3664   else
3665     if test "$cross_compiling" = maybe; then
3666         cross_compiling=yes
3667     else
3668         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3670 as_fn_error $? "cannot run C compiled programs.
3671 If you meant to cross compile, use \`--host'.
3672 See \`config.log' for more details" "$LINENO" 5 ; }
3673     fi
3674   fi
3675 fi
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3677 $as_echo "$cross_compiling" >&6; }
3678
3679 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3680 ac_clean_files=$ac_clean_files_save
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3682 $as_echo_n "checking for suffix of object files... " >&6; }
3683 if test "${ac_cv_objext+set}" = set; then :
3684   $as_echo_n "(cached) " >&6
3685 else
3686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h.  */
3688
3689 int
3690 main ()
3691 {
3692
3693   ;
3694   return 0;
3695 }
3696 _ACEOF
3697 rm -f conftest.o conftest.obj
3698 if { { ac_try="$ac_compile"
3699 case "(($ac_try" in
3700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3701   *) ac_try_echo=$ac_try;;
3702 esac
3703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3704 $as_echo "$ac_try_echo"; } >&5
3705   (eval "$ac_compile") 2>&5
3706   ac_status=$?
3707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708   test $ac_status = 0; }; then :
3709   for ac_file in conftest.o conftest.obj conftest.*; do
3710   test -f "$ac_file" || continue;
3711   case $ac_file in
3712     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3713     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3714        break;;
3715   esac
3716 done
3717 else
3718   $as_echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.$ac_ext >&5
3720
3721 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3723 as_fn_error $? "cannot compute suffix of object files: cannot compile
3724 See \`config.log' for more details" "$LINENO" 5 ; }
3725 fi
3726 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3727 fi
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3729 $as_echo "$ac_cv_objext" >&6; }
3730 OBJEXT=$ac_cv_objext
3731 ac_objext=$OBJEXT
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3733 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3734 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3735   $as_echo_n "(cached) " >&6
3736 else
3737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h.  */
3739
3740 int
3741 main ()
3742 {
3743 #ifndef __GNUC__
3744        choke me
3745 #endif
3746
3747   ;
3748   return 0;
3749 }
3750 _ACEOF
3751 if ac_fn_c_try_compile "$LINENO"; then :
3752   ac_compiler_gnu=yes
3753 else
3754   ac_compiler_gnu=no
3755 fi
3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3758
3759 fi
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3761 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3762 if test $ac_compiler_gnu = yes; then
3763   GCC=yes
3764 else
3765   GCC=
3766 fi
3767 ac_test_CFLAGS=${CFLAGS+set}
3768 ac_save_CFLAGS=$CFLAGS
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3770 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3771 if test "${ac_cv_prog_cc_g+set}" = set; then :
3772   $as_echo_n "(cached) " >&6
3773 else
3774   ac_save_c_werror_flag=$ac_c_werror_flag
3775    ac_c_werror_flag=yes
3776    ac_cv_prog_cc_g=no
3777    CFLAGS="-g"
3778    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h.  */
3780
3781 int
3782 main ()
3783 {
3784
3785   ;
3786   return 0;
3787 }
3788 _ACEOF
3789 if ac_fn_c_try_compile "$LINENO"; then :
3790   ac_cv_prog_cc_g=yes
3791 else
3792   CFLAGS=""
3793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h.  */
3795
3796 int
3797 main ()
3798 {
3799
3800   ;
3801   return 0;
3802 }
3803 _ACEOF
3804 if ac_fn_c_try_compile "$LINENO"; then :
3805
3806 else
3807   ac_c_werror_flag=$ac_save_c_werror_flag
3808          CFLAGS="-g"
3809          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h.  */
3811
3812 int
3813 main ()
3814 {
3815
3816   ;
3817   return 0;
3818 }
3819 _ACEOF
3820 if ac_fn_c_try_compile "$LINENO"; then :
3821   ac_cv_prog_cc_g=yes
3822 fi
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 fi
3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826 fi
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828    ac_c_werror_flag=$ac_save_c_werror_flag
3829 fi
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3831 $as_echo "$ac_cv_prog_cc_g" >&6; }
3832 if test "$ac_test_CFLAGS" = set; then
3833   CFLAGS=$ac_save_CFLAGS
3834 elif test $ac_cv_prog_cc_g = yes; then
3835   if test "$GCC" = yes; then
3836     CFLAGS="-g -O2"
3837   else
3838     CFLAGS="-g"
3839   fi
3840 else
3841   if test "$GCC" = yes; then
3842     CFLAGS="-O2"
3843   else
3844     CFLAGS=
3845   fi
3846 fi
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3848 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3849 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3850   $as_echo_n "(cached) " >&6
3851 else
3852   ac_cv_prog_cc_c89=no
3853 ac_save_CC=$CC
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h.  */
3856 #include <stdarg.h>
3857 #include <stdio.h>
3858 #include <sys/types.h>
3859 #include <sys/stat.h>
3860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3861 struct buf { int x; };
3862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3863 static char *e (p, i)
3864      char **p;
3865      int i;
3866 {
3867   return p[i];
3868 }
3869 static char *f (char * (*g) (char **, int), char **p, ...)
3870 {
3871   char *s;
3872   va_list v;
3873   va_start (v,p);
3874   s = g (p, va_arg (v,int));
3875   va_end (v);
3876   return s;
3877 }
3878
3879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3880    function prototypes and stuff, but not '\xHH' hex character constants.
3881    These don't provoke an error unfortunately, instead are silently treated
3882    as 'x'.  The following induces an error, until -std is added to get
3883    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3884    array size at least.  It's necessary to write '\x00'==0 to get something
3885    that's true only with -std.  */
3886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3887
3888 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3889    inside strings and character constants.  */
3890 #define FOO(x) 'x'
3891 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3892
3893 int test (int i, double x);
3894 struct s1 {int (*f) (int a);};
3895 struct s2 {int (*f) (double a);};
3896 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3897 int argc;
3898 char **argv;
3899 int
3900 main ()
3901 {
3902 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3903   ;
3904   return 0;
3905 }
3906 _ACEOF
3907 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3908         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3909 do
3910   CC="$ac_save_CC $ac_arg"
3911   if ac_fn_c_try_compile "$LINENO"; then :
3912   ac_cv_prog_cc_c89=$ac_arg
3913 fi
3914 rm -f core conftest.err conftest.$ac_objext
3915   test "x$ac_cv_prog_cc_c89" != "xno" && break
3916 done
3917 rm -f conftest.$ac_ext
3918 CC=$ac_save_CC
3919
3920 fi
3921 # AC_CACHE_VAL
3922 case "x$ac_cv_prog_cc_c89" in
3923   x)
3924     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3925 $as_echo "none needed" >&6; } ;;
3926   xno)
3927     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3928 $as_echo "unsupported" >&6; } ;;
3929   *)
3930     CC="$CC $ac_cv_prog_cc_c89"
3931     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3932 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3933 esac
3934 if test "x$ac_cv_prog_cc_c89" != xno; then :
3935
3936 fi
3937
3938 ac_ext=c
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943
3944 depcc="$CC"   am_compiler_list=
3945
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3947 $as_echo_n "checking dependency style of $depcc... " >&6; }
3948 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3949   $as_echo_n "(cached) " >&6
3950 else
3951   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3952   # We make a subdir and do the tests there.  Otherwise we can end up
3953   # making bogus files that we don't know about and never remove.  For
3954   # instance it was reported that on HP-UX the gcc test will end up
3955   # making a dummy file named `D' -- because `-MD' means `put the output
3956   # in D'.
3957   mkdir conftest.dir
3958   # Copy depcomp to subdir because otherwise we won't find it if we're
3959   # using a relative directory.
3960   cp "$am_depcomp" conftest.dir
3961   cd conftest.dir
3962   # We will build objects and dependencies in a subdirectory because
3963   # it helps to detect inapplicable dependency modes.  For instance
3964   # both Tru64's cc and ICC support -MD to output dependencies as a
3965   # side effect of compilation, but ICC will put the dependencies in
3966   # the current directory while Tru64 will put them in the object
3967   # directory.
3968   mkdir sub
3969
3970   am_cv_CC_dependencies_compiler_type=none
3971   if test "$am_compiler_list" = ""; then
3972      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3973   fi
3974   am__universal=false
3975   case " $depcc " in #(
3976      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3977      esac
3978
3979   for depmode in $am_compiler_list; do
3980     # Setup a source with many dependencies, because some compilers
3981     # like to wrap large dependency lists on column 80 (with \), and
3982     # we should not choose a depcomp mode which is confused by this.
3983     #
3984     # We need to recreate these files for each test, as the compiler may
3985     # overwrite some of them when testing with obscure command lines.
3986     # This happens at least with the AIX C compiler.
3987     : > sub/conftest.c
3988     for i in 1 2 3 4 5 6; do
3989       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3990       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3991       # Solaris 8's {/usr,}/bin/sh.
3992       touch sub/conftst$i.h
3993     done
3994     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3995
3996     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3997     # mode.  It turns out that the SunPro C++ compiler does not properly
3998     # handle `-M -o', and we need to detect this.  Also, some Intel
3999     # versions had trouble with output in subdirs
4000     am__obj=sub/conftest.${OBJEXT-o}
4001     am__minus_obj="-o $am__obj"
4002     case $depmode in
4003     gcc)
4004       # This depmode causes a compiler race in universal mode.
4005       test "$am__universal" = false || continue
4006       ;;
4007     nosideeffect)
4008       # after this tag, mechanisms are not by side-effect, so they'll
4009       # only be used when explicitly requested
4010       if test "x$enable_dependency_tracking" = xyes; then
4011         continue
4012       else
4013         break
4014       fi
4015       ;;
4016     msvisualcpp | msvcmsys)
4017       # This compiler won't grok `-c -o', but also, the minuso test has
4018       # not run yet.  These depmodes are late enough in the game, and
4019       # so weak that their functioning should not be impacted.
4020       am__obj=conftest.${OBJEXT-o}
4021       am__minus_obj=
4022       ;;
4023     none) break ;;
4024     esac
4025     if depmode=$depmode \
4026        source=sub/conftest.c object=$am__obj \
4027        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4028        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4029          >/dev/null 2>conftest.err &&
4030        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4031        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4032        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4033        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4034       # icc doesn't choke on unknown options, it will just issue warnings
4035       # or remarks (even with -Werror).  So we grep stderr for any message
4036       # that says an option was ignored or not supported.
4037       # When given -MP, icc 7.0 and 7.1 complain thusly:
4038       #   icc: Command line warning: ignoring option '-M'; no argument required
4039       # The diagnosis changed in icc 8.0:
4040       #   icc: Command line remark: option '-MP' not supported
4041       if (grep 'ignoring option' conftest.err ||
4042           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4043         am_cv_CC_dependencies_compiler_type=$depmode
4044         break
4045       fi
4046     fi
4047   done
4048
4049   cd ..
4050   rm -rf conftest.dir
4051 else
4052   am_cv_CC_dependencies_compiler_type=none
4053 fi
4054
4055 fi
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4057 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4058 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4059
4060  if
4061   test "x$enable_dependency_tracking" != xno \
4062   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4063   am__fastdepCC_TRUE=
4064   am__fastdepCC_FALSE='#'
4065 else
4066   am__fastdepCC_TRUE='#'
4067   am__fastdepCC_FALSE=
4068 fi
4069
4070
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4072 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4073 if test "${ac_cv_path_SED+set}" = set; then :
4074   $as_echo_n "(cached) " >&6
4075 else
4076             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4077      for ac_i in 1 2 3 4 5 6 7; do
4078        ac_script="$ac_script$as_nl$ac_script"
4079      done
4080      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4081      { ac_script=; unset ac_script;}
4082      if test -z "$SED"; then
4083   ac_path_SED_found=false
4084   # Loop through the user's path and test for each of PROGNAME-LIST
4085   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4086 for as_dir in $PATH
4087 do
4088   IFS=$as_save_IFS
4089   test -z "$as_dir" && as_dir=.
4090     for ac_prog in sed gsed; do
4091     for ac_exec_ext in '' $ac_executable_extensions; do
4092       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4093       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4094 # Check for GNU ac_path_SED and select it if it is found.
4095   # Check for GNU $ac_path_SED
4096 case `"$ac_path_SED" --version 2>&1` in
4097 *GNU*)
4098   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4099 *)
4100   ac_count=0
4101   $as_echo_n 0123456789 >"conftest.in"
4102   while :
4103   do
4104     cat "conftest.in" "conftest.in" >"conftest.tmp"
4105     mv "conftest.tmp" "conftest.in"
4106     cp "conftest.in" "conftest.nl"
4107     $as_echo '' >> "conftest.nl"
4108     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4109     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4110     as_fn_arith $ac_count + 1 && ac_count=$as_val
4111     if test $ac_count -gt ${ac_path_SED_max-0}; then
4112       # Best one so far, save it but keep looking for a better one
4113       ac_cv_path_SED="$ac_path_SED"
4114       ac_path_SED_max=$ac_count
4115     fi
4116     # 10*(2^10) chars as input seems more than enough
4117     test $ac_count -gt 10 && break
4118   done
4119   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4120 esac
4121
4122       $ac_path_SED_found && break 3
4123     done
4124   done
4125   done
4126 IFS=$as_save_IFS
4127   if test -z "$ac_cv_path_SED"; then
4128     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4129   fi
4130 else
4131   ac_cv_path_SED=$SED
4132 fi
4133
4134 fi
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4136 $as_echo "$ac_cv_path_SED" >&6; }
4137  SED="$ac_cv_path_SED"
4138   rm -f conftest.sed
4139
4140 test -z "$SED" && SED=sed
4141 Xsed="$SED -e 1s/^X//"
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4154 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4155 if test "${ac_cv_path_GREP+set}" = set; then :
4156   $as_echo_n "(cached) " >&6
4157 else
4158   if test -z "$GREP"; then
4159   ac_path_GREP_found=false
4160   # Loop through the user's path and test for each of PROGNAME-LIST
4161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4163 do
4164   IFS=$as_save_IFS
4165   test -z "$as_dir" && as_dir=.
4166     for ac_prog in grep ggrep; do
4167     for ac_exec_ext in '' $ac_executable_extensions; do
4168       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4169       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4170 # Check for GNU ac_path_GREP and select it if it is found.
4171   # Check for GNU $ac_path_GREP
4172 case `"$ac_path_GREP" --version 2>&1` in
4173 *GNU*)
4174   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4175 *)
4176   ac_count=0
4177   $as_echo_n 0123456789 >"conftest.in"
4178   while :
4179   do
4180     cat "conftest.in" "conftest.in" >"conftest.tmp"
4181     mv "conftest.tmp" "conftest.in"
4182     cp "conftest.in" "conftest.nl"
4183     $as_echo 'GREP' >> "conftest.nl"
4184     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4185     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4186     as_fn_arith $ac_count + 1 && ac_count=$as_val
4187     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4188       # Best one so far, save it but keep looking for a better one
4189       ac_cv_path_GREP="$ac_path_GREP"
4190       ac_path_GREP_max=$ac_count
4191     fi
4192     # 10*(2^10) chars as input seems more than enough
4193     test $ac_count -gt 10 && break
4194   done
4195   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4196 esac
4197
4198       $ac_path_GREP_found && break 3
4199     done
4200   done
4201   done
4202 IFS=$as_save_IFS
4203   if test -z "$ac_cv_path_GREP"; then
4204     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4205   fi
4206 else
4207   ac_cv_path_GREP=$GREP
4208 fi
4209
4210 fi
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4212 $as_echo "$ac_cv_path_GREP" >&6; }
4213  GREP="$ac_cv_path_GREP"
4214
4215
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4217 $as_echo_n "checking for egrep... " >&6; }
4218 if test "${ac_cv_path_EGREP+set}" = set; then :
4219   $as_echo_n "(cached) " >&6
4220 else
4221   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4222    then ac_cv_path_EGREP="$GREP -E"
4223    else
4224      if test -z "$EGREP"; then
4225   ac_path_EGREP_found=false
4226   # Loop through the user's path and test for each of PROGNAME-LIST
4227   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4228 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4229 do
4230   IFS=$as_save_IFS
4231   test -z "$as_dir" && as_dir=.
4232     for ac_prog in egrep; do
4233     for ac_exec_ext in '' $ac_executable_extensions; do
4234       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4235       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4236 # Check for GNU ac_path_EGREP and select it if it is found.
4237   # Check for GNU $ac_path_EGREP
4238 case `"$ac_path_EGREP" --version 2>&1` in
4239 *GNU*)
4240   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4241 *)
4242   ac_count=0
4243   $as_echo_n 0123456789 >"conftest.in"
4244   while :
4245   do
4246     cat "conftest.in" "conftest.in" >"conftest.tmp"
4247     mv "conftest.tmp" "conftest.in"
4248     cp "conftest.in" "conftest.nl"
4249     $as_echo 'EGREP' >> "conftest.nl"
4250     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4251     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4252     as_fn_arith $ac_count + 1 && ac_count=$as_val
4253     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4254       # Best one so far, save it but keep looking for a better one
4255       ac_cv_path_EGREP="$ac_path_EGREP"
4256       ac_path_EGREP_max=$ac_count
4257     fi
4258     # 10*(2^10) chars as input seems more than enough
4259     test $ac_count -gt 10 && break
4260   done
4261   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4262 esac
4263
4264       $ac_path_EGREP_found && break 3
4265     done
4266   done
4267   done
4268 IFS=$as_save_IFS
4269   if test -z "$ac_cv_path_EGREP"; then
4270     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4271   fi
4272 else
4273   ac_cv_path_EGREP=$EGREP
4274 fi
4275
4276    fi
4277 fi
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4279 $as_echo "$ac_cv_path_EGREP" >&6; }
4280  EGREP="$ac_cv_path_EGREP"
4281
4282
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4284 $as_echo_n "checking for fgrep... " >&6; }
4285 if test "${ac_cv_path_FGREP+set}" = set; then :
4286   $as_echo_n "(cached) " >&6
4287 else
4288   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4289    then ac_cv_path_FGREP="$GREP -F"
4290    else
4291      if test -z "$FGREP"; then
4292   ac_path_FGREP_found=false
4293   # Loop through the user's path and test for each of PROGNAME-LIST
4294   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4296 do
4297   IFS=$as_save_IFS
4298   test -z "$as_dir" && as_dir=.
4299     for ac_prog in fgrep; do
4300     for ac_exec_ext in '' $ac_executable_extensions; do
4301       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4302       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4303 # Check for GNU ac_path_FGREP and select it if it is found.
4304   # Check for GNU $ac_path_FGREP
4305 case `"$ac_path_FGREP" --version 2>&1` in
4306 *GNU*)
4307   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4308 *)
4309   ac_count=0
4310   $as_echo_n 0123456789 >"conftest.in"
4311   while :
4312   do
4313     cat "conftest.in" "conftest.in" >"conftest.tmp"
4314     mv "conftest.tmp" "conftest.in"
4315     cp "conftest.in" "conftest.nl"
4316     $as_echo 'FGREP' >> "conftest.nl"
4317     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4318     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4319     as_fn_arith $ac_count + 1 && ac_count=$as_val
4320     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4321       # Best one so far, save it but keep looking for a better one
4322       ac_cv_path_FGREP="$ac_path_FGREP"
4323       ac_path_FGREP_max=$ac_count
4324     fi
4325     # 10*(2^10) chars as input seems more than enough
4326     test $ac_count -gt 10 && break
4327   done
4328   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4329 esac
4330
4331       $ac_path_FGREP_found && break 3
4332     done
4333   done
4334   done
4335 IFS=$as_save_IFS
4336   if test -z "$ac_cv_path_FGREP"; then
4337     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4338   fi
4339 else
4340   ac_cv_path_FGREP=$FGREP
4341 fi
4342
4343    fi
4344 fi
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4346 $as_echo "$ac_cv_path_FGREP" >&6; }
4347  FGREP="$ac_cv_path_FGREP"
4348
4349
4350 test -z "$GREP" && GREP=grep
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370 # Check whether --with-gnu-ld was given.
4371 if test "${with_gnu_ld+set}" = set; then :
4372   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4373 else
4374   with_gnu_ld=no
4375 fi
4376
4377 ac_prog=ld
4378 if test "$GCC" = yes; then
4379   # Check if gcc -print-prog-name=ld gives a path.
4380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4381 $as_echo_n "checking for ld used by $CC... " >&6; }
4382   case $host in
4383   *-*-mingw*)
4384     # gcc leaves a trailing carriage return which upsets mingw
4385     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4386   *)
4387     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4388   esac
4389   case $ac_prog in
4390     # Accept absolute paths.
4391     [\\/]* | ?:[\\/]*)
4392       re_direlt='/[^/][^/]*/\.\./'
4393       # Canonicalize the pathname of ld
4394       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4395       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4396         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4397       done
4398       test -z "$LD" && LD="$ac_prog"
4399       ;;
4400   "")
4401     # If it fails, then pretend we aren't using GCC.
4402     ac_prog=ld
4403     ;;
4404   *)
4405     # If it is relative, then search for the first ld in PATH.
4406     with_gnu_ld=unknown
4407     ;;
4408   esac
4409 elif test "$with_gnu_ld" = yes; then
4410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4411 $as_echo_n "checking for GNU ld... " >&6; }
4412 else
4413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4414 $as_echo_n "checking for non-GNU ld... " >&6; }
4415 fi
4416 if test "${lt_cv_path_LD+set}" = set; then :
4417   $as_echo_n "(cached) " >&6
4418 else
4419   if test -z "$LD"; then
4420   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4421   for ac_dir in $PATH; do
4422     IFS="$lt_save_ifs"
4423     test -z "$ac_dir" && ac_dir=.
4424     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4425       lt_cv_path_LD="$ac_dir/$ac_prog"
4426       # Check to see if the program is GNU ld.  I'd rather use --version,
4427       # but apparently some variants of GNU ld only accept -v.
4428       # Break only if it was the GNU/non-GNU ld that we prefer.
4429       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4430       *GNU* | *'with BFD'*)
4431         test "$with_gnu_ld" != no && break
4432         ;;
4433       *)
4434         test "$with_gnu_ld" != yes && break
4435         ;;
4436       esac
4437     fi
4438   done
4439   IFS="$lt_save_ifs"
4440 else
4441   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4442 fi
4443 fi
4444
4445 LD="$lt_cv_path_LD"
4446 if test -n "$LD"; then
4447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4448 $as_echo "$LD" >&6; }
4449 else
4450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4452 fi
4453 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4455 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4456 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4457   $as_echo_n "(cached) " >&6
4458 else
4459   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4460 case `$LD -v 2>&1 </dev/null` in
4461 *GNU* | *'with BFD'*)
4462   lt_cv_prog_gnu_ld=yes
4463   ;;
4464 *)
4465   lt_cv_prog_gnu_ld=no
4466   ;;
4467 esac
4468 fi
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4470 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4471 with_gnu_ld=$lt_cv_prog_gnu_ld
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4482 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4483 if test "${lt_cv_path_NM+set}" = set; then :
4484   $as_echo_n "(cached) " >&6
4485 else
4486   if test -n "$NM"; then
4487   # Let the user override the test.
4488   lt_cv_path_NM="$NM"
4489 else
4490   lt_nm_to_check="${ac_tool_prefix}nm"
4491   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4492     lt_nm_to_check="$lt_nm_to_check nm"
4493   fi
4494   for lt_tmp_nm in $lt_nm_to_check; do
4495     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4496     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4497       IFS="$lt_save_ifs"
4498       test -z "$ac_dir" && ac_dir=.
4499       tmp_nm="$ac_dir/$lt_tmp_nm"
4500       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4501         # Check to see if the nm accepts a BSD-compat flag.
4502         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4503         #   nm: unknown option "B" ignored
4504         # Tru64's nm complains that /dev/null is an invalid object file
4505         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4506         */dev/null* | *'Invalid file or object type'*)
4507           lt_cv_path_NM="$tmp_nm -B"
4508           break
4509           ;;
4510         *)
4511           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4512           */dev/null*)
4513             lt_cv_path_NM="$tmp_nm -p"
4514             break
4515             ;;
4516           *)
4517             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4518             continue # so that we can try to find one that supports BSD flags
4519             ;;
4520           esac
4521           ;;
4522         esac
4523       fi
4524     done
4525     IFS="$lt_save_ifs"
4526   done
4527   : ${lt_cv_path_NM=no}
4528 fi
4529 fi
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4531 $as_echo "$lt_cv_path_NM" >&6; }
4532 if test "$lt_cv_path_NM" != "no"; then
4533   NM="$lt_cv_path_NM"
4534 else
4535   # Didn't find any BSD compatible name lister, look for dumpbin.
4536   if test -n "$ac_tool_prefix"; then
4537   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4538   do
4539     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542 $as_echo_n "checking for $ac_word... " >&6; }
4543 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4544   $as_echo_n "(cached) " >&6
4545 else
4546   if test -n "$DUMPBIN"; then
4547   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4548 else
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550 for as_dir in $PATH
4551 do
4552   IFS=$as_save_IFS
4553   test -z "$as_dir" && as_dir=.
4554     for ac_exec_ext in '' $ac_executable_extensions; do
4555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558     break 2
4559   fi
4560 done
4561   done
4562 IFS=$as_save_IFS
4563
4564 fi
4565 fi
4566 DUMPBIN=$ac_cv_prog_DUMPBIN
4567 if test -n "$DUMPBIN"; then
4568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4569 $as_echo "$DUMPBIN" >&6; }
4570 else
4571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4573 fi
4574
4575
4576     test -n "$DUMPBIN" && break
4577   done
4578 fi
4579 if test -z "$DUMPBIN"; then
4580   ac_ct_DUMPBIN=$DUMPBIN
4581   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4582 do
4583   # Extract the first word of "$ac_prog", so it can be a program name with args.
4584 set dummy $ac_prog; ac_word=$2
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586 $as_echo_n "checking for $ac_word... " >&6; }
4587 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4588   $as_echo_n "(cached) " >&6
4589 else
4590   if test -n "$ac_ct_DUMPBIN"; then
4591   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4592 else
4593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4594 for as_dir in $PATH
4595 do
4596   IFS=$as_save_IFS
4597   test -z "$as_dir" && as_dir=.
4598     for ac_exec_ext in '' $ac_executable_extensions; do
4599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4600     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4602     break 2
4603   fi
4604 done
4605   done
4606 IFS=$as_save_IFS
4607
4608 fi
4609 fi
4610 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4611 if test -n "$ac_ct_DUMPBIN"; then
4612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4613 $as_echo "$ac_ct_DUMPBIN" >&6; }
4614 else
4615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 $as_echo "no" >&6; }
4617 fi
4618
4619
4620   test -n "$ac_ct_DUMPBIN" && break
4621 done
4622
4623   if test "x$ac_ct_DUMPBIN" = x; then
4624     DUMPBIN=":"
4625   else
4626     case $cross_compiling:$ac_tool_warned in
4627 yes:)
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4630 ac_tool_warned=yes ;;
4631 esac
4632     DUMPBIN=$ac_ct_DUMPBIN
4633   fi
4634 fi
4635
4636
4637   if test "$DUMPBIN" != ":"; then
4638     NM="$DUMPBIN"
4639   fi
4640 fi
4641 test -z "$NM" && NM=nm
4642
4643
4644
4645
4646
4647
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4649 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4650 if test "${lt_cv_nm_interface+set}" = set; then :
4651   $as_echo_n "(cached) " >&6
4652 else
4653   lt_cv_nm_interface="BSD nm"
4654   echo "int some_variable = 0;" > conftest.$ac_ext
4655   (eval echo "\"\$as_me:4655: $ac_compile\"" >&5)
4656   (eval "$ac_compile" 2>conftest.err)
4657   cat conftest.err >&5
4658   (eval echo "\"\$as_me:4658: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4659   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4660   cat conftest.err >&5
4661   (eval echo "\"\$as_me:4661: output\"" >&5)
4662   cat conftest.out >&5
4663   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4664     lt_cv_nm_interface="MS dumpbin"
4665   fi
4666   rm -f conftest*
4667 fi
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4669 $as_echo "$lt_cv_nm_interface" >&6; }
4670
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4672 $as_echo_n "checking whether ln -s works... " >&6; }
4673 LN_S=$as_ln_s
4674 if test "$LN_S" = "ln -s"; then
4675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4676 $as_echo "yes" >&6; }
4677 else
4678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4679 $as_echo "no, using $LN_S" >&6; }
4680 fi
4681
4682 # find the maximum length of command line arguments
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4684 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4685 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4686   $as_echo_n "(cached) " >&6
4687 else
4688     i=0
4689   teststring="ABCD"
4690
4691   case $build_os in
4692   msdosdjgpp*)
4693     # On DJGPP, this test can blow up pretty badly due to problems in libc
4694     # (any single argument exceeding 2000 bytes causes a buffer overrun
4695     # during glob expansion).  Even if it were fixed, the result of this
4696     # check would be larger than it should be.
4697     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4698     ;;
4699
4700   gnu*)
4701     # Under GNU Hurd, this test is not required because there is
4702     # no limit to the length of command line arguments.
4703     # Libtool will interpret -1 as no limit whatsoever
4704     lt_cv_sys_max_cmd_len=-1;
4705     ;;
4706
4707   cygwin* | mingw* | cegcc*)
4708     # On Win9x/ME, this test blows up -- it succeeds, but takes
4709     # about 5 minutes as the teststring grows exponentially.
4710     # Worse, since 9x/ME are not pre-emptively multitasking,
4711     # you end up with a "frozen" computer, even though with patience
4712     # the test eventually succeeds (with a max line length of 256k).
4713     # Instead, let's just punt: use the minimum linelength reported by
4714     # all of the supported platforms: 8192 (on NT/2K/XP).
4715     lt_cv_sys_max_cmd_len=8192;
4716     ;;
4717
4718   amigaos*)
4719     # On AmigaOS with pdksh, this test takes hours, literally.
4720     # So we just punt and use a minimum line length of 8192.
4721     lt_cv_sys_max_cmd_len=8192;
4722     ;;
4723
4724   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4725     # This has been around since 386BSD, at least.  Likely further.
4726     if test -x /sbin/sysctl; then
4727       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4728     elif test -x /usr/sbin/sysctl; then
4729       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4730     else
4731       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4732     fi
4733     # And add a safety zone
4734     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4735     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4736     ;;
4737
4738   interix*)
4739     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4740     lt_cv_sys_max_cmd_len=196608
4741     ;;
4742
4743   osf*)
4744     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4745     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4746     # nice to cause kernel panics so lets avoid the loop below.
4747     # First set a reasonable default.
4748     lt_cv_sys_max_cmd_len=16384
4749     #
4750     if test -x /sbin/sysconfig; then
4751       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4752         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4753       esac
4754     fi
4755     ;;
4756   sco3.2v5*)
4757     lt_cv_sys_max_cmd_len=102400
4758     ;;
4759   sysv5* | sco5v6* | sysv4.2uw2*)
4760     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4761     if test -n "$kargmax"; then
4762       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4763     else
4764       lt_cv_sys_max_cmd_len=32768
4765     fi
4766     ;;
4767   *)
4768     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4769     if test -n "$lt_cv_sys_max_cmd_len"; then
4770       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4771       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4772     else
4773       # Make teststring a little bigger before we do anything with it.
4774       # a 1K string should be a reasonable start.
4775       for i in 1 2 3 4 5 6 7 8 ; do
4776         teststring=$teststring$teststring
4777       done
4778       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4779       # If test is not a shell built-in, we'll probably end up computing a
4780       # maximum length that is only half of the actual maximum length, but
4781       # we can't tell.
4782       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4783                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4784               test $i != 17 # 1/2 MB should be enough
4785       do
4786         i=`expr $i + 1`
4787         teststring=$teststring$teststring
4788       done
4789       # Only check the string length outside the loop.
4790       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4791       teststring=
4792       # Add a significant safety factor because C++ compilers can tack on
4793       # massive amounts of additional arguments before passing them to the
4794       # linker.  It appears as though 1/2 is a usable value.
4795       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4796     fi
4797     ;;
4798   esac
4799
4800 fi
4801
4802 if test -n $lt_cv_sys_max_cmd_len ; then
4803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4804 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4805 else
4806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4807 $as_echo "none" >&6; }
4808 fi
4809 max_cmd_len=$lt_cv_sys_max_cmd_len
4810
4811
4812
4813
4814
4815
4816 : ${CP="cp -f"}
4817 : ${MV="mv -f"}
4818 : ${RM="rm -f"}
4819
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4821 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4822 # Try some XSI features
4823 xsi_shell=no
4824 ( _lt_dummy="a/b/c"
4825   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4826       = c,a/b,, \
4827     && eval 'test $(( 1 + 1 )) -eq 2 \
4828     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4829   && xsi_shell=yes
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4831 $as_echo "$xsi_shell" >&6; }
4832
4833
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4835 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4836 lt_shell_append=no
4837 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4838     >/dev/null 2>&1 \
4839   && lt_shell_append=yes
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4841 $as_echo "$lt_shell_append" >&6; }
4842
4843
4844 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4845   lt_unset=unset
4846 else
4847   lt_unset=false
4848 fi
4849
4850
4851
4852
4853
4854 # test EBCDIC or ASCII
4855 case `echo X|tr X '\101'` in
4856  A) # ASCII based system
4857     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4858   lt_SP2NL='tr \040 \012'
4859   lt_NL2SP='tr \015\012 \040\040'
4860   ;;
4861  *) # EBCDIC based system
4862   lt_SP2NL='tr \100 \n'
4863   lt_NL2SP='tr \r\n \100\100'
4864   ;;
4865 esac
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4876 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4877 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4878   $as_echo_n "(cached) " >&6
4879 else
4880   lt_cv_ld_reload_flag='-r'
4881 fi
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4883 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4884 reload_flag=$lt_cv_ld_reload_flag
4885 case $reload_flag in
4886 "" | " "*) ;;
4887 *) reload_flag=" $reload_flag" ;;
4888 esac
4889 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4890 case $host_os in
4891   darwin*)
4892     if test "$GCC" = yes; then
4893       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4894     else
4895       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4896     fi
4897     ;;
4898 esac
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908 if test -n "$ac_tool_prefix"; then
4909   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4910 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4912 $as_echo_n "checking for $ac_word... " >&6; }
4913 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4914   $as_echo_n "(cached) " >&6
4915 else
4916   if test -n "$OBJDUMP"; then
4917   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4918 else
4919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4920 for as_dir in $PATH
4921 do
4922   IFS=$as_save_IFS
4923   test -z "$as_dir" && as_dir=.
4924     for ac_exec_ext in '' $ac_executable_extensions; do
4925   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4926     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4928     break 2
4929   fi
4930 done
4931   done
4932 IFS=$as_save_IFS
4933
4934 fi
4935 fi
4936 OBJDUMP=$ac_cv_prog_OBJDUMP
4937 if test -n "$OBJDUMP"; then
4938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4939 $as_echo "$OBJDUMP" >&6; }
4940 else
4941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4943 fi
4944
4945
4946 fi
4947 if test -z "$ac_cv_prog_OBJDUMP"; then
4948   ac_ct_OBJDUMP=$OBJDUMP
4949   # Extract the first word of "objdump", so it can be a program name with args.
4950 set dummy objdump; ac_word=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4953 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4954   $as_echo_n "(cached) " >&6
4955 else
4956   if test -n "$ac_ct_OBJDUMP"; then
4957   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4958 else
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 for as_dir in $PATH
4961 do
4962   IFS=$as_save_IFS
4963   test -z "$as_dir" && as_dir=.
4964     for ac_exec_ext in '' $ac_executable_extensions; do
4965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4966     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968     break 2
4969   fi
4970 done
4971   done
4972 IFS=$as_save_IFS
4973
4974 fi
4975 fi
4976 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4977 if test -n "$ac_ct_OBJDUMP"; then
4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4979 $as_echo "$ac_ct_OBJDUMP" >&6; }
4980 else
4981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4983 fi
4984
4985   if test "x$ac_ct_OBJDUMP" = x; then
4986     OBJDUMP="false"
4987   else
4988     case $cross_compiling:$ac_tool_warned in
4989 yes:)
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4992 ac_tool_warned=yes ;;
4993 esac
4994     OBJDUMP=$ac_ct_OBJDUMP
4995   fi
4996 else
4997   OBJDUMP="$ac_cv_prog_OBJDUMP"
4998 fi
4999
5000 test -z "$OBJDUMP" && OBJDUMP=objdump
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5011 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5012 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5013   $as_echo_n "(cached) " >&6
5014 else
5015   lt_cv_file_magic_cmd='$MAGIC_CMD'
5016 lt_cv_file_magic_test_file=
5017 lt_cv_deplibs_check_method='unknown'
5018 # Need to set the preceding variable on all platforms that support
5019 # interlibrary dependencies.
5020 # 'none' -- dependencies not supported.
5021 # `unknown' -- same as none, but documents that we really don't know.
5022 # 'pass_all' -- all dependencies passed with no checks.
5023 # 'test_compile' -- check by making test program.
5024 # 'file_magic [[regex]]' -- check by looking for files in library path
5025 # which responds to the $file_magic_cmd with a given extended regex.
5026 # If you have `file' or equivalent on your system and you're not sure
5027 # whether `pass_all' will *always* work, you probably want this one.
5028
5029 case $host_os in
5030 aix[4-9]*)
5031   lt_cv_deplibs_check_method=pass_all
5032   ;;
5033
5034 beos*)
5035   lt_cv_deplibs_check_method=pass_all
5036   ;;
5037
5038 bsdi[45]*)
5039   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5040   lt_cv_file_magic_cmd='/usr/bin/file -L'
5041   lt_cv_file_magic_test_file=/shlib/libc.so
5042   ;;
5043
5044 cygwin*)
5045   # func_win32_libid is a shell function defined in ltmain.sh
5046   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5047   lt_cv_file_magic_cmd='func_win32_libid'
5048   ;;
5049
5050 mingw* | pw32*)
5051   # Base MSYS/MinGW do not provide the 'file' command needed by
5052   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5053   # unless we find 'file', for example because we are cross-compiling.
5054   if ( file / ) >/dev/null 2>&1; then
5055     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5056     lt_cv_file_magic_cmd='func_win32_libid'
5057   else
5058     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5059     lt_cv_file_magic_cmd='$OBJDUMP -f'
5060   fi
5061   ;;
5062
5063 cegcc)
5064   # use the weaker test based on 'objdump'. See mingw*.
5065   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5066   lt_cv_file_magic_cmd='$OBJDUMP -f'
5067   ;;
5068
5069 darwin* | rhapsody*)
5070   lt_cv_deplibs_check_method=pass_all
5071   ;;
5072
5073 freebsd* | dragonfly*)
5074   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5075     case $host_cpu in
5076     i*86 )
5077       # Not sure whether the presence of OpenBSD here was a mistake.
5078       # Let's accept both of them until this is cleared up.
5079       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5080       lt_cv_file_magic_cmd=/usr/bin/file
5081       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5082       ;;
5083     esac
5084   else
5085     lt_cv_deplibs_check_method=pass_all
5086   fi
5087   ;;
5088
5089 gnu*)
5090   lt_cv_deplibs_check_method=pass_all
5091   ;;
5092
5093 hpux10.20* | hpux11*)
5094   lt_cv_file_magic_cmd=/usr/bin/file
5095   case $host_cpu in
5096   ia64*)
5097     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5098     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5099     ;;
5100   hppa*64*)
5101     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5102     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5103     ;;
5104   *)
5105     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5106     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5107     ;;
5108   esac
5109   ;;
5110
5111 interix[3-9]*)
5112   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5113   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5114   ;;
5115
5116 irix5* | irix6* | nonstopux*)
5117   case $LD in
5118   *-32|*"-32 ") libmagic=32-bit;;
5119   *-n32|*"-n32 ") libmagic=N32;;
5120   *-64|*"-64 ") libmagic=64-bit;;
5121   *) libmagic=never-match;;
5122   esac
5123   lt_cv_deplibs_check_method=pass_all
5124   ;;
5125
5126 # This must be Linux ELF.
5127 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5128   lt_cv_deplibs_check_method=pass_all
5129   ;;
5130
5131 netbsd* | netbsdelf*-gnu)
5132   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5133     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5134   else
5135     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5136   fi
5137   ;;
5138
5139 newos6*)
5140   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5141   lt_cv_file_magic_cmd=/usr/bin/file
5142   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5143   ;;
5144
5145 *nto* | *qnx*)
5146   lt_cv_deplibs_check_method=pass_all
5147   ;;
5148
5149 openbsd*)
5150   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5151     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5152   else
5153     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5154   fi
5155   ;;
5156
5157 osf3* | osf4* | osf5*)
5158   lt_cv_deplibs_check_method=pass_all
5159   ;;
5160
5161 rdos*)
5162   lt_cv_deplibs_check_method=pass_all
5163   ;;
5164
5165 solaris*)
5166   lt_cv_deplibs_check_method=pass_all
5167   ;;
5168
5169 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5170   lt_cv_deplibs_check_method=pass_all
5171   ;;
5172
5173 sysv4 | sysv4.3*)
5174   case $host_vendor in
5175   motorola)
5176     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]'
5177     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5178     ;;
5179   ncr)
5180     lt_cv_deplibs_check_method=pass_all
5181     ;;
5182   sequent)
5183     lt_cv_file_magic_cmd='/bin/file'
5184     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5185     ;;
5186   sni)
5187     lt_cv_file_magic_cmd='/bin/file'
5188     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5189     lt_cv_file_magic_test_file=/lib/libc.so
5190     ;;
5191   siemens)
5192     lt_cv_deplibs_check_method=pass_all
5193     ;;
5194   pc)
5195     lt_cv_deplibs_check_method=pass_all
5196     ;;
5197   esac
5198   ;;
5199
5200 tpf*)
5201   lt_cv_deplibs_check_method=pass_all
5202   ;;
5203 esac
5204
5205 fi
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5207 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5208 file_magic_cmd=$lt_cv_file_magic_cmd
5209 deplibs_check_method=$lt_cv_deplibs_check_method
5210 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223 if test -n "$ac_tool_prefix"; then
5224   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5225 set dummy ${ac_tool_prefix}ar; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if test "${ac_cv_prog_AR+set}" = set; then :
5229   $as_echo_n "(cached) " >&6
5230 else
5231   if test -n "$AR"; then
5232   ac_cv_prog_AR="$AR" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5236 do
5237   IFS=$as_save_IFS
5238   test -z "$as_dir" && as_dir=.
5239     for ac_exec_ext in '' $ac_executable_extensions; do
5240   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5241     ac_cv_prog_AR="${ac_tool_prefix}ar"
5242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243     break 2
5244   fi
5245 done
5246   done
5247 IFS=$as_save_IFS
5248
5249 fi
5250 fi
5251 AR=$ac_cv_prog_AR
5252 if test -n "$AR"; then
5253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5254 $as_echo "$AR" >&6; }
5255 else
5256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5258 fi
5259
5260
5261 fi
5262 if test -z "$ac_cv_prog_AR"; then
5263   ac_ct_AR=$AR
5264   # Extract the first word of "ar", so it can be a program name with args.
5265 set dummy ar; ac_word=$2
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267 $as_echo_n "checking for $ac_word... " >&6; }
5268 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5269   $as_echo_n "(cached) " >&6
5270 else
5271   if test -n "$ac_ct_AR"; then
5272   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5273 else
5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 for as_dir in $PATH
5276 do
5277   IFS=$as_save_IFS
5278   test -z "$as_dir" && as_dir=.
5279     for ac_exec_ext in '' $ac_executable_extensions; do
5280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5281     ac_cv_prog_ac_ct_AR="ar"
5282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5283     break 2
5284   fi
5285 done
5286   done
5287 IFS=$as_save_IFS
5288
5289 fi
5290 fi
5291 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5292 if test -n "$ac_ct_AR"; then
5293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5294 $as_echo "$ac_ct_AR" >&6; }
5295 else
5296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297 $as_echo "no" >&6; }
5298 fi
5299
5300   if test "x$ac_ct_AR" = x; then
5301     AR="false"
5302   else
5303     case $cross_compiling:$ac_tool_warned in
5304 yes:)
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5307 ac_tool_warned=yes ;;
5308 esac
5309     AR=$ac_ct_AR
5310   fi
5311 else
5312   AR="$ac_cv_prog_AR"
5313 fi
5314
5315 test -z "$AR" && AR=ar
5316 test -z "$AR_FLAGS" && AR_FLAGS=cru
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328 if test -n "$ac_tool_prefix"; then
5329   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5330 set dummy ${ac_tool_prefix}strip; ac_word=$2
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5332 $as_echo_n "checking for $ac_word... " >&6; }
5333 if test "${ac_cv_prog_STRIP+set}" = set; then :
5334   $as_echo_n "(cached) " >&6
5335 else
5336   if test -n "$STRIP"; then
5337   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5338 else
5339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5340 for as_dir in $PATH
5341 do
5342   IFS=$as_save_IFS
5343   test -z "$as_dir" && as_dir=.
5344     for ac_exec_ext in '' $ac_executable_extensions; do
5345   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5346     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348     break 2
5349   fi
5350 done
5351   done
5352 IFS=$as_save_IFS
5353
5354 fi
5355 fi
5356 STRIP=$ac_cv_prog_STRIP
5357 if test -n "$STRIP"; then
5358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5359 $as_echo "$STRIP" >&6; }
5360 else
5361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5362 $as_echo "no" >&6; }
5363 fi
5364
5365
5366 fi
5367 if test -z "$ac_cv_prog_STRIP"; then
5368   ac_ct_STRIP=$STRIP
5369   # Extract the first word of "strip", so it can be a program name with args.
5370 set dummy strip; ac_word=$2
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372 $as_echo_n "checking for $ac_word... " >&6; }
5373 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5374   $as_echo_n "(cached) " >&6
5375 else
5376   if test -n "$ac_ct_STRIP"; then
5377   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5378 else
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380 for as_dir in $PATH
5381 do
5382   IFS=$as_save_IFS
5383   test -z "$as_dir" && as_dir=.
5384     for ac_exec_ext in '' $ac_executable_extensions; do
5385   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5386     ac_cv_prog_ac_ct_STRIP="strip"
5387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388     break 2
5389   fi
5390 done
5391   done
5392 IFS=$as_save_IFS
5393
5394 fi
5395 fi
5396 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5397 if test -n "$ac_ct_STRIP"; then
5398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5399 $as_echo "$ac_ct_STRIP" >&6; }
5400 else
5401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
5403 fi
5404
5405   if test "x$ac_ct_STRIP" = x; then
5406     STRIP=":"
5407   else
5408     case $cross_compiling:$ac_tool_warned in
5409 yes:)
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5412 ac_tool_warned=yes ;;
5413 esac
5414     STRIP=$ac_ct_STRIP
5415   fi
5416 else
5417   STRIP="$ac_cv_prog_STRIP"
5418 fi
5419
5420 test -z "$STRIP" && STRIP=:
5421
5422
5423
5424
5425
5426
5427 if test -n "$ac_tool_prefix"; then
5428   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5429 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5431 $as_echo_n "checking for $ac_word... " >&6; }
5432 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5433   $as_echo_n "(cached) " >&6
5434 else
5435   if test -n "$RANLIB"; then
5436   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5437 else
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $PATH
5440 do
5441   IFS=$as_save_IFS
5442   test -z "$as_dir" && as_dir=.
5443     for ac_exec_ext in '' $ac_executable_extensions; do
5444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5445     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5447     break 2
5448   fi
5449 done
5450   done
5451 IFS=$as_save_IFS
5452
5453 fi
5454 fi
5455 RANLIB=$ac_cv_prog_RANLIB
5456 if test -n "$RANLIB"; then
5457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5458 $as_echo "$RANLIB" >&6; }
5459 else
5460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5462 fi
5463
5464
5465 fi
5466 if test -z "$ac_cv_prog_RANLIB"; then
5467   ac_ct_RANLIB=$RANLIB
5468   # Extract the first word of "ranlib", so it can be a program name with args.
5469 set dummy ranlib; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5473   $as_echo_n "(cached) " >&6
5474 else
5475   if test -n "$ac_ct_RANLIB"; then
5476   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5480 do
5481   IFS=$as_save_IFS
5482   test -z "$as_dir" && as_dir=.
5483     for ac_exec_ext in '' $ac_executable_extensions; do
5484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5485     ac_cv_prog_ac_ct_RANLIB="ranlib"
5486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487     break 2
5488   fi
5489 done
5490   done
5491 IFS=$as_save_IFS
5492
5493 fi
5494 fi
5495 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5496 if test -n "$ac_ct_RANLIB"; then
5497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5498 $as_echo "$ac_ct_RANLIB" >&6; }
5499 else
5500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5502 fi
5503
5504   if test "x$ac_ct_RANLIB" = x; then
5505     RANLIB=":"
5506   else
5507     case $cross_compiling:$ac_tool_warned in
5508 yes:)
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5511 ac_tool_warned=yes ;;
5512 esac
5513     RANLIB=$ac_ct_RANLIB
5514   fi
5515 else
5516   RANLIB="$ac_cv_prog_RANLIB"
5517 fi
5518
5519 test -z "$RANLIB" && RANLIB=:
5520
5521
5522
5523
5524
5525
5526 # Determine commands to create old-style static archives.
5527 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5528 old_postinstall_cmds='chmod 644 $oldlib'
5529 old_postuninstall_cmds=
5530
5531 if test -n "$RANLIB"; then
5532   case $host_os in
5533   openbsd*)
5534     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5535     ;;
5536   *)
5537     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5538     ;;
5539   esac
5540   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5541 fi
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576 # If no C compiler was specified, use CC.
5577 LTCC=${LTCC-"$CC"}
5578
5579 # If no C compiler flags were specified, use CFLAGS.
5580 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5581
5582 # Allow CC to be a program name with arguments.
5583 compiler=$CC
5584
5585
5586 # Check for command to grab the raw symbol name followed by C symbol from nm.
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5588 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5589 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5590   $as_echo_n "(cached) " >&6
5591 else
5592
5593 # These are sane defaults that work on at least a few old systems.
5594 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5595
5596 # Character class describing NM global symbol codes.
5597 symcode='[BCDEGRST]'
5598
5599 # Regexp to match symbols that can be accessed directly from C.
5600 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5601
5602 # Define system-specific variables.
5603 case $host_os in
5604 aix*)
5605   symcode='[BCDT]'
5606   ;;
5607 cygwin* | mingw* | pw32* | cegcc*)
5608   symcode='[ABCDGISTW]'
5609   ;;
5610 hpux*)
5611   if test "$host_cpu" = ia64; then
5612     symcode='[ABCDEGRST]'
5613   fi
5614   ;;
5615 irix* | nonstopux*)
5616   symcode='[BCDEGRST]'
5617   ;;
5618 osf*)
5619   symcode='[BCDEGQRST]'
5620   ;;
5621 solaris*)
5622   symcode='[BDRT]'
5623   ;;
5624 sco3.2v5*)
5625   symcode='[DT]'
5626   ;;
5627 sysv4.2uw2*)
5628   symcode='[DT]'
5629   ;;
5630 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5631   symcode='[ABDT]'
5632   ;;
5633 sysv4)
5634   symcode='[DFNSTU]'
5635   ;;
5636 esac
5637
5638 # If we're using GNU nm, then use its standard symbol codes.
5639 case `$NM -V 2>&1` in
5640 *GNU* | *'with BFD'*)
5641   symcode='[ABCDGIRSTW]' ;;
5642 esac
5643
5644 # Transform an extracted symbol line into a proper C declaration.
5645 # Some systems (esp. on ia64) link data and code symbols differently,
5646 # so use this general approach.
5647 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5648
5649 # Transform an extracted symbol line into symbol name and symbol address
5650 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5651 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'"
5652
5653 # Handle CRLF in mingw tool chain
5654 opt_cr=
5655 case $build_os in
5656 mingw*)
5657   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5658   ;;
5659 esac
5660
5661 # Try without a prefix underscore, then with it.
5662 for ac_symprfx in "" "_"; do
5663
5664   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5665   symxfrm="\\1 $ac_symprfx\\2 \\2"
5666
5667   # Write the raw and C identifiers.
5668   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5669     # Fake it for dumpbin and say T for any non-static function
5670     # and D for any global variable.
5671     # Also find C++ and __fastcall symbols from MSVC++,
5672     # which start with @ or ?.
5673     lt_cv_sys_global_symbol_pipe="$AWK '"\
5674 "     {last_section=section; section=\$ 3};"\
5675 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5676 "     \$ 0!~/External *\|/{next};"\
5677 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5678 "     {if(hide[section]) next};"\
5679 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5680 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5681 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5682 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5683 "     ' prfx=^$ac_symprfx"
5684   else
5685     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5686   fi
5687
5688   # Check to see that the pipe works correctly.
5689   pipe_works=no
5690
5691   rm -f conftest*
5692   cat > conftest.$ac_ext <<_LT_EOF
5693 #ifdef __cplusplus
5694 extern "C" {
5695 #endif
5696 char nm_test_var;
5697 void nm_test_func(void);
5698 void nm_test_func(void){}
5699 #ifdef __cplusplus
5700 }
5701 #endif
5702 int main(){nm_test_var='a';nm_test_func();return(0);}
5703 _LT_EOF
5704
5705   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5706   (eval $ac_compile) 2>&5
5707   ac_status=$?
5708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5709   test $ac_status = 0; }; then
5710     # Now try to grab the symbols.
5711     nlist=conftest.nm
5712     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5713   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5714   ac_status=$?
5715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5716   test $ac_status = 0; } && test -s "$nlist"; then
5717       # Try sorting and uniquifying the output.
5718       if sort "$nlist" | uniq > "$nlist"T; then
5719         mv -f "$nlist"T "$nlist"
5720       else
5721         rm -f "$nlist"T
5722       fi
5723
5724       # Make sure that we snagged all the symbols we need.
5725       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5726         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5727           cat <<_LT_EOF > conftest.$ac_ext
5728 #ifdef __cplusplus
5729 extern "C" {
5730 #endif
5731
5732 _LT_EOF
5733           # Now generate the symbol file.
5734           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5735
5736           cat <<_LT_EOF >> conftest.$ac_ext
5737
5738 /* The mapping between symbol names and symbols.  */
5739 const struct {
5740   const char *name;
5741   void       *address;
5742 }
5743 lt__PROGRAM__LTX_preloaded_symbols[] =
5744 {
5745   { "@PROGRAM@", (void *) 0 },
5746 _LT_EOF
5747           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5748           cat <<\_LT_EOF >> conftest.$ac_ext
5749   {0, (void *) 0}
5750 };
5751
5752 /* This works around a problem in FreeBSD linker */
5753 #ifdef FREEBSD_WORKAROUND
5754 static const void *lt_preloaded_setup() {
5755   return lt__PROGRAM__LTX_preloaded_symbols;
5756 }
5757 #endif
5758
5759 #ifdef __cplusplus
5760 }
5761 #endif
5762 _LT_EOF
5763           # Now try linking the two files.
5764           mv conftest.$ac_objext conftstm.$ac_objext
5765           lt_save_LIBS="$LIBS"
5766           lt_save_CFLAGS="$CFLAGS"
5767           LIBS="conftstm.$ac_objext"
5768           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5769           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5770   (eval $ac_link) 2>&5
5771   ac_status=$?
5772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5773   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5774             pipe_works=yes
5775           fi
5776           LIBS="$lt_save_LIBS"
5777           CFLAGS="$lt_save_CFLAGS"
5778         else
5779           echo "cannot find nm_test_func in $nlist" >&5
5780         fi
5781       else
5782         echo "cannot find nm_test_var in $nlist" >&5
5783       fi
5784     else
5785       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5786     fi
5787   else
5788     echo "$progname: failed program was:" >&5
5789     cat conftest.$ac_ext >&5
5790   fi
5791   rm -rf conftest* conftst*
5792
5793   # Do not use the global_symbol_pipe unless it works.
5794   if test "$pipe_works" = yes; then
5795     break
5796   else
5797     lt_cv_sys_global_symbol_pipe=
5798   fi
5799 done
5800
5801 fi
5802
5803 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5804   lt_cv_sys_global_symbol_to_cdecl=
5805 fi
5806 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5808 $as_echo "failed" >&6; }
5809 else
5810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5811 $as_echo "ok" >&6; }
5812 fi
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836 # Check whether --enable-libtool-lock was given.
5837 if test "${enable_libtool_lock+set}" = set; then :
5838   enableval=$enable_libtool_lock;
5839 fi
5840
5841 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5842
5843 # Some flags need to be propagated to the compiler or linker for good
5844 # libtool support.
5845 case $host in
5846 ia64-*-hpux*)
5847   # Find out which ABI we are using.
5848   echo 'int i;' > conftest.$ac_ext
5849   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5850   (eval $ac_compile) 2>&5
5851   ac_status=$?
5852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5853   test $ac_status = 0; }; then
5854     case `/usr/bin/file conftest.$ac_objext` in
5855       *ELF-32*)
5856         HPUX_IA64_MODE="32"
5857         ;;
5858       *ELF-64*)
5859         HPUX_IA64_MODE="64"
5860         ;;
5861     esac
5862   fi
5863   rm -rf conftest*
5864   ;;
5865 *-*-irix6*)
5866   # Find out which ABI we are using.
5867   echo '#line 5867 "configure"' > conftest.$ac_ext
5868   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5869   (eval $ac_compile) 2>&5
5870   ac_status=$?
5871   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5872   test $ac_status = 0; }; then
5873     if test "$lt_cv_prog_gnu_ld" = yes; then
5874       case `/usr/bin/file conftest.$ac_objext` in
5875         *32-bit*)
5876           LD="${LD-ld} -melf32bsmip"
5877           ;;
5878         *N32*)
5879           LD="${LD-ld} -melf32bmipn32"
5880           ;;
5881         *64-bit*)
5882           LD="${LD-ld} -melf64bmip"
5883         ;;
5884       esac
5885     else
5886       case `/usr/bin/file conftest.$ac_objext` in
5887         *32-bit*)
5888           LD="${LD-ld} -32"
5889           ;;
5890         *N32*)
5891           LD="${LD-ld} -n32"
5892           ;;
5893         *64-bit*)
5894           LD="${LD-ld} -64"
5895           ;;
5896       esac
5897     fi
5898   fi
5899   rm -rf conftest*
5900   ;;
5901
5902 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5903 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5904   # Find out which ABI we are using.
5905   echo 'int i;' > conftest.$ac_ext
5906   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5907   (eval $ac_compile) 2>&5
5908   ac_status=$?
5909   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5910   test $ac_status = 0; }; then
5911     case `/usr/bin/file conftest.o` in
5912       *32-bit*)
5913         case $host in
5914           x86_64-*kfreebsd*-gnu)
5915             LD="${LD-ld} -m elf_i386_fbsd"
5916             ;;
5917           x86_64-*linux*)
5918             LD="${LD-ld} -m elf_i386"
5919             ;;
5920           ppc64-*linux*|powerpc64-*linux*)
5921             LD="${LD-ld} -m elf32ppclinux"
5922             ;;
5923           s390x-*linux*)
5924             LD="${LD-ld} -m elf_s390"
5925             ;;
5926           sparc64-*linux*)
5927             LD="${LD-ld} -m elf32_sparc"
5928             ;;
5929         esac
5930         ;;
5931       *64-bit*)
5932         case $host in
5933           x86_64-*kfreebsd*-gnu)
5934             LD="${LD-ld} -m elf_x86_64_fbsd"
5935             ;;
5936           x86_64-*linux*)
5937             LD="${LD-ld} -m elf_x86_64"
5938             ;;
5939           ppc*-*linux*|powerpc*-*linux*)
5940             LD="${LD-ld} -m elf64ppc"
5941             ;;
5942           s390*-*linux*|s390*-*tpf*)
5943             LD="${LD-ld} -m elf64_s390"
5944             ;;
5945           sparc*-*linux*)
5946             LD="${LD-ld} -m elf64_sparc"
5947             ;;
5948         esac
5949         ;;
5950     esac
5951   fi
5952   rm -rf conftest*
5953   ;;
5954
5955 *-*-sco3.2v5*)
5956   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5957   SAVE_CFLAGS="$CFLAGS"
5958   CFLAGS="$CFLAGS -belf"
5959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5960 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5961 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5962   $as_echo_n "(cached) " >&6
5963 else
5964   ac_ext=c
5965 ac_cpp='$CPP $CPPFLAGS'
5966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5969
5970      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h.  */
5972
5973 int
5974 main ()
5975 {
5976
5977   ;
5978   return 0;
5979 }
5980 _ACEOF
5981 if ac_fn_c_try_link "$LINENO"; then :
5982   lt_cv_cc_needs_belf=yes
5983 else
5984   lt_cv_cc_needs_belf=no
5985 fi
5986 rm -f core conftest.err conftest.$ac_objext \
5987     conftest$ac_exeext conftest.$ac_ext
5988      ac_ext=c
5989 ac_cpp='$CPP $CPPFLAGS'
5990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5993
5994 fi
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5996 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5997   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5998     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5999     CFLAGS="$SAVE_CFLAGS"
6000   fi
6001   ;;
6002 sparc*-*solaris*)
6003   # Find out which ABI we are using.
6004   echo 'int i;' > conftest.$ac_ext
6005   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6006   (eval $ac_compile) 2>&5
6007   ac_status=$?
6008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6009   test $ac_status = 0; }; then
6010     case `/usr/bin/file conftest.o` in
6011     *64-bit*)
6012       case $lt_cv_prog_gnu_ld in
6013       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6014       *)
6015         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6016           LD="${LD-ld} -64"
6017         fi
6018         ;;
6019       esac
6020       ;;
6021     esac
6022   fi
6023   rm -rf conftest*
6024   ;;
6025 esac
6026
6027 need_locks="$enable_libtool_lock"
6028
6029
6030   case $host_os in
6031     rhapsody* | darwin*)
6032     if test -n "$ac_tool_prefix"; then
6033   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6034 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6038   $as_echo_n "(cached) " >&6
6039 else
6040   if test -n "$DSYMUTIL"; then
6041   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6042 else
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH
6045 do
6046   IFS=$as_save_IFS
6047   test -z "$as_dir" && as_dir=.
6048     for ac_exec_ext in '' $ac_executable_extensions; do
6049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052     break 2
6053   fi
6054 done
6055   done
6056 IFS=$as_save_IFS
6057
6058 fi
6059 fi
6060 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6061 if test -n "$DSYMUTIL"; then
6062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6063 $as_echo "$DSYMUTIL" >&6; }
6064 else
6065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6067 fi
6068
6069
6070 fi
6071 if test -z "$ac_cv_prog_DSYMUTIL"; then
6072   ac_ct_DSYMUTIL=$DSYMUTIL
6073   # Extract the first word of "dsymutil", so it can be a program name with args.
6074 set dummy dsymutil; ac_word=$2
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 $as_echo_n "checking for $ac_word... " >&6; }
6077 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6078   $as_echo_n "(cached) " >&6
6079 else
6080   if test -n "$ac_ct_DSYMUTIL"; then
6081   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6082 else
6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6084 for as_dir in $PATH
6085 do
6086   IFS=$as_save_IFS
6087   test -z "$as_dir" && as_dir=.
6088     for ac_exec_ext in '' $ac_executable_extensions; do
6089   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6090     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6092     break 2
6093   fi
6094 done
6095   done
6096 IFS=$as_save_IFS
6097
6098 fi
6099 fi
6100 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6101 if test -n "$ac_ct_DSYMUTIL"; then
6102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6103 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6104 else
6105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 $as_echo "no" >&6; }
6107 fi
6108
6109   if test "x$ac_ct_DSYMUTIL" = x; then
6110     DSYMUTIL=":"
6111   else
6112     case $cross_compiling:$ac_tool_warned in
6113 yes:)
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned=yes ;;
6117 esac
6118     DSYMUTIL=$ac_ct_DSYMUTIL
6119   fi
6120 else
6121   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6122 fi
6123
6124     if test -n "$ac_tool_prefix"; then
6125   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6126 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6130   $as_echo_n "(cached) " >&6
6131 else
6132   if test -n "$NMEDIT"; then
6133   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6134 else
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 for as_dir in $PATH
6137 do
6138   IFS=$as_save_IFS
6139   test -z "$as_dir" && as_dir=.
6140     for ac_exec_ext in '' $ac_executable_extensions; do
6141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144     break 2
6145   fi
6146 done
6147   done
6148 IFS=$as_save_IFS
6149
6150 fi
6151 fi
6152 NMEDIT=$ac_cv_prog_NMEDIT
6153 if test -n "$NMEDIT"; then
6154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6155 $as_echo "$NMEDIT" >&6; }
6156 else
6157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6159 fi
6160
6161
6162 fi
6163 if test -z "$ac_cv_prog_NMEDIT"; then
6164   ac_ct_NMEDIT=$NMEDIT
6165   # Extract the first word of "nmedit", so it can be a program name with args.
6166 set dummy nmedit; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6170   $as_echo_n "(cached) " >&6
6171 else
6172   if test -n "$ac_ct_NMEDIT"; then
6173   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6177 do
6178   IFS=$as_save_IFS
6179   test -z "$as_dir" && as_dir=.
6180     for ac_exec_ext in '' $ac_executable_extensions; do
6181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6182     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184     break 2
6185   fi
6186 done
6187   done
6188 IFS=$as_save_IFS
6189
6190 fi
6191 fi
6192 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6193 if test -n "$ac_ct_NMEDIT"; then
6194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6195 $as_echo "$ac_ct_NMEDIT" >&6; }
6196 else
6197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6199 fi
6200
6201   if test "x$ac_ct_NMEDIT" = x; then
6202     NMEDIT=":"
6203   else
6204     case $cross_compiling:$ac_tool_warned in
6205 yes:)
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6208 ac_tool_warned=yes ;;
6209 esac
6210     NMEDIT=$ac_ct_NMEDIT
6211   fi
6212 else
6213   NMEDIT="$ac_cv_prog_NMEDIT"
6214 fi
6215
6216     if test -n "$ac_tool_prefix"; then
6217   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6218 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220 $as_echo_n "checking for $ac_word... " >&6; }
6221 if test "${ac_cv_prog_LIPO+set}" = set; then :
6222   $as_echo_n "(cached) " >&6
6223 else
6224   if test -n "$LIPO"; then
6225   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6226 else
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 for as_dir in $PATH
6229 do
6230   IFS=$as_save_IFS
6231   test -z "$as_dir" && as_dir=.
6232     for ac_exec_ext in '' $ac_executable_extensions; do
6233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6234     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6236     break 2
6237   fi
6238 done
6239   done
6240 IFS=$as_save_IFS
6241
6242 fi
6243 fi
6244 LIPO=$ac_cv_prog_LIPO
6245 if test -n "$LIPO"; then
6246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6247 $as_echo "$LIPO" >&6; }
6248 else
6249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6250 $as_echo "no" >&6; }
6251 fi
6252
6253
6254 fi
6255 if test -z "$ac_cv_prog_LIPO"; then
6256   ac_ct_LIPO=$LIPO
6257   # Extract the first word of "lipo", so it can be a program name with args.
6258 set dummy lipo; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6262   $as_echo_n "(cached) " >&6
6263 else
6264   if test -n "$ac_ct_LIPO"; then
6265   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6266 else
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 for as_dir in $PATH
6269 do
6270   IFS=$as_save_IFS
6271   test -z "$as_dir" && as_dir=.
6272     for ac_exec_ext in '' $ac_executable_extensions; do
6273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6274     ac_cv_prog_ac_ct_LIPO="lipo"
6275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6276     break 2
6277   fi
6278 done
6279   done
6280 IFS=$as_save_IFS
6281
6282 fi
6283 fi
6284 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6285 if test -n "$ac_ct_LIPO"; then
6286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6287 $as_echo "$ac_ct_LIPO" >&6; }
6288 else
6289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6291 fi
6292
6293   if test "x$ac_ct_LIPO" = x; then
6294     LIPO=":"
6295   else
6296     case $cross_compiling:$ac_tool_warned in
6297 yes:)
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6300 ac_tool_warned=yes ;;
6301 esac
6302     LIPO=$ac_ct_LIPO
6303   fi
6304 else
6305   LIPO="$ac_cv_prog_LIPO"
6306 fi
6307
6308     if test -n "$ac_tool_prefix"; then
6309   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6310 set dummy ${ac_tool_prefix}otool; ac_word=$2
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312 $as_echo_n "checking for $ac_word... " >&6; }
6313 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6314   $as_echo_n "(cached) " >&6
6315 else
6316   if test -n "$OTOOL"; then
6317   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6318 else
6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6320 for as_dir in $PATH
6321 do
6322   IFS=$as_save_IFS
6323   test -z "$as_dir" && as_dir=.
6324     for ac_exec_ext in '' $ac_executable_extensions; do
6325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6326     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6328     break 2
6329   fi
6330 done
6331   done
6332 IFS=$as_save_IFS
6333
6334 fi
6335 fi
6336 OTOOL=$ac_cv_prog_OTOOL
6337 if test -n "$OTOOL"; then
6338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6339 $as_echo "$OTOOL" >&6; }
6340 else
6341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 $as_echo "no" >&6; }
6343 fi
6344
6345
6346 fi
6347 if test -z "$ac_cv_prog_OTOOL"; then
6348   ac_ct_OTOOL=$OTOOL
6349   # Extract the first word of "otool", so it can be a program name with args.
6350 set dummy otool; ac_word=$2
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6352 $as_echo_n "checking for $ac_word... " >&6; }
6353 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6354   $as_echo_n "(cached) " >&6
6355 else
6356   if test -n "$ac_ct_OTOOL"; then
6357   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6358 else
6359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 for as_dir in $PATH
6361 do
6362   IFS=$as_save_IFS
6363   test -z "$as_dir" && as_dir=.
6364     for ac_exec_ext in '' $ac_executable_extensions; do
6365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6366     ac_cv_prog_ac_ct_OTOOL="otool"
6367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6368     break 2
6369   fi
6370 done
6371   done
6372 IFS=$as_save_IFS
6373
6374 fi
6375 fi
6376 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6377 if test -n "$ac_ct_OTOOL"; then
6378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6379 $as_echo "$ac_ct_OTOOL" >&6; }
6380 else
6381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6382 $as_echo "no" >&6; }
6383 fi
6384
6385   if test "x$ac_ct_OTOOL" = x; then
6386     OTOOL=":"
6387   else
6388     case $cross_compiling:$ac_tool_warned in
6389 yes:)
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6392 ac_tool_warned=yes ;;
6393 esac
6394     OTOOL=$ac_ct_OTOOL
6395   fi
6396 else
6397   OTOOL="$ac_cv_prog_OTOOL"
6398 fi
6399
6400     if test -n "$ac_tool_prefix"; then
6401   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6402 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6404 $as_echo_n "checking for $ac_word... " >&6; }
6405 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6406   $as_echo_n "(cached) " >&6
6407 else
6408   if test -n "$OTOOL64"; then
6409   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6410 else
6411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6412 for as_dir in $PATH
6413 do
6414   IFS=$as_save_IFS
6415   test -z "$as_dir" && as_dir=.
6416     for ac_exec_ext in '' $ac_executable_extensions; do
6417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6418     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6420     break 2
6421   fi
6422 done
6423   done
6424 IFS=$as_save_IFS
6425
6426 fi
6427 fi
6428 OTOOL64=$ac_cv_prog_OTOOL64
6429 if test -n "$OTOOL64"; then
6430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6431 $as_echo "$OTOOL64" >&6; }
6432 else
6433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6434 $as_echo "no" >&6; }
6435 fi
6436
6437
6438 fi
6439 if test -z "$ac_cv_prog_OTOOL64"; then
6440   ac_ct_OTOOL64=$OTOOL64
6441   # Extract the first word of "otool64", so it can be a program name with args.
6442 set dummy otool64; ac_word=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444 $as_echo_n "checking for $ac_word... " >&6; }
6445 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6446   $as_echo_n "(cached) " >&6
6447 else
6448   if test -n "$ac_ct_OTOOL64"; then
6449   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6450 else
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 for as_dir in $PATH
6453 do
6454   IFS=$as_save_IFS
6455   test -z "$as_dir" && as_dir=.
6456     for ac_exec_ext in '' $ac_executable_extensions; do
6457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6458     ac_cv_prog_ac_ct_OTOOL64="otool64"
6459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6460     break 2
6461   fi
6462 done
6463   done
6464 IFS=$as_save_IFS
6465
6466 fi
6467 fi
6468 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6469 if test -n "$ac_ct_OTOOL64"; then
6470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6471 $as_echo "$ac_ct_OTOOL64" >&6; }
6472 else
6473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474 $as_echo "no" >&6; }
6475 fi
6476
6477   if test "x$ac_ct_OTOOL64" = x; then
6478     OTOOL64=":"
6479   else
6480     case $cross_compiling:$ac_tool_warned in
6481 yes:)
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6484 ac_tool_warned=yes ;;
6485 esac
6486     OTOOL64=$ac_ct_OTOOL64
6487   fi
6488 else
6489   OTOOL64="$ac_cv_prog_OTOOL64"
6490 fi
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6519 $as_echo_n "checking for -single_module linker flag... " >&6; }
6520 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6521   $as_echo_n "(cached) " >&6
6522 else
6523   lt_cv_apple_cc_single_mod=no
6524       if test -z "${LT_MULTI_MODULE}"; then
6525         # By default we will add the -single_module flag. You can override
6526         # by either setting the environment variable LT_MULTI_MODULE
6527         # non-empty at configure time, or by adding -multi_module to the
6528         # link flags.
6529         rm -rf libconftest.dylib*
6530         echo "int foo(void){return 1;}" > conftest.c
6531         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6532 -dynamiclib -Wl,-single_module conftest.c" >&5
6533         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6534           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6535         _lt_result=$?
6536         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6537           lt_cv_apple_cc_single_mod=yes
6538         else
6539           cat conftest.err >&5
6540         fi
6541         rm -rf libconftest.dylib*
6542         rm -f conftest.*
6543       fi
6544 fi
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6546 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6547     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6548 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6549 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6550   $as_echo_n "(cached) " >&6
6551 else
6552   lt_cv_ld_exported_symbols_list=no
6553       save_LDFLAGS=$LDFLAGS
6554       echo "_main" > conftest.sym
6555       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6557 /* end confdefs.h.  */
6558
6559 int
6560 main ()
6561 {
6562
6563   ;
6564   return 0;
6565 }
6566 _ACEOF
6567 if ac_fn_c_try_link "$LINENO"; then :
6568   lt_cv_ld_exported_symbols_list=yes
6569 else
6570   lt_cv_ld_exported_symbols_list=no
6571 fi
6572 rm -f core conftest.err conftest.$ac_objext \
6573     conftest$ac_exeext conftest.$ac_ext
6574         LDFLAGS="$save_LDFLAGS"
6575
6576 fi
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6578 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6579     case $host_os in
6580     rhapsody* | darwin1.[012])
6581       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6582     darwin1.*)
6583       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6584     darwin*) # darwin 5.x on
6585       # if running on 10.5 or later, the deployment target defaults
6586       # to the OS version, if on x86, and 10.4, the deployment
6587       # target defaults to 10.4. Don't you love it?
6588       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6589         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6590           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6591         10.[012]*)
6592           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6593         10.*)
6594           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6595       esac
6596     ;;
6597   esac
6598     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6599       _lt_dar_single_mod='$single_module'
6600     fi
6601     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6602       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6603     else
6604       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6605     fi
6606     if test "$DSYMUTIL" != ":"; then
6607       _lt_dsymutil='~$DSYMUTIL $lib || :'
6608     else
6609       _lt_dsymutil=
6610     fi
6611     ;;
6612   esac
6613
6614 ac_ext=c
6615 ac_cpp='$CPP $CPPFLAGS'
6616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6621 # On Suns, sometimes $CPP names a directory.
6622 if test -n "$CPP" && test -d "$CPP"; then
6623   CPP=
6624 fi
6625 if test -z "$CPP"; then
6626   if test "${ac_cv_prog_CPP+set}" = set; then :
6627   $as_echo_n "(cached) " >&6
6628 else
6629       # Double quotes because CPP needs to be expanded
6630     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6631     do
6632       ac_preproc_ok=false
6633 for ac_c_preproc_warn_flag in '' yes
6634 do
6635   # Use a header file that comes with gcc, so configuring glibc
6636   # with a fresh cross-compiler works.
6637   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6638   # <limits.h> exists even on freestanding compilers.
6639   # On the NeXT, cc -E runs the code through the compiler's parser,
6640   # not just through cpp. "Syntax error" is here to catch this case.
6641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h.  */
6643 #ifdef __STDC__
6644 # include <limits.h>
6645 #else
6646 # include <assert.h>
6647 #endif
6648                      Syntax error
6649 _ACEOF
6650 if ac_fn_c_try_cpp "$LINENO"; then :
6651
6652 else
6653   # Broken: fails on valid input.
6654 continue
6655 fi
6656 rm -f conftest.err conftest.i conftest.$ac_ext
6657
6658   # OK, works on sane cases.  Now check whether nonexistent headers
6659   # can be detected and how.
6660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h.  */
6662 #include <ac_nonexistent.h>
6663 _ACEOF
6664 if ac_fn_c_try_cpp "$LINENO"; then :
6665   # Broken: success on invalid input.
6666 continue
6667 else
6668   # Passes both tests.
6669 ac_preproc_ok=:
6670 break
6671 fi
6672 rm -f conftest.err conftest.i conftest.$ac_ext
6673
6674 done
6675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6676 rm -f conftest.i conftest.err conftest.$ac_ext
6677 if $ac_preproc_ok; then :
6678   break
6679 fi
6680
6681     done
6682     ac_cv_prog_CPP=$CPP
6683
6684 fi
6685   CPP=$ac_cv_prog_CPP
6686 else
6687   ac_cv_prog_CPP=$CPP
6688 fi
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6690 $as_echo "$CPP" >&6; }
6691 ac_preproc_ok=false
6692 for ac_c_preproc_warn_flag in '' yes
6693 do
6694   # Use a header file that comes with gcc, so configuring glibc
6695   # with a fresh cross-compiler works.
6696   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6697   # <limits.h> exists even on freestanding compilers.
6698   # On the NeXT, cc -E runs the code through the compiler's parser,
6699   # not just through cpp. "Syntax error" is here to catch this case.
6700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h.  */
6702 #ifdef __STDC__
6703 # include <limits.h>
6704 #else
6705 # include <assert.h>
6706 #endif
6707                      Syntax error
6708 _ACEOF
6709 if ac_fn_c_try_cpp "$LINENO"; then :
6710
6711 else
6712   # Broken: fails on valid input.
6713 continue
6714 fi
6715 rm -f conftest.err conftest.i conftest.$ac_ext
6716
6717   # OK, works on sane cases.  Now check whether nonexistent headers
6718   # can be detected and how.
6719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h.  */
6721 #include <ac_nonexistent.h>
6722 _ACEOF
6723 if ac_fn_c_try_cpp "$LINENO"; then :
6724   # Broken: success on invalid input.
6725 continue
6726 else
6727   # Passes both tests.
6728 ac_preproc_ok=:
6729 break
6730 fi
6731 rm -f conftest.err conftest.i conftest.$ac_ext
6732
6733 done
6734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6735 rm -f conftest.i conftest.err conftest.$ac_ext
6736 if $ac_preproc_ok; then :
6737
6738 else
6739   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6741 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6742 See \`config.log' for more details" "$LINENO" 5 ; }
6743 fi
6744
6745 ac_ext=c
6746 ac_cpp='$CPP $CPPFLAGS'
6747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6750
6751
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6753 $as_echo_n "checking for ANSI C header files... " >&6; }
6754 if test "${ac_cv_header_stdc+set}" = set; then :
6755   $as_echo_n "(cached) " >&6
6756 else
6757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6758 /* end confdefs.h.  */
6759 #include <stdlib.h>
6760 #include <stdarg.h>
6761 #include <string.h>
6762 #include <float.h>
6763
6764 int
6765 main ()
6766 {
6767
6768   ;
6769   return 0;
6770 }
6771 _ACEOF
6772 if ac_fn_c_try_compile "$LINENO"; then :
6773   ac_cv_header_stdc=yes
6774 else
6775   ac_cv_header_stdc=no
6776 fi
6777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6778
6779 if test $ac_cv_header_stdc = yes; then
6780   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6782 /* end confdefs.h.  */
6783 #include <string.h>
6784
6785 _ACEOF
6786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6787   $EGREP "memchr" >/dev/null 2>&1; then :
6788
6789 else
6790   ac_cv_header_stdc=no
6791 fi
6792 rm -f conftest*
6793
6794 fi
6795
6796 if test $ac_cv_header_stdc = yes; then
6797   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6799 /* end confdefs.h.  */
6800 #include <stdlib.h>
6801
6802 _ACEOF
6803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6804   $EGREP "free" >/dev/null 2>&1; then :
6805
6806 else
6807   ac_cv_header_stdc=no
6808 fi
6809 rm -f conftest*
6810
6811 fi
6812
6813 if test $ac_cv_header_stdc = yes; then
6814   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6815   if test "$cross_compiling" = yes; then :
6816   :
6817 else
6818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6819 /* end confdefs.h.  */
6820 #include <ctype.h>
6821 #include <stdlib.h>
6822 #if ((' ' & 0x0FF) == 0x020)
6823 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6824 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6825 #else
6826 # define ISLOWER(c) \
6827                    (('a' <= (c) && (c) <= 'i') \
6828                      || ('j' <= (c) && (c) <= 'r') \
6829                      || ('s' <= (c) && (c) <= 'z'))
6830 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6831 #endif
6832
6833 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6834 int
6835 main ()
6836 {
6837   int i;
6838   for (i = 0; i < 256; i++)
6839     if (XOR (islower (i), ISLOWER (i))
6840         || toupper (i) != TOUPPER (i))
6841       return 2;
6842   return 0;
6843 }
6844 _ACEOF
6845 if ac_fn_c_try_run "$LINENO"; then :
6846
6847 else
6848   ac_cv_header_stdc=no
6849 fi
6850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6851   conftest.$ac_objext conftest.beam conftest.$ac_ext
6852 fi
6853
6854 fi
6855 fi
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6857 $as_echo "$ac_cv_header_stdc" >&6; }
6858 if test $ac_cv_header_stdc = yes; then
6859
6860 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6861
6862 fi
6863
6864 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6865 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6866                   inttypes.h stdint.h unistd.h
6867 do :
6868   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6869 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6870 "
6871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6872   cat >>confdefs.h <<_ACEOF
6873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6874 _ACEOF
6875
6876 fi
6877
6878 done
6879
6880
6881 for ac_header in dlfcn.h
6882 do :
6883   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6884 "
6885 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6886   cat >>confdefs.h <<_ACEOF
6887 #define HAVE_DLFCN_H 1
6888 _ACEOF
6889
6890 fi
6891
6892 done
6893
6894
6895
6896 # Set options
6897
6898
6899
6900         enable_dlopen=no
6901
6902
6903   enable_win32_dll=no
6904
6905
6906             # Check whether --enable-shared was given.
6907 if test "${enable_shared+set}" = set; then :
6908   enableval=$enable_shared; p=${PACKAGE-default}
6909     case $enableval in
6910     yes) enable_shared=yes ;;
6911     no) enable_shared=no ;;
6912     *)
6913       enable_shared=no
6914       # Look at the argument we got.  We use all the common list separators.
6915       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6916       for pkg in $enableval; do
6917         IFS="$lt_save_ifs"
6918         if test "X$pkg" = "X$p"; then
6919           enable_shared=yes
6920         fi
6921       done
6922       IFS="$lt_save_ifs"
6923       ;;
6924     esac
6925 else
6926   enable_shared=yes
6927 fi
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937   # Check whether --enable-static was given.
6938 if test "${enable_static+set}" = set; then :
6939   enableval=$enable_static; p=${PACKAGE-default}
6940     case $enableval in
6941     yes) enable_static=yes ;;
6942     no) enable_static=no ;;
6943     *)
6944      enable_static=no
6945       # Look at the argument we got.  We use all the common list separators.
6946       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6947       for pkg in $enableval; do
6948         IFS="$lt_save_ifs"
6949         if test "X$pkg" = "X$p"; then
6950           enable_static=yes
6951         fi
6952       done
6953       IFS="$lt_save_ifs"
6954       ;;
6955     esac
6956 else
6957   enable_static=yes
6958 fi
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969 # Check whether --with-pic was given.
6970 if test "${with_pic+set}" = set; then :
6971   withval=$with_pic; pic_mode="$withval"
6972 else
6973   pic_mode=default
6974 fi
6975
6976
6977 test -z "$pic_mode" && pic_mode=default
6978
6979
6980
6981
6982
6983
6984
6985   # Check whether --enable-fast-install was given.
6986 if test "${enable_fast_install+set}" = set; then :
6987   enableval=$enable_fast_install; p=${PACKAGE-default}
6988     case $enableval in
6989     yes) enable_fast_install=yes ;;
6990     no) enable_fast_install=no ;;
6991     *)
6992       enable_fast_install=no
6993       # Look at the argument we got.  We use all the common list separators.
6994       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6995       for pkg in $enableval; do
6996         IFS="$lt_save_ifs"
6997         if test "X$pkg" = "X$p"; then
6998           enable_fast_install=yes
6999         fi
7000       done
7001       IFS="$lt_save_ifs"
7002       ;;
7003     esac
7004 else
7005   enable_fast_install=yes
7006 fi
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018 # This can be used to rebuild libtool when needed
7019 LIBTOOL_DEPS="$ltmain"
7020
7021 # Always use our own libtool.
7022 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048 test -z "$LN_S" && LN_S="ln -s"
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063 if test -n "${ZSH_VERSION+set}" ; then
7064    setopt NO_GLOB_SUBST
7065 fi
7066
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7068 $as_echo_n "checking for objdir... " >&6; }
7069 if test "${lt_cv_objdir+set}" = set; then :
7070   $as_echo_n "(cached) " >&6
7071 else
7072   rm -f .libs 2>/dev/null
7073 mkdir .libs 2>/dev/null
7074 if test -d .libs; then
7075   lt_cv_objdir=.libs
7076 else
7077   # MS-DOS does not allow filenames that begin with a dot.
7078   lt_cv_objdir=_libs
7079 fi
7080 rmdir .libs 2>/dev/null
7081 fi
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7083 $as_echo "$lt_cv_objdir" >&6; }
7084 objdir=$lt_cv_objdir
7085
7086
7087
7088
7089
7090 cat >>confdefs.h <<_ACEOF
7091 #define LT_OBJDIR "$lt_cv_objdir/"
7092 _ACEOF
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110 case $host_os in
7111 aix3*)
7112   # AIX sometimes has problems with the GCC collect2 program.  For some
7113   # reason, if we set the COLLECT_NAMES environment variable, the problems
7114   # vanish in a puff of smoke.
7115   if test "X${COLLECT_NAMES+set}" != Xset; then
7116     COLLECT_NAMES=
7117     export COLLECT_NAMES
7118   fi
7119   ;;
7120 esac
7121
7122 # Sed substitution that helps us do robust quoting.  It backslashifies
7123 # metacharacters that are still active within double-quoted strings.
7124 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7125
7126 # Same as above, but do not quote variable references.
7127 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7128
7129 # Sed substitution to delay expansion of an escaped shell variable in a
7130 # double_quote_subst'ed string.
7131 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7132
7133 # Sed substitution to delay expansion of an escaped single quote.
7134 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7135
7136 # Sed substitution to avoid accidental globbing in evaled expressions
7137 no_glob_subst='s/\*/\\\*/g'
7138
7139 # Global variables:
7140 ofile=libtool
7141 can_build_shared=yes
7142
7143 # All known linkers require a `.a' archive for static linking (except MSVC,
7144 # which needs '.lib').
7145 libext=a
7146
7147 with_gnu_ld="$lt_cv_prog_gnu_ld"
7148
7149 old_CC="$CC"
7150 old_CFLAGS="$CFLAGS"
7151
7152 # Set sane defaults for various variables
7153 test -z "$CC" && CC=cc
7154 test -z "$LTCC" && LTCC=$CC
7155 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7156 test -z "$LD" && LD=ld
7157 test -z "$ac_objext" && ac_objext=o
7158
7159 for cc_temp in $compiler""; do
7160   case $cc_temp in
7161     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7162     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7163     \-*) ;;
7164     *) break;;
7165   esac
7166 done
7167 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7168
7169
7170 # Only perform the check for file, if the check method requires it
7171 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7172 case $deplibs_check_method in
7173 file_magic*)
7174   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7175     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7176 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7177 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7178   $as_echo_n "(cached) " >&6
7179 else
7180   case $MAGIC_CMD in
7181 [\\/*] |  ?:[\\/]*)
7182   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7183   ;;
7184 *)
7185   lt_save_MAGIC_CMD="$MAGIC_CMD"
7186   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7187   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7188   for ac_dir in $ac_dummy; do
7189     IFS="$lt_save_ifs"
7190     test -z "$ac_dir" && ac_dir=.
7191     if test -f $ac_dir/${ac_tool_prefix}file; then
7192       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7193       if test -n "$file_magic_test_file"; then
7194         case $deplibs_check_method in
7195         "file_magic "*)
7196           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7197           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7198           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7199             $EGREP "$file_magic_regex" > /dev/null; then
7200             :
7201           else
7202             cat <<_LT_EOF 1>&2
7203
7204 *** Warning: the command libtool uses to detect shared libraries,
7205 *** $file_magic_cmd, produces output that libtool cannot recognize.
7206 *** The result is that libtool may fail to recognize shared libraries
7207 *** as such.  This will affect the creation of libtool libraries that
7208 *** depend on shared libraries, but programs linked with such libtool
7209 *** libraries will work regardless of this problem.  Nevertheless, you
7210 *** may want to report the problem to your system manager and/or to
7211 *** bug-libtool@gnu.org
7212
7213 _LT_EOF
7214           fi ;;
7215         esac
7216       fi
7217       break
7218     fi
7219   done
7220   IFS="$lt_save_ifs"
7221   MAGIC_CMD="$lt_save_MAGIC_CMD"
7222   ;;
7223 esac
7224 fi
7225
7226 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7227 if test -n "$MAGIC_CMD"; then
7228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7229 $as_echo "$MAGIC_CMD" >&6; }
7230 else
7231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7232 $as_echo "no" >&6; }
7233 fi
7234
7235
7236
7237
7238
7239 if test -z "$lt_cv_path_MAGIC_CMD"; then
7240   if test -n "$ac_tool_prefix"; then
7241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7242 $as_echo_n "checking for file... " >&6; }
7243 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7244   $as_echo_n "(cached) " >&6
7245 else
7246   case $MAGIC_CMD in
7247 [\\/*] |  ?:[\\/]*)
7248   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7249   ;;
7250 *)
7251   lt_save_MAGIC_CMD="$MAGIC_CMD"
7252   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7253   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7254   for ac_dir in $ac_dummy; do
7255     IFS="$lt_save_ifs"
7256     test -z "$ac_dir" && ac_dir=.
7257     if test -f $ac_dir/file; then
7258       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7259       if test -n "$file_magic_test_file"; then
7260         case $deplibs_check_method in
7261         "file_magic "*)
7262           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7263           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7264           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7265             $EGREP "$file_magic_regex" > /dev/null; then
7266             :
7267           else
7268             cat <<_LT_EOF 1>&2
7269
7270 *** Warning: the command libtool uses to detect shared libraries,
7271 *** $file_magic_cmd, produces output that libtool cannot recognize.
7272 *** The result is that libtool may fail to recognize shared libraries
7273 *** as such.  This will affect the creation of libtool libraries that
7274 *** depend on shared libraries, but programs linked with such libtool
7275 *** libraries will work regardless of this problem.  Nevertheless, you
7276 *** may want to report the problem to your system manager and/or to
7277 *** bug-libtool@gnu.org
7278
7279 _LT_EOF
7280           fi ;;
7281         esac
7282       fi
7283       break
7284     fi
7285   done
7286   IFS="$lt_save_ifs"
7287   MAGIC_CMD="$lt_save_MAGIC_CMD"
7288   ;;
7289 esac
7290 fi
7291
7292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7293 if test -n "$MAGIC_CMD"; then
7294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7295 $as_echo "$MAGIC_CMD" >&6; }
7296 else
7297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7299 fi
7300
7301
7302   else
7303     MAGIC_CMD=:
7304   fi
7305 fi
7306
7307   fi
7308   ;;
7309 esac
7310
7311 # Use C for the default configuration in the libtool script
7312
7313 lt_save_CC="$CC"
7314 ac_ext=c
7315 ac_cpp='$CPP $CPPFLAGS'
7316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7319
7320
7321 # Source file extension for C test sources.
7322 ac_ext=c
7323
7324 # Object file extension for compiled C test sources.
7325 objext=o
7326 objext=$objext
7327
7328 # Code to be used in simple compile tests
7329 lt_simple_compile_test_code="int some_variable = 0;"
7330
7331 # Code to be used in simple link tests
7332 lt_simple_link_test_code='int main(){return(0);}'
7333
7334
7335
7336
7337
7338
7339
7340 # If no C compiler was specified, use CC.
7341 LTCC=${LTCC-"$CC"}
7342
7343 # If no C compiler flags were specified, use CFLAGS.
7344 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7345
7346 # Allow CC to be a program name with arguments.
7347 compiler=$CC
7348
7349 # Save the default compiler, since it gets overwritten when the other
7350 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7351 compiler_DEFAULT=$CC
7352
7353 # save warnings/boilerplate of simple test code
7354 ac_outfile=conftest.$ac_objext
7355 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7356 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7357 _lt_compiler_boilerplate=`cat conftest.err`
7358 $RM conftest*
7359
7360 ac_outfile=conftest.$ac_objext
7361 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7362 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7363 _lt_linker_boilerplate=`cat conftest.err`
7364 $RM -r conftest*
7365
7366
7367 ## CAVEAT EMPTOR:
7368 ## There is no encapsulation within the following macros, do not change
7369 ## the running order or otherwise move them around unless you know exactly
7370 ## what you are doing...
7371 if test -n "$compiler"; then
7372
7373 lt_prog_compiler_no_builtin_flag=
7374
7375 if test "$GCC" = yes; then
7376   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7377
7378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7379 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7380 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7381   $as_echo_n "(cached) " >&6
7382 else
7383   lt_cv_prog_compiler_rtti_exceptions=no
7384    ac_outfile=conftest.$ac_objext
7385    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7386    lt_compiler_flag="-fno-rtti -fno-exceptions"
7387    # Insert the option either (1) after the last *FLAGS variable, or
7388    # (2) before a word containing "conftest.", or (3) at the end.
7389    # Note that $ac_compile itself does not contain backslashes and begins
7390    # with a dollar sign (not a hyphen), so the echo should work correctly.
7391    # The option is referenced via a variable to avoid confusing sed.
7392    lt_compile=`echo "$ac_compile" | $SED \
7393    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7394    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7395    -e 's:$: $lt_compiler_flag:'`
7396    (eval echo "\"\$as_me:7396: $lt_compile\"" >&5)
7397    (eval "$lt_compile" 2>conftest.err)
7398    ac_status=$?
7399    cat conftest.err >&5
7400    echo "$as_me:7400: \$? = $ac_status" >&5
7401    if (exit $ac_status) && test -s "$ac_outfile"; then
7402      # The compiler can only warn and ignore the option if not recognized
7403      # So say no if there are warnings other than the usual output.
7404      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7405      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7406      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7407        lt_cv_prog_compiler_rtti_exceptions=yes
7408      fi
7409    fi
7410    $RM conftest*
7411
7412 fi
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7414 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7415
7416 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7417     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7418 else
7419     :
7420 fi
7421
7422 fi
7423
7424
7425
7426
7427
7428
7429   lt_prog_compiler_wl=
7430 lt_prog_compiler_pic=
7431 lt_prog_compiler_static=
7432
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7434 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7435
7436   if test "$GCC" = yes; then
7437     lt_prog_compiler_wl='-Wl,'
7438     lt_prog_compiler_static='-static'
7439
7440     case $host_os in
7441       aix*)
7442       # All AIX code is PIC.
7443       if test "$host_cpu" = ia64; then
7444         # AIX 5 now supports IA64 processor
7445         lt_prog_compiler_static='-Bstatic'
7446       fi
7447       ;;
7448
7449     amigaos*)
7450       case $host_cpu in
7451       powerpc)
7452             # see comment about AmigaOS4 .so support
7453             lt_prog_compiler_pic='-fPIC'
7454         ;;
7455       m68k)
7456             # FIXME: we need at least 68020 code to build shared libraries, but
7457             # adding the `-m68020' flag to GCC prevents building anything better,
7458             # like `-m68040'.
7459             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7460         ;;
7461       esac
7462       ;;
7463
7464     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7465       # PIC is the default for these OSes.
7466       ;;
7467
7468     mingw* | cygwin* | pw32* | os2* | cegcc*)
7469       # This hack is so that the source file can tell whether it is being
7470       # built for inclusion in a dll (and should export symbols for example).
7471       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7472       # (--disable-auto-import) libraries
7473       lt_prog_compiler_pic='-DDLL_EXPORT'
7474       ;;
7475
7476     darwin* | rhapsody*)
7477       # PIC is the default on this platform
7478       # Common symbols not allowed in MH_DYLIB files
7479       lt_prog_compiler_pic='-fno-common'
7480       ;;
7481
7482     hpux*)
7483       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7484       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7485       # sets the default TLS model and affects inlining.
7486       case $host_cpu in
7487       hppa*64*)
7488         # +Z the default
7489         ;;
7490       *)
7491         lt_prog_compiler_pic='-fPIC'
7492         ;;
7493       esac
7494       ;;
7495
7496     interix[3-9]*)
7497       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7498       # Instead, we relocate shared libraries at runtime.
7499       ;;
7500
7501     msdosdjgpp*)
7502       # Just because we use GCC doesn't mean we suddenly get shared libraries
7503       # on systems that don't support them.
7504       lt_prog_compiler_can_build_shared=no
7505       enable_shared=no
7506       ;;
7507
7508     *nto* | *qnx*)
7509       # QNX uses GNU C++, but need to define -shared option too, otherwise
7510       # it will coredump.
7511       lt_prog_compiler_pic='-fPIC -shared'
7512       ;;
7513
7514     sysv4*MP*)
7515       if test -d /usr/nec; then
7516         lt_prog_compiler_pic=-Kconform_pic
7517       fi
7518       ;;
7519
7520     *)
7521       lt_prog_compiler_pic='-fPIC'
7522       ;;
7523     esac
7524   else
7525     # PORTME Check for flag to pass linker flags through the system compiler.
7526     case $host_os in
7527     aix*)
7528       lt_prog_compiler_wl='-Wl,'
7529       if test "$host_cpu" = ia64; then
7530         # AIX 5 now supports IA64 processor
7531         lt_prog_compiler_static='-Bstatic'
7532       else
7533         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7534       fi
7535       ;;
7536
7537     mingw* | cygwin* | pw32* | os2* | cegcc*)
7538       # This hack is so that the source file can tell whether it is being
7539       # built for inclusion in a dll (and should export symbols for example).
7540       lt_prog_compiler_pic='-DDLL_EXPORT'
7541       ;;
7542
7543     hpux9* | hpux10* | hpux11*)
7544       lt_prog_compiler_wl='-Wl,'
7545       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7546       # not for PA HP-UX.
7547       case $host_cpu in
7548       hppa*64*|ia64*)
7549         # +Z the default
7550         ;;
7551       *)
7552         lt_prog_compiler_pic='+Z'
7553         ;;
7554       esac
7555       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7556       lt_prog_compiler_static='${wl}-a ${wl}archive'
7557       ;;
7558
7559     irix5* | irix6* | nonstopux*)
7560       lt_prog_compiler_wl='-Wl,'
7561       # PIC (with -KPIC) is the default.
7562       lt_prog_compiler_static='-non_shared'
7563       ;;
7564
7565     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7566       case $cc_basename in
7567       # old Intel for x86_64 which still supported -KPIC.
7568       ecc*)
7569         lt_prog_compiler_wl='-Wl,'
7570         lt_prog_compiler_pic='-KPIC'
7571         lt_prog_compiler_static='-static'
7572         ;;
7573       # icc used to be incompatible with GCC.
7574       # ICC 10 doesn't accept -KPIC any more.
7575       icc* | ifort*)
7576         lt_prog_compiler_wl='-Wl,'
7577         lt_prog_compiler_pic='-fPIC'
7578         lt_prog_compiler_static='-static'
7579         ;;
7580       # Lahey Fortran 8.1.
7581       lf95*)
7582         lt_prog_compiler_wl='-Wl,'
7583         lt_prog_compiler_pic='--shared'
7584         lt_prog_compiler_static='--static'
7585         ;;
7586       pgcc* | pgf77* | pgf90* | pgf95*)
7587         # Portland Group compilers (*not* the Pentium gcc compiler,
7588         # which looks to be a dead project)
7589         lt_prog_compiler_wl='-Wl,'
7590         lt_prog_compiler_pic='-fpic'
7591         lt_prog_compiler_static='-Bstatic'
7592         ;;
7593       ccc*)
7594         lt_prog_compiler_wl='-Wl,'
7595         # All Alpha code is PIC.
7596         lt_prog_compiler_static='-non_shared'
7597         ;;
7598       xl*)
7599         # IBM XL C 8.0/Fortran 10.1 on PPC
7600         lt_prog_compiler_wl='-Wl,'
7601         lt_prog_compiler_pic='-qpic'
7602         lt_prog_compiler_static='-qstaticlink'
7603         ;;
7604       *)
7605         case `$CC -V 2>&1 | sed 5q` in
7606         *Sun\ C*)
7607           # Sun C 5.9
7608           lt_prog_compiler_pic='-KPIC'
7609           lt_prog_compiler_static='-Bstatic'
7610           lt_prog_compiler_wl='-Wl,'
7611           ;;
7612         *Sun\ F*)
7613           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7614           lt_prog_compiler_pic='-KPIC'
7615           lt_prog_compiler_static='-Bstatic'
7616           lt_prog_compiler_wl=''
7617           ;;
7618         esac
7619         ;;
7620       esac
7621       ;;
7622
7623     newsos6)
7624       lt_prog_compiler_pic='-KPIC'
7625       lt_prog_compiler_static='-Bstatic'
7626       ;;
7627
7628     *nto* | *qnx*)
7629       # QNX uses GNU C++, but need to define -shared option too, otherwise
7630       # it will coredump.
7631       lt_prog_compiler_pic='-fPIC -shared'
7632       ;;
7633
7634     osf3* | osf4* | osf5*)
7635       lt_prog_compiler_wl='-Wl,'
7636       # All OSF/1 code is PIC.
7637       lt_prog_compiler_static='-non_shared'
7638       ;;
7639
7640     rdos*)
7641       lt_prog_compiler_static='-non_shared'
7642       ;;
7643
7644     solaris*)
7645       lt_prog_compiler_pic='-KPIC'
7646       lt_prog_compiler_static='-Bstatic'
7647       case $cc_basename in
7648       f77* | f90* | f95*)
7649         lt_prog_compiler_wl='-Qoption ld ';;
7650       *)
7651         lt_prog_compiler_wl='-Wl,';;
7652       esac
7653       ;;
7654
7655     sunos4*)
7656       lt_prog_compiler_wl='-Qoption ld '
7657       lt_prog_compiler_pic='-PIC'
7658       lt_prog_compiler_static='-Bstatic'
7659       ;;
7660
7661     sysv4 | sysv4.2uw2* | sysv4.3*)
7662       lt_prog_compiler_wl='-Wl,'
7663       lt_prog_compiler_pic='-KPIC'
7664       lt_prog_compiler_static='-Bstatic'
7665       ;;
7666
7667     sysv4*MP*)
7668       if test -d /usr/nec ;then
7669         lt_prog_compiler_pic='-Kconform_pic'
7670         lt_prog_compiler_static='-Bstatic'
7671       fi
7672       ;;
7673
7674     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7675       lt_prog_compiler_wl='-Wl,'
7676       lt_prog_compiler_pic='-KPIC'
7677       lt_prog_compiler_static='-Bstatic'
7678       ;;
7679
7680     unicos*)
7681       lt_prog_compiler_wl='-Wl,'
7682       lt_prog_compiler_can_build_shared=no
7683       ;;
7684
7685     uts4*)
7686       lt_prog_compiler_pic='-pic'
7687       lt_prog_compiler_static='-Bstatic'
7688       ;;
7689
7690     *)
7691       lt_prog_compiler_can_build_shared=no
7692       ;;
7693     esac
7694   fi
7695
7696 case $host_os in
7697   # For platforms which do not support PIC, -DPIC is meaningless:
7698   *djgpp*)
7699     lt_prog_compiler_pic=
7700     ;;
7701   *)
7702     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7703     ;;
7704 esac
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7706 $as_echo "$lt_prog_compiler_pic" >&6; }
7707
7708
7709
7710
7711
7712
7713 #
7714 # Check to make sure the PIC flag actually works.
7715 #
7716 if test -n "$lt_prog_compiler_pic"; then
7717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7718 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7719 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7720   $as_echo_n "(cached) " >&6
7721 else
7722   lt_cv_prog_compiler_pic_works=no
7723    ac_outfile=conftest.$ac_objext
7724    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7725    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7726    # Insert the option either (1) after the last *FLAGS variable, or
7727    # (2) before a word containing "conftest.", or (3) at the end.
7728    # Note that $ac_compile itself does not contain backslashes and begins
7729    # with a dollar sign (not a hyphen), so the echo should work correctly.
7730    # The option is referenced via a variable to avoid confusing sed.
7731    lt_compile=`echo "$ac_compile" | $SED \
7732    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7733    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7734    -e 's:$: $lt_compiler_flag:'`
7735    (eval echo "\"\$as_me:7735: $lt_compile\"" >&5)
7736    (eval "$lt_compile" 2>conftest.err)
7737    ac_status=$?
7738    cat conftest.err >&5
7739    echo "$as_me:7739: \$? = $ac_status" >&5
7740    if (exit $ac_status) && test -s "$ac_outfile"; then
7741      # The compiler can only warn and ignore the option if not recognized
7742      # So say no if there are warnings other than the usual output.
7743      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7744      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7745      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7746        lt_cv_prog_compiler_pic_works=yes
7747      fi
7748    fi
7749    $RM conftest*
7750
7751 fi
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7753 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7754
7755 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7756     case $lt_prog_compiler_pic in
7757      "" | " "*) ;;
7758      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7759      esac
7760 else
7761     lt_prog_compiler_pic=
7762      lt_prog_compiler_can_build_shared=no
7763 fi
7764
7765 fi
7766
7767
7768
7769
7770
7771
7772 #
7773 # Check to make sure the static flag actually works.
7774 #
7775 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7777 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7778 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7779   $as_echo_n "(cached) " >&6
7780 else
7781   lt_cv_prog_compiler_static_works=no
7782    save_LDFLAGS="$LDFLAGS"
7783    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7784    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7785    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7786      # The linker can only warn and ignore the option if not recognized
7787      # So say no if there are warnings
7788      if test -s conftest.err; then
7789        # Append any errors to the config.log.
7790        cat conftest.err 1>&5
7791        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7792        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7793        if diff conftest.exp conftest.er2 >/dev/null; then
7794          lt_cv_prog_compiler_static_works=yes
7795        fi
7796      else
7797        lt_cv_prog_compiler_static_works=yes
7798      fi
7799    fi
7800    $RM -r conftest*
7801    LDFLAGS="$save_LDFLAGS"
7802
7803 fi
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7805 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7806
7807 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7808     :
7809 else
7810     lt_prog_compiler_static=
7811 fi
7812
7813
7814
7815
7816
7817
7818
7819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7820 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7821 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7822   $as_echo_n "(cached) " >&6
7823 else
7824   lt_cv_prog_compiler_c_o=no
7825    $RM -r conftest 2>/dev/null
7826    mkdir conftest
7827    cd conftest
7828    mkdir out
7829    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7830
7831    lt_compiler_flag="-o out/conftest2.$ac_objext"
7832    # Insert the option either (1) after the last *FLAGS variable, or
7833    # (2) before a word containing "conftest.", or (3) at the end.
7834    # Note that $ac_compile itself does not contain backslashes and begins
7835    # with a dollar sign (not a hyphen), so the echo should work correctly.
7836    lt_compile=`echo "$ac_compile" | $SED \
7837    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7838    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7839    -e 's:$: $lt_compiler_flag:'`
7840    (eval echo "\"\$as_me:7840: $lt_compile\"" >&5)
7841    (eval "$lt_compile" 2>out/conftest.err)
7842    ac_status=$?
7843    cat out/conftest.err >&5
7844    echo "$as_me:7844: \$? = $ac_status" >&5
7845    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7846    then
7847      # The compiler can only warn and ignore the option if not recognized
7848      # So say no if there are warnings
7849      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7850      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7851      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7852        lt_cv_prog_compiler_c_o=yes
7853      fi
7854    fi
7855    chmod u+w . 2>&5
7856    $RM conftest*
7857    # SGI C++ compiler will create directory out/ii_files/ for
7858    # template instantiation
7859    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7860    $RM out/* && rmdir out
7861    cd ..
7862    $RM -r conftest
7863    $RM conftest*
7864
7865 fi
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7867 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7868
7869
7870
7871
7872
7873
7874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7875 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7876 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7877   $as_echo_n "(cached) " >&6
7878 else
7879   lt_cv_prog_compiler_c_o=no
7880    $RM -r conftest 2>/dev/null
7881    mkdir conftest
7882    cd conftest
7883    mkdir out
7884    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7885
7886    lt_compiler_flag="-o out/conftest2.$ac_objext"
7887    # Insert the option either (1) after the last *FLAGS variable, or
7888    # (2) before a word containing "conftest.", or (3) at the end.
7889    # Note that $ac_compile itself does not contain backslashes and begins
7890    # with a dollar sign (not a hyphen), so the echo should work correctly.
7891    lt_compile=`echo "$ac_compile" | $SED \
7892    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7893    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7894    -e 's:$: $lt_compiler_flag:'`
7895    (eval echo "\"\$as_me:7895: $lt_compile\"" >&5)
7896    (eval "$lt_compile" 2>out/conftest.err)
7897    ac_status=$?
7898    cat out/conftest.err >&5
7899    echo "$as_me:7899: \$? = $ac_status" >&5
7900    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7901    then
7902      # The compiler can only warn and ignore the option if not recognized
7903      # So say no if there are warnings
7904      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7905      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7906      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7907        lt_cv_prog_compiler_c_o=yes
7908      fi
7909    fi
7910    chmod u+w . 2>&5
7911    $RM conftest*
7912    # SGI C++ compiler will create directory out/ii_files/ for
7913    # template instantiation
7914    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7915    $RM out/* && rmdir out
7916    cd ..
7917    $RM -r conftest
7918    $RM conftest*
7919
7920 fi
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7922 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7923
7924
7925
7926
7927 hard_links="nottested"
7928 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7929   # do not overwrite the value of need_locks provided by the user
7930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7931 $as_echo_n "checking if we can lock with hard links... " >&6; }
7932   hard_links=yes
7933   $RM conftest*
7934   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7935   touch conftest.a
7936   ln conftest.a conftest.b 2>&5 || hard_links=no
7937   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7939 $as_echo "$hard_links" >&6; }
7940   if test "$hard_links" = no; then
7941     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7942 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7943     need_locks=warn
7944   fi
7945 else
7946   need_locks=no
7947 fi
7948
7949
7950
7951
7952
7953
7954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7955 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7956
7957   runpath_var=
7958   allow_undefined_flag=
7959   always_export_symbols=no
7960   archive_cmds=
7961   archive_expsym_cmds=
7962   compiler_needs_object=no
7963   enable_shared_with_static_runtimes=no
7964   export_dynamic_flag_spec=
7965   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7966   hardcode_automatic=no
7967   hardcode_direct=no
7968   hardcode_direct_absolute=no
7969   hardcode_libdir_flag_spec=
7970   hardcode_libdir_flag_spec_ld=
7971   hardcode_libdir_separator=
7972   hardcode_minus_L=no
7973   hardcode_shlibpath_var=unsupported
7974   inherit_rpath=no
7975   link_all_deplibs=unknown
7976   module_cmds=
7977   module_expsym_cmds=
7978   old_archive_from_new_cmds=
7979   old_archive_from_expsyms_cmds=
7980   thread_safe_flag_spec=
7981   whole_archive_flag_spec=
7982   # include_expsyms should be a list of space-separated symbols to be *always*
7983   # included in the symbol list
7984   include_expsyms=
7985   # exclude_expsyms can be an extended regexp of symbols to exclude
7986   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7987   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7988   # as well as any symbol that contains `d'.
7989   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7990   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7991   # platforms (ab)use it in PIC code, but their linkers get confused if
7992   # the symbol is explicitly referenced.  Since portable code cannot
7993   # rely on this symbol name, it's probably fine to never include it in
7994   # preloaded symbol tables.
7995   # Exclude shared library initialization/finalization symbols.
7996   extract_expsyms_cmds=
7997
7998   case $host_os in
7999   cygwin* | mingw* | pw32* | cegcc*)
8000     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8001     # When not using gcc, we currently assume that we are using
8002     # Microsoft Visual C++.
8003     if test "$GCC" != yes; then
8004       with_gnu_ld=no
8005     fi
8006     ;;
8007   interix*)
8008     # we just hope/assume this is gcc and not c89 (= MSVC++)
8009     with_gnu_ld=yes
8010     ;;
8011   openbsd*)
8012     with_gnu_ld=no
8013     ;;
8014   linux* | k*bsd*-gnu)
8015     link_all_deplibs=no
8016     ;;
8017   esac
8018
8019   ld_shlibs=yes
8020   if test "$with_gnu_ld" = yes; then
8021     # If archive_cmds runs LD, not CC, wlarc should be empty
8022     wlarc='${wl}'
8023
8024     # Set some defaults for GNU ld with shared library support. These
8025     # are reset later if shared libraries are not supported. Putting them
8026     # here allows them to be overridden if necessary.
8027     runpath_var=LD_RUN_PATH
8028     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8029     export_dynamic_flag_spec='${wl}--export-dynamic'
8030     # ancient GNU ld didn't support --whole-archive et. al.
8031     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8032       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8033     else
8034       whole_archive_flag_spec=
8035     fi
8036     supports_anon_versioning=no
8037     case `$LD -v 2>&1` in
8038       *GNU\ gold*) supports_anon_versioning=yes ;;
8039       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8040       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8041       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8042       *\ 2.11.*) ;; # other 2.11 versions
8043       *) supports_anon_versioning=yes ;;
8044     esac
8045
8046     # See if GNU ld supports shared libraries.
8047     case $host_os in
8048     aix[3-9]*)
8049       # On AIX/PPC, the GNU linker is very broken
8050       if test "$host_cpu" != ia64; then
8051         ld_shlibs=no
8052         cat <<_LT_EOF 1>&2
8053
8054 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8055 *** to be unable to reliably create shared libraries on AIX.
8056 *** Therefore, libtool is disabling shared libraries support.  If you
8057 *** really care for shared libraries, you may want to modify your PATH
8058 *** so that a non-GNU linker is found, and then restart.
8059
8060 _LT_EOF
8061       fi
8062       ;;
8063
8064     amigaos*)
8065       case $host_cpu in
8066       powerpc)
8067             # see comment about AmigaOS4 .so support
8068             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8069             archive_expsym_cmds=''
8070         ;;
8071       m68k)
8072             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)'
8073             hardcode_libdir_flag_spec='-L$libdir'
8074             hardcode_minus_L=yes
8075         ;;
8076       esac
8077       ;;
8078
8079     beos*)
8080       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8081         allow_undefined_flag=unsupported
8082         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8083         # support --undefined.  This deserves some investigation.  FIXME
8084         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8085       else
8086         ld_shlibs=no
8087       fi
8088       ;;
8089
8090     cygwin* | mingw* | pw32* | cegcc*)
8091       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8092       # as there is no search path for DLLs.
8093       hardcode_libdir_flag_spec='-L$libdir'
8094       allow_undefined_flag=unsupported
8095       always_export_symbols=no
8096       enable_shared_with_static_runtimes=yes
8097       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8098
8099       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8100         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8101         # If the export-symbols file already is a .def file (1st line
8102         # is EXPORTS), use it as is; otherwise, prepend...
8103         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8104           cp $export_symbols $output_objdir/$soname.def;
8105         else
8106           echo EXPORTS > $output_objdir/$soname.def;
8107           cat $export_symbols >> $output_objdir/$soname.def;
8108         fi~
8109         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8110       else
8111         ld_shlibs=no
8112       fi
8113       ;;
8114
8115     interix[3-9]*)
8116       hardcode_direct=no
8117       hardcode_shlibpath_var=no
8118       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8119       export_dynamic_flag_spec='${wl}-E'
8120       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8121       # Instead, shared libraries are loaded at an image base (0x10000000 by
8122       # default) and relocated if they conflict, which is a slow very memory
8123       # consuming and fragmenting process.  To avoid this, we pick a random,
8124       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8125       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8126       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8127       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'
8128       ;;
8129
8130     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8131       tmp_diet=no
8132       if test "$host_os" = linux-dietlibc; then
8133         case $cc_basename in
8134           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8135         esac
8136       fi
8137       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8138          && test "$tmp_diet" = no
8139       then
8140         tmp_addflag=
8141         tmp_sharedflag='-shared'
8142         case $cc_basename,$host_cpu in
8143         pgcc*)                          # Portland Group C compiler
8144           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8145           tmp_addflag=' $pic_flag'
8146           ;;
8147         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8148           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8149           tmp_addflag=' $pic_flag -Mnomain' ;;
8150         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8151           tmp_addflag=' -i_dynamic' ;;
8152         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8153           tmp_addflag=' -i_dynamic -nofor_main' ;;
8154         ifc* | ifort*)                  # Intel Fortran compiler
8155           tmp_addflag=' -nofor_main' ;;
8156         lf95*)                          # Lahey Fortran 8.1
8157           whole_archive_flag_spec=
8158           tmp_sharedflag='--shared' ;;
8159         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8160           tmp_sharedflag='-qmkshrobj'
8161           tmp_addflag= ;;
8162         esac
8163         case `$CC -V 2>&1 | sed 5q` in
8164         *Sun\ C*)                       # Sun C 5.9
8165           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8166           compiler_needs_object=yes
8167           tmp_sharedflag='-G' ;;
8168         *Sun\ F*)                       # Sun Fortran 8.3
8169           tmp_sharedflag='-G' ;;
8170         esac
8171         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8172
8173         if test "x$supports_anon_versioning" = xyes; then
8174           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8175             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8176             echo "local: *; };" >> $output_objdir/$libname.ver~
8177             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8178         fi
8179
8180         case $cc_basename in
8181         xlf*)
8182           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8183           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8184           hardcode_libdir_flag_spec=
8185           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8186           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8187           if test "x$supports_anon_versioning" = xyes; then
8188             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8189               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8190               echo "local: *; };" >> $output_objdir/$libname.ver~
8191               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8192           fi
8193           ;;
8194         esac
8195       else
8196         ld_shlibs=no
8197       fi
8198       ;;
8199
8200     netbsd* | netbsdelf*-gnu)
8201       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8202         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8203         wlarc=
8204       else
8205         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8206         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8207       fi
8208       ;;
8209
8210     solaris*)
8211       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8212         ld_shlibs=no
8213         cat <<_LT_EOF 1>&2
8214
8215 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8216 *** create shared libraries on Solaris systems.  Therefore, libtool
8217 *** is disabling shared libraries support.  We urge you to upgrade GNU
8218 *** binutils to release 2.9.1 or newer.  Another option is to modify
8219 *** your PATH or compiler configuration so that the native linker is
8220 *** used, and then restart.
8221
8222 _LT_EOF
8223       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8224         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8225         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8226       else
8227         ld_shlibs=no
8228       fi
8229       ;;
8230
8231     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8232       case `$LD -v 2>&1` in
8233         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8234         ld_shlibs=no
8235         cat <<_LT_EOF 1>&2
8236
8237 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8238 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8239 *** is disabling shared libraries support.  We urge you to upgrade GNU
8240 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8241 *** your PATH or compiler configuration so that the native linker is
8242 *** used, and then restart.
8243
8244 _LT_EOF
8245         ;;
8246         *)
8247           # For security reasons, it is highly recommended that you always
8248           # use absolute paths for naming shared libraries, and exclude the
8249           # DT_RUNPATH tag from executables and libraries.  But doing so
8250           # requires that you compile everything twice, which is a pain.
8251           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8252             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8253             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8254             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8255           else
8256             ld_shlibs=no
8257           fi
8258         ;;
8259       esac
8260       ;;
8261
8262     sunos4*)
8263       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8264       wlarc=
8265       hardcode_direct=yes
8266       hardcode_shlibpath_var=no
8267       ;;
8268
8269     *)
8270       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8271         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8272         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8273       else
8274         ld_shlibs=no
8275       fi
8276       ;;
8277     esac
8278
8279     if test "$ld_shlibs" = no; then
8280       runpath_var=
8281       hardcode_libdir_flag_spec=
8282       export_dynamic_flag_spec=
8283       whole_archive_flag_spec=
8284     fi
8285   else
8286     # PORTME fill in a description of your system's linker (not GNU ld)
8287     case $host_os in
8288     aix3*)
8289       allow_undefined_flag=unsupported
8290       always_export_symbols=yes
8291       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'
8292       # Note: this linker hardcodes the directories in LIBPATH if there
8293       # are no directories specified by -L.
8294       hardcode_minus_L=yes
8295       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8296         # Neither direct hardcoding nor static linking is supported with a
8297         # broken collect2.
8298         hardcode_direct=unsupported
8299       fi
8300       ;;
8301
8302     aix[4-9]*)
8303       if test "$host_cpu" = ia64; then
8304         # On IA64, the linker does run time linking by default, so we don't
8305         # have to do anything special.
8306         aix_use_runtimelinking=no
8307         exp_sym_flag='-Bexport'
8308         no_entry_flag=""
8309       else
8310         # If we're using GNU nm, then we don't want the "-C" option.
8311         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8312         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8313           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8314         else
8315           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'
8316         fi
8317         aix_use_runtimelinking=no
8318
8319         # Test if we are trying to use run time linking or normal
8320         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8321         # need to do runtime linking.
8322         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8323           for ld_flag in $LDFLAGS; do
8324           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8325             aix_use_runtimelinking=yes
8326             break
8327           fi
8328           done
8329           ;;
8330         esac
8331
8332         exp_sym_flag='-bexport'
8333         no_entry_flag='-bnoentry'
8334       fi
8335
8336       # When large executables or shared objects are built, AIX ld can
8337       # have problems creating the table of contents.  If linking a library
8338       # or program results in "error TOC overflow" add -mminimal-toc to
8339       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8340       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8341
8342       archive_cmds=''
8343       hardcode_direct=yes
8344       hardcode_direct_absolute=yes
8345       hardcode_libdir_separator=':'
8346       link_all_deplibs=yes
8347       file_list_spec='${wl}-f,'
8348
8349       if test "$GCC" = yes; then
8350         case $host_os in aix4.[012]|aix4.[012].*)
8351         # We only want to do this on AIX 4.2 and lower, the check
8352         # below for broken collect2 doesn't work under 4.3+
8353           collect2name=`${CC} -print-prog-name=collect2`
8354           if test -f "$collect2name" &&
8355            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8356           then
8357           # We have reworked collect2
8358           :
8359           else
8360           # We have old collect2
8361           hardcode_direct=unsupported
8362           # It fails to find uninstalled libraries when the uninstalled
8363           # path is not listed in the libpath.  Setting hardcode_minus_L
8364           # to unsupported forces relinking
8365           hardcode_minus_L=yes
8366           hardcode_libdir_flag_spec='-L$libdir'
8367           hardcode_libdir_separator=
8368           fi
8369           ;;
8370         esac
8371         shared_flag='-shared'
8372         if test "$aix_use_runtimelinking" = yes; then
8373           shared_flag="$shared_flag "'${wl}-G'
8374         fi
8375         link_all_deplibs=no
8376       else
8377         # not using gcc
8378         if test "$host_cpu" = ia64; then
8379         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8380         # chokes on -Wl,-G. The following line is correct:
8381           shared_flag='-G'
8382         else
8383           if test "$aix_use_runtimelinking" = yes; then
8384             shared_flag='${wl}-G'
8385           else
8386             shared_flag='${wl}-bM:SRE'
8387           fi
8388         fi
8389       fi
8390
8391       export_dynamic_flag_spec='${wl}-bexpall'
8392       # It seems that -bexpall does not export symbols beginning with
8393       # underscore (_), so it is better to generate a list of symbols to export.
8394       always_export_symbols=yes
8395       if test "$aix_use_runtimelinking" = yes; then
8396         # Warning - without using the other runtime loading flags (-brtl),
8397         # -berok will link without error, but may produce a broken library.
8398         allow_undefined_flag='-berok'
8399         # Determine the default libpath from the value encoded in an
8400         # empty executable.
8401         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h.  */
8403
8404 int
8405 main ()
8406 {
8407
8408   ;
8409   return 0;
8410 }
8411 _ACEOF
8412 if ac_fn_c_try_link "$LINENO"; then :
8413
8414 lt_aix_libpath_sed='
8415     /Import File Strings/,/^$/ {
8416         /^0/ {
8417             s/^0  *\(.*\)$/\1/
8418             p
8419         }
8420     }'
8421 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8422 # Check for a 64-bit object if we didn't find anything.
8423 if test -z "$aix_libpath"; then
8424   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8425 fi
8426 fi
8427 rm -f core conftest.err conftest.$ac_objext \
8428     conftest$ac_exeext conftest.$ac_ext
8429 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8430
8431         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8432         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8433       else
8434         if test "$host_cpu" = ia64; then
8435           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8436           allow_undefined_flag="-z nodefs"
8437           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"
8438         else
8439          # Determine the default libpath from the value encoded in an
8440          # empty executable.
8441          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h.  */
8443
8444 int
8445 main ()
8446 {
8447
8448   ;
8449   return 0;
8450 }
8451 _ACEOF
8452 if ac_fn_c_try_link "$LINENO"; then :
8453
8454 lt_aix_libpath_sed='
8455     /Import File Strings/,/^$/ {
8456         /^0/ {
8457             s/^0  *\(.*\)$/\1/
8458             p
8459         }
8460     }'
8461 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8462 # Check for a 64-bit object if we didn't find anything.
8463 if test -z "$aix_libpath"; then
8464   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8465 fi
8466 fi
8467 rm -f core conftest.err conftest.$ac_objext \
8468     conftest$ac_exeext conftest.$ac_ext
8469 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8470
8471          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8472           # Warning - without using the other run time loading flags,
8473           # -berok will link without error, but may produce a broken library.
8474           no_undefined_flag=' ${wl}-bernotok'
8475           allow_undefined_flag=' ${wl}-berok'
8476           # Exported symbols can be pulled into shared objects from archives
8477           whole_archive_flag_spec='$convenience'
8478           archive_cmds_need_lc=yes
8479           # This is similar to how AIX traditionally builds its shared libraries.
8480           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'
8481         fi
8482       fi
8483       ;;
8484
8485     amigaos*)
8486       case $host_cpu in
8487       powerpc)
8488             # see comment about AmigaOS4 .so support
8489             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8490             archive_expsym_cmds=''
8491         ;;
8492       m68k)
8493             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)'
8494             hardcode_libdir_flag_spec='-L$libdir'
8495             hardcode_minus_L=yes
8496         ;;
8497       esac
8498       ;;
8499
8500     bsdi[45]*)
8501       export_dynamic_flag_spec=-rdynamic
8502       ;;
8503
8504     cygwin* | mingw* | pw32* | cegcc*)
8505       # When not using gcc, we currently assume that we are using
8506       # Microsoft Visual C++.
8507       # hardcode_libdir_flag_spec is actually meaningless, as there is
8508       # no search path for DLLs.
8509       hardcode_libdir_flag_spec=' '
8510       allow_undefined_flag=unsupported
8511       # Tell ltmain to make .lib files, not .a files.
8512       libext=lib
8513       # Tell ltmain to make .dll files, not .so files.
8514       shrext_cmds=".dll"
8515       # FIXME: Setting linknames here is a bad hack.
8516       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8517       # The linker will automatically build a .lib file if we build a DLL.
8518       old_archive_from_new_cmds='true'
8519       # FIXME: Should let the user specify the lib program.
8520       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8521       fix_srcfile_path='`cygpath -w "$srcfile"`'
8522       enable_shared_with_static_runtimes=yes
8523       ;;
8524
8525     darwin* | rhapsody*)
8526
8527
8528   archive_cmds_need_lc=no
8529   hardcode_direct=no
8530   hardcode_automatic=yes
8531   hardcode_shlibpath_var=unsupported
8532   whole_archive_flag_spec=''
8533   link_all_deplibs=yes
8534   allow_undefined_flag="$_lt_dar_allow_undefined"
8535   case $cc_basename in
8536      ifort*) _lt_dar_can_shared=yes ;;
8537      *) _lt_dar_can_shared=$GCC ;;
8538   esac
8539   if test "$_lt_dar_can_shared" = "yes"; then
8540     output_verbose_link_cmd=echo
8541     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8542     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8543     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}"
8544     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}"
8545
8546   else
8547   ld_shlibs=no
8548   fi
8549
8550       ;;
8551
8552     dgux*)
8553       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8554       hardcode_libdir_flag_spec='-L$libdir'
8555       hardcode_shlibpath_var=no
8556       ;;
8557
8558     freebsd1*)
8559       ld_shlibs=no
8560       ;;
8561
8562     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8563     # support.  Future versions do this automatically, but an explicit c++rt0.o
8564     # does not break anything, and helps significantly (at the cost of a little
8565     # extra space).
8566     freebsd2.2*)
8567       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8568       hardcode_libdir_flag_spec='-R$libdir'
8569       hardcode_direct=yes
8570       hardcode_shlibpath_var=no
8571       ;;
8572
8573     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8574     freebsd2*)
8575       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8576       hardcode_direct=yes
8577       hardcode_minus_L=yes
8578       hardcode_shlibpath_var=no
8579       ;;
8580
8581     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8582     freebsd* | dragonfly*)
8583       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8584       hardcode_libdir_flag_spec='-R$libdir'
8585       hardcode_direct=yes
8586       hardcode_shlibpath_var=no
8587       ;;
8588
8589     hpux9*)
8590       if test "$GCC" = yes; then
8591         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8592       else
8593         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'
8594       fi
8595       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8596       hardcode_libdir_separator=:
8597       hardcode_direct=yes
8598
8599       # hardcode_minus_L: Not really in the search PATH,
8600       # but as the default location of the library.
8601       hardcode_minus_L=yes
8602       export_dynamic_flag_spec='${wl}-E'
8603       ;;
8604
8605     hpux10*)
8606       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8607         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8608       else
8609         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8610       fi
8611       if test "$with_gnu_ld" = no; then
8612         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8613         hardcode_libdir_flag_spec_ld='+b $libdir'
8614         hardcode_libdir_separator=:
8615         hardcode_direct=yes
8616         hardcode_direct_absolute=yes
8617         export_dynamic_flag_spec='${wl}-E'
8618         # hardcode_minus_L: Not really in the search PATH,
8619         # but as the default location of the library.
8620         hardcode_minus_L=yes
8621       fi
8622       ;;
8623
8624     hpux11*)
8625       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8626         case $host_cpu in
8627         hppa*64*)
8628           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8629           ;;
8630         ia64*)
8631           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8632           ;;
8633         *)
8634           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8635           ;;
8636         esac
8637       else
8638         case $host_cpu in
8639         hppa*64*)
8640           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8641           ;;
8642         ia64*)
8643           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8644           ;;
8645         *)
8646           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8647           ;;
8648         esac
8649       fi
8650       if test "$with_gnu_ld" = no; then
8651         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8652         hardcode_libdir_separator=:
8653
8654         case $host_cpu in
8655         hppa*64*|ia64*)
8656           hardcode_direct=no
8657           hardcode_shlibpath_var=no
8658           ;;
8659         *)
8660           hardcode_direct=yes
8661           hardcode_direct_absolute=yes
8662           export_dynamic_flag_spec='${wl}-E'
8663
8664           # hardcode_minus_L: Not really in the search PATH,
8665           # but as the default location of the library.
8666           hardcode_minus_L=yes
8667           ;;
8668         esac
8669       fi
8670       ;;
8671
8672     irix5* | irix6* | nonstopux*)
8673       if test "$GCC" = yes; then
8674         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8675         # Try to use the -exported_symbol ld option, if it does not
8676         # work, assume that -exports_file does not work either and
8677         # implicitly export all symbols.
8678         save_LDFLAGS="$LDFLAGS"
8679         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8680         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h.  */
8682 int foo(void) {}
8683 _ACEOF
8684 if ac_fn_c_try_link "$LINENO"; then :
8685   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8686
8687 fi
8688 rm -f core conftest.err conftest.$ac_objext \
8689     conftest$ac_exeext conftest.$ac_ext
8690         LDFLAGS="$save_LDFLAGS"
8691       else
8692         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8693         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8694       fi
8695       archive_cmds_need_lc='no'
8696       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8697       hardcode_libdir_separator=:
8698       inherit_rpath=yes
8699       link_all_deplibs=yes
8700       ;;
8701
8702     netbsd* | netbsdelf*-gnu)
8703       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8704         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8705       else
8706         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8707       fi
8708       hardcode_libdir_flag_spec='-R$libdir'
8709       hardcode_direct=yes
8710       hardcode_shlibpath_var=no
8711       ;;
8712
8713     newsos6)
8714       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8715       hardcode_direct=yes
8716       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8717       hardcode_libdir_separator=:
8718       hardcode_shlibpath_var=no
8719       ;;
8720
8721     *nto* | *qnx*)
8722       ;;
8723
8724     openbsd*)
8725       if test -f /usr/libexec/ld.so; then
8726         hardcode_direct=yes
8727         hardcode_shlibpath_var=no
8728         hardcode_direct_absolute=yes
8729         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8730           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8731           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8732           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8733           export_dynamic_flag_spec='${wl}-E'
8734         else
8735           case $host_os in
8736            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8737              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8738              hardcode_libdir_flag_spec='-R$libdir'
8739              ;;
8740            *)
8741              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8742              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8743              ;;
8744           esac
8745         fi
8746       else
8747         ld_shlibs=no
8748       fi
8749       ;;
8750
8751     os2*)
8752       hardcode_libdir_flag_spec='-L$libdir'
8753       hardcode_minus_L=yes
8754       allow_undefined_flag=unsupported
8755       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'
8756       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8757       ;;
8758
8759     osf3*)
8760       if test "$GCC" = yes; then
8761         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8762         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8763       else
8764         allow_undefined_flag=' -expect_unresolved \*'
8765         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8766       fi
8767       archive_cmds_need_lc='no'
8768       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8769       hardcode_libdir_separator=:
8770       ;;
8771
8772     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8773       if test "$GCC" = yes; then
8774         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8775         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8776         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8777       else
8778         allow_undefined_flag=' -expect_unresolved \*'
8779         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8780         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~
8781         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8782
8783         # Both c and cxx compiler support -rpath directly
8784         hardcode_libdir_flag_spec='-rpath $libdir'
8785       fi
8786       archive_cmds_need_lc='no'
8787       hardcode_libdir_separator=:
8788       ;;
8789
8790     solaris*)
8791       no_undefined_flag=' -z defs'
8792       if test "$GCC" = yes; then
8793         wlarc='${wl}'
8794         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8795         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8796           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8797       else
8798         case `$CC -V 2>&1` in
8799         *"Compilers 5.0"*)
8800           wlarc=''
8801           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8802           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8803           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8804           ;;
8805         *)
8806           wlarc='${wl}'
8807           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8808           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8809           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8810           ;;
8811         esac
8812       fi
8813       hardcode_libdir_flag_spec='-R$libdir'
8814       hardcode_shlibpath_var=no
8815       case $host_os in
8816       solaris2.[0-5] | solaris2.[0-5].*) ;;
8817       *)
8818         # The compiler driver will combine and reorder linker options,
8819         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8820         # but is careful enough not to reorder.
8821         # Supported since Solaris 2.6 (maybe 2.5.1?)
8822         if test "$GCC" = yes; then
8823           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8824         else
8825           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8826         fi
8827         ;;
8828       esac
8829       link_all_deplibs=yes
8830       ;;
8831
8832     sunos4*)
8833       if test "x$host_vendor" = xsequent; then
8834         # Use $CC to link under sequent, because it throws in some extra .o
8835         # files that make .init and .fini sections work.
8836         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8837       else
8838         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8839       fi
8840       hardcode_libdir_flag_spec='-L$libdir'
8841       hardcode_direct=yes
8842       hardcode_minus_L=yes
8843       hardcode_shlibpath_var=no
8844       ;;
8845
8846     sysv4)
8847       case $host_vendor in
8848         sni)
8849           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8850           hardcode_direct=yes # is this really true???
8851         ;;
8852         siemens)
8853           ## LD is ld it makes a PLAMLIB
8854           ## CC just makes a GrossModule.
8855           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8856           reload_cmds='$CC -r -o $output$reload_objs'
8857           hardcode_direct=no
8858         ;;
8859         motorola)
8860           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8861           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8862         ;;
8863       esac
8864       runpath_var='LD_RUN_PATH'
8865       hardcode_shlibpath_var=no
8866       ;;
8867
8868     sysv4.3*)
8869       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8870       hardcode_shlibpath_var=no
8871       export_dynamic_flag_spec='-Bexport'
8872       ;;
8873
8874     sysv4*MP*)
8875       if test -d /usr/nec; then
8876         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8877         hardcode_shlibpath_var=no
8878         runpath_var=LD_RUN_PATH
8879         hardcode_runpath_var=yes
8880         ld_shlibs=yes
8881       fi
8882       ;;
8883
8884     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8885       no_undefined_flag='${wl}-z,text'
8886       archive_cmds_need_lc=no
8887       hardcode_shlibpath_var=no
8888       runpath_var='LD_RUN_PATH'
8889
8890       if test "$GCC" = yes; then
8891         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8892         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8893       else
8894         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8895         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8896       fi
8897       ;;
8898
8899     sysv5* | sco3.2v5* | sco5v6*)
8900       # Note: We can NOT use -z defs as we might desire, because we do not
8901       # link with -lc, and that would cause any symbols used from libc to
8902       # always be unresolved, which means just about no library would
8903       # ever link correctly.  If we're not using GNU ld we use -z text
8904       # though, which does catch some bad symbols but isn't as heavy-handed
8905       # as -z defs.
8906       no_undefined_flag='${wl}-z,text'
8907       allow_undefined_flag='${wl}-z,nodefs'
8908       archive_cmds_need_lc=no
8909       hardcode_shlibpath_var=no
8910       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8911       hardcode_libdir_separator=':'
8912       link_all_deplibs=yes
8913       export_dynamic_flag_spec='${wl}-Bexport'
8914       runpath_var='LD_RUN_PATH'
8915
8916       if test "$GCC" = yes; then
8917         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8918         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8919       else
8920         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8921         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8922       fi
8923       ;;
8924
8925     uts4*)
8926       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8927       hardcode_libdir_flag_spec='-L$libdir'
8928       hardcode_shlibpath_var=no
8929       ;;
8930
8931     *)
8932       ld_shlibs=no
8933       ;;
8934     esac
8935
8936     if test x$host_vendor = xsni; then
8937       case $host in
8938       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8939         export_dynamic_flag_spec='${wl}-Blargedynsym'
8940         ;;
8941       esac
8942     fi
8943   fi
8944
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8946 $as_echo "$ld_shlibs" >&6; }
8947 test "$ld_shlibs" = no && can_build_shared=no
8948
8949 with_gnu_ld=$with_gnu_ld
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965 #
8966 # Do we need to explicitly link libc?
8967 #
8968 case "x$archive_cmds_need_lc" in
8969 x|xyes)
8970   # Assume -lc should be added
8971   archive_cmds_need_lc=yes
8972
8973   if test "$enable_shared" = yes && test "$GCC" = yes; then
8974     case $archive_cmds in
8975     *'~'*)
8976       # FIXME: we may have to deal with multi-command sequences.
8977       ;;
8978     '$CC '*)
8979       # Test whether the compiler implicitly links with -lc since on some
8980       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8981       # to ld, don't add -lc before -lgcc.
8982       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8983 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8984       $RM conftest*
8985       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8986
8987       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8988   (eval $ac_compile) 2>&5
8989   ac_status=$?
8990   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8991   test $ac_status = 0; } 2>conftest.err; then
8992         soname=conftest
8993         lib=conftest
8994         libobjs=conftest.$ac_objext
8995         deplibs=
8996         wl=$lt_prog_compiler_wl
8997         pic_flag=$lt_prog_compiler_pic
8998         compiler_flags=-v
8999         linker_flags=-v
9000         verstring=
9001         output_objdir=.
9002         libname=conftest
9003         lt_save_allow_undefined_flag=$allow_undefined_flag
9004         allow_undefined_flag=
9005         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9006   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9007   ac_status=$?
9008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9009   test $ac_status = 0; }
9010         then
9011           archive_cmds_need_lc=no
9012         else
9013           archive_cmds_need_lc=yes
9014         fi
9015         allow_undefined_flag=$lt_save_allow_undefined_flag
9016       else
9017         cat conftest.err 1>&5
9018       fi
9019       $RM conftest*
9020       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9021 $as_echo "$archive_cmds_need_lc" >&6; }
9022       ;;
9023     esac
9024   fi
9025   ;;
9026 esac
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9185 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9186
9187 if test "$GCC" = yes; then
9188   case $host_os in
9189     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9190     *) lt_awk_arg="/^libraries:/" ;;
9191   esac
9192   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9193   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9194     # if the path contains ";" then we assume it to be the separator
9195     # otherwise default to the standard path separator (i.e. ":") - it is
9196     # assumed that no part of a normal pathname contains ";" but that should
9197     # okay in the real world where ";" in dirpaths is itself problematic.
9198     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9199   else
9200     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9201   fi
9202   # Ok, now we have the path, separated by spaces, we can step through it
9203   # and add multilib dir if necessary.
9204   lt_tmp_lt_search_path_spec=
9205   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9206   for lt_sys_path in $lt_search_path_spec; do
9207     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9208       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9209     else
9210       test -d "$lt_sys_path" && \
9211         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9212     fi
9213   done
9214   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9215 BEGIN {RS=" "; FS="/|\n";} {
9216   lt_foo="";
9217   lt_count=0;
9218   for (lt_i = NF; lt_i > 0; lt_i--) {
9219     if ($lt_i != "" && $lt_i != ".") {
9220       if ($lt_i == "..") {
9221         lt_count++;
9222       } else {
9223         if (lt_count == 0) {
9224           lt_foo="/" $lt_i lt_foo;
9225         } else {
9226           lt_count--;
9227         }
9228       }
9229     }
9230   }
9231   if (lt_foo != "") { lt_freq[lt_foo]++; }
9232   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9233 }'`
9234   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9235 else
9236   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9237 fi
9238 library_names_spec=
9239 libname_spec='lib$name'
9240 soname_spec=
9241 shrext_cmds=".so"
9242 postinstall_cmds=
9243 postuninstall_cmds=
9244 finish_cmds=
9245 finish_eval=
9246 shlibpath_var=
9247 shlibpath_overrides_runpath=unknown
9248 version_type=none
9249 dynamic_linker="$host_os ld.so"
9250 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9251 need_lib_prefix=unknown
9252 hardcode_into_libs=no
9253
9254 # when you set need_version to no, make sure it does not cause -set_version
9255 # flags to be left without arguments
9256 need_version=unknown
9257
9258 case $host_os in
9259 aix3*)
9260   version_type=linux
9261   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9262   shlibpath_var=LIBPATH
9263
9264   # AIX 3 has no versioning support, so we append a major version to the name.
9265   soname_spec='${libname}${release}${shared_ext}$major'
9266   ;;
9267
9268 aix[4-9]*)
9269   version_type=linux
9270   need_lib_prefix=no
9271   need_version=no
9272   hardcode_into_libs=yes
9273   if test "$host_cpu" = ia64; then
9274     # AIX 5 supports IA64
9275     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9276     shlibpath_var=LD_LIBRARY_PATH
9277   else
9278     # With GCC up to 2.95.x, collect2 would create an import file
9279     # for dependence libraries.  The import file would start with
9280     # the line `#! .'.  This would cause the generated library to
9281     # depend on `.', always an invalid library.  This was fixed in
9282     # development snapshots of GCC prior to 3.0.
9283     case $host_os in
9284       aix4 | aix4.[01] | aix4.[01].*)
9285       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9286            echo ' yes '
9287            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9288         :
9289       else
9290         can_build_shared=no
9291       fi
9292       ;;
9293     esac
9294     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9295     # soname into executable. Probably we can add versioning support to
9296     # collect2, so additional links can be useful in future.
9297     if test "$aix_use_runtimelinking" = yes; then
9298       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9299       # instead of lib<name>.a to let people know that these are not
9300       # typical AIX shared libraries.
9301       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9302     else
9303       # We preserve .a as extension for shared libraries through AIX4.2
9304       # and later when we are not doing run time linking.
9305       library_names_spec='${libname}${release}.a $libname.a'
9306       soname_spec='${libname}${release}${shared_ext}$major'
9307     fi
9308     shlibpath_var=LIBPATH
9309   fi
9310   ;;
9311
9312 amigaos*)
9313   case $host_cpu in
9314   powerpc)
9315     # Since July 2007 AmigaOS4 officially supports .so libraries.
9316     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9317     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9318     ;;
9319   m68k)
9320     library_names_spec='$libname.ixlibrary $libname.a'
9321     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9322     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9323     ;;
9324   esac
9325   ;;
9326
9327 beos*)
9328   library_names_spec='${libname}${shared_ext}'
9329   dynamic_linker="$host_os ld.so"
9330   shlibpath_var=LIBRARY_PATH
9331   ;;
9332
9333 bsdi[45]*)
9334   version_type=linux
9335   need_version=no
9336   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9337   soname_spec='${libname}${release}${shared_ext}$major'
9338   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9339   shlibpath_var=LD_LIBRARY_PATH
9340   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9341   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9342   # the default ld.so.conf also contains /usr/contrib/lib and
9343   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9344   # libtool to hard-code these into programs
9345   ;;
9346
9347 cygwin* | mingw* | pw32* | cegcc*)
9348   version_type=windows
9349   shrext_cmds=".dll"
9350   need_version=no
9351   need_lib_prefix=no
9352
9353   case $GCC,$host_os in
9354   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9355     library_names_spec='$libname.dll.a'
9356     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9357     postinstall_cmds='base_file=`basename \${file}`~
9358       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9359       dldir=$destdir/`dirname \$dlpath`~
9360       test -d \$dldir || mkdir -p \$dldir~
9361       $install_prog $dir/$dlname \$dldir/$dlname~
9362       chmod a+x \$dldir/$dlname~
9363       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9364         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9365       fi'
9366     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9367       dlpath=$dir/\$dldll~
9368        $RM \$dlpath'
9369     shlibpath_overrides_runpath=yes
9370
9371     case $host_os in
9372     cygwin*)
9373       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9374       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9375       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9376       ;;
9377     mingw* | cegcc*)
9378       # MinGW DLLs use traditional 'lib' prefix
9379       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9380       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9381       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9382         # It is most probably a Windows format PATH printed by
9383         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9384         # path with ; separators, and with drive letters. We can handle the
9385         # drive letters (cygwin fileutils understands them), so leave them,
9386         # especially as we might pass files found there to a mingw objdump,
9387         # which wouldn't understand a cygwinified path. Ahh.
9388         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9389       else
9390         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9391       fi
9392       ;;
9393     pw32*)
9394       # pw32 DLLs use 'pw' prefix rather than 'lib'
9395       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9396       ;;
9397     esac
9398     ;;
9399
9400   *)
9401     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9402     ;;
9403   esac
9404   dynamic_linker='Win32 ld.exe'
9405   # FIXME: first we should search . and the directory the executable is in
9406   shlibpath_var=PATH
9407   ;;
9408
9409 darwin* | rhapsody*)
9410   dynamic_linker="$host_os dyld"
9411   version_type=darwin
9412   need_lib_prefix=no
9413   need_version=no
9414   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9415   soname_spec='${libname}${release}${major}$shared_ext'
9416   shlibpath_overrides_runpath=yes
9417   shlibpath_var=DYLD_LIBRARY_PATH
9418   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9419
9420   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9421   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9422   ;;
9423
9424 dgux*)
9425   version_type=linux
9426   need_lib_prefix=no
9427   need_version=no
9428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9429   soname_spec='${libname}${release}${shared_ext}$major'
9430   shlibpath_var=LD_LIBRARY_PATH
9431   ;;
9432
9433 freebsd1*)
9434   dynamic_linker=no
9435   ;;
9436
9437 freebsd* | dragonfly*)
9438   # DragonFly does not have aout.  When/if they implement a new
9439   # versioning mechanism, adjust this.
9440   if test -x /usr/bin/objformat; then
9441     objformat=`/usr/bin/objformat`
9442   else
9443     case $host_os in
9444     freebsd[123]*) objformat=aout ;;
9445     *) objformat=elf ;;
9446     esac
9447   fi
9448   version_type=freebsd-$objformat
9449   case $version_type in
9450     freebsd-elf*)
9451       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9452       need_version=no
9453       need_lib_prefix=no
9454       ;;
9455     freebsd-*)
9456       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9457       need_version=yes
9458       ;;
9459   esac
9460   shlibpath_var=LD_LIBRARY_PATH
9461   case $host_os in
9462   freebsd2*)
9463     shlibpath_overrides_runpath=yes
9464     ;;
9465   freebsd3.[01]* | freebsdelf3.[01]*)
9466     shlibpath_overrides_runpath=yes
9467     hardcode_into_libs=yes
9468     ;;
9469   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9470   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9471     shlibpath_overrides_runpath=no
9472     hardcode_into_libs=yes
9473     ;;
9474   *) # from 4.6 on, and DragonFly
9475     shlibpath_overrides_runpath=yes
9476     hardcode_into_libs=yes
9477     ;;
9478   esac
9479   ;;
9480
9481 gnu*)
9482   version_type=linux
9483   need_lib_prefix=no
9484   need_version=no
9485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9486   soname_spec='${libname}${release}${shared_ext}$major'
9487   shlibpath_var=LD_LIBRARY_PATH
9488   hardcode_into_libs=yes
9489   ;;
9490
9491 hpux9* | hpux10* | hpux11*)
9492   # Give a soname corresponding to the major version so that dld.sl refuses to
9493   # link against other versions.
9494   version_type=sunos
9495   need_lib_prefix=no
9496   need_version=no
9497   case $host_cpu in
9498   ia64*)
9499     shrext_cmds='.so'
9500     hardcode_into_libs=yes
9501     dynamic_linker="$host_os dld.so"
9502     shlibpath_var=LD_LIBRARY_PATH
9503     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9504     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9505     soname_spec='${libname}${release}${shared_ext}$major'
9506     if test "X$HPUX_IA64_MODE" = X32; then
9507       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9508     else
9509       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9510     fi
9511     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9512     ;;
9513   hppa*64*)
9514     shrext_cmds='.sl'
9515     hardcode_into_libs=yes
9516     dynamic_linker="$host_os dld.sl"
9517     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9518     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9519     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9520     soname_spec='${libname}${release}${shared_ext}$major'
9521     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9522     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9523     ;;
9524   *)
9525     shrext_cmds='.sl'
9526     dynamic_linker="$host_os dld.sl"
9527     shlibpath_var=SHLIB_PATH
9528     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9529     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9530     soname_spec='${libname}${release}${shared_ext}$major'
9531     ;;
9532   esac
9533   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9534   postinstall_cmds='chmod 555 $lib'
9535   ;;
9536
9537 interix[3-9]*)
9538   version_type=linux
9539   need_lib_prefix=no
9540   need_version=no
9541   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9542   soname_spec='${libname}${release}${shared_ext}$major'
9543   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9544   shlibpath_var=LD_LIBRARY_PATH
9545   shlibpath_overrides_runpath=no
9546   hardcode_into_libs=yes
9547   ;;
9548
9549 irix5* | irix6* | nonstopux*)
9550   case $host_os in
9551     nonstopux*) version_type=nonstopux ;;
9552     *)
9553         if test "$lt_cv_prog_gnu_ld" = yes; then
9554                 version_type=linux
9555         else
9556                 version_type=irix
9557         fi ;;
9558   esac
9559   need_lib_prefix=no
9560   need_version=no
9561   soname_spec='${libname}${release}${shared_ext}$major'
9562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9563   case $host_os in
9564   irix5* | nonstopux*)
9565     libsuff= shlibsuff=
9566     ;;
9567   *)
9568     case $LD in # libtool.m4 will add one of these switches to LD
9569     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9570       libsuff= shlibsuff= libmagic=32-bit;;
9571     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9572       libsuff=32 shlibsuff=N32 libmagic=N32;;
9573     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9574       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9575     *) libsuff= shlibsuff= libmagic=never-match;;
9576     esac
9577     ;;
9578   esac
9579   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9580   shlibpath_overrides_runpath=no
9581   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9582   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9583   hardcode_into_libs=yes
9584   ;;
9585
9586 # No shared lib support for Linux oldld, aout, or coff.
9587 linux*oldld* | linux*aout* | linux*coff*)
9588   dynamic_linker=no
9589   ;;
9590
9591 # This must be Linux ELF.
9592 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9593   version_type=linux
9594   need_lib_prefix=no
9595   need_version=no
9596   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9597   soname_spec='${libname}${release}${shared_ext}$major'
9598   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9599   shlibpath_var=LD_LIBRARY_PATH
9600   shlibpath_overrides_runpath=no
9601   # Some binutils ld are patched to set DT_RUNPATH
9602   save_LDFLAGS=$LDFLAGS
9603   save_libdir=$libdir
9604   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9605        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9607 /* end confdefs.h.  */
9608
9609 int
9610 main ()
9611 {
9612
9613   ;
9614   return 0;
9615 }
9616 _ACEOF
9617 if ac_fn_c_try_link "$LINENO"; then :
9618   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9619   shlibpath_overrides_runpath=yes
9620 fi
9621 fi
9622 rm -f core conftest.err conftest.$ac_objext \
9623     conftest$ac_exeext conftest.$ac_ext
9624   LDFLAGS=$save_LDFLAGS
9625   libdir=$save_libdir
9626
9627   # This implies no fast_install, which is unacceptable.
9628   # Some rework will be needed to allow for fast_install
9629   # before this can be enabled.
9630   hardcode_into_libs=yes
9631
9632   # Append ld.so.conf contents to the search path
9633   if test -f /etc/ld.so.conf; then
9634     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9635     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9636   fi
9637
9638   # We used to test for /lib/ld.so.1 and disable shared libraries on
9639   # powerpc, because MkLinux only supported shared libraries with the
9640   # GNU dynamic linker.  Since this was broken with cross compilers,
9641   # most powerpc-linux boxes support dynamic linking these days and
9642   # people can always --disable-shared, the test was removed, and we
9643   # assume the GNU/Linux dynamic linker is in use.
9644   dynamic_linker='GNU/Linux ld.so'
9645   ;;
9646
9647 netbsdelf*-gnu)
9648   version_type=linux
9649   need_lib_prefix=no
9650   need_version=no
9651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9652   soname_spec='${libname}${release}${shared_ext}$major'
9653   shlibpath_var=LD_LIBRARY_PATH
9654   shlibpath_overrides_runpath=no
9655   hardcode_into_libs=yes
9656   dynamic_linker='NetBSD ld.elf_so'
9657   ;;
9658
9659 netbsd*)
9660   version_type=sunos
9661   need_lib_prefix=no
9662   need_version=no
9663   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9664     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9665     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9666     dynamic_linker='NetBSD (a.out) ld.so'
9667   else
9668     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9669     soname_spec='${libname}${release}${shared_ext}$major'
9670     dynamic_linker='NetBSD ld.elf_so'
9671   fi
9672   shlibpath_var=LD_LIBRARY_PATH
9673   shlibpath_overrides_runpath=yes
9674   hardcode_into_libs=yes
9675   ;;
9676
9677 newsos6)
9678   version_type=linux
9679   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9680   shlibpath_var=LD_LIBRARY_PATH
9681   shlibpath_overrides_runpath=yes
9682   ;;
9683
9684 *nto* | *qnx*)
9685   version_type=qnx
9686   need_lib_prefix=no
9687   need_version=no
9688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9689   soname_spec='${libname}${release}${shared_ext}$major'
9690   shlibpath_var=LD_LIBRARY_PATH
9691   shlibpath_overrides_runpath=no
9692   hardcode_into_libs=yes
9693   dynamic_linker='ldqnx.so'
9694   ;;
9695
9696 openbsd*)
9697   version_type=sunos
9698   sys_lib_dlsearch_path_spec="/usr/lib"
9699   need_lib_prefix=no
9700   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9701   case $host_os in
9702     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9703     *)                          need_version=no  ;;
9704   esac
9705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9706   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9707   shlibpath_var=LD_LIBRARY_PATH
9708   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9709     case $host_os in
9710       openbsd2.[89] | openbsd2.[89].*)
9711         shlibpath_overrides_runpath=no
9712         ;;
9713       *)
9714         shlibpath_overrides_runpath=yes
9715         ;;
9716       esac
9717   else
9718     shlibpath_overrides_runpath=yes
9719   fi
9720   ;;
9721
9722 os2*)
9723   libname_spec='$name'
9724   shrext_cmds=".dll"
9725   need_lib_prefix=no
9726   library_names_spec='$libname${shared_ext} $libname.a'
9727   dynamic_linker='OS/2 ld.exe'
9728   shlibpath_var=LIBPATH
9729   ;;
9730
9731 osf3* | osf4* | osf5*)
9732   version_type=osf
9733   need_lib_prefix=no
9734   need_version=no
9735   soname_spec='${libname}${release}${shared_ext}$major'
9736   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9737   shlibpath_var=LD_LIBRARY_PATH
9738   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9739   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9740   ;;
9741
9742 rdos*)
9743   dynamic_linker=no
9744   ;;
9745
9746 solaris*)
9747   version_type=linux
9748   need_lib_prefix=no
9749   need_version=no
9750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9751   soname_spec='${libname}${release}${shared_ext}$major'
9752   shlibpath_var=LD_LIBRARY_PATH
9753   shlibpath_overrides_runpath=yes
9754   hardcode_into_libs=yes
9755   # ldd complains unless libraries are executable
9756   postinstall_cmds='chmod +x $lib'
9757   ;;
9758
9759 sunos4*)
9760   version_type=sunos
9761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9762   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9763   shlibpath_var=LD_LIBRARY_PATH
9764   shlibpath_overrides_runpath=yes
9765   if test "$with_gnu_ld" = yes; then
9766     need_lib_prefix=no
9767   fi
9768   need_version=yes
9769   ;;
9770
9771 sysv4 | sysv4.3*)
9772   version_type=linux
9773   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9774   soname_spec='${libname}${release}${shared_ext}$major'
9775   shlibpath_var=LD_LIBRARY_PATH
9776   case $host_vendor in
9777     sni)
9778       shlibpath_overrides_runpath=no
9779       need_lib_prefix=no
9780       runpath_var=LD_RUN_PATH
9781       ;;
9782     siemens)
9783       need_lib_prefix=no
9784       ;;
9785     motorola)
9786       need_lib_prefix=no
9787       need_version=no
9788       shlibpath_overrides_runpath=no
9789       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9790       ;;
9791   esac
9792   ;;
9793
9794 sysv4*MP*)
9795   if test -d /usr/nec ;then
9796     version_type=linux
9797     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9798     soname_spec='$libname${shared_ext}.$major'
9799     shlibpath_var=LD_LIBRARY_PATH
9800   fi
9801   ;;
9802
9803 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9804   version_type=freebsd-elf
9805   need_lib_prefix=no
9806   need_version=no
9807   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9808   soname_spec='${libname}${release}${shared_ext}$major'
9809   shlibpath_var=LD_LIBRARY_PATH
9810   shlibpath_overrides_runpath=yes
9811   hardcode_into_libs=yes
9812   if test "$with_gnu_ld" = yes; then
9813     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9814   else
9815     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9816     case $host_os in
9817       sco3.2v5*)
9818         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9819         ;;
9820     esac
9821   fi
9822   sys_lib_dlsearch_path_spec='/usr/lib'
9823   ;;
9824
9825 tpf*)
9826   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9827   version_type=linux
9828   need_lib_prefix=no
9829   need_version=no
9830   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9831   shlibpath_var=LD_LIBRARY_PATH
9832   shlibpath_overrides_runpath=no
9833   hardcode_into_libs=yes
9834   ;;
9835
9836 uts4*)
9837   version_type=linux
9838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9839   soname_spec='${libname}${release}${shared_ext}$major'
9840   shlibpath_var=LD_LIBRARY_PATH
9841   ;;
9842
9843 *)
9844   dynamic_linker=no
9845   ;;
9846 esac
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9848 $as_echo "$dynamic_linker" >&6; }
9849 test "$dynamic_linker" = no && can_build_shared=no
9850
9851 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9852 if test "$GCC" = yes; then
9853   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9854 fi
9855
9856 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9857   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9858 fi
9859 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9860   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9861 fi
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9950 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9951 hardcode_action=
9952 if test -n "$hardcode_libdir_flag_spec" ||
9953    test -n "$runpath_var" ||
9954    test "X$hardcode_automatic" = "Xyes" ; then
9955
9956   # We can hardcode non-existent directories.
9957   if test "$hardcode_direct" != no &&
9958      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9959      # have to relink, otherwise we might link with an installed library
9960      # when we should be linking with a yet-to-be-installed one
9961      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9962      test "$hardcode_minus_L" != no; then
9963     # Linking always hardcodes the temporary library directory.
9964     hardcode_action=relink
9965   else
9966     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9967     hardcode_action=immediate
9968   fi
9969 else
9970   # We cannot hardcode anything, or else we can only hardcode existing
9971   # directories.
9972   hardcode_action=unsupported
9973 fi
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9975 $as_echo "$hardcode_action" >&6; }
9976
9977 if test "$hardcode_action" = relink ||
9978    test "$inherit_rpath" = yes; then
9979   # Fast installation is not supported
9980   enable_fast_install=no
9981 elif test "$shlibpath_overrides_runpath" = yes ||
9982      test "$enable_shared" = no; then
9983   # Fast installation is not necessary
9984   enable_fast_install=needless
9985 fi
9986
9987
9988
9989
9990
9991
9992   if test "x$enable_dlopen" != xyes; then
9993   enable_dlopen=unknown
9994   enable_dlopen_self=unknown
9995   enable_dlopen_self_static=unknown
9996 else
9997   lt_cv_dlopen=no
9998   lt_cv_dlopen_libs=
9999
10000   case $host_os in
10001   beos*)
10002     lt_cv_dlopen="load_add_on"
10003     lt_cv_dlopen_libs=
10004     lt_cv_dlopen_self=yes
10005     ;;
10006
10007   mingw* | pw32* | cegcc*)
10008     lt_cv_dlopen="LoadLibrary"
10009     lt_cv_dlopen_libs=
10010     ;;
10011
10012   cygwin*)
10013     lt_cv_dlopen="dlopen"
10014     lt_cv_dlopen_libs=
10015     ;;
10016
10017   darwin*)
10018   # if libdl is installed we need to link against it
10019     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10020 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10021 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10022   $as_echo_n "(cached) " >&6
10023 else
10024   ac_check_lib_save_LIBS=$LIBS
10025 LIBS="-ldl  $LIBS"
10026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h.  */
10028
10029 /* Override any GCC internal prototype to avoid an error.
10030    Use char because int might match the return type of a GCC
10031    builtin and then its argument prototype would still apply.  */
10032 #ifdef __cplusplus
10033 extern "C"
10034 #endif
10035 char dlopen ();
10036 int
10037 main ()
10038 {
10039 return dlopen ();
10040   ;
10041   return 0;
10042 }
10043 _ACEOF
10044 if ac_fn_c_try_link "$LINENO"; then :
10045   ac_cv_lib_dl_dlopen=yes
10046 else
10047   ac_cv_lib_dl_dlopen=no
10048 fi
10049 rm -f core conftest.err conftest.$ac_objext \
10050     conftest$ac_exeext conftest.$ac_ext
10051 LIBS=$ac_check_lib_save_LIBS
10052 fi
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10054 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10055 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10056   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10057 else
10058
10059     lt_cv_dlopen="dyld"
10060     lt_cv_dlopen_libs=
10061     lt_cv_dlopen_self=yes
10062
10063 fi
10064
10065     ;;
10066
10067   *)
10068     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10069 if test "x$ac_cv_func_shl_load" = x""yes; then :
10070   lt_cv_dlopen="shl_load"
10071 else
10072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10073 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10074 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10075   $as_echo_n "(cached) " >&6
10076 else
10077   ac_check_lib_save_LIBS=$LIBS
10078 LIBS="-ldld  $LIBS"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h.  */
10081
10082 /* Override any GCC internal prototype to avoid an error.
10083    Use char because int might match the return type of a GCC
10084    builtin and then its argument prototype would still apply.  */
10085 #ifdef __cplusplus
10086 extern "C"
10087 #endif
10088 char shl_load ();
10089 int
10090 main ()
10091 {
10092 return shl_load ();
10093   ;
10094   return 0;
10095 }
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"; then :
10098   ac_cv_lib_dld_shl_load=yes
10099 else
10100   ac_cv_lib_dld_shl_load=no
10101 fi
10102 rm -f core conftest.err conftest.$ac_objext \
10103     conftest$ac_exeext conftest.$ac_ext
10104 LIBS=$ac_check_lib_save_LIBS
10105 fi
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10107 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10108 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10109   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10110 else
10111   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10112 if test "x$ac_cv_func_dlopen" = x""yes; then :
10113   lt_cv_dlopen="dlopen"
10114 else
10115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10116 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10117 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10118   $as_echo_n "(cached) " >&6
10119 else
10120   ac_check_lib_save_LIBS=$LIBS
10121 LIBS="-ldl  $LIBS"
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h.  */
10124
10125 /* Override any GCC internal prototype to avoid an error.
10126    Use char because int might match the return type of a GCC
10127    builtin and then its argument prototype would still apply.  */
10128 #ifdef __cplusplus
10129 extern "C"
10130 #endif
10131 char dlopen ();
10132 int
10133 main ()
10134 {
10135 return dlopen ();
10136   ;
10137   return 0;
10138 }
10139 _ACEOF
10140 if ac_fn_c_try_link "$LINENO"; then :
10141   ac_cv_lib_dl_dlopen=yes
10142 else
10143   ac_cv_lib_dl_dlopen=no
10144 fi
10145 rm -f core conftest.err conftest.$ac_objext \
10146     conftest$ac_exeext conftest.$ac_ext
10147 LIBS=$ac_check_lib_save_LIBS
10148 fi
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10150 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10151 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10152   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10153 else
10154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10155 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10156 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10157   $as_echo_n "(cached) " >&6
10158 else
10159   ac_check_lib_save_LIBS=$LIBS
10160 LIBS="-lsvld  $LIBS"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h.  */
10163
10164 /* Override any GCC internal prototype to avoid an error.
10165    Use char because int might match the return type of a GCC
10166    builtin and then its argument prototype would still apply.  */
10167 #ifdef __cplusplus
10168 extern "C"
10169 #endif
10170 char dlopen ();
10171 int
10172 main ()
10173 {
10174 return dlopen ();
10175   ;
10176   return 0;
10177 }
10178 _ACEOF
10179 if ac_fn_c_try_link "$LINENO"; then :
10180   ac_cv_lib_svld_dlopen=yes
10181 else
10182   ac_cv_lib_svld_dlopen=no
10183 fi
10184 rm -f core conftest.err conftest.$ac_objext \
10185     conftest$ac_exeext conftest.$ac_ext
10186 LIBS=$ac_check_lib_save_LIBS
10187 fi
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10189 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10190 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10191   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10192 else
10193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10194 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10195 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10196   $as_echo_n "(cached) " >&6
10197 else
10198   ac_check_lib_save_LIBS=$LIBS
10199 LIBS="-ldld  $LIBS"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h.  */
10202
10203 /* Override any GCC internal prototype to avoid an error.
10204    Use char because int might match the return type of a GCC
10205    builtin and then its argument prototype would still apply.  */
10206 #ifdef __cplusplus
10207 extern "C"
10208 #endif
10209 char dld_link ();
10210 int
10211 main ()
10212 {
10213 return dld_link ();
10214   ;
10215   return 0;
10216 }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"; then :
10219   ac_cv_lib_dld_dld_link=yes
10220 else
10221   ac_cv_lib_dld_dld_link=no
10222 fi
10223 rm -f core conftest.err conftest.$ac_objext \
10224     conftest$ac_exeext conftest.$ac_ext
10225 LIBS=$ac_check_lib_save_LIBS
10226 fi
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10228 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10229 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10230   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10231 fi
10232
10233
10234 fi
10235
10236
10237 fi
10238
10239
10240 fi
10241
10242
10243 fi
10244
10245
10246 fi
10247
10248     ;;
10249   esac
10250
10251   if test "x$lt_cv_dlopen" != xno; then
10252     enable_dlopen=yes
10253   else
10254     enable_dlopen=no
10255   fi
10256
10257   case $lt_cv_dlopen in
10258   dlopen)
10259     save_CPPFLAGS="$CPPFLAGS"
10260     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10261
10262     save_LDFLAGS="$LDFLAGS"
10263     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10264
10265     save_LIBS="$LIBS"
10266     LIBS="$lt_cv_dlopen_libs $LIBS"
10267
10268     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10269 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10270 if test "${lt_cv_dlopen_self+set}" = set; then :
10271   $as_echo_n "(cached) " >&6
10272 else
10273           if test "$cross_compiling" = yes; then :
10274   lt_cv_dlopen_self=cross
10275 else
10276   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10277   lt_status=$lt_dlunknown
10278   cat > conftest.$ac_ext <<_LT_EOF
10279 #line 10279 "configure"
10280 #include "confdefs.h"
10281
10282 #if HAVE_DLFCN_H
10283 #include <dlfcn.h>
10284 #endif
10285
10286 #include <stdio.h>
10287
10288 #ifdef RTLD_GLOBAL
10289 #  define LT_DLGLOBAL           RTLD_GLOBAL
10290 #else
10291 #  ifdef DL_GLOBAL
10292 #    define LT_DLGLOBAL         DL_GLOBAL
10293 #  else
10294 #    define LT_DLGLOBAL         0
10295 #  endif
10296 #endif
10297
10298 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10299    find out it does not work in some platform. */
10300 #ifndef LT_DLLAZY_OR_NOW
10301 #  ifdef RTLD_LAZY
10302 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10303 #  else
10304 #    ifdef DL_LAZY
10305 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10306 #    else
10307 #      ifdef RTLD_NOW
10308 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10309 #      else
10310 #        ifdef DL_NOW
10311 #          define LT_DLLAZY_OR_NOW      DL_NOW
10312 #        else
10313 #          define LT_DLLAZY_OR_NOW      0
10314 #        endif
10315 #      endif
10316 #    endif
10317 #  endif
10318 #endif
10319
10320 void fnord() { int i=42;}
10321 int main ()
10322 {
10323   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10324   int status = $lt_dlunknown;
10325
10326   if (self)
10327     {
10328       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10329       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10330       /* dlclose (self); */
10331     }
10332   else
10333     puts (dlerror ());
10334
10335   return status;
10336 }
10337 _LT_EOF
10338   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10339   (eval $ac_link) 2>&5
10340   ac_status=$?
10341   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10342   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10343     (./conftest; exit; ) >&5 2>/dev/null
10344     lt_status=$?
10345     case x$lt_status in
10346       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10347       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10348       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10349     esac
10350   else :
10351     # compilation failed
10352     lt_cv_dlopen_self=no
10353   fi
10354 fi
10355 rm -fr conftest*
10356
10357
10358 fi
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10360 $as_echo "$lt_cv_dlopen_self" >&6; }
10361
10362     if test "x$lt_cv_dlopen_self" = xyes; then
10363       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10364       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10365 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10366 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10367   $as_echo_n "(cached) " >&6
10368 else
10369           if test "$cross_compiling" = yes; then :
10370   lt_cv_dlopen_self_static=cross
10371 else
10372   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10373   lt_status=$lt_dlunknown
10374   cat > conftest.$ac_ext <<_LT_EOF
10375 #line 10375 "configure"
10376 #include "confdefs.h"
10377
10378 #if HAVE_DLFCN_H
10379 #include <dlfcn.h>
10380 #endif
10381
10382 #include <stdio.h>
10383
10384 #ifdef RTLD_GLOBAL
10385 #  define LT_DLGLOBAL           RTLD_GLOBAL
10386 #else
10387 #  ifdef DL_GLOBAL
10388 #    define LT_DLGLOBAL         DL_GLOBAL
10389 #  else
10390 #    define LT_DLGLOBAL         0
10391 #  endif
10392 #endif
10393
10394 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10395    find out it does not work in some platform. */
10396 #ifndef LT_DLLAZY_OR_NOW
10397 #  ifdef RTLD_LAZY
10398 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10399 #  else
10400 #    ifdef DL_LAZY
10401 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10402 #    else
10403 #      ifdef RTLD_NOW
10404 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10405 #      else
10406 #        ifdef DL_NOW
10407 #          define LT_DLLAZY_OR_NOW      DL_NOW
10408 #        else
10409 #          define LT_DLLAZY_OR_NOW      0
10410 #        endif
10411 #      endif
10412 #    endif
10413 #  endif
10414 #endif
10415
10416 void fnord() { int i=42;}
10417 int main ()
10418 {
10419   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10420   int status = $lt_dlunknown;
10421
10422   if (self)
10423     {
10424       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10425       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10426       /* dlclose (self); */
10427     }
10428   else
10429     puts (dlerror ());
10430
10431   return status;
10432 }
10433 _LT_EOF
10434   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10435   (eval $ac_link) 2>&5
10436   ac_status=$?
10437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10438   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10439     (./conftest; exit; ) >&5 2>/dev/null
10440     lt_status=$?
10441     case x$lt_status in
10442       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10443       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10444       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10445     esac
10446   else :
10447     # compilation failed
10448     lt_cv_dlopen_self_static=no
10449   fi
10450 fi
10451 rm -fr conftest*
10452
10453
10454 fi
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10456 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10457     fi
10458
10459     CPPFLAGS="$save_CPPFLAGS"
10460     LDFLAGS="$save_LDFLAGS"
10461     LIBS="$save_LIBS"
10462     ;;
10463   esac
10464
10465   case $lt_cv_dlopen_self in
10466   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10467   *) enable_dlopen_self=unknown ;;
10468   esac
10469
10470   case $lt_cv_dlopen_self_static in
10471   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10472   *) enable_dlopen_self_static=unknown ;;
10473   esac
10474 fi
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492 striplib=
10493 old_striplib=
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10495 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10496 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10497   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10498   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10500 $as_echo "yes" >&6; }
10501 else
10502 # FIXME - insert some real tests, host_os isn't really good enough
10503   case $host_os in
10504   darwin*)
10505     if test -n "$STRIP" ; then
10506       striplib="$STRIP -x"
10507       old_striplib="$STRIP -S"
10508       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10509 $as_echo "yes" >&6; }
10510     else
10511       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 $as_echo "no" >&6; }
10513     fi
10514     ;;
10515   *)
10516     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 $as_echo "no" >&6; }
10518     ;;
10519   esac
10520 fi
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533   # Report which library types will actually be built
10534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10535 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10537 $as_echo "$can_build_shared" >&6; }
10538
10539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10540 $as_echo_n "checking whether to build shared libraries... " >&6; }
10541   test "$can_build_shared" = "no" && enable_shared=no
10542
10543   # On AIX, shared libraries and static libraries use the same namespace, and
10544   # are all built from PIC.
10545   case $host_os in
10546   aix3*)
10547     test "$enable_shared" = yes && enable_static=no
10548     if test -n "$RANLIB"; then
10549       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10550       postinstall_cmds='$RANLIB $lib'
10551     fi
10552     ;;
10553
10554   aix[4-9]*)
10555     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10556       test "$enable_shared" = yes && enable_static=no
10557     fi
10558     ;;
10559   esac
10560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10561 $as_echo "$enable_shared" >&6; }
10562
10563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10564 $as_echo_n "checking whether to build static libraries... " >&6; }
10565   # Make sure either enable_shared or enable_static is yes.
10566   test "$enable_shared" = yes || enable_static=yes
10567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10568 $as_echo "$enable_static" >&6; }
10569
10570
10571
10572
10573 fi
10574 ac_ext=c
10575 ac_cpp='$CPP $CPPFLAGS'
10576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10579
10580 CC="$lt_save_CC"
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594         ac_config_commands="$ac_config_commands libtool"
10595
10596
10597
10598
10599 # Only expand once:
10600
10601
10602
10603 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10604 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10605
10606
10607
10608 cat >>confdefs.h <<_ACEOF
10609 #define VMAJ 1
10610 _ACEOF
10611
10612
10613 cat >>confdefs.h <<_ACEOF
10614 #define VMIN 7
10615 _ACEOF
10616
10617
10618 cat >>confdefs.h <<_ACEOF
10619 #define VMIC 1
10620 _ACEOF
10621
10622
10623 cat >>confdefs.h <<_ACEOF
10624 #define VREV 0
10625 _ACEOF
10626
10627 version_info="8:1:7"
10628 release_info=""
10629
10630
10631 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10632 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10633 VMAJ=1
10634
10635
10636 ### Needed information
10637
10638
10639
10640
10641 requirement_eeze="ecore >= 1.6.99 eina >= 1.6.99 libudev"
10642
10643
10644 ### Checks for programs
10645 ac_ext=c
10646 ac_cpp='$CPP $CPPFLAGS'
10647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10650 if test -n "$ac_tool_prefix"; then
10651   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10652 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10654 $as_echo_n "checking for $ac_word... " >&6; }
10655 if test "${ac_cv_prog_CC+set}" = set; then :
10656   $as_echo_n "(cached) " >&6
10657 else
10658   if test -n "$CC"; then
10659   ac_cv_prog_CC="$CC" # Let the user override the test.
10660 else
10661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10662 for as_dir in $PATH
10663 do
10664   IFS=$as_save_IFS
10665   test -z "$as_dir" && as_dir=.
10666     for ac_exec_ext in '' $ac_executable_extensions; do
10667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10668     ac_cv_prog_CC="${ac_tool_prefix}gcc"
10669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10670     break 2
10671   fi
10672 done
10673   done
10674 IFS=$as_save_IFS
10675
10676 fi
10677 fi
10678 CC=$ac_cv_prog_CC
10679 if test -n "$CC"; then
10680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10681 $as_echo "$CC" >&6; }
10682 else
10683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10684 $as_echo "no" >&6; }
10685 fi
10686
10687
10688 fi
10689 if test -z "$ac_cv_prog_CC"; then
10690   ac_ct_CC=$CC
10691   # Extract the first word of "gcc", so it can be a program name with args.
10692 set dummy gcc; ac_word=$2
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10694 $as_echo_n "checking for $ac_word... " >&6; }
10695 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10696   $as_echo_n "(cached) " >&6
10697 else
10698   if test -n "$ac_ct_CC"; then
10699   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10700 else
10701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10702 for as_dir in $PATH
10703 do
10704   IFS=$as_save_IFS
10705   test -z "$as_dir" && as_dir=.
10706     for ac_exec_ext in '' $ac_executable_extensions; do
10707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10708     ac_cv_prog_ac_ct_CC="gcc"
10709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10710     break 2
10711   fi
10712 done
10713   done
10714 IFS=$as_save_IFS
10715
10716 fi
10717 fi
10718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10719 if test -n "$ac_ct_CC"; then
10720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10721 $as_echo "$ac_ct_CC" >&6; }
10722 else
10723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10724 $as_echo "no" >&6; }
10725 fi
10726
10727   if test "x$ac_ct_CC" = x; then
10728     CC=""
10729   else
10730     case $cross_compiling:$ac_tool_warned in
10731 yes:)
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10734 ac_tool_warned=yes ;;
10735 esac
10736     CC=$ac_ct_CC
10737   fi
10738 else
10739   CC="$ac_cv_prog_CC"
10740 fi
10741
10742 if test -z "$CC"; then
10743           if test -n "$ac_tool_prefix"; then
10744     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10745 set dummy ${ac_tool_prefix}cc; ac_word=$2
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10747 $as_echo_n "checking for $ac_word... " >&6; }
10748 if test "${ac_cv_prog_CC+set}" = set; then :
10749   $as_echo_n "(cached) " >&6
10750 else
10751   if test -n "$CC"; then
10752   ac_cv_prog_CC="$CC" # Let the user override the test.
10753 else
10754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10755 for as_dir in $PATH
10756 do
10757   IFS=$as_save_IFS
10758   test -z "$as_dir" && as_dir=.
10759     for ac_exec_ext in '' $ac_executable_extensions; do
10760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10761     ac_cv_prog_CC="${ac_tool_prefix}cc"
10762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10763     break 2
10764   fi
10765 done
10766   done
10767 IFS=$as_save_IFS
10768
10769 fi
10770 fi
10771 CC=$ac_cv_prog_CC
10772 if test -n "$CC"; then
10773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10774 $as_echo "$CC" >&6; }
10775 else
10776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10777 $as_echo "no" >&6; }
10778 fi
10779
10780
10781   fi
10782 fi
10783 if test -z "$CC"; then
10784   # Extract the first word of "cc", so it can be a program name with args.
10785 set dummy cc; ac_word=$2
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10787 $as_echo_n "checking for $ac_word... " >&6; }
10788 if test "${ac_cv_prog_CC+set}" = set; then :
10789   $as_echo_n "(cached) " >&6
10790 else
10791   if test -n "$CC"; then
10792   ac_cv_prog_CC="$CC" # Let the user override the test.
10793 else
10794   ac_prog_rejected=no
10795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10796 for as_dir in $PATH
10797 do
10798   IFS=$as_save_IFS
10799   test -z "$as_dir" && as_dir=.
10800     for ac_exec_ext in '' $ac_executable_extensions; do
10801   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10802     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10803        ac_prog_rejected=yes
10804        continue
10805      fi
10806     ac_cv_prog_CC="cc"
10807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10808     break 2
10809   fi
10810 done
10811   done
10812 IFS=$as_save_IFS
10813
10814 if test $ac_prog_rejected = yes; then
10815   # We found a bogon in the path, so make sure we never use it.
10816   set dummy $ac_cv_prog_CC
10817   shift
10818   if test $# != 0; then
10819     # We chose a different compiler from the bogus one.
10820     # However, it has the same basename, so the bogon will be chosen
10821     # first if we set CC to just the basename; use the full file name.
10822     shift
10823     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10824   fi
10825 fi
10826 fi
10827 fi
10828 CC=$ac_cv_prog_CC
10829 if test -n "$CC"; then
10830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10831 $as_echo "$CC" >&6; }
10832 else
10833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10834 $as_echo "no" >&6; }
10835 fi
10836
10837
10838 fi
10839 if test -z "$CC"; then
10840   if test -n "$ac_tool_prefix"; then
10841   for ac_prog in cl.exe
10842   do
10843     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10844 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10846 $as_echo_n "checking for $ac_word... " >&6; }
10847 if test "${ac_cv_prog_CC+set}" = set; then :
10848   $as_echo_n "(cached) " >&6
10849 else
10850   if test -n "$CC"; then
10851   ac_cv_prog_CC="$CC" # Let the user override the test.
10852 else
10853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10854 for as_dir in $PATH
10855 do
10856   IFS=$as_save_IFS
10857   test -z "$as_dir" && as_dir=.
10858     for ac_exec_ext in '' $ac_executable_extensions; do
10859   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10860     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10862     break 2
10863   fi
10864 done
10865   done
10866 IFS=$as_save_IFS
10867
10868 fi
10869 fi
10870 CC=$ac_cv_prog_CC
10871 if test -n "$CC"; then
10872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10873 $as_echo "$CC" >&6; }
10874 else
10875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10876 $as_echo "no" >&6; }
10877 fi
10878
10879
10880     test -n "$CC" && break
10881   done
10882 fi
10883 if test -z "$CC"; then
10884   ac_ct_CC=$CC
10885   for ac_prog in cl.exe
10886 do
10887   # Extract the first word of "$ac_prog", so it can be a program name with args.
10888 set dummy $ac_prog; ac_word=$2
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10890 $as_echo_n "checking for $ac_word... " >&6; }
10891 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10892   $as_echo_n "(cached) " >&6
10893 else
10894   if test -n "$ac_ct_CC"; then
10895   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10896 else
10897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10898 for as_dir in $PATH
10899 do
10900   IFS=$as_save_IFS
10901   test -z "$as_dir" && as_dir=.
10902     for ac_exec_ext in '' $ac_executable_extensions; do
10903   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10904     ac_cv_prog_ac_ct_CC="$ac_prog"
10905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10906     break 2
10907   fi
10908 done
10909   done
10910 IFS=$as_save_IFS
10911
10912 fi
10913 fi
10914 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10915 if test -n "$ac_ct_CC"; then
10916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10917 $as_echo "$ac_ct_CC" >&6; }
10918 else
10919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10920 $as_echo "no" >&6; }
10921 fi
10922
10923
10924   test -n "$ac_ct_CC" && break
10925 done
10926
10927   if test "x$ac_ct_CC" = x; then
10928     CC=""
10929   else
10930     case $cross_compiling:$ac_tool_warned in
10931 yes:)
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10934 ac_tool_warned=yes ;;
10935 esac
10936     CC=$ac_ct_CC
10937   fi
10938 fi
10939
10940 fi
10941
10942
10943 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10945 as_fn_error $? "no acceptable C compiler found in \$PATH
10946 See \`config.log' for more details" "$LINENO" 5 ; }
10947
10948 # Provide some information about the compiler.
10949 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10950 set X $ac_compile
10951 ac_compiler=$2
10952 for ac_option in --version -v -V -qversion; do
10953   { { ac_try="$ac_compiler $ac_option >&5"
10954 case "(($ac_try" in
10955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10956   *) ac_try_echo=$ac_try;;
10957 esac
10958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10959 $as_echo "$ac_try_echo"; } >&5
10960   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10961   ac_status=$?
10962   if test -s conftest.err; then
10963     sed '10a\
10964 ... rest of stderr output deleted ...
10965          10q' conftest.err >conftest.er1
10966     cat conftest.er1 >&5
10967   fi
10968   rm -f conftest.er1 conftest.err
10969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10970   test $ac_status = 0; }
10971 done
10972
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10974 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10975 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
10976   $as_echo_n "(cached) " >&6
10977 else
10978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h.  */
10980
10981 int
10982 main ()
10983 {
10984 #ifndef __GNUC__
10985        choke me
10986 #endif
10987
10988   ;
10989   return 0;
10990 }
10991 _ACEOF
10992 if ac_fn_c_try_compile "$LINENO"; then :
10993   ac_compiler_gnu=yes
10994 else
10995   ac_compiler_gnu=no
10996 fi
10997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10998 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10999
11000 fi
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11002 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11003 if test $ac_compiler_gnu = yes; then
11004   GCC=yes
11005 else
11006   GCC=
11007 fi
11008 ac_test_CFLAGS=${CFLAGS+set}
11009 ac_save_CFLAGS=$CFLAGS
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11011 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11012 if test "${ac_cv_prog_cc_g+set}" = set; then :
11013   $as_echo_n "(cached) " >&6
11014 else
11015   ac_save_c_werror_flag=$ac_c_werror_flag
11016    ac_c_werror_flag=yes
11017    ac_cv_prog_cc_g=no
11018    CFLAGS="-g"
11019    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h.  */
11021
11022 int
11023 main ()
11024 {
11025
11026   ;
11027   return 0;
11028 }
11029 _ACEOF
11030 if ac_fn_c_try_compile "$LINENO"; then :
11031   ac_cv_prog_cc_g=yes
11032 else
11033   CFLAGS=""
11034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h.  */
11036
11037 int
11038 main ()
11039 {
11040
11041   ;
11042   return 0;
11043 }
11044 _ACEOF
11045 if ac_fn_c_try_compile "$LINENO"; then :
11046
11047 else
11048   ac_c_werror_flag=$ac_save_c_werror_flag
11049          CFLAGS="-g"
11050          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h.  */
11052
11053 int
11054 main ()
11055 {
11056
11057   ;
11058   return 0;
11059 }
11060 _ACEOF
11061 if ac_fn_c_try_compile "$LINENO"; then :
11062   ac_cv_prog_cc_g=yes
11063 fi
11064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11065 fi
11066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11067 fi
11068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11069    ac_c_werror_flag=$ac_save_c_werror_flag
11070 fi
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11072 $as_echo "$ac_cv_prog_cc_g" >&6; }
11073 if test "$ac_test_CFLAGS" = set; then
11074   CFLAGS=$ac_save_CFLAGS
11075 elif test $ac_cv_prog_cc_g = yes; then
11076   if test "$GCC" = yes; then
11077     CFLAGS="-g -O2"
11078   else
11079     CFLAGS="-g"
11080   fi
11081 else
11082   if test "$GCC" = yes; then
11083     CFLAGS="-O2"
11084   else
11085     CFLAGS=
11086   fi
11087 fi
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11089 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11090 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11091   $as_echo_n "(cached) " >&6
11092 else
11093   ac_cv_prog_cc_c89=no
11094 ac_save_CC=$CC
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h.  */
11097 #include <stdarg.h>
11098 #include <stdio.h>
11099 #include <sys/types.h>
11100 #include <sys/stat.h>
11101 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11102 struct buf { int x; };
11103 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11104 static char *e (p, i)
11105      char **p;
11106      int i;
11107 {
11108   return p[i];
11109 }
11110 static char *f (char * (*g) (char **, int), char **p, ...)
11111 {
11112   char *s;
11113   va_list v;
11114   va_start (v,p);
11115   s = g (p, va_arg (v,int));
11116   va_end (v);
11117   return s;
11118 }
11119
11120 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11121    function prototypes and stuff, but not '\xHH' hex character constants.
11122    These don't provoke an error unfortunately, instead are silently treated
11123    as 'x'.  The following induces an error, until -std is added to get
11124    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11125    array size at least.  It's necessary to write '\x00'==0 to get something
11126    that's true only with -std.  */
11127 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11128
11129 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11130    inside strings and character constants.  */
11131 #define FOO(x) 'x'
11132 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11133
11134 int test (int i, double x);
11135 struct s1 {int (*f) (int a);};
11136 struct s2 {int (*f) (double a);};
11137 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11138 int argc;
11139 char **argv;
11140 int
11141 main ()
11142 {
11143 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11144   ;
11145   return 0;
11146 }
11147 _ACEOF
11148 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11149         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11150 do
11151   CC="$ac_save_CC $ac_arg"
11152   if ac_fn_c_try_compile "$LINENO"; then :
11153   ac_cv_prog_cc_c89=$ac_arg
11154 fi
11155 rm -f core conftest.err conftest.$ac_objext
11156   test "x$ac_cv_prog_cc_c89" != "xno" && break
11157 done
11158 rm -f conftest.$ac_ext
11159 CC=$ac_save_CC
11160
11161 fi
11162 # AC_CACHE_VAL
11163 case "x$ac_cv_prog_cc_c89" in
11164   x)
11165     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11166 $as_echo "none needed" >&6; } ;;
11167   xno)
11168     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11169 $as_echo "unsupported" >&6; } ;;
11170   *)
11171     CC="$CC $ac_cv_prog_cc_c89"
11172     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11173 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11174 esac
11175 if test "x$ac_cv_prog_cc_c89" != xno; then :
11176
11177 fi
11178
11179 ac_ext=c
11180 ac_cpp='$CPP $CPPFLAGS'
11181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11184
11185 depcc="$CC"   am_compiler_list=
11186
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11188 $as_echo_n "checking dependency style of $depcc... " >&6; }
11189 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11190   $as_echo_n "(cached) " >&6
11191 else
11192   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11193   # We make a subdir and do the tests there.  Otherwise we can end up
11194   # making bogus files that we don't know about and never remove.  For
11195   # instance it was reported that on HP-UX the gcc test will end up
11196   # making a dummy file named `D' -- because `-MD' means `put the output
11197   # in D'.
11198   mkdir conftest.dir
11199   # Copy depcomp to subdir because otherwise we won't find it if we're
11200   # using a relative directory.
11201   cp "$am_depcomp" conftest.dir
11202   cd conftest.dir
11203   # We will build objects and dependencies in a subdirectory because
11204   # it helps to detect inapplicable dependency modes.  For instance
11205   # both Tru64's cc and ICC support -MD to output dependencies as a
11206   # side effect of compilation, but ICC will put the dependencies in
11207   # the current directory while Tru64 will put them in the object
11208   # directory.
11209   mkdir sub
11210
11211   am_cv_CC_dependencies_compiler_type=none
11212   if test "$am_compiler_list" = ""; then
11213      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11214   fi
11215   am__universal=false
11216   case " $depcc " in #(
11217      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11218      esac
11219
11220   for depmode in $am_compiler_list; do
11221     # Setup a source with many dependencies, because some compilers
11222     # like to wrap large dependency lists on column 80 (with \), and
11223     # we should not choose a depcomp mode which is confused by this.
11224     #
11225     # We need to recreate these files for each test, as the compiler may
11226     # overwrite some of them when testing with obscure command lines.
11227     # This happens at least with the AIX C compiler.
11228     : > sub/conftest.c
11229     for i in 1 2 3 4 5 6; do
11230       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11231       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11232       # Solaris 8's {/usr,}/bin/sh.
11233       touch sub/conftst$i.h
11234     done
11235     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11236
11237     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11238     # mode.  It turns out that the SunPro C++ compiler does not properly
11239     # handle `-M -o', and we need to detect this.  Also, some Intel
11240     # versions had trouble with output in subdirs
11241     am__obj=sub/conftest.${OBJEXT-o}
11242     am__minus_obj="-o $am__obj"
11243     case $depmode in
11244     gcc)
11245       # This depmode causes a compiler race in universal mode.
11246       test "$am__universal" = false || continue
11247       ;;
11248     nosideeffect)
11249       # after this tag, mechanisms are not by side-effect, so they'll
11250       # only be used when explicitly requested
11251       if test "x$enable_dependency_tracking" = xyes; then
11252         continue
11253       else
11254         break
11255       fi
11256       ;;
11257     msvisualcpp | msvcmsys)
11258       # This compiler won't grok `-c -o', but also, the minuso test has
11259       # not run yet.  These depmodes are late enough in the game, and
11260       # so weak that their functioning should not be impacted.
11261       am__obj=conftest.${OBJEXT-o}
11262       am__minus_obj=
11263       ;;
11264     none) break ;;
11265     esac
11266     if depmode=$depmode \
11267        source=sub/conftest.c object=$am__obj \
11268        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11269        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11270          >/dev/null 2>conftest.err &&
11271        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11272        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11273        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11274        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11275       # icc doesn't choke on unknown options, it will just issue warnings
11276       # or remarks (even with -Werror).  So we grep stderr for any message
11277       # that says an option was ignored or not supported.
11278       # When given -MP, icc 7.0 and 7.1 complain thusly:
11279       #   icc: Command line warning: ignoring option '-M'; no argument required
11280       # The diagnosis changed in icc 8.0:
11281       #   icc: Command line remark: option '-MP' not supported
11282       if (grep 'ignoring option' conftest.err ||
11283           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11284         am_cv_CC_dependencies_compiler_type=$depmode
11285         break
11286       fi
11287     fi
11288   done
11289
11290   cd ..
11291   rm -rf conftest.dir
11292 else
11293   am_cv_CC_dependencies_compiler_type=none
11294 fi
11295
11296 fi
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11298 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11299 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11300
11301  if
11302   test "x$enable_dependency_tracking" != xno \
11303   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11304   am__fastdepCC_TRUE=
11305   am__fastdepCC_FALSE='#'
11306 else
11307   am__fastdepCC_TRUE='#'
11308   am__fastdepCC_FALSE=
11309 fi
11310
11311
11312 if test "x$CC" != xcc; then
11313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11314 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11315 else
11316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11317 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11318 fi
11319 set dummy $CC; ac_cc=`$as_echo "$2" |
11320                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11321 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
11322   $as_echo_n "(cached) " >&6
11323 else
11324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h.  */
11326
11327 int
11328 main ()
11329 {
11330
11331   ;
11332   return 0;
11333 }
11334 _ACEOF
11335 # Make sure it works both with $CC and with simple cc.
11336 # We do the test twice because some compilers refuse to overwrite an
11337 # existing .o file with -o, though they will create one.
11338 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11339 rm -f conftest2.*
11340 if { { case "(($ac_try" in
11341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11342   *) ac_try_echo=$ac_try;;
11343 esac
11344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11345 $as_echo "$ac_try_echo"; } >&5
11346   (eval "$ac_try") 2>&5
11347   ac_status=$?
11348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11349   test $ac_status = 0; } &&
11350    test -f conftest2.$ac_objext && { { case "(($ac_try" in
11351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11352   *) ac_try_echo=$ac_try;;
11353 esac
11354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11355 $as_echo "$ac_try_echo"; } >&5
11356   (eval "$ac_try") 2>&5
11357   ac_status=$?
11358   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11359   test $ac_status = 0; };
11360 then
11361   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11362   if test "x$CC" != xcc; then
11363     # Test first that cc exists at all.
11364     if { ac_try='cc -c conftest.$ac_ext >&5'
11365   { { case "(($ac_try" in
11366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11367   *) ac_try_echo=$ac_try;;
11368 esac
11369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11370 $as_echo "$ac_try_echo"; } >&5
11371   (eval "$ac_try") 2>&5
11372   ac_status=$?
11373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11374   test $ac_status = 0; }; }; then
11375       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11376       rm -f conftest2.*
11377       if { { case "(($ac_try" in
11378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11379   *) ac_try_echo=$ac_try;;
11380 esac
11381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11382 $as_echo "$ac_try_echo"; } >&5
11383   (eval "$ac_try") 2>&5
11384   ac_status=$?
11385   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11386   test $ac_status = 0; } &&
11387          test -f conftest2.$ac_objext && { { case "(($ac_try" in
11388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11389   *) ac_try_echo=$ac_try;;
11390 esac
11391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11392 $as_echo "$ac_try_echo"; } >&5
11393   (eval "$ac_try") 2>&5
11394   ac_status=$?
11395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11396   test $ac_status = 0; };
11397       then
11398         # cc works too.
11399         :
11400       else
11401         # cc exists but doesn't like -o.
11402         eval ac_cv_prog_cc_${ac_cc}_c_o=no
11403       fi
11404     fi
11405   fi
11406 else
11407   eval ac_cv_prog_cc_${ac_cc}_c_o=no
11408 fi
11409 rm -f core conftest*
11410
11411 fi
11412 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11414 $as_echo "yes" >&6; }
11415 else
11416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11417 $as_echo "no" >&6; }
11418
11419 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11420
11421 fi
11422
11423 # FIXME: we rely on the cache variable name because
11424 # there is no other way.
11425 set dummy $CC
11426 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11427 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11428 if test "$am_t" != yes; then
11429    # Losing compiler, so override with the script.
11430    # FIXME: It is wrong to rewrite CC.
11431    # But if we don't then we get into trouble of one sort or another.
11432    # A longer-term fix would be to have automake use am__CC in this case,
11433    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11434    CC="$am_aux_dir/compile $CC"
11435 fi
11436
11437
11438
11439
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
11441 $as_echo_n "checking for __attribute__... " >&6; }
11442
11443 if test "${ac_cv___attribute__+set}" = set; then :
11444   $as_echo_n "(cached) " >&6
11445 else
11446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h.  */
11448
11449 #include <stdlib.h>
11450
11451 int func(int x);
11452 int foo(int x __attribute__ ((unused)))
11453 {
11454    exit(1);
11455 }
11456
11457 int
11458 main ()
11459 {
11460
11461   ;
11462   return 0;
11463 }
11464 _ACEOF
11465 if ac_fn_c_try_compile "$LINENO"; then :
11466   ac_cv___attribute__="yes"
11467 else
11468   ac_cv___attribute__="no"
11469
11470 fi
11471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11472 fi
11473
11474
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
11476 $as_echo "$ac_cv___attribute__" >&6; }
11477
11478 if test "x${ac_cv___attribute__}" = "xyes" ; then
11479
11480 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
11481
11482
11483 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
11484
11485   else
11486
11487 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
11488
11489 fi
11490
11491
11492
11493 # pkg-config
11494
11495
11496
11497
11498
11499
11500 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11501         if test -n "$ac_tool_prefix"; then
11502   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11503 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11505 $as_echo_n "checking for $ac_word... " >&6; }
11506 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11507   $as_echo_n "(cached) " >&6
11508 else
11509   case $PKG_CONFIG in
11510   [\\/]* | ?:[\\/]*)
11511   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11512   ;;
11513   *)
11514   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11515 for as_dir in $PATH
11516 do
11517   IFS=$as_save_IFS
11518   test -z "$as_dir" && as_dir=.
11519     for ac_exec_ext in '' $ac_executable_extensions; do
11520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11521     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11523     break 2
11524   fi
11525 done
11526   done
11527 IFS=$as_save_IFS
11528
11529   ;;
11530 esac
11531 fi
11532 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11533 if test -n "$PKG_CONFIG"; then
11534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11535 $as_echo "$PKG_CONFIG" >&6; }
11536 else
11537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11538 $as_echo "no" >&6; }
11539 fi
11540
11541
11542 fi
11543 if test -z "$ac_cv_path_PKG_CONFIG"; then
11544   ac_pt_PKG_CONFIG=$PKG_CONFIG
11545   # Extract the first word of "pkg-config", so it can be a program name with args.
11546 set dummy pkg-config; ac_word=$2
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11548 $as_echo_n "checking for $ac_word... " >&6; }
11549 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11550   $as_echo_n "(cached) " >&6
11551 else
11552   case $ac_pt_PKG_CONFIG in
11553   [\\/]* | ?:[\\/]*)
11554   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11555   ;;
11556   *)
11557   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11558 for as_dir in $PATH
11559 do
11560   IFS=$as_save_IFS
11561   test -z "$as_dir" && as_dir=.
11562     for ac_exec_ext in '' $ac_executable_extensions; do
11563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11564     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11566     break 2
11567   fi
11568 done
11569   done
11570 IFS=$as_save_IFS
11571
11572   ;;
11573 esac
11574 fi
11575 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11576 if test -n "$ac_pt_PKG_CONFIG"; then
11577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11578 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11579 else
11580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11581 $as_echo "no" >&6; }
11582 fi
11583
11584   if test "x$ac_pt_PKG_CONFIG" = x; then
11585     PKG_CONFIG=""
11586   else
11587     case $cross_compiling:$ac_tool_warned in
11588 yes:)
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11591 ac_tool_warned=yes ;;
11592 esac
11593     PKG_CONFIG=$ac_pt_PKG_CONFIG
11594   fi
11595 else
11596   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11597 fi
11598
11599 fi
11600 if test -n "$PKG_CONFIG"; then
11601         _pkg_min_version=0.9.0
11602         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11603 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11604         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11605                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11606 $as_echo "yes" >&6; }
11607         else
11608                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11609 $as_echo "no" >&6; }
11610                 PKG_CONFIG=""
11611         fi
11612 fi
11613
11614 # Check whether pkg-config supports Requires.private
11615 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then :
11616   pkgconfig_requires_private="Requires.private"
11617 else
11618   pkgconfig_requires_private="Requires"
11619
11620 fi
11621
11622
11623 # doxygen program for documentation building
11624
11625
11626
11627 # Check whether --enable-doc was given.
11628 if test "${enable_doc+set}" = set; then :
11629   enableval=$enable_doc;
11630     if test "x${enableval}" = "xyes" ; then
11631        efl_enable_doc="yes"
11632     else
11633        efl_enable_doc="no"
11634     fi
11635
11636 else
11637   efl_enable_doc="yes"
11638 fi
11639
11640
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
11642 $as_echo_n "checking whether to build documentation... " >&6; }
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
11644 $as_echo "${efl_enable_doc}" >&6; }
11645
11646 if test "x${efl_enable_doc}" = "xyes" ; then
11647
11648
11649    efl_doxygen="doxygen"
11650
11651
11652 # Check whether --with-doxygen was given.
11653 if test "${with_doxygen+set}" = set; then :
11654   withval=$with_doxygen;       efl_doxygen=${withval}
11655        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11656 set dummy ${efl_doxygen}; ac_word=$2
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11658 $as_echo_n "checking for $ac_word... " >&6; }
11659 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11660   $as_echo_n "(cached) " >&6
11661 else
11662   if test -n "$efl_have_doxygen"; then
11663   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11664 else
11665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11666 for as_dir in $PATH
11667 do
11668   IFS=$as_save_IFS
11669   test -z "$as_dir" && as_dir=.
11670     for ac_exec_ext in '' $ac_executable_extensions; do
11671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11672     ac_cv_prog_efl_have_doxygen="yes"
11673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11674     break 2
11675   fi
11676 done
11677   done
11678 IFS=$as_save_IFS
11679
11680   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11681 fi
11682 fi
11683 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11684 if test -n "$efl_have_doxygen"; then
11685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11686 $as_echo "$efl_have_doxygen" >&6; }
11687 else
11688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11689 $as_echo "no" >&6; }
11690 fi
11691
11692
11693        if test "x${efl_have_doxygen}" = "xno" ; then
11694           echo "WARNING:"
11695           echo "The doxygen program you specified:"
11696           echo "${efl_doxygen}"
11697           echo "was not found.  Please check the path and make sure "
11698           echo "the program exists and is executable."
11699           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11700 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11701        fi
11702
11703 else
11704   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11705 set dummy ${efl_doxygen}; ac_word=$2
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11707 $as_echo_n "checking for $ac_word... " >&6; }
11708 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11709   $as_echo_n "(cached) " >&6
11710 else
11711   if test -n "$efl_have_doxygen"; then
11712   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11713 else
11714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11715 for as_dir in $PATH
11716 do
11717   IFS=$as_save_IFS
11718   test -z "$as_dir" && as_dir=.
11719     for ac_exec_ext in '' $ac_executable_extensions; do
11720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11721     ac_cv_prog_efl_have_doxygen="yes"
11722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11723     break 2
11724   fi
11725 done
11726   done
11727 IFS=$as_save_IFS
11728
11729   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11730 fi
11731 fi
11732 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11733 if test -n "$efl_have_doxygen"; then
11734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11735 $as_echo "$efl_have_doxygen" >&6; }
11736 else
11737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11738 $as_echo "no" >&6; }
11739 fi
11740
11741
11742        if test "x${efl_have_doxygen}" = "xno" ; then
11743           echo "WARNING:"
11744           echo "The doxygen program was not found in your execute path."
11745           echo "You may have doxygen installed somewhere not covered by your path."
11746           echo ""
11747           echo "If this is the case make sure you have the packages installed, AND"
11748           echo "that the doxygen program is in your execute path (see your"
11749           echo "shell manual page on setting the \$PATH environment variable), OR"
11750           echo "alternatively, specify the program to use with --with-doxygen."
11751           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11752 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11753        fi
11754
11755 fi
11756
11757 fi
11758
11759
11760
11761 if ! test "x${efl_have_doxygen}" = "xyes" ; then
11762    efl_enable_doc="no"
11763 fi
11764
11765  if test "x${efl_enable_doc}" = "xyes"; then
11766   EFL_BUILD_DOC_TRUE=
11767   EFL_BUILD_DOC_FALSE='#'
11768 else
11769   EFL_BUILD_DOC_TRUE='#'
11770   EFL_BUILD_DOC_FALSE=
11771 fi
11772
11773
11774 if test "x${efl_enable_doc}" = "xyes" ; then
11775   build_doc="yes"
11776 else
11777   build_doc="no"
11778 fi
11779
11780
11781
11782
11783 ### Checks for libraries
11784
11785
11786 pkg_failed=no
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
11788 $as_echo_n "checking for EEZE... " >&6; }
11789
11790 if test -n "$EEZE_CFLAGS"; then
11791     pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
11792  elif test -n "$PKG_CONFIG"; then
11793     if test -n "$PKG_CONFIG" && \
11794     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
11795   ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
11796   ac_status=$?
11797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11798   test $ac_status = 0; }; then
11799   pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "${requirement_eeze}" 2>/dev/null`
11800 else
11801   pkg_failed=yes
11802 fi
11803  else
11804     pkg_failed=untried
11805 fi
11806 if test -n "$EEZE_LIBS"; then
11807     pkg_cv_EEZE_LIBS="$EEZE_LIBS"
11808  elif test -n "$PKG_CONFIG"; then
11809     if test -n "$PKG_CONFIG" && \
11810     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
11811   ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
11812   ac_status=$?
11813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11814   test $ac_status = 0; }; then
11815   pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "${requirement_eeze}" 2>/dev/null`
11816 else
11817   pkg_failed=yes
11818 fi
11819  else
11820     pkg_failed=untried
11821 fi
11822
11823
11824
11825 if test $pkg_failed = yes; then
11826         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11827 $as_echo "no" >&6; }
11828
11829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11830         _pkg_short_errors_supported=yes
11831 else
11832         _pkg_short_errors_supported=no
11833 fi
11834         if test $_pkg_short_errors_supported = yes; then
11835                 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "${requirement_eeze}" 2>&1`
11836         else
11837                 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors "${requirement_eeze}" 2>&1`
11838         fi
11839         # Put the nasty error message in config.log where it belongs
11840         echo "$EEZE_PKG_ERRORS" >&5
11841
11842         as_fn_error $? "Package requirements (${requirement_eeze}) were not met:
11843
11844 $EEZE_PKG_ERRORS
11845
11846 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11847 installed software in a non-standard prefix.
11848
11849 Alternatively, you may set the environment variables EEZE_CFLAGS
11850 and EEZE_LIBS to avoid the need to call pkg-config.
11851 See the pkg-config man page for more details." "$LINENO" 5
11852 elif test $pkg_failed = untried; then
11853         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11854 $as_echo "no" >&6; }
11855         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11857 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11858 is in your PATH or set the PKG_CONFIG environment variable to the full
11859 path to pkg-config.
11860
11861 Alternatively, you may set the environment variables EEZE_CFLAGS
11862 and EEZE_LIBS to avoid the need to call pkg-config.
11863 See the pkg-config man page for more details.
11864
11865 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11866 See \`config.log' for more details" "$LINENO" 5 ; }
11867 else
11868         EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
11869         EEZE_LIBS=$pkg_cv_EEZE_LIBS
11870         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11871 $as_echo "yes" >&6; }
11872
11873 fi
11874
11875 udev_version=$(pkg-config libudev --modversion)
11876
11877 if test $udev_version -lt 143;then
11878   as_fn_error $? "udev version is too old!" "$LINENO" 5
11879 elif test $udev_version -lt 148;then
11880   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Old udev version detected, enabling compat code" >&5
11881 $as_echo "$as_me: WARNING: Old udev version detected, enabling compat code" >&2;}
11882
11883 $as_echo "#define OLD_UDEV_RRRRRRRRRRRRRR 1" >>confdefs.h
11884
11885 fi
11886
11887 eeze_mount=
11888 if test -n "$PKG_CONFIG" && \
11889     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
11890   ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
11891   ac_status=$?
11892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11893   test $ac_status = 0; }; then
11894
11895
11896 $as_echo "#define HAVE_EEZE_MOUNT 1" >>confdefs.h
11897
11898       if true; then
11899   HAVE_EEZE_MOUNT_TRUE=
11900   HAVE_EEZE_MOUNT_FALSE='#'
11901 else
11902   HAVE_EEZE_MOUNT_TRUE='#'
11903   HAVE_EEZE_MOUNT_FALSE=
11904 fi
11905
11906      eeze_mount="yes"
11907
11908 else
11909    if false; then
11910   HAVE_EEZE_MOUNT_TRUE=
11911   HAVE_EEZE_MOUNT_FALSE='#'
11912 else
11913   HAVE_EEZE_MOUNT_TRUE='#'
11914   HAVE_EEZE_MOUNT_FALSE=
11915 fi
11916
11917
11918 fi
11919
11920 if test "x$eeze_mount" = "xyes";then
11921
11922 # Check whether --with-mount was given.
11923 if test "${with_mount+set}" = set; then :
11924   withval=$with_mount; with_mount=$withval
11925 else
11926   with_mount="detect"
11927 fi
11928
11929
11930 # Check whether --with-umount was given.
11931 if test "${with_umount+set}" = set; then :
11932   withval=$with_umount; with_umount=$withval
11933 else
11934   with_umount="detect"
11935 fi
11936
11937
11938 # Check whether --with-eject was given.
11939 if test "${with_eject+set}" = set; then :
11940   withval=$with_eject; with_eject=$withval
11941 else
11942   with_eject="detect"
11943 fi
11944
11945
11946 pkg_failed=no
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMOUNT" >&5
11948 $as_echo_n "checking for LIBMOUNT... " >&6; }
11949
11950 if test -n "$LIBMOUNT_CFLAGS"; then
11951     pkg_cv_LIBMOUNT_CFLAGS="$LIBMOUNT_CFLAGS"
11952  elif test -n "$PKG_CONFIG"; then
11953     if test -n "$PKG_CONFIG" && \
11954     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
11955   ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
11956   ac_status=$?
11957   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11958   test $ac_status = 0; }; then
11959   pkg_cv_LIBMOUNT_CFLAGS=`$PKG_CONFIG --cflags "mount >= 2.18.0" 2>/dev/null`
11960 else
11961   pkg_failed=yes
11962 fi
11963  else
11964     pkg_failed=untried
11965 fi
11966 if test -n "$LIBMOUNT_LIBS"; then
11967     pkg_cv_LIBMOUNT_LIBS="$LIBMOUNT_LIBS"
11968  elif test -n "$PKG_CONFIG"; then
11969     if test -n "$PKG_CONFIG" && \
11970     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
11971   ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
11972   ac_status=$?
11973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11974   test $ac_status = 0; }; then
11975   pkg_cv_LIBMOUNT_LIBS=`$PKG_CONFIG --libs "mount >= 2.18.0" 2>/dev/null`
11976 else
11977   pkg_failed=yes
11978 fi
11979  else
11980     pkg_failed=untried
11981 fi
11982
11983
11984
11985 if test $pkg_failed = yes; then
11986         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11987 $as_echo "no" >&6; }
11988
11989 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11990         _pkg_short_errors_supported=yes
11991 else
11992         _pkg_short_errors_supported=no
11993 fi
11994         if test $_pkg_short_errors_supported = yes; then
11995                 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mount >= 2.18.0" 2>&1`
11996         else
11997                 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --print-errors "mount >= 2.18.0" 2>&1`
11998         fi
11999         # Put the nasty error message in config.log where it belongs
12000         echo "$LIBMOUNT_PKG_ERRORS" >&5
12001
12002         as_fn_error $? "Package requirements (mount >= 2.18.0) were not met:
12003
12004 $LIBMOUNT_PKG_ERRORS
12005
12006 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12007 installed software in a non-standard prefix.
12008
12009 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12010 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12011 See the pkg-config man page for more details." "$LINENO" 5
12012 elif test $pkg_failed = untried; then
12013         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12014 $as_echo "no" >&6; }
12015         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12017 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12018 is in your PATH or set the PKG_CONFIG environment variable to the full
12019 path to pkg-config.
12020
12021 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12022 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12023 See the pkg-config man page for more details.
12024
12025 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12026 See \`config.log' for more details" "$LINENO" 5 ; }
12027 else
12028         LIBMOUNT_CFLAGS=$pkg_cv_LIBMOUNT_CFLAGS
12029         LIBMOUNT_LIBS=$pkg_cv_LIBMOUNT_LIBS
12030         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12031 $as_echo "yes" >&6; }
12032
12033 fi
12034   mount_v=$(pkg-config --modversion mount)
12035
12036 pkg_failed=no
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FILE" >&5
12038 $as_echo_n "checking for ECORE_FILE... " >&6; }
12039
12040 if test -n "$ECORE_FILE_CFLAGS"; then
12041     pkg_cv_ECORE_FILE_CFLAGS="$ECORE_FILE_CFLAGS"
12042  elif test -n "$PKG_CONFIG"; then
12043     if test -n "$PKG_CONFIG" && \
12044     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99\""; } >&5
12045   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99") 2>&5
12046   ac_status=$?
12047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12048   test $ac_status = 0; }; then
12049   pkg_cv_ECORE_FILE_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99" 2>/dev/null`
12050 else
12051   pkg_failed=yes
12052 fi
12053  else
12054     pkg_failed=untried
12055 fi
12056 if test -n "$ECORE_FILE_LIBS"; then
12057     pkg_cv_ECORE_FILE_LIBS="$ECORE_FILE_LIBS"
12058  elif test -n "$PKG_CONFIG"; then
12059     if test -n "$PKG_CONFIG" && \
12060     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99\""; } >&5
12061   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99") 2>&5
12062   ac_status=$?
12063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12064   test $ac_status = 0; }; then
12065   pkg_cv_ECORE_FILE_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99" 2>/dev/null`
12066 else
12067   pkg_failed=yes
12068 fi
12069  else
12070     pkg_failed=untried
12071 fi
12072
12073
12074
12075 if test $pkg_failed = yes; then
12076         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12077 $as_echo "no" >&6; }
12078
12079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12080         _pkg_short_errors_supported=yes
12081 else
12082         _pkg_short_errors_supported=no
12083 fi
12084         if test $_pkg_short_errors_supported = yes; then
12085                 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.6.99" 2>&1`
12086         else
12087                 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.6.99" 2>&1`
12088         fi
12089         # Put the nasty error message in config.log where it belongs
12090         echo "$ECORE_FILE_PKG_ERRORS" >&5
12091
12092         as_fn_error $? "Package requirements (ecore-file >= 1.6.99) were not met:
12093
12094 $ECORE_FILE_PKG_ERRORS
12095
12096 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12097 installed software in a non-standard prefix.
12098
12099 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12100 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12101 See the pkg-config man page for more details." "$LINENO" 5
12102 elif test $pkg_failed = untried; then
12103         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12104 $as_echo "no" >&6; }
12105         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12107 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12108 is in your PATH or set the PKG_CONFIG environment variable to the full
12109 path to pkg-config.
12110
12111 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12112 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12113 See the pkg-config man page for more details.
12114
12115 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12116 See \`config.log' for more details" "$LINENO" 5 ; }
12117 else
12118         ECORE_FILE_CFLAGS=$pkg_cv_ECORE_FILE_CFLAGS
12119         ECORE_FILE_LIBS=$pkg_cv_ECORE_FILE_LIBS
12120         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12121 $as_echo "yes" >&6; }
12122
12123 fi
12124
12125 pkg_failed=no
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
12127 $as_echo_n "checking for EET... " >&6; }
12128
12129 if test -n "$EET_CFLAGS"; then
12130     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
12131  elif test -n "$PKG_CONFIG"; then
12132     if test -n "$PKG_CONFIG" && \
12133     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
12134   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
12135   ac_status=$?
12136   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12137   test $ac_status = 0; }; then
12138   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
12139 else
12140   pkg_failed=yes
12141 fi
12142  else
12143     pkg_failed=untried
12144 fi
12145 if test -n "$EET_LIBS"; then
12146     pkg_cv_EET_LIBS="$EET_LIBS"
12147  elif test -n "$PKG_CONFIG"; then
12148     if test -n "$PKG_CONFIG" && \
12149     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
12150   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
12151   ac_status=$?
12152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12153   test $ac_status = 0; }; then
12154   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
12155 else
12156   pkg_failed=yes
12157 fi
12158  else
12159     pkg_failed=untried
12160 fi
12161
12162
12163
12164 if test $pkg_failed = yes; then
12165         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166 $as_echo "no" >&6; }
12167
12168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12169         _pkg_short_errors_supported=yes
12170 else
12171         _pkg_short_errors_supported=no
12172 fi
12173         if test $_pkg_short_errors_supported = yes; then
12174                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
12175         else
12176                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
12177         fi
12178         # Put the nasty error message in config.log where it belongs
12179         echo "$EET_PKG_ERRORS" >&5
12180
12181         as_fn_error $? "Package requirements (eet >= 1.6.99) were not met:
12182
12183 $EET_PKG_ERRORS
12184
12185 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12186 installed software in a non-standard prefix.
12187
12188 Alternatively, you may set the environment variables EET_CFLAGS
12189 and EET_LIBS to avoid the need to call pkg-config.
12190 See the pkg-config man page for more details." "$LINENO" 5
12191 elif test $pkg_failed = untried; then
12192         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12194         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12196 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12197 is in your PATH or set the PKG_CONFIG environment variable to the full
12198 path to pkg-config.
12199
12200 Alternatively, you may set the environment variables EET_CFLAGS
12201 and EET_LIBS to avoid the need to call pkg-config.
12202 See the pkg-config man page for more details.
12203
12204 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12205 See \`config.log' for more details" "$LINENO" 5 ; }
12206 else
12207         EET_CFLAGS=$pkg_cv_EET_CFLAGS
12208         EET_LIBS=$pkg_cv_EET_LIBS
12209         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12210 $as_echo "yes" >&6; }
12211
12212 fi
12213
12214 pkg_failed=no
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_CON" >&5
12216 $as_echo_n "checking for ECORE_CON... " >&6; }
12217
12218 if test -n "$ECORE_CON_CFLAGS"; then
12219     pkg_cv_ECORE_CON_CFLAGS="$ECORE_CON_CFLAGS"
12220  elif test -n "$PKG_CONFIG"; then
12221     if test -n "$PKG_CONFIG" && \
12222     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.6.99\""; } >&5
12223   ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.6.99") 2>&5
12224   ac_status=$?
12225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12226   test $ac_status = 0; }; then
12227   pkg_cv_ECORE_CON_CFLAGS=`$PKG_CONFIG --cflags "ecore-con >= 1.6.99" 2>/dev/null`
12228 else
12229   pkg_failed=yes
12230 fi
12231  else
12232     pkg_failed=untried
12233 fi
12234 if test -n "$ECORE_CON_LIBS"; then
12235     pkg_cv_ECORE_CON_LIBS="$ECORE_CON_LIBS"
12236  elif test -n "$PKG_CONFIG"; then
12237     if test -n "$PKG_CONFIG" && \
12238     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.6.99\""; } >&5
12239   ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.6.99") 2>&5
12240   ac_status=$?
12241   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12242   test $ac_status = 0; }; then
12243   pkg_cv_ECORE_CON_LIBS=`$PKG_CONFIG --libs "ecore-con >= 1.6.99" 2>/dev/null`
12244 else
12245   pkg_failed=yes
12246 fi
12247  else
12248     pkg_failed=untried
12249 fi
12250
12251
12252
12253 if test $pkg_failed = yes; then
12254         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12255 $as_echo "no" >&6; }
12256
12257 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12258         _pkg_short_errors_supported=yes
12259 else
12260         _pkg_short_errors_supported=no
12261 fi
12262         if test $_pkg_short_errors_supported = yes; then
12263                 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-con >= 1.6.99" 2>&1`
12264         else
12265                 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-con >= 1.6.99" 2>&1`
12266         fi
12267         # Put the nasty error message in config.log where it belongs
12268         echo "$ECORE_CON_PKG_ERRORS" >&5
12269
12270         as_fn_error $? "Package requirements (ecore-con >= 1.6.99) were not met:
12271
12272 $ECORE_CON_PKG_ERRORS
12273
12274 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12275 installed software in a non-standard prefix.
12276
12277 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
12278 and ECORE_CON_LIBS to avoid the need to call pkg-config.
12279 See the pkg-config man page for more details." "$LINENO" 5
12280 elif test $pkg_failed = untried; then
12281         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282 $as_echo "no" >&6; }
12283         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12285 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12286 is in your PATH or set the PKG_CONFIG environment variable to the full
12287 path to pkg-config.
12288
12289 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
12290 and ECORE_CON_LIBS to avoid the need to call pkg-config.
12291 See the pkg-config man page for more details.
12292
12293 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12294 See \`config.log' for more details" "$LINENO" 5 ; }
12295 else
12296         ECORE_CON_CFLAGS=$pkg_cv_ECORE_CON_CFLAGS
12297         ECORE_CON_LIBS=$pkg_cv_ECORE_CON_LIBS
12298         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12299 $as_echo "yes" >&6; }
12300
12301 fi
12302
12303   if test "x$with_mount" = "xdetect";then
12304     # Extract the first word of "mount", so it can be a program name with args.
12305 set dummy mount; ac_word=$2
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12307 $as_echo_n "checking for $ac_word... " >&6; }
12308 if test "${ac_cv_path_with_mount+set}" = set; then :
12309   $as_echo_n "(cached) " >&6
12310 else
12311   case $with_mount in
12312   [\\/]* | ?:[\\/]*)
12313   ac_cv_path_with_mount="$with_mount" # Let the user override the test with a path.
12314   ;;
12315   *)
12316   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12317 for as_dir in $PATH
12318 do
12319   IFS=$as_save_IFS
12320   test -z "$as_dir" && as_dir=.
12321     for ac_exec_ext in '' $ac_executable_extensions; do
12322   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12323     ac_cv_path_with_mount="$as_dir/$ac_word$ac_exec_ext"
12324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12325     break 2
12326   fi
12327 done
12328   done
12329 IFS=$as_save_IFS
12330
12331   ;;
12332 esac
12333 fi
12334 with_mount=$ac_cv_path_with_mount
12335 if test -n "$with_mount"; then
12336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_mount" >&5
12337 $as_echo "$with_mount" >&6; }
12338 else
12339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12340 $as_echo "no" >&6; }
12341 fi
12342
12343
12344   fi
12345   if test -z "$with_mount" ; then
12346
12347 cat >>confdefs.h <<_ACEOF
12348 #define MOUNTABLE 0
12349 _ACEOF
12350
12351   else
12352
12353 cat >>confdefs.h <<_ACEOF
12354 #define MOUNTABLE 1
12355 _ACEOF
12356
12357   fi
12358
12359 cat >>confdefs.h <<_ACEOF
12360 #define EEZE_MOUNT_BIN "$with_mount"
12361 _ACEOF
12362
12363
12364   if test "x$with_umount" = "xdetect";then
12365     # Extract the first word of "umount", so it can be a program name with args.
12366 set dummy umount; ac_word=$2
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12368 $as_echo_n "checking for $ac_word... " >&6; }
12369 if test "${ac_cv_path_with_umount+set}" = set; then :
12370   $as_echo_n "(cached) " >&6
12371 else
12372   case $with_umount in
12373   [\\/]* | ?:[\\/]*)
12374   ac_cv_path_with_umount="$with_umount" # Let the user override the test with a path.
12375   ;;
12376   *)
12377   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12378 for as_dir in $PATH
12379 do
12380   IFS=$as_save_IFS
12381   test -z "$as_dir" && as_dir=.
12382     for ac_exec_ext in '' $ac_executable_extensions; do
12383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12384     ac_cv_path_with_umount="$as_dir/$ac_word$ac_exec_ext"
12385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12386     break 2
12387   fi
12388 done
12389   done
12390 IFS=$as_save_IFS
12391
12392   ;;
12393 esac
12394 fi
12395 with_umount=$ac_cv_path_with_umount
12396 if test -n "$with_umount"; then
12397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_umount" >&5
12398 $as_echo "$with_umount" >&6; }
12399 else
12400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12401 $as_echo "no" >&6; }
12402 fi
12403
12404
12405   fi
12406   if test -z "$with_umount" ; then
12407
12408 cat >>confdefs.h <<_ACEOF
12409 #define UNMOUNTABLE 0
12410 _ACEOF
12411
12412   else
12413
12414 cat >>confdefs.h <<_ACEOF
12415 #define UNMOUNTABLE 1
12416 _ACEOF
12417
12418   fi
12419
12420 cat >>confdefs.h <<_ACEOF
12421 #define EEZE_UNMOUNT_BIN "$with_umount"
12422 _ACEOF
12423
12424
12425   if test "x$with_eject" = "xdetect";then
12426     # Extract the first word of "eject", so it can be a program name with args.
12427 set dummy eject; ac_word=$2
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12429 $as_echo_n "checking for $ac_word... " >&6; }
12430 if test "${ac_cv_path_with_eject+set}" = set; then :
12431   $as_echo_n "(cached) " >&6
12432 else
12433   case $with_eject in
12434   [\\/]* | ?:[\\/]*)
12435   ac_cv_path_with_eject="$with_eject" # Let the user override the test with a path.
12436   ;;
12437   *)
12438   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12439 for as_dir in $PATH
12440 do
12441   IFS=$as_save_IFS
12442   test -z "$as_dir" && as_dir=.
12443     for ac_exec_ext in '' $ac_executable_extensions; do
12444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12445     ac_cv_path_with_eject="$as_dir/$ac_word$ac_exec_ext"
12446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12447     break 2
12448   fi
12449 done
12450   done
12451 IFS=$as_save_IFS
12452
12453   ;;
12454 esac
12455 fi
12456 with_eject=$ac_cv_path_with_eject
12457 if test -n "$with_eject"; then
12458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_eject" >&5
12459 $as_echo "$with_eject" >&6; }
12460 else
12461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12462 $as_echo "no" >&6; }
12463 fi
12464
12465
12466   fi
12467   if test -z "$with_eject" ; then
12468
12469 cat >>confdefs.h <<_ACEOF
12470 #define EJECTABLE 0
12471 _ACEOF
12472
12473   else
12474
12475 cat >>confdefs.h <<_ACEOF
12476 #define EJECTABLE 1
12477 _ACEOF
12478
12479   fi
12480
12481 cat >>confdefs.h <<_ACEOF
12482 #define EEZE_EJECT_BIN "$with_eject"
12483 _ACEOF
12484
12485 fi
12486
12487 want_mtab=
12488 # Check whether --enable-mtab was given.
12489 if test "${enable_mtab+set}" = set; then :
12490   enableval=$enable_mtab;
12491     if test "x${enableval}" = "xyes" ; then
12492        want_mtab="yes"
12493     else
12494        want_mtab="no"
12495     fi
12496 else
12497   want_mtab="auto"
12498 fi
12499
12500
12501
12502 if test "x${want_mtab}" = "xyes" ; then
12503    if false; then
12504   OLD_LIBMOUNT_TRUE=
12505   OLD_LIBMOUNT_FALSE='#'
12506 else
12507   OLD_LIBMOUNT_TRUE='#'
12508   OLD_LIBMOUNT_FALSE=
12509 fi
12510
12511    if false; then
12512   NEW_LIBMOUNT_TRUE=
12513   NEW_LIBMOUNT_FALSE='#'
12514 else
12515   NEW_LIBMOUNT_TRUE='#'
12516   NEW_LIBMOUNT_FALSE=
12517 fi
12518
12519 else
12520   if test -n "$mount_v";then
12521      if test "$(echo $mount_v | cut -d'.' -f2)" -lt 19; then
12522   OLD_LIBMOUNT_TRUE=
12523   OLD_LIBMOUNT_FALSE='#'
12524 else
12525   OLD_LIBMOUNT_TRUE='#'
12526   OLD_LIBMOUNT_FALSE=
12527 fi
12528
12529      if test "$(echo $mount_v | cut -d'.' -f2)" -gt 19; then
12530   NEW_LIBMOUNT_TRUE=
12531   NEW_LIBMOUNT_FALSE='#'
12532 else
12533   NEW_LIBMOUNT_TRUE='#'
12534   NEW_LIBMOUNT_FALSE=
12535 fi
12536
12537   else
12538      if false; then
12539   OLD_LIBMOUNT_TRUE=
12540   OLD_LIBMOUNT_FALSE='#'
12541 else
12542   OLD_LIBMOUNT_TRUE='#'
12543   OLD_LIBMOUNT_FALSE=
12544 fi
12545
12546      if false; then
12547   NEW_LIBMOUNT_TRUE=
12548   NEW_LIBMOUNT_FALSE='#'
12549 else
12550   NEW_LIBMOUNT_TRUE='#'
12551   NEW_LIBMOUNT_FALSE=
12552 fi
12553
12554   fi
12555 fi
12556 if false; then
12557
12558
12559 cat >>confdefs.h <<_ACEOF
12560 #define OLD_LIBMOUNT 1
12561 _ACEOF
12562
12563
12564 fi
12565
12566 for ac_header in netinet/in.h
12567 do :
12568   ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
12569 if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
12570   cat >>confdefs.h <<_ACEOF
12571 #define HAVE_NETINET_IN_H 1
12572 _ACEOF
12573
12574 fi
12575
12576 done
12577
12578 want_ipv6="yes"
12579 have_ipv6="no"
12580
12581 # Check whether --enable-ipv6 was given.
12582 if test "${enable_ipv6+set}" = set; then :
12583   enableval=$enable_ipv6;
12584     if test "x${enableval}" = "xyes" ; then
12585        want_ipv6="yes"
12586     else
12587        want_ipv6="no"
12588     fi
12589 else
12590   want_ipv6="auto"
12591 fi
12592
12593
12594 # Verify IPV6 availability in headers
12595 if test "x${want_ipv6}" != "xno" ; then
12596    ac_fn_c_check_type "$LINENO" "struct ipv6_mreq" "ac_cv_type_struct_ipv6_mreq" "
12597 #ifdef HAVE_NETINET_IN_H
12598 # include <netinet/in.h>
12599 #endif
12600
12601 "
12602 if test "x$ac_cv_type_struct_ipv6_mreq" = x""yes; then :
12603
12604 cat >>confdefs.h <<_ACEOF
12605 #define HAVE_STRUCT_IPV6_MREQ 1
12606 _ACEOF
12607
12608 have_ipv6="yes"
12609 else
12610   have_ipv6="no"
12611 fi
12612
12613 fi
12614
12615 if test "x${have_ipv6}" = "xyes" ; then
12616
12617 $as_echo "#define HAVE_IPV6 1" >>confdefs.h
12618
12619 fi
12620
12621 ### Checks for header files
12622
12623
12624 ### Checks for types
12625
12626
12627 ### Checks for structures
12628
12629
12630 ### Checks for compiler characteristics
12631
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12633 $as_echo_n "checking for ANSI C header files... " >&6; }
12634 if test "${ac_cv_header_stdc+set}" = set; then :
12635   $as_echo_n "(cached) " >&6
12636 else
12637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638 /* end confdefs.h.  */
12639 #include <stdlib.h>
12640 #include <stdarg.h>
12641 #include <string.h>
12642 #include <float.h>
12643
12644 int
12645 main ()
12646 {
12647
12648   ;
12649   return 0;
12650 }
12651 _ACEOF
12652 if ac_fn_c_try_compile "$LINENO"; then :
12653   ac_cv_header_stdc=yes
12654 else
12655   ac_cv_header_stdc=no
12656 fi
12657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12658
12659 if test $ac_cv_header_stdc = yes; then
12660   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h.  */
12663 #include <string.h>
12664
12665 _ACEOF
12666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12667   $EGREP "memchr" >/dev/null 2>&1; then :
12668
12669 else
12670   ac_cv_header_stdc=no
12671 fi
12672 rm -f conftest*
12673
12674 fi
12675
12676 if test $ac_cv_header_stdc = yes; then
12677   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h.  */
12680 #include <stdlib.h>
12681
12682 _ACEOF
12683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12684   $EGREP "free" >/dev/null 2>&1; then :
12685
12686 else
12687   ac_cv_header_stdc=no
12688 fi
12689 rm -f conftest*
12690
12691 fi
12692
12693 if test $ac_cv_header_stdc = yes; then
12694   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12695   if test "$cross_compiling" = yes; then :
12696   :
12697 else
12698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h.  */
12700 #include <ctype.h>
12701 #include <stdlib.h>
12702 #if ((' ' & 0x0FF) == 0x020)
12703 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12704 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12705 #else
12706 # define ISLOWER(c) \
12707                    (('a' <= (c) && (c) <= 'i') \
12708                      || ('j' <= (c) && (c) <= 'r') \
12709                      || ('s' <= (c) && (c) <= 'z'))
12710 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12711 #endif
12712
12713 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12714 int
12715 main ()
12716 {
12717   int i;
12718   for (i = 0; i < 256; i++)
12719     if (XOR (islower (i), ISLOWER (i))
12720         || toupper (i) != TOUPPER (i))
12721       return 2;
12722   return 0;
12723 }
12724 _ACEOF
12725 if ac_fn_c_try_run "$LINENO"; then :
12726
12727 else
12728   ac_cv_header_stdc=no
12729 fi
12730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12731   conftest.$ac_objext conftest.beam conftest.$ac_ext
12732 fi
12733
12734 fi
12735 fi
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12737 $as_echo "$ac_cv_header_stdc" >&6; }
12738 if test $ac_cv_header_stdc = yes; then
12739
12740 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12741
12742 fi
12743
12744
12745 if ! test "x${VMIC}" = "x" ; then
12746
12747
12748 CFLAGS_save="${CFLAGS}"
12749 CFLAGS="${CFLAGS} -Wall"
12750
12751 ac_ext=c
12752 ac_cpp='$CPP $CPPFLAGS'
12753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12756
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
12758 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
12759
12760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h.  */
12762
12763 int
12764 main ()
12765 {
12766
12767   ;
12768   return 0;
12769 }
12770 _ACEOF
12771 if ac_fn_c_try_compile "$LINENO"; then :
12772   have_flag="yes"
12773 else
12774   have_flag="no"
12775 fi
12776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
12778 $as_echo "${have_flag}" >&6; }
12779
12780 if test "x${have_flag}" = "xno" ; then
12781    CFLAGS="${CFLAGS_save}"
12782 fi
12783 ac_ext=c
12784 ac_cpp='$CPP $CPPFLAGS'
12785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12788
12789
12790
12791
12792
12793 CFLAGS_save="${CFLAGS}"
12794 CFLAGS="${CFLAGS} -W"
12795
12796 ac_ext=c
12797 ac_cpp='$CPP $CPPFLAGS'
12798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12801
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
12803 $as_echo_n "checking whether the compiler supports -W... " >&6; }
12804
12805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806 /* end confdefs.h.  */
12807
12808 int
12809 main ()
12810 {
12811
12812   ;
12813   return 0;
12814 }
12815 _ACEOF
12816 if ac_fn_c_try_compile "$LINENO"; then :
12817   have_flag="yes"
12818 else
12819   have_flag="no"
12820 fi
12821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
12823 $as_echo "${have_flag}" >&6; }
12824
12825 if test "x${have_flag}" = "xno" ; then
12826    CFLAGS="${CFLAGS_save}"
12827 fi
12828 ac_ext=c
12829 ac_cpp='$CPP $CPPFLAGS'
12830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12833
12834
12835
12836 fi
12837
12838
12839
12840 CFLAGS_save="${CFLAGS}"
12841 CFLAGS="${CFLAGS} -Wshadow"
12842
12843 ac_ext=c
12844 ac_cpp='$CPP $CPPFLAGS'
12845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12848
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
12850 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
12851
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h.  */
12854
12855 int
12856 main ()
12857 {
12858
12859   ;
12860   return 0;
12861 }
12862 _ACEOF
12863 if ac_fn_c_try_compile "$LINENO"; then :
12864   have_flag="yes"
12865 else
12866   have_flag="no"
12867 fi
12868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
12870 $as_echo "${have_flag}" >&6; }
12871
12872 if test "x${have_flag}" = "xno" ; then
12873    CFLAGS="${CFLAGS_save}"
12874 fi
12875 ac_ext=c
12876 ac_cpp='$CPP $CPPFLAGS'
12877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12880
12881
12882
12883
12884
12885 ### Binary
12886
12887
12888
12889
12890
12891 # Check whether --enable-eeze-udev-test was given.
12892 if test "${enable_eeze_udev_test+set}" = set; then :
12893   enableval=$enable_eeze_udev_test;
12894     if test "x${enableval}" = "xyes" ; then
12895        have_eeze_udev_test="yes"
12896     else
12897        have_eeze_udev_test="no"
12898     fi
12899
12900 else
12901   have_eeze_udev_test="yes"
12902 fi
12903
12904
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_udev_test binary" >&5
12906 $as_echo_n "checking whether to build eeze_udev_test binary... " >&6; }
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_udev_test" >&5
12908 $as_echo "$have_eeze_udev_test" >&6; }
12909
12910 if test "x$have_eeze_udev_test" = "xyes"; then
12911    EEZE_UDEV_TEST_PRG=eeze_udev_test${EXEEXT}
12912 fi
12913
12914
12915
12916  if test "x$have_eeze_udev_test" = "xyes"; then
12917   BUILD_EEZE_UDEV_TEST_TRUE=
12918   BUILD_EEZE_UDEV_TEST_FALSE='#'
12919 else
12920   BUILD_EEZE_UDEV_TEST_TRUE='#'
12921   BUILD_EEZE_UDEV_TEST_FALSE=
12922 fi
12923
12924
12925 if test "x$have_eeze_udev_test" = "xyes"; then :
12926
12927 fi
12928
12929
12930
12931
12932
12933
12934 # Check whether --enable-eeze-mount was given.
12935 if test "${enable_eeze_mount+set}" = set; then :
12936   enableval=$enable_eeze_mount;
12937     if test "x${enableval}" = "xyes" ; then
12938        have_eeze_mount="yes"
12939     else
12940        have_eeze_mount="no"
12941     fi
12942
12943 else
12944   have_eeze_mount="yes"
12945 fi
12946
12947
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_mount binary" >&5
12949 $as_echo_n "checking whether to build eeze_mount binary... " >&6; }
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_mount" >&5
12951 $as_echo "$have_eeze_mount" >&6; }
12952
12953 if test "x$have_eeze_mount" = "xyes"; then
12954    EEZE_MOUNT_PRG=eeze_mount${EXEEXT}
12955 fi
12956
12957
12958
12959  if test "x$have_eeze_mount" = "xyes"; then
12960   BUILD_EEZE_MOUNT_TRUE=
12961   BUILD_EEZE_MOUNT_FALSE='#'
12962 else
12963   BUILD_EEZE_MOUNT_TRUE='#'
12964   BUILD_EEZE_MOUNT_FALSE=
12965 fi
12966
12967
12968 if test "x$have_eeze_mount" = "xyes"; then :
12969
12970 fi
12971
12972
12973
12974
12975
12976
12977 # Check whether --enable-eeze-disk-ls was given.
12978 if test "${enable_eeze_disk_ls+set}" = set; then :
12979   enableval=$enable_eeze_disk_ls;
12980     if test "x${enableval}" = "xyes" ; then
12981        have_eeze_disk_ls="yes"
12982     else
12983        have_eeze_disk_ls="no"
12984     fi
12985
12986 else
12987   have_eeze_disk_ls="yes"
12988 fi
12989
12990
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_disk_ls binary" >&5
12992 $as_echo_n "checking whether to build eeze_disk_ls binary... " >&6; }
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_disk_ls" >&5
12994 $as_echo "$have_eeze_disk_ls" >&6; }
12995
12996 if test "x$have_eeze_disk_ls" = "xyes"; then
12997    EEZE_DISK_LS_PRG=eeze_disk_ls${EXEEXT}
12998 fi
12999
13000
13001
13002  if test "x$have_eeze_disk_ls" = "xyes"; then
13003   BUILD_EEZE_DISK_LS_TRUE=
13004   BUILD_EEZE_DISK_LS_FALSE='#'
13005 else
13006   BUILD_EEZE_DISK_LS_TRUE='#'
13007   BUILD_EEZE_DISK_LS_FALSE=
13008 fi
13009
13010
13011 if test "x$have_eeze_disk_ls" = "xyes"; then :
13012
13013 fi
13014
13015
13016
13017
13018
13019
13020 # Check whether --enable-eeze-umount was given.
13021 if test "${enable_eeze_umount+set}" = set; then :
13022   enableval=$enable_eeze_umount;
13023     if test "x${enableval}" = "xyes" ; then
13024        have_eeze_umount="yes"
13025     else
13026        have_eeze_umount="no"
13027     fi
13028
13029 else
13030   have_eeze_umount="yes"
13031 fi
13032
13033
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_umount binary" >&5
13035 $as_echo_n "checking whether to build eeze_umount binary... " >&6; }
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_umount" >&5
13037 $as_echo "$have_eeze_umount" >&6; }
13038
13039 if test "x$have_eeze_umount" = "xyes"; then
13040    EEZE_UMOUNT_PRG=eeze_umount${EXEEXT}
13041 fi
13042
13043
13044
13045  if test "x$have_eeze_umount" = "xyes"; then
13046   BUILD_EEZE_UMOUNT_TRUE=
13047   BUILD_EEZE_UMOUNT_FALSE='#'
13048 else
13049   BUILD_EEZE_UMOUNT_TRUE='#'
13050   BUILD_EEZE_UMOUNT_FALSE=
13051 fi
13052
13053
13054 if test "x$have_eeze_umount" = "xyes"; then :
13055
13056 fi
13057
13058
13059
13060
13061
13062
13063 # Check whether --enable-eeze-scanner was given.
13064 if test "${enable_eeze_scanner+set}" = set; then :
13065   enableval=$enable_eeze_scanner;
13066     if test "x${enableval}" = "xyes" ; then
13067        have_eeze_scanner="yes"
13068     else
13069        have_eeze_scanner="no"
13070     fi
13071
13072 else
13073   have_eeze_scanner="yes"
13074 fi
13075
13076
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_scanner binary" >&5
13078 $as_echo_n "checking whether to build eeze_scanner binary... " >&6; }
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_scanner" >&5
13080 $as_echo "$have_eeze_scanner" >&6; }
13081
13082 if test "x$have_eeze_scanner" = "xyes"; then
13083    EEZE_SCANNER_PRG=eeze_scanner${EXEEXT}
13084 fi
13085
13086
13087
13088  if test "x$have_eeze_scanner" = "xyes"; then
13089   BUILD_EEZE_SCANNER_TRUE=
13090   BUILD_EEZE_SCANNER_FALSE='#'
13091 else
13092   BUILD_EEZE_SCANNER_TRUE='#'
13093   BUILD_EEZE_SCANNER_FALSE=
13094 fi
13095
13096
13097 if test "x$have_eeze_scanner" = "xyes"; then :
13098
13099 fi
13100
13101
13102
13103
13104
13105
13106 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"
13107
13108 cat >confcache <<\_ACEOF
13109 # This file is a shell script that caches the results of configure
13110 # tests run on this system so they can be shared between configure
13111 # scripts and configure runs, see configure's option --config-cache.
13112 # It is not useful on other systems.  If it contains results you don't
13113 # want to keep, you may remove or edit it.
13114 #
13115 # config.status only pays attention to the cache file if you give it
13116 # the --recheck option to rerun configure.
13117 #
13118 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13119 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13120 # following values.
13121
13122 _ACEOF
13123
13124 # The following way of writing the cache mishandles newlines in values,
13125 # but we know of no workaround that is simple, portable, and efficient.
13126 # So, we kill variables containing newlines.
13127 # Ultrix sh set writes to stderr and can't be redirected directly,
13128 # and sets the high bit in the cache file unless we assign to the vars.
13129 (
13130   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13131     eval ac_val=\$$ac_var
13132     case $ac_val in #(
13133     *${as_nl}*)
13134       case $ac_var in #(
13135       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13136 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13137       esac
13138       case $ac_var in #(
13139       _ | IFS | as_nl) ;; #(
13140       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13141       *) { eval $ac_var=; unset $ac_var;} ;;
13142       esac ;;
13143     esac
13144   done
13145
13146   (set) 2>&1 |
13147     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13148     *${as_nl}ac_space=\ *)
13149       # `set' does not quote correctly, so add quotes: double-quote
13150       # substitution turns \\\\ into \\, and sed turns \\ into \.
13151       sed -n \
13152         "s/'/'\\\\''/g;
13153           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13154       ;; #(
13155     *)
13156       # `set' quotes correctly as required by POSIX, so do not add quotes.
13157       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13158       ;;
13159     esac |
13160     sort
13161 ) |
13162   sed '
13163      /^ac_cv_env_/b end
13164      t clear
13165      :clear
13166      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13167      t end
13168      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13169      :end' >>confcache
13170 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13171   if test -w "$cache_file"; then
13172     test "x$cache_file" != "x/dev/null" &&
13173       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13174 $as_echo "$as_me: updating cache $cache_file" >&6;}
13175     cat confcache >$cache_file
13176   else
13177     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13178 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13179   fi
13180 fi
13181 rm -f confcache
13182
13183 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13184 # Let make expand exec_prefix.
13185 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13186
13187 DEFS=-DHAVE_CONFIG_H
13188
13189 ac_libobjs=
13190 ac_ltlibobjs=
13191 U=
13192 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13193   # 1. Remove the extension, and $U if already installed.
13194   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13195   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13196   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13197   #    will be set to the directory where LIBOBJS objects are built.
13198   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13199   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13200 done
13201 LIBOBJS=$ac_libobjs
13202
13203 LTLIBOBJS=$ac_ltlibobjs
13204
13205
13206  if test -n "$EXEEXT"; then
13207   am__EXEEXT_TRUE=
13208   am__EXEEXT_FALSE='#'
13209 else
13210   am__EXEEXT_TRUE='#'
13211   am__EXEEXT_FALSE=
13212 fi
13213
13214 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13215   as_fn_error $? "conditional \"AMDEP\" was never defined.
13216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13217 fi
13218 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13219   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13221 fi
13222 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13223   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13225 fi
13226 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
13227   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
13228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13229 fi
13230 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
13231   as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
13232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13233 fi
13234 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
13235   as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
13236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13237 fi
13238 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
13239   as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
13240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13241 fi
13242 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
13243   as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
13244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13245 fi
13246 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
13247   as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
13248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13249 fi
13250 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
13251   as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
13252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13253 fi
13254 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
13255   as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
13256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13257 fi
13258 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
13259   as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
13260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13261 fi
13262 if test -z "${BUILD_EEZE_UDEV_TEST_TRUE}" && test -z "${BUILD_EEZE_UDEV_TEST_FALSE}"; then
13263   as_fn_error $? "conditional \"BUILD_EEZE_UDEV_TEST\" was never defined.
13264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13265 fi
13266 if test -z "${BUILD_EEZE_MOUNT_TRUE}" && test -z "${BUILD_EEZE_MOUNT_FALSE}"; then
13267   as_fn_error $? "conditional \"BUILD_EEZE_MOUNT\" was never defined.
13268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13269 fi
13270 if test -z "${BUILD_EEZE_DISK_LS_TRUE}" && test -z "${BUILD_EEZE_DISK_LS_FALSE}"; then
13271   as_fn_error $? "conditional \"BUILD_EEZE_DISK_LS\" was never defined.
13272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13273 fi
13274 if test -z "${BUILD_EEZE_UMOUNT_TRUE}" && test -z "${BUILD_EEZE_UMOUNT_FALSE}"; then
13275   as_fn_error $? "conditional \"BUILD_EEZE_UMOUNT\" was never defined.
13276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13277 fi
13278 if test -z "${BUILD_EEZE_SCANNER_TRUE}" && test -z "${BUILD_EEZE_SCANNER_FALSE}"; then
13279   as_fn_error $? "conditional \"BUILD_EEZE_SCANNER\" was never defined.
13280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13281 fi
13282
13283 : ${CONFIG_STATUS=./config.status}
13284 ac_write_fail=0
13285 ac_clean_files_save=$ac_clean_files
13286 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13288 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13289 as_write_fail=0
13290 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13291 #! $SHELL
13292 # Generated by $as_me.
13293 # Run this file to recreate the current configuration.
13294 # Compiler output produced by configure, useful for debugging
13295 # configure, is in config.log if it exists.
13296
13297 debug=false
13298 ac_cs_recheck=false
13299 ac_cs_silent=false
13300
13301 SHELL=\${CONFIG_SHELL-$SHELL}
13302 export SHELL
13303 _ASEOF
13304 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13305 ## -------------------- ##
13306 ## M4sh Initialization. ##
13307 ## -------------------- ##
13308
13309 # Be more Bourne compatible
13310 DUALCASE=1; export DUALCASE # for MKS sh
13311 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13312   emulate sh
13313   NULLCMD=:
13314   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13315   # is contrary to our usage.  Disable this feature.
13316   alias -g '${1+"$@"}'='"$@"'
13317   setopt NO_GLOB_SUBST
13318 else
13319   case `(set -o) 2>/dev/null` in #(
13320   *posix*) :
13321     set -o posix ;; #(
13322   *) :
13323      ;;
13324 esac
13325 fi
13326
13327
13328 as_nl='
13329 '
13330 export as_nl
13331 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13332 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13333 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13334 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13335 # Prefer a ksh shell builtin over an external printf program on Solaris,
13336 # but without wasting forks for bash or zsh.
13337 if test -z "$BASH_VERSION$ZSH_VERSION" \
13338     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13339   as_echo='print -r --'
13340   as_echo_n='print -rn --'
13341 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13342   as_echo='printf %s\n'
13343   as_echo_n='printf %s'
13344 else
13345   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13346     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13347     as_echo_n='/usr/ucb/echo -n'
13348   else
13349     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13350     as_echo_n_body='eval
13351       arg=$1;
13352       case $arg in #(
13353       *"$as_nl"*)
13354         expr "X$arg" : "X\\(.*\\)$as_nl";
13355         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13356       esac;
13357       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13358     '
13359     export as_echo_n_body
13360     as_echo_n='sh -c $as_echo_n_body as_echo'
13361   fi
13362   export as_echo_body
13363   as_echo='sh -c $as_echo_body as_echo'
13364 fi
13365
13366 # The user is always right.
13367 if test "${PATH_SEPARATOR+set}" != set; then
13368   PATH_SEPARATOR=:
13369   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13370     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13371       PATH_SEPARATOR=';'
13372   }
13373 fi
13374
13375
13376 # IFS
13377 # We need space, tab and new line, in precisely that order.  Quoting is
13378 # there to prevent editors from complaining about space-tab.
13379 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13380 # splitting by setting IFS to empty value.)
13381 IFS=" ""        $as_nl"
13382
13383 # Find who we are.  Look in the path if we contain no directory separator.
13384 case $0 in #((
13385   *[\\/]* ) as_myself=$0 ;;
13386   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13387 for as_dir in $PATH
13388 do
13389   IFS=$as_save_IFS
13390   test -z "$as_dir" && as_dir=.
13391     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13392   done
13393 IFS=$as_save_IFS
13394
13395      ;;
13396 esac
13397 # We did not find ourselves, most probably we were run as `sh COMMAND'
13398 # in which case we are not to be found in the path.
13399 if test "x$as_myself" = x; then
13400   as_myself=$0
13401 fi
13402 if test ! -f "$as_myself"; then
13403   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13404   exit 1
13405 fi
13406
13407 # Unset variables that we do not need and which cause bugs (e.g. in
13408 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13409 # suppresses any "Segmentation fault" message there.  '((' could
13410 # trigger a bug in pdksh 5.2.14.
13411 for as_var in BASH_ENV ENV MAIL MAILPATH
13412 do eval test x\${$as_var+set} = xset \
13413   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13414 done
13415 PS1='$ '
13416 PS2='> '
13417 PS4='+ '
13418
13419 # NLS nuisances.
13420 LC_ALL=C
13421 export LC_ALL
13422 LANGUAGE=C
13423 export LANGUAGE
13424
13425 # CDPATH.
13426 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13427
13428
13429 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13430 # ----------------------------------------
13431 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13432 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13433 # script with STATUS, using 1 if that was 0.
13434 as_fn_error ()
13435 {
13436   as_status=$1; test $as_status -eq 0 && as_status=1
13437   if test "$4"; then
13438     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13439     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13440   fi
13441   $as_echo "$as_me: error: $2" >&2
13442   as_fn_exit $as_status
13443 } # as_fn_error
13444
13445
13446 # as_fn_set_status STATUS
13447 # -----------------------
13448 # Set $? to STATUS, without forking.
13449 as_fn_set_status ()
13450 {
13451   return $1
13452 } # as_fn_set_status
13453
13454 # as_fn_exit STATUS
13455 # -----------------
13456 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13457 as_fn_exit ()
13458 {
13459   set +e
13460   as_fn_set_status $1
13461   exit $1
13462 } # as_fn_exit
13463
13464 # as_fn_unset VAR
13465 # ---------------
13466 # Portably unset VAR.
13467 as_fn_unset ()
13468 {
13469   { eval $1=; unset $1;}
13470 }
13471 as_unset=as_fn_unset
13472 # as_fn_append VAR VALUE
13473 # ----------------------
13474 # Append the text in VALUE to the end of the definition contained in VAR. Take
13475 # advantage of any shell optimizations that allow amortized linear growth over
13476 # repeated appends, instead of the typical quadratic growth present in naive
13477 # implementations.
13478 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13479   eval 'as_fn_append ()
13480   {
13481     eval $1+=\$2
13482   }'
13483 else
13484   as_fn_append ()
13485   {
13486     eval $1=\$$1\$2
13487   }
13488 fi # as_fn_append
13489
13490 # as_fn_arith ARG...
13491 # ------------------
13492 # Perform arithmetic evaluation on the ARGs, and store the result in the
13493 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13494 # must be portable across $(()) and expr.
13495 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13496   eval 'as_fn_arith ()
13497   {
13498     as_val=$(( $* ))
13499   }'
13500 else
13501   as_fn_arith ()
13502   {
13503     as_val=`expr "$@" || test $? -eq 1`
13504   }
13505 fi # as_fn_arith
13506
13507
13508 if expr a : '\(a\)' >/dev/null 2>&1 &&
13509    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13510   as_expr=expr
13511 else
13512   as_expr=false
13513 fi
13514
13515 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13516   as_basename=basename
13517 else
13518   as_basename=false
13519 fi
13520
13521 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13522   as_dirname=dirname
13523 else
13524   as_dirname=false
13525 fi
13526
13527 as_me=`$as_basename -- "$0" ||
13528 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13529          X"$0" : 'X\(//\)$' \| \
13530          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13531 $as_echo X/"$0" |
13532     sed '/^.*\/\([^/][^/]*\)\/*$/{
13533             s//\1/
13534             q
13535           }
13536           /^X\/\(\/\/\)$/{
13537             s//\1/
13538             q
13539           }
13540           /^X\/\(\/\).*/{
13541             s//\1/
13542             q
13543           }
13544           s/.*/./; q'`
13545
13546 # Avoid depending upon Character Ranges.
13547 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13548 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13549 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13550 as_cr_digits='0123456789'
13551 as_cr_alnum=$as_cr_Letters$as_cr_digits
13552
13553 ECHO_C= ECHO_N= ECHO_T=
13554 case `echo -n x` in #(((((
13555 -n*)
13556   case `echo 'xy\c'` in
13557   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13558   xy)  ECHO_C='\c';;
13559   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13560        ECHO_T=' ';;
13561   esac;;
13562 *)
13563   ECHO_N='-n';;
13564 esac
13565
13566 rm -f conf$$ conf$$.exe conf$$.file
13567 if test -d conf$$.dir; then
13568   rm -f conf$$.dir/conf$$.file
13569 else
13570   rm -f conf$$.dir
13571   mkdir conf$$.dir 2>/dev/null
13572 fi
13573 if (echo >conf$$.file) 2>/dev/null; then
13574   if ln -s conf$$.file conf$$ 2>/dev/null; then
13575     as_ln_s='ln -s'
13576     # ... but there are two gotchas:
13577     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13578     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13579     # In both cases, we have to default to `cp -p'.
13580     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13581       as_ln_s='cp -p'
13582   elif ln conf$$.file conf$$ 2>/dev/null; then
13583     as_ln_s=ln
13584   else
13585     as_ln_s='cp -p'
13586   fi
13587 else
13588   as_ln_s='cp -p'
13589 fi
13590 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13591 rmdir conf$$.dir 2>/dev/null
13592
13593
13594 # as_fn_mkdir_p
13595 # -------------
13596 # Create "$as_dir" as a directory, including parents if necessary.
13597 as_fn_mkdir_p ()
13598 {
13599
13600   case $as_dir in #(
13601   -*) as_dir=./$as_dir;;
13602   esac
13603   test -d "$as_dir" || eval $as_mkdir_p || {
13604     as_dirs=
13605     while :; do
13606       case $as_dir in #(
13607       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13608       *) as_qdir=$as_dir;;
13609       esac
13610       as_dirs="'$as_qdir' $as_dirs"
13611       as_dir=`$as_dirname -- "$as_dir" ||
13612 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13613          X"$as_dir" : 'X\(//\)[^/]' \| \
13614          X"$as_dir" : 'X\(//\)$' \| \
13615          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13616 $as_echo X"$as_dir" |
13617     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13618             s//\1/
13619             q
13620           }
13621           /^X\(\/\/\)[^/].*/{
13622             s//\1/
13623             q
13624           }
13625           /^X\(\/\/\)$/{
13626             s//\1/
13627             q
13628           }
13629           /^X\(\/\).*/{
13630             s//\1/
13631             q
13632           }
13633           s/.*/./; q'`
13634       test -d "$as_dir" && break
13635     done
13636     test -z "$as_dirs" || eval "mkdir $as_dirs"
13637   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13638
13639
13640 } # as_fn_mkdir_p
13641 if mkdir -p . 2>/dev/null; then
13642   as_mkdir_p='mkdir -p "$as_dir"'
13643 else
13644   test -d ./-p && rmdir ./-p
13645   as_mkdir_p=false
13646 fi
13647
13648 if test -x / >/dev/null 2>&1; then
13649   as_test_x='test -x'
13650 else
13651   if ls -dL / >/dev/null 2>&1; then
13652     as_ls_L_option=L
13653   else
13654     as_ls_L_option=
13655   fi
13656   as_test_x='
13657     eval sh -c '\''
13658       if test -d "$1"; then
13659         test -d "$1/.";
13660       else
13661         case $1 in #(
13662         -*)set "./$1";;
13663         esac;
13664         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13665         ???[sx]*):;;*)false;;esac;fi
13666     '\'' sh
13667   '
13668 fi
13669 as_executable_p=$as_test_x
13670
13671 # Sed expression to map a string onto a valid CPP name.
13672 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13673
13674 # Sed expression to map a string onto a valid variable name.
13675 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13676
13677
13678 exec 6>&1
13679 ## ----------------------------------- ##
13680 ## Main body of $CONFIG_STATUS script. ##
13681 ## ----------------------------------- ##
13682 _ASEOF
13683 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13684
13685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13686 # Save the log message, to keep $0 and so on meaningful, and to
13687 # report actual input values of CONFIG_FILES etc. instead of their
13688 # values after options handling.
13689 ac_log="
13690 This file was extended by eeze $as_me 1.7.1, which was
13691 generated by GNU Autoconf 2.67.  Invocation command line was
13692
13693   CONFIG_FILES    = $CONFIG_FILES
13694   CONFIG_HEADERS  = $CONFIG_HEADERS
13695   CONFIG_LINKS    = $CONFIG_LINKS
13696   CONFIG_COMMANDS = $CONFIG_COMMANDS
13697   $ $0 $@
13698
13699 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13700 "
13701
13702 _ACEOF
13703
13704 case $ac_config_files in *"
13705 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13706 esac
13707
13708 case $ac_config_headers in *"
13709 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13710 esac
13711
13712
13713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13714 # Files that config.status was made for.
13715 config_files="$ac_config_files"
13716 config_headers="$ac_config_headers"
13717 config_commands="$ac_config_commands"
13718
13719 _ACEOF
13720
13721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13722 ac_cs_usage="\
13723 \`$as_me' instantiates files and other configuration actions
13724 from templates according to the current configuration.  Unless the files
13725 and actions are specified as TAGs, all are instantiated by default.
13726
13727 Usage: $0 [OPTION]... [TAG]...
13728
13729   -h, --help       print this help, then exit
13730   -V, --version    print version number and configuration settings, then exit
13731       --config     print configuration, then exit
13732   -q, --quiet, --silent
13733                    do not print progress messages
13734   -d, --debug      don't remove temporary files
13735       --recheck    update $as_me by reconfiguring in the same conditions
13736       --file=FILE[:TEMPLATE]
13737                    instantiate the configuration file FILE
13738       --header=FILE[:TEMPLATE]
13739                    instantiate the configuration header FILE
13740
13741 Configuration files:
13742 $config_files
13743
13744 Configuration headers:
13745 $config_headers
13746
13747 Configuration commands:
13748 $config_commands
13749
13750 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
13751
13752 _ACEOF
13753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13754 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13755 ac_cs_version="\\
13756 eeze config.status 1.7.1
13757 configured by $0, generated by GNU Autoconf 2.67,
13758   with options \\"\$ac_cs_config\\"
13759
13760 Copyright (C) 2010 Free Software Foundation, Inc.
13761 This config.status script is free software; the Free Software Foundation
13762 gives unlimited permission to copy, distribute and modify it."
13763
13764 ac_pwd='$ac_pwd'
13765 srcdir='$srcdir'
13766 INSTALL='$INSTALL'
13767 MKDIR_P='$MKDIR_P'
13768 AWK='$AWK'
13769 test -n "\$AWK" || AWK=awk
13770 _ACEOF
13771
13772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13773 # The default lists apply if the user does not specify any file.
13774 ac_need_defaults=:
13775 while test $# != 0
13776 do
13777   case $1 in
13778   --*=?*)
13779     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13780     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13781     ac_shift=:
13782     ;;
13783   --*=)
13784     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13785     ac_optarg=
13786     ac_shift=:
13787     ;;
13788   *)
13789     ac_option=$1
13790     ac_optarg=$2
13791     ac_shift=shift
13792     ;;
13793   esac
13794
13795   case $ac_option in
13796   # Handling of the options.
13797   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13798     ac_cs_recheck=: ;;
13799   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13800     $as_echo "$ac_cs_version"; exit ;;
13801   --config | --confi | --conf | --con | --co | --c )
13802     $as_echo "$ac_cs_config"; exit ;;
13803   --debug | --debu | --deb | --de | --d | -d )
13804     debug=: ;;
13805   --file | --fil | --fi | --f )
13806     $ac_shift
13807     case $ac_optarg in
13808     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13809     '') as_fn_error $? "missing file argument" ;;
13810     esac
13811     as_fn_append CONFIG_FILES " '$ac_optarg'"
13812     ac_need_defaults=false;;
13813   --header | --heade | --head | --hea )
13814     $ac_shift
13815     case $ac_optarg in
13816     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13817     esac
13818     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13819     ac_need_defaults=false;;
13820   --he | --h)
13821     # Conflict between --help and --header
13822     as_fn_error $? "ambiguous option: \`$1'
13823 Try \`$0 --help' for more information.";;
13824   --help | --hel | -h )
13825     $as_echo "$ac_cs_usage"; exit ;;
13826   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13827   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13828     ac_cs_silent=: ;;
13829
13830   # This is an error.
13831   -*) as_fn_error $? "unrecognized option: \`$1'
13832 Try \`$0 --help' for more information." ;;
13833
13834   *) as_fn_append ac_config_targets " $1"
13835      ac_need_defaults=false ;;
13836
13837   esac
13838   shift
13839 done
13840
13841 ac_configure_extra_args=
13842
13843 if $ac_cs_silent; then
13844   exec 6>/dev/null
13845   ac_configure_extra_args="$ac_configure_extra_args --silent"
13846 fi
13847
13848 _ACEOF
13849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13850 if \$ac_cs_recheck; then
13851   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13852   shift
13853   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13854   CONFIG_SHELL='$SHELL'
13855   export CONFIG_SHELL
13856   exec "\$@"
13857 fi
13858
13859 _ACEOF
13860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13861 exec 5>>config.log
13862 {
13863   echo
13864   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13865 ## Running $as_me. ##
13866 _ASBOX
13867   $as_echo "$ac_log"
13868 } >&5
13869
13870 _ACEOF
13871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13872 #
13873 # INIT-COMMANDS
13874 #
13875 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13876
13877
13878 # The HP-UX ksh and POSIX shell print the target directory to stdout
13879 # if CDPATH is set.
13880 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13881
13882 sed_quote_subst='$sed_quote_subst'
13883 double_quote_subst='$double_quote_subst'
13884 delay_variable_subst='$delay_variable_subst'
13885 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13886 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13887 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13888 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13889 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13890 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13891 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13892 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13893 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13894 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13895 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13896 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13897 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13898 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13899 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13900 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13901 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13902 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13903 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13904 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13905 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13906 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13907 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13908 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13909 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13910 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13911 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13912 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13913 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13914 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13915 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13916 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13917 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13918 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13919 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13920 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13921 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13922 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13923 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13924 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13925 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13926 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13927 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13928 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13929 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13930 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13931 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13932 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13933 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13934 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13935 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13936 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13937 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13938 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13939 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13940 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13941 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13942 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13943 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13944 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13945 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13946 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13947 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13948 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13949 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13950 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13951 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13952 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13953 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13954 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13955 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13956 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13957 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13958 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13959 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13960 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13961 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13962 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13963 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13964 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13965 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13966 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13967 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13968 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13969 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13970 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13971 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13972 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13973 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13974 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13975 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13976 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13977 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13978 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13979 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13980 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13981 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13982 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13983 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13984 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13985 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13986 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13987 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13988 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13989 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13990 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13991 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13992 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13993 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13994 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13995 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13996 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13997 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13998 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13999 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14000 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14001 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14002 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14003
14004 LTCC='$LTCC'
14005 LTCFLAGS='$LTCFLAGS'
14006 compiler='$compiler_DEFAULT'
14007
14008 # Quote evaled strings.
14009 for var in SED \
14010 GREP \
14011 EGREP \
14012 FGREP \
14013 LD \
14014 NM \
14015 LN_S \
14016 lt_SP2NL \
14017 lt_NL2SP \
14018 reload_flag \
14019 OBJDUMP \
14020 deplibs_check_method \
14021 file_magic_cmd \
14022 AR \
14023 AR_FLAGS \
14024 STRIP \
14025 RANLIB \
14026 CC \
14027 CFLAGS \
14028 compiler \
14029 lt_cv_sys_global_symbol_pipe \
14030 lt_cv_sys_global_symbol_to_cdecl \
14031 lt_cv_sys_global_symbol_to_c_name_address \
14032 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14033 SHELL \
14034 ECHO \
14035 lt_prog_compiler_no_builtin_flag \
14036 lt_prog_compiler_wl \
14037 lt_prog_compiler_pic \
14038 lt_prog_compiler_static \
14039 lt_cv_prog_compiler_c_o \
14040 need_locks \
14041 DSYMUTIL \
14042 NMEDIT \
14043 LIPO \
14044 OTOOL \
14045 OTOOL64 \
14046 shrext_cmds \
14047 export_dynamic_flag_spec \
14048 whole_archive_flag_spec \
14049 compiler_needs_object \
14050 with_gnu_ld \
14051 allow_undefined_flag \
14052 no_undefined_flag \
14053 hardcode_libdir_flag_spec \
14054 hardcode_libdir_flag_spec_ld \
14055 hardcode_libdir_separator \
14056 fix_srcfile_path \
14057 exclude_expsyms \
14058 include_expsyms \
14059 file_list_spec \
14060 variables_saved_for_relink \
14061 libname_spec \
14062 library_names_spec \
14063 soname_spec \
14064 finish_eval \
14065 old_striplib \
14066 striplib; do
14067     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14068     *[\\\\\\\`\\"\\\$]*)
14069       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14070       ;;
14071     *)
14072       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14073       ;;
14074     esac
14075 done
14076
14077 # Double-quote double-evaled strings.
14078 for var in reload_cmds \
14079 old_postinstall_cmds \
14080 old_postuninstall_cmds \
14081 old_archive_cmds \
14082 extract_expsyms_cmds \
14083 old_archive_from_new_cmds \
14084 old_archive_from_expsyms_cmds \
14085 archive_cmds \
14086 archive_expsym_cmds \
14087 module_cmds \
14088 module_expsym_cmds \
14089 export_symbols_cmds \
14090 prelink_cmds \
14091 postinstall_cmds \
14092 postuninstall_cmds \
14093 finish_cmds \
14094 sys_lib_search_path_spec \
14095 sys_lib_dlsearch_path_spec; do
14096     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14097     *[\\\\\\\`\\"\\\$]*)
14098       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14099       ;;
14100     *)
14101       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14102       ;;
14103     esac
14104 done
14105
14106 # Fix-up fallback echo if it was mangled by the above quoting rules.
14107 case \$lt_ECHO in
14108 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14109   ;;
14110 esac
14111
14112 ac_aux_dir='$ac_aux_dir'
14113 xsi_shell='$xsi_shell'
14114 lt_shell_append='$lt_shell_append'
14115
14116 # See if we are running on zsh, and set the options which allow our
14117 # commands through without removal of \ escapes INIT.
14118 if test -n "\${ZSH_VERSION+set}" ; then
14119    setopt NO_GLOB_SUBST
14120 fi
14121
14122
14123     PACKAGE='$PACKAGE'
14124     VERSION='$VERSION'
14125     TIMESTAMP='$TIMESTAMP'
14126     RM='$RM'
14127     ofile='$ofile'
14128
14129
14130
14131
14132 _ACEOF
14133
14134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14135
14136 # Handling of arguments.
14137 for ac_config_target in $ac_config_targets
14138 do
14139   case $ac_config_target in
14140     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14141     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14142     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14143     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14144     "doc/eeze.dox") CONFIG_FILES="$CONFIG_FILES doc/eeze.dox" ;;
14145     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14146     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
14147     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14148     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
14149     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
14150     "eeze.pc") CONFIG_FILES="$CONFIG_FILES eeze.pc" ;;
14151     "eeze.spec") CONFIG_FILES="$CONFIG_FILES eeze.spec" ;;
14152
14153   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
14154   esac
14155 done
14156
14157
14158 # If the user did not use the arguments to specify the items to instantiate,
14159 # then the envvar interface is used.  Set only those that are not.
14160 # We use the long form for the default assignment because of an extremely
14161 # bizarre bug on SunOS 4.1.3.
14162 if $ac_need_defaults; then
14163   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14164   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14165   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14166 fi
14167
14168 # Have a temporary directory for convenience.  Make it in the build tree
14169 # simply because there is no reason against having it here, and in addition,
14170 # creating and moving files from /tmp can sometimes cause problems.
14171 # Hook for its removal unless debugging.
14172 # Note that there is a small window in which the directory will not be cleaned:
14173 # after its creation but before its name has been assigned to `$tmp'.
14174 $debug ||
14175 {
14176   tmp=
14177   trap 'exit_status=$?
14178   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14179 ' 0
14180   trap 'as_fn_exit 1' 1 2 13 15
14181 }
14182 # Create a (secure) tmp directory for tmp files.
14183
14184 {
14185   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14186   test -n "$tmp" && test -d "$tmp"
14187 }  ||
14188 {
14189   tmp=./conf$$-$RANDOM
14190   (umask 077 && mkdir "$tmp")
14191 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14192
14193 # Set up the scripts for CONFIG_FILES section.
14194 # No need to generate them if there are no CONFIG_FILES.
14195 # This happens for instance with `./config.status config.h'.
14196 if test -n "$CONFIG_FILES"; then
14197
14198
14199 ac_cr=`echo X | tr X '\015'`
14200 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14201 # But we know of no other shell where ac_cr would be empty at this
14202 # point, so we can use a bashism as a fallback.
14203 if test "x$ac_cr" = x; then
14204   eval ac_cr=\$\'\\r\'
14205 fi
14206 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14207 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14208   ac_cs_awk_cr='\\r'
14209 else
14210   ac_cs_awk_cr=$ac_cr
14211 fi
14212
14213 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14214 _ACEOF
14215
14216
14217 {
14218   echo "cat >conf$$subs.awk <<_ACEOF" &&
14219   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14220   echo "_ACEOF"
14221 } >conf$$subs.sh ||
14222   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14223 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14224 ac_delim='%!_!# '
14225 for ac_last_try in false false false false false :; do
14226   . ./conf$$subs.sh ||
14227     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14228
14229   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14230   if test $ac_delim_n = $ac_delim_num; then
14231     break
14232   elif $ac_last_try; then
14233     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14234   else
14235     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14236   fi
14237 done
14238 rm -f conf$$subs.sh
14239
14240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14241 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14242 _ACEOF
14243 sed -n '
14244 h
14245 s/^/S["/; s/!.*/"]=/
14246 p
14247 g
14248 s/^[^!]*!//
14249 :repl
14250 t repl
14251 s/'"$ac_delim"'$//
14252 t delim
14253 :nl
14254 h
14255 s/\(.\{148\}\)..*/\1/
14256 t more1
14257 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14258 p
14259 n
14260 b repl
14261 :more1
14262 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14263 p
14264 g
14265 s/.\{148\}//
14266 t nl
14267 :delim
14268 h
14269 s/\(.\{148\}\)..*/\1/
14270 t more2
14271 s/["\\]/\\&/g; s/^/"/; s/$/"/
14272 p
14273 b
14274 :more2
14275 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14276 p
14277 g
14278 s/.\{148\}//
14279 t delim
14280 ' <conf$$subs.awk | sed '
14281 /^[^""]/{
14282   N
14283   s/\n//
14284 }
14285 ' >>$CONFIG_STATUS || ac_write_fail=1
14286 rm -f conf$$subs.awk
14287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14288 _ACAWK
14289 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14290   for (key in S) S_is_set[key] = 1
14291   FS = "\a"
14292
14293 }
14294 {
14295   line = $ 0
14296   nfields = split(line, field, "@")
14297   substed = 0
14298   len = length(field[1])
14299   for (i = 2; i < nfields; i++) {
14300     key = field[i]
14301     keylen = length(key)
14302     if (S_is_set[key]) {
14303       value = S[key]
14304       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14305       len += length(value) + length(field[++i])
14306       substed = 1
14307     } else
14308       len += 1 + keylen
14309   }
14310
14311   print line
14312 }
14313
14314 _ACAWK
14315 _ACEOF
14316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14317 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14318   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14319 else
14320   cat
14321 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14322   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14323 _ACEOF
14324
14325 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14326 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14327 # trailing colons and then remove the whole line if VPATH becomes empty
14328 # (actually we leave an empty line to preserve line numbers).
14329 if test "x$srcdir" = x.; then
14330   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14331 h
14332 s///
14333 s/^/:/
14334 s/[      ]*$/:/
14335 s/:\$(srcdir):/:/g
14336 s/:\${srcdir}:/:/g
14337 s/:@srcdir@:/:/g
14338 s/^:*//
14339 s/:*$//
14340 x
14341 s/\(=[   ]*\).*/\1/
14342 G
14343 s/\n//
14344 s/^[^=]*=[       ]*$//
14345 }'
14346 fi
14347
14348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14349 fi # test -n "$CONFIG_FILES"
14350
14351 # Set up the scripts for CONFIG_HEADERS section.
14352 # No need to generate them if there are no CONFIG_HEADERS.
14353 # This happens for instance with `./config.status Makefile'.
14354 if test -n "$CONFIG_HEADERS"; then
14355 cat >"$tmp/defines.awk" <<\_ACAWK ||
14356 BEGIN {
14357 _ACEOF
14358
14359 # Transform confdefs.h into an awk script `defines.awk', embedded as
14360 # here-document in config.status, that substitutes the proper values into
14361 # config.h.in to produce config.h.
14362
14363 # Create a delimiter string that does not exist in confdefs.h, to ease
14364 # handling of long lines.
14365 ac_delim='%!_!# '
14366 for ac_last_try in false false :; do
14367   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14368   if test -z "$ac_t"; then
14369     break
14370   elif $ac_last_try; then
14371     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14372   else
14373     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14374   fi
14375 done
14376
14377 # For the awk script, D is an array of macro values keyed by name,
14378 # likewise P contains macro parameters if any.  Preserve backslash
14379 # newline sequences.
14380
14381 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14382 sed -n '
14383 s/.\{148\}/&'"$ac_delim"'/g
14384 t rset
14385 :rset
14386 s/^[     ]*#[    ]*define[       ][      ]*/ /
14387 t def
14388 d
14389 :def
14390 s/\\$//
14391 t bsnl
14392 s/["\\]/\\&/g
14393 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14394 D["\1"]=" \3"/p
14395 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14396 d
14397 :bsnl
14398 s/["\\]/\\&/g
14399 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14400 D["\1"]=" \3\\\\\\n"\\/p
14401 t cont
14402 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14403 t cont
14404 d
14405 :cont
14406 n
14407 s/.\{148\}/&'"$ac_delim"'/g
14408 t clear
14409 :clear
14410 s/\\$//
14411 t bsnlc
14412 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14413 d
14414 :bsnlc
14415 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14416 b cont
14417 ' <confdefs.h | sed '
14418 s/'"$ac_delim"'/"\\\
14419 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14420
14421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14422   for (key in D) D_is_set[key] = 1
14423   FS = "\a"
14424 }
14425 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14426   line = \$ 0
14427   split(line, arg, " ")
14428   if (arg[1] == "#") {
14429     defundef = arg[2]
14430     mac1 = arg[3]
14431   } else {
14432     defundef = substr(arg[1], 2)
14433     mac1 = arg[2]
14434   }
14435   split(mac1, mac2, "(") #)
14436   macro = mac2[1]
14437   prefix = substr(line, 1, index(line, defundef) - 1)
14438   if (D_is_set[macro]) {
14439     # Preserve the white space surrounding the "#".
14440     print prefix "define", macro P[macro] D[macro]
14441     next
14442   } else {
14443     # Replace #undef with comments.  This is necessary, for example,
14444     # in the case of _POSIX_SOURCE, which is predefined and required
14445     # on some systems where configure will not decide to define it.
14446     if (defundef == "undef") {
14447       print "/*", prefix defundef, macro, "*/"
14448       next
14449     }
14450   }
14451 }
14452 { print }
14453 _ACAWK
14454 _ACEOF
14455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14456   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14457 fi # test -n "$CONFIG_HEADERS"
14458
14459
14460 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14461 shift
14462 for ac_tag
14463 do
14464   case $ac_tag in
14465   :[FHLC]) ac_mode=$ac_tag; continue;;
14466   esac
14467   case $ac_mode$ac_tag in
14468   :[FHL]*:*);;
14469   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14470   :[FH]-) ac_tag=-:-;;
14471   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14472   esac
14473   ac_save_IFS=$IFS
14474   IFS=:
14475   set x $ac_tag
14476   IFS=$ac_save_IFS
14477   shift
14478   ac_file=$1
14479   shift
14480
14481   case $ac_mode in
14482   :L) ac_source=$1;;
14483   :[FH])
14484     ac_file_inputs=
14485     for ac_f
14486     do
14487       case $ac_f in
14488       -) ac_f="$tmp/stdin";;
14489       *) # Look for the file first in the build tree, then in the source tree
14490          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14491          # because $ac_f cannot contain `:'.
14492          test -f "$ac_f" ||
14493            case $ac_f in
14494            [\\/$]*) false;;
14495            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14496            esac ||
14497            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14498       esac
14499       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14500       as_fn_append ac_file_inputs " '$ac_f'"
14501     done
14502
14503     # Let's still pretend it is `configure' which instantiates (i.e., don't
14504     # use $as_me), people would be surprised to read:
14505     #    /* config.h.  Generated by config.status.  */
14506     configure_input='Generated from '`
14507           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14508         `' by configure.'
14509     if test x"$ac_file" != x-; then
14510       configure_input="$ac_file.  $configure_input"
14511       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14512 $as_echo "$as_me: creating $ac_file" >&6;}
14513     fi
14514     # Neutralize special characters interpreted by sed in replacement strings.
14515     case $configure_input in #(
14516     *\&* | *\|* | *\\* )
14517        ac_sed_conf_input=`$as_echo "$configure_input" |
14518        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14519     *) ac_sed_conf_input=$configure_input;;
14520     esac
14521
14522     case $ac_tag in
14523     *:-:* | *:-) cat >"$tmp/stdin" \
14524       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
14525     esac
14526     ;;
14527   esac
14528
14529   ac_dir=`$as_dirname -- "$ac_file" ||
14530 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14531          X"$ac_file" : 'X\(//\)[^/]' \| \
14532          X"$ac_file" : 'X\(//\)$' \| \
14533          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14534 $as_echo X"$ac_file" |
14535     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14536             s//\1/
14537             q
14538           }
14539           /^X\(\/\/\)[^/].*/{
14540             s//\1/
14541             q
14542           }
14543           /^X\(\/\/\)$/{
14544             s//\1/
14545             q
14546           }
14547           /^X\(\/\).*/{
14548             s//\1/
14549             q
14550           }
14551           s/.*/./; q'`
14552   as_dir="$ac_dir"; as_fn_mkdir_p
14553   ac_builddir=.
14554
14555 case "$ac_dir" in
14556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14557 *)
14558   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14559   # A ".." for each directory in $ac_dir_suffix.
14560   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14561   case $ac_top_builddir_sub in
14562   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14563   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14564   esac ;;
14565 esac
14566 ac_abs_top_builddir=$ac_pwd
14567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14568 # for backward compatibility:
14569 ac_top_builddir=$ac_top_build_prefix
14570
14571 case $srcdir in
14572   .)  # We are building in place.
14573     ac_srcdir=.
14574     ac_top_srcdir=$ac_top_builddir_sub
14575     ac_abs_top_srcdir=$ac_pwd ;;
14576   [\\/]* | ?:[\\/]* )  # Absolute name.
14577     ac_srcdir=$srcdir$ac_dir_suffix;
14578     ac_top_srcdir=$srcdir
14579     ac_abs_top_srcdir=$srcdir ;;
14580   *) # Relative name.
14581     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14582     ac_top_srcdir=$ac_top_build_prefix$srcdir
14583     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14584 esac
14585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14586
14587
14588   case $ac_mode in
14589   :F)
14590   #
14591   # CONFIG_FILE
14592   #
14593
14594   case $INSTALL in
14595   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14596   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14597   esac
14598   ac_MKDIR_P=$MKDIR_P
14599   case $MKDIR_P in
14600   [\\/$]* | ?:[\\/]* ) ;;
14601   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14602   esac
14603 _ACEOF
14604
14605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14606 # If the template does not know about datarootdir, expand it.
14607 # FIXME: This hack should be removed a few years after 2.60.
14608 ac_datarootdir_hack=; ac_datarootdir_seen=
14609 ac_sed_dataroot='
14610 /datarootdir/ {
14611   p
14612   q
14613 }
14614 /@datadir@/p
14615 /@docdir@/p
14616 /@infodir@/p
14617 /@localedir@/p
14618 /@mandir@/p'
14619 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14620 *datarootdir*) ac_datarootdir_seen=yes;;
14621 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14622   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14623 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14624 _ACEOF
14625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14626   ac_datarootdir_hack='
14627   s&@datadir@&$datadir&g
14628   s&@docdir@&$docdir&g
14629   s&@infodir@&$infodir&g
14630   s&@localedir@&$localedir&g
14631   s&@mandir@&$mandir&g
14632   s&\\\${datarootdir}&$datarootdir&g' ;;
14633 esac
14634 _ACEOF
14635
14636 # Neutralize VPATH when `$srcdir' = `.'.
14637 # Shell code in configure.ac might set extrasub.
14638 # FIXME: do we really want to maintain this feature?
14639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14640 ac_sed_extra="$ac_vpsub
14641 $extrasub
14642 _ACEOF
14643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14644 :t
14645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14646 s|@configure_input@|$ac_sed_conf_input|;t t
14647 s&@top_builddir@&$ac_top_builddir_sub&;t t
14648 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14649 s&@srcdir@&$ac_srcdir&;t t
14650 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14651 s&@top_srcdir@&$ac_top_srcdir&;t t
14652 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14653 s&@builddir@&$ac_builddir&;t t
14654 s&@abs_builddir@&$ac_abs_builddir&;t t
14655 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14656 s&@INSTALL@&$ac_INSTALL&;t t
14657 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14658 $ac_datarootdir_hack
14659 "
14660 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14661   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14662
14663 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14664   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14665   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14666   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14667 which seems to be undefined.  Please make sure it is defined" >&5
14668 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14669 which seems to be undefined.  Please make sure it is defined" >&2;}
14670
14671   rm -f "$tmp/stdin"
14672   case $ac_file in
14673   -) cat "$tmp/out" && rm -f "$tmp/out";;
14674   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14675   esac \
14676   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14677  ;;
14678   :H)
14679   #
14680   # CONFIG_HEADER
14681   #
14682   if test x"$ac_file" != x-; then
14683     {
14684       $as_echo "/* $configure_input  */" \
14685       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14686     } >"$tmp/config.h" \
14687       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14688     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14689       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14690 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14691     else
14692       rm -f "$ac_file"
14693       mv "$tmp/config.h" "$ac_file" \
14694         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14695     fi
14696   else
14697     $as_echo "/* $configure_input  */" \
14698       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14699       || as_fn_error $? "could not create -" "$LINENO" 5
14700   fi
14701 # Compute "$ac_file"'s index in $config_headers.
14702 _am_arg="$ac_file"
14703 _am_stamp_count=1
14704 for _am_header in $config_headers :; do
14705   case $_am_header in
14706     $_am_arg | $_am_arg:* )
14707       break ;;
14708     * )
14709       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14710   esac
14711 done
14712 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14713 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14714          X"$_am_arg" : 'X\(//\)[^/]' \| \
14715          X"$_am_arg" : 'X\(//\)$' \| \
14716          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14717 $as_echo X"$_am_arg" |
14718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14719             s//\1/
14720             q
14721           }
14722           /^X\(\/\/\)[^/].*/{
14723             s//\1/
14724             q
14725           }
14726           /^X\(\/\/\)$/{
14727             s//\1/
14728             q
14729           }
14730           /^X\(\/\).*/{
14731             s//\1/
14732             q
14733           }
14734           s/.*/./; q'`/stamp-h$_am_stamp_count
14735  ;;
14736
14737   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14738 $as_echo "$as_me: executing $ac_file commands" >&6;}
14739  ;;
14740   esac
14741
14742
14743   case $ac_file$ac_mode in
14744     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14745   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14746   # are listed without --file.  Let's play safe and only enable the eval
14747   # if we detect the quoting.
14748   case $CONFIG_FILES in
14749   *\'*) eval set x "$CONFIG_FILES" ;;
14750   *)   set x $CONFIG_FILES ;;
14751   esac
14752   shift
14753   for mf
14754   do
14755     # Strip MF so we end up with the name of the file.
14756     mf=`echo "$mf" | sed -e 's/:.*$//'`
14757     # Check whether this is an Automake generated Makefile or not.
14758     # We used to match only the files named `Makefile.in', but
14759     # some people rename them; so instead we look at the file content.
14760     # Grep'ing the first line is not enough: some people post-process
14761     # each Makefile.in and add a new line on top of each file to say so.
14762     # Grep'ing the whole file is not good either: AIX grep has a line
14763     # limit of 2048, but all sed's we know have understand at least 4000.
14764     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14765       dirpart=`$as_dirname -- "$mf" ||
14766 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14767          X"$mf" : 'X\(//\)[^/]' \| \
14768          X"$mf" : 'X\(//\)$' \| \
14769          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14770 $as_echo X"$mf" |
14771     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14772             s//\1/
14773             q
14774           }
14775           /^X\(\/\/\)[^/].*/{
14776             s//\1/
14777             q
14778           }
14779           /^X\(\/\/\)$/{
14780             s//\1/
14781             q
14782           }
14783           /^X\(\/\).*/{
14784             s//\1/
14785             q
14786           }
14787           s/.*/./; q'`
14788     else
14789       continue
14790     fi
14791     # Extract the definition of DEPDIR, am__include, and am__quote
14792     # from the Makefile without running `make'.
14793     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14794     test -z "$DEPDIR" && continue
14795     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14796     test -z "am__include" && continue
14797     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14798     # When using ansi2knr, U may be empty or an underscore; expand it
14799     U=`sed -n 's/^U = //p' < "$mf"`
14800     # Find all dependency output files, they are included files with
14801     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14802     # simplest approach to changing $(DEPDIR) to its actual value in the
14803     # expansion.
14804     for file in `sed -n "
14805       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14806          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14807       # Make sure the directory exists.
14808       test -f "$dirpart/$file" && continue
14809       fdir=`$as_dirname -- "$file" ||
14810 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14811          X"$file" : 'X\(//\)[^/]' \| \
14812          X"$file" : 'X\(//\)$' \| \
14813          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14814 $as_echo X"$file" |
14815     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14816             s//\1/
14817             q
14818           }
14819           /^X\(\/\/\)[^/].*/{
14820             s//\1/
14821             q
14822           }
14823           /^X\(\/\/\)$/{
14824             s//\1/
14825             q
14826           }
14827           /^X\(\/\).*/{
14828             s//\1/
14829             q
14830           }
14831           s/.*/./; q'`
14832       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14833       # echo "creating $dirpart/$file"
14834       echo '# dummy' > "$dirpart/$file"
14835     done
14836   done
14837 }
14838  ;;
14839     "libtool":C)
14840
14841     # See if we are running on zsh, and set the options which allow our
14842     # commands through without removal of \ escapes.
14843     if test -n "${ZSH_VERSION+set}" ; then
14844       setopt NO_GLOB_SUBST
14845     fi
14846
14847     cfgfile="${ofile}T"
14848     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14849     $RM "$cfgfile"
14850
14851     cat <<_LT_EOF >> "$cfgfile"
14852 #! $SHELL
14853
14854 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14855 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14856 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14857 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14858 #
14859 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14860 #                 2006, 2007, 2008 Free Software Foundation, Inc.
14861 #   Written by Gordon Matzigkeit, 1996
14862 #
14863 #   This file is part of GNU Libtool.
14864 #
14865 # GNU Libtool is free software; you can redistribute it and/or
14866 # modify it under the terms of the GNU General Public License as
14867 # published by the Free Software Foundation; either version 2 of
14868 # the License, or (at your option) any later version.
14869 #
14870 # As a special exception to the GNU General Public License,
14871 # if you distribute this file as part of a program or library that
14872 # is built using GNU Libtool, you may include this file under the
14873 # same distribution terms that you use for the rest of that program.
14874 #
14875 # GNU Libtool is distributed in the hope that it will be useful,
14876 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14877 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14878 # GNU General Public License for more details.
14879 #
14880 # You should have received a copy of the GNU General Public License
14881 # along with GNU Libtool; see the file COPYING.  If not, a copy
14882 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14883 # obtained by writing to the Free Software Foundation, Inc.,
14884 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14885
14886
14887 # The names of the tagged configurations supported by this script.
14888 available_tags=""
14889
14890 # ### BEGIN LIBTOOL CONFIG
14891
14892 # Which release of libtool.m4 was used?
14893 macro_version=$macro_version
14894 macro_revision=$macro_revision
14895
14896 # Whether or not to build shared libraries.
14897 build_libtool_libs=$enable_shared
14898
14899 # Whether or not to build static libraries.
14900 build_old_libs=$enable_static
14901
14902 # What type of objects to build.
14903 pic_mode=$pic_mode
14904
14905 # Whether or not to optimize for fast installation.
14906 fast_install=$enable_fast_install
14907
14908 # The host system.
14909 host_alias=$host_alias
14910 host=$host
14911 host_os=$host_os
14912
14913 # The build system.
14914 build_alias=$build_alias
14915 build=$build
14916 build_os=$build_os
14917
14918 # A sed program that does not truncate output.
14919 SED=$lt_SED
14920
14921 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14922 Xsed="\$SED -e 1s/^X//"
14923
14924 # A grep program that handles long lines.
14925 GREP=$lt_GREP
14926
14927 # An ERE matcher.
14928 EGREP=$lt_EGREP
14929
14930 # A literal string matcher.
14931 FGREP=$lt_FGREP
14932
14933 # A BSD- or MS-compatible name lister.
14934 NM=$lt_NM
14935
14936 # Whether we need soft or hard links.
14937 LN_S=$lt_LN_S
14938
14939 # What is the maximum length of a command?
14940 max_cmd_len=$max_cmd_len
14941
14942 # Object file suffix (normally "o").
14943 objext=$ac_objext
14944
14945 # Executable file suffix (normally "").
14946 exeext=$exeext
14947
14948 # whether the shell understands "unset".
14949 lt_unset=$lt_unset
14950
14951 # turn spaces into newlines.
14952 SP2NL=$lt_lt_SP2NL
14953
14954 # turn newlines into spaces.
14955 NL2SP=$lt_lt_NL2SP
14956
14957 # How to create reloadable object files.
14958 reload_flag=$lt_reload_flag
14959 reload_cmds=$lt_reload_cmds
14960
14961 # An object symbol dumper.
14962 OBJDUMP=$lt_OBJDUMP
14963
14964 # Method to check whether dependent libraries are shared objects.
14965 deplibs_check_method=$lt_deplibs_check_method
14966
14967 # Command to use when deplibs_check_method == "file_magic".
14968 file_magic_cmd=$lt_file_magic_cmd
14969
14970 # The archiver.
14971 AR=$lt_AR
14972 AR_FLAGS=$lt_AR_FLAGS
14973
14974 # A symbol stripping program.
14975 STRIP=$lt_STRIP
14976
14977 # Commands used to install an old-style archive.
14978 RANLIB=$lt_RANLIB
14979 old_postinstall_cmds=$lt_old_postinstall_cmds
14980 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14981
14982 # A C compiler.
14983 LTCC=$lt_CC
14984
14985 # LTCC compiler flags.
14986 LTCFLAGS=$lt_CFLAGS
14987
14988 # Take the output of nm and produce a listing of raw symbols and C names.
14989 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14990
14991 # Transform the output of nm in a proper C declaration.
14992 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14993
14994 # Transform the output of nm in a C name address pair.
14995 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14996
14997 # Transform the output of nm in a C name address pair when lib prefix is needed.
14998 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14999
15000 # The name of the directory that contains temporary libtool files.
15001 objdir=$objdir
15002
15003 # Shell to use when invoking shell scripts.
15004 SHELL=$lt_SHELL
15005
15006 # An echo program that does not interpret backslashes.
15007 ECHO=$lt_ECHO
15008
15009 # Used to examine libraries when file_magic_cmd begins with "file".
15010 MAGIC_CMD=$MAGIC_CMD
15011
15012 # Must we lock files when doing compilation?
15013 need_locks=$lt_need_locks
15014
15015 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15016 DSYMUTIL=$lt_DSYMUTIL
15017
15018 # Tool to change global to local symbols on Mac OS X.
15019 NMEDIT=$lt_NMEDIT
15020
15021 # Tool to manipulate fat objects and archives on Mac OS X.
15022 LIPO=$lt_LIPO
15023
15024 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15025 OTOOL=$lt_OTOOL
15026
15027 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15028 OTOOL64=$lt_OTOOL64
15029
15030 # Old archive suffix (normally "a").
15031 libext=$libext
15032
15033 # Shared library suffix (normally ".so").
15034 shrext_cmds=$lt_shrext_cmds
15035
15036 # The commands to extract the exported symbol list from a shared archive.
15037 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15038
15039 # Variables whose values should be saved in libtool wrapper scripts and
15040 # restored at link time.
15041 variables_saved_for_relink=$lt_variables_saved_for_relink
15042
15043 # Do we need the "lib" prefix for modules?
15044 need_lib_prefix=$need_lib_prefix
15045
15046 # Do we need a version for libraries?
15047 need_version=$need_version
15048
15049 # Library versioning type.
15050 version_type=$version_type
15051
15052 # Shared library runtime path variable.
15053 runpath_var=$runpath_var
15054
15055 # Shared library path variable.
15056 shlibpath_var=$shlibpath_var
15057
15058 # Is shlibpath searched before the hard-coded library search path?
15059 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15060
15061 # Format of library name prefix.
15062 libname_spec=$lt_libname_spec
15063
15064 # List of archive names.  First name is the real one, the rest are links.
15065 # The last name is the one that the linker finds with -lNAME
15066 library_names_spec=$lt_library_names_spec
15067
15068 # The coded name of the library, if different from the real name.
15069 soname_spec=$lt_soname_spec
15070
15071 # Command to use after installation of a shared archive.
15072 postinstall_cmds=$lt_postinstall_cmds
15073
15074 # Command to use after uninstallation of a shared archive.
15075 postuninstall_cmds=$lt_postuninstall_cmds
15076
15077 # Commands used to finish a libtool library installation in a directory.
15078 finish_cmds=$lt_finish_cmds
15079
15080 # As "finish_cmds", except a single script fragment to be evaled but
15081 # not shown.
15082 finish_eval=$lt_finish_eval
15083
15084 # Whether we should hardcode library paths into libraries.
15085 hardcode_into_libs=$hardcode_into_libs
15086
15087 # Compile-time system search path for libraries.
15088 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15089
15090 # Run-time system search path for libraries.
15091 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15092
15093 # Whether dlopen is supported.
15094 dlopen_support=$enable_dlopen
15095
15096 # Whether dlopen of programs is supported.
15097 dlopen_self=$enable_dlopen_self
15098
15099 # Whether dlopen of statically linked programs is supported.
15100 dlopen_self_static=$enable_dlopen_self_static
15101
15102 # Commands to strip libraries.
15103 old_striplib=$lt_old_striplib
15104 striplib=$lt_striplib
15105
15106
15107 # The linker used to build libraries.
15108 LD=$lt_LD
15109
15110 # Commands used to build an old-style archive.
15111 old_archive_cmds=$lt_old_archive_cmds
15112
15113 # A language specific compiler.
15114 CC=$lt_compiler
15115
15116 # Is the compiler the GNU compiler?
15117 with_gcc=$GCC
15118
15119 # Compiler flag to turn off builtin functions.
15120 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15121
15122 # How to pass a linker flag through the compiler.
15123 wl=$lt_lt_prog_compiler_wl
15124
15125 # Additional compiler flags for building library objects.
15126 pic_flag=$lt_lt_prog_compiler_pic
15127
15128 # Compiler flag to prevent dynamic linking.
15129 link_static_flag=$lt_lt_prog_compiler_static
15130
15131 # Does compiler simultaneously support -c and -o options?
15132 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15133
15134 # Whether or not to add -lc for building shared libraries.
15135 build_libtool_need_lc=$archive_cmds_need_lc
15136
15137 # Whether or not to disallow shared libs when runtime libs are static.
15138 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15139
15140 # Compiler flag to allow reflexive dlopens.
15141 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15142
15143 # Compiler flag to generate shared objects directly from archives.
15144 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15145
15146 # Whether the compiler copes with passing no objects directly.
15147 compiler_needs_object=$lt_compiler_needs_object
15148
15149 # Create an old-style archive from a shared archive.
15150 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15151
15152 # Create a temporary old-style archive to link instead of a shared archive.
15153 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15154
15155 # Commands used to build a shared archive.
15156 archive_cmds=$lt_archive_cmds
15157 archive_expsym_cmds=$lt_archive_expsym_cmds
15158
15159 # Commands used to build a loadable module if different from building
15160 # a shared archive.
15161 module_cmds=$lt_module_cmds
15162 module_expsym_cmds=$lt_module_expsym_cmds
15163
15164 # Whether we are building with GNU ld or not.
15165 with_gnu_ld=$lt_with_gnu_ld
15166
15167 # Flag that allows shared libraries with undefined symbols to be built.
15168 allow_undefined_flag=$lt_allow_undefined_flag
15169
15170 # Flag that enforces no undefined symbols.
15171 no_undefined_flag=$lt_no_undefined_flag
15172
15173 # Flag to hardcode \$libdir into a binary during linking.
15174 # This must work even if \$libdir does not exist
15175 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15176
15177 # If ld is used when linking, flag to hardcode \$libdir into a binary
15178 # during linking.  This must work even if \$libdir does not exist.
15179 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15180
15181 # Whether we need a single "-rpath" flag with a separated argument.
15182 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15183
15184 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15185 # DIR into the resulting binary.
15186 hardcode_direct=$hardcode_direct
15187
15188 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15189 # DIR into the resulting binary and the resulting library dependency is
15190 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15191 # library is relocated.
15192 hardcode_direct_absolute=$hardcode_direct_absolute
15193
15194 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15195 # into the resulting binary.
15196 hardcode_minus_L=$hardcode_minus_L
15197
15198 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15199 # into the resulting binary.
15200 hardcode_shlibpath_var=$hardcode_shlibpath_var
15201
15202 # Set to "yes" if building a shared library automatically hardcodes DIR
15203 # into the library and all subsequent libraries and executables linked
15204 # against it.
15205 hardcode_automatic=$hardcode_automatic
15206
15207 # Set to yes if linker adds runtime paths of dependent libraries
15208 # to runtime path list.
15209 inherit_rpath=$inherit_rpath
15210
15211 # Whether libtool must link a program against all its dependency libraries.
15212 link_all_deplibs=$link_all_deplibs
15213
15214 # Fix the shell variable \$srcfile for the compiler.
15215 fix_srcfile_path=$lt_fix_srcfile_path
15216
15217 # Set to "yes" if exported symbols are required.
15218 always_export_symbols=$always_export_symbols
15219
15220 # The commands to list exported symbols.
15221 export_symbols_cmds=$lt_export_symbols_cmds
15222
15223 # Symbols that should not be listed in the preloaded symbols.
15224 exclude_expsyms=$lt_exclude_expsyms
15225
15226 # Symbols that must always be exported.
15227 include_expsyms=$lt_include_expsyms
15228
15229 # Commands necessary for linking programs (against libraries) with templates.
15230 prelink_cmds=$lt_prelink_cmds
15231
15232 # Specify filename containing input files.
15233 file_list_spec=$lt_file_list_spec
15234
15235 # How to hardcode a shared library path into an executable.
15236 hardcode_action=$hardcode_action
15237
15238 # ### END LIBTOOL CONFIG
15239
15240 _LT_EOF
15241
15242   case $host_os in
15243   aix3*)
15244     cat <<\_LT_EOF >> "$cfgfile"
15245 # AIX sometimes has problems with the GCC collect2 program.  For some
15246 # reason, if we set the COLLECT_NAMES environment variable, the problems
15247 # vanish in a puff of smoke.
15248 if test "X${COLLECT_NAMES+set}" != Xset; then
15249   COLLECT_NAMES=
15250   export COLLECT_NAMES
15251 fi
15252 _LT_EOF
15253     ;;
15254   esac
15255
15256
15257 ltmain="$ac_aux_dir/ltmain.sh"
15258
15259
15260   # We use sed instead of cat because bash on DJGPP gets confused if
15261   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15262   # text mode, it properly converts lines to CR/LF.  This bash problem
15263   # is reportedly fixed, but why not run on old versions too?
15264   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15265     || (rm -f "$cfgfile"; exit 1)
15266
15267   case $xsi_shell in
15268   yes)
15269     cat << \_LT_EOF >> "$cfgfile"
15270
15271 # func_dirname file append nondir_replacement
15272 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15273 # otherwise set result to NONDIR_REPLACEMENT.
15274 func_dirname ()
15275 {
15276   case ${1} in
15277     */*) func_dirname_result="${1%/*}${2}" ;;
15278     *  ) func_dirname_result="${3}" ;;
15279   esac
15280 }
15281
15282 # func_basename file
15283 func_basename ()
15284 {
15285   func_basename_result="${1##*/}"
15286 }
15287
15288 # func_dirname_and_basename file append nondir_replacement
15289 # perform func_basename and func_dirname in a single function
15290 # call:
15291 #   dirname:  Compute the dirname of FILE.  If nonempty,
15292 #             add APPEND to the result, otherwise set result
15293 #             to NONDIR_REPLACEMENT.
15294 #             value returned in "$func_dirname_result"
15295 #   basename: Compute filename of FILE.
15296 #             value retuned in "$func_basename_result"
15297 # Implementation must be kept synchronized with func_dirname
15298 # and func_basename. For efficiency, we do not delegate to
15299 # those functions but instead duplicate the functionality here.
15300 func_dirname_and_basename ()
15301 {
15302   case ${1} in
15303     */*) func_dirname_result="${1%/*}${2}" ;;
15304     *  ) func_dirname_result="${3}" ;;
15305   esac
15306   func_basename_result="${1##*/}"
15307 }
15308
15309 # func_stripname prefix suffix name
15310 # strip PREFIX and SUFFIX off of NAME.
15311 # PREFIX and SUFFIX must not contain globbing or regex special
15312 # characters, hashes, percent signs, but SUFFIX may contain a leading
15313 # dot (in which case that matches only a dot).
15314 func_stripname ()
15315 {
15316   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15317   # positional parameters, so assign one to ordinary parameter first.
15318   func_stripname_result=${3}
15319   func_stripname_result=${func_stripname_result#"${1}"}
15320   func_stripname_result=${func_stripname_result%"${2}"}
15321 }
15322
15323 # func_opt_split
15324 func_opt_split ()
15325 {
15326   func_opt_split_opt=${1%%=*}
15327   func_opt_split_arg=${1#*=}
15328 }
15329
15330 # func_lo2o object
15331 func_lo2o ()
15332 {
15333   case ${1} in
15334     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15335     *)    func_lo2o_result=${1} ;;
15336   esac
15337 }
15338
15339 # func_xform libobj-or-source
15340 func_xform ()
15341 {
15342   func_xform_result=${1%.*}.lo
15343 }
15344
15345 # func_arith arithmetic-term...
15346 func_arith ()
15347 {
15348   func_arith_result=$(( $* ))
15349 }
15350
15351 # func_len string
15352 # STRING may not start with a hyphen.
15353 func_len ()
15354 {
15355   func_len_result=${#1}
15356 }
15357
15358 _LT_EOF
15359     ;;
15360   *) # Bourne compatible functions.
15361     cat << \_LT_EOF >> "$cfgfile"
15362
15363 # func_dirname file append nondir_replacement
15364 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15365 # otherwise set result to NONDIR_REPLACEMENT.
15366 func_dirname ()
15367 {
15368   # Extract subdirectory from the argument.
15369   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15370   if test "X$func_dirname_result" = "X${1}"; then
15371     func_dirname_result="${3}"
15372   else
15373     func_dirname_result="$func_dirname_result${2}"
15374   fi
15375 }
15376
15377 # func_basename file
15378 func_basename ()
15379 {
15380   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15381 }
15382
15383
15384 # func_stripname prefix suffix name
15385 # strip PREFIX and SUFFIX off of NAME.
15386 # PREFIX and SUFFIX must not contain globbing or regex special
15387 # characters, hashes, percent signs, but SUFFIX may contain a leading
15388 # dot (in which case that matches only a dot).
15389 # func_strip_suffix prefix name
15390 func_stripname ()
15391 {
15392   case ${2} in
15393     .*) func_stripname_result=`$ECHO "X${3}" \
15394            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15395     *)  func_stripname_result=`$ECHO "X${3}" \
15396            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15397   esac
15398 }
15399
15400 # sed scripts:
15401 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15402 my_sed_long_arg='1s/^-[^=]*=//'
15403
15404 # func_opt_split
15405 func_opt_split ()
15406 {
15407   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15408   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15409 }
15410
15411 # func_lo2o object
15412 func_lo2o ()
15413 {
15414   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15415 }
15416
15417 # func_xform libobj-or-source
15418 func_xform ()
15419 {
15420   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15421 }
15422
15423 # func_arith arithmetic-term...
15424 func_arith ()
15425 {
15426   func_arith_result=`expr "$@"`
15427 }
15428
15429 # func_len string
15430 # STRING may not start with a hyphen.
15431 func_len ()
15432 {
15433   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15434 }
15435
15436 _LT_EOF
15437 esac
15438
15439 case $lt_shell_append in
15440   yes)
15441     cat << \_LT_EOF >> "$cfgfile"
15442
15443 # func_append var value
15444 # Append VALUE to the end of shell variable VAR.
15445 func_append ()
15446 {
15447   eval "$1+=\$2"
15448 }
15449 _LT_EOF
15450     ;;
15451   *)
15452     cat << \_LT_EOF >> "$cfgfile"
15453
15454 # func_append var value
15455 # Append VALUE to the end of shell variable VAR.
15456 func_append ()
15457 {
15458   eval "$1=\$$1\$2"
15459 }
15460
15461 _LT_EOF
15462     ;;
15463   esac
15464
15465
15466   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15467     || (rm -f "$cfgfile"; exit 1)
15468
15469   mv -f "$cfgfile" "$ofile" ||
15470     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15471   chmod +x "$ofile"
15472
15473  ;;
15474
15475   esac
15476 done # for ac_tag
15477
15478
15479 as_fn_exit 0
15480 _ACEOF
15481 ac_clean_files=$ac_clean_files_save
15482
15483 test $ac_write_fail = 0 ||
15484   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15485
15486
15487 # configure is writing to config.log, and then calls config.status.
15488 # config.status does its own redirection, appending to config.log.
15489 # Unfortunately, on DOS this fails, as config.log is still kept open
15490 # by configure, so config.status won't be able to write to it; its
15491 # output is simply discarded.  So we exec the FD to /dev/null,
15492 # effectively closing config.log, so it can be properly (re)opened and
15493 # appended to by config.status.  When coming back to configure, we
15494 # need to make the FD available again.
15495 if test "$no_create" != yes; then
15496   ac_cs_success=:
15497   ac_config_status_args=
15498   test "$silent" = yes &&
15499     ac_config_status_args="$ac_config_status_args --quiet"
15500   exec 5>/dev/null
15501   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15502   exec 5>>config.log
15503   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15504   # would make configure fail if this is the last instruction.
15505   $ac_cs_success || as_fn_exit 1
15506 fi
15507 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15508   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15509 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15510 fi
15511
15512
15513
15514 #####################################################################
15515 ## Info
15516
15517 echo
15518 echo
15519 echo
15520 echo "------------------------------------------------------------------------"
15521 echo "$PACKAGE $VERSION"
15522 echo "------------------------------------------------------------------------"
15523 echo
15524 echo "Configuration Options Summary:"
15525 if test "x$eeze_mount" = "xyes";then
15526   echo
15527   echo "Mount..................: ${with_mount}"
15528   echo "Umount.................: ${with_umount}"
15529   echo "Eject..................: ${with_eject}"
15530   echo
15531 fi
15532 echo "Tests..................: ${have_eeze_udev_test}"
15533 echo
15534 echo "Demos..................:"
15535 echo "  eeze_mount...........: ${have_eeze_mount}"
15536 echo "  eeze_umount..........: ${have_eeze_umount}"
15537 echo "  eeze_disk_ls.........: ${have_eeze_disk_ls}"
15538 echo
15539 echo "Utilities..............:"
15540 echo "  eeze_scanner.........: ${have_eeze_scanner}"
15541 echo
15542 echo "IPv6...................: ${have_ipv6}"
15543 echo
15544 echo "Documentation..........: ${build_doc}"
15545 echo
15546 echo "Compilation............: make (or gmake)"
15547 echo "  CPPFLAGS.............: $CPPFLAGS"
15548 echo "  CFLAGS...............: $CFLAGS"
15549 echo "  LDFLAGS..............: $LDFLAGS"
15550 echo
15551 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
15552 echo "  prefix...............: $prefix"
15553 echo
15554