ad85f96751a90337b90d0e1fa897e76befeb3a38
[platform/upstream/eio.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for eio 1.7.2.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
178
179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183     PATH=/empty FPATH=/empty; export PATH FPATH
184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='eio'
572 PACKAGE_TARNAME='eio'
573 PACKAGE_VERSION='1.7.2'
574 PACKAGE_STRING='eio 1.7.2'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
576 PACKAGE_URL=''
577
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 EFL_INSTALL_EXAMPLES_FALSE
620 EFL_INSTALL_EXAMPLES_TRUE
621 EFL_BUILD_EXAMPLES_FALSE
622 EFL_BUILD_EXAMPLES_TRUE
623 EIO_HAVE_WINCHANGE_FALSE
624 EIO_HAVE_WINCHANGE_TRUE
625 EIO_HAVE_INOTIFY_FALSE
626 EIO_HAVE_INOTIFY_TRUE
627 lt_enable_auto_import
628 EFL_PTHREAD_LIBS
629 EFL_PTHREAD_CFLAGS
630 EIO_LIBS
631 EIO_CFLAGS
632 requirements_eio
633 EFL_EIO_BUILD
634 EFL_BUILD_DOC_FALSE
635 EFL_BUILD_DOC_TRUE
636 efl_doxygen
637 efl_have_doxygen
638 pkgconfig_requires_private
639 PKG_CONFIG_LIBDIR
640 PKG_CONFIG_PATH
641 PKG_CONFIG
642 VMAJ
643 release_info
644 version_info
645 OTOOL64
646 OTOOL
647 LIPO
648 NMEDIT
649 DSYMUTIL
650 MANIFEST_TOOL
651 RANLIB
652 ac_ct_AR
653 AR
654 LN_S
655 NM
656 ac_ct_DUMPBIN
657 DUMPBIN
658 LD
659 FGREP
660 SED
661 LIBTOOL
662 OBJDUMP
663 DLLTOOL
664 AS
665 host_os
666 host_vendor
667 host_cpu
668 host
669 build_os
670 build_vendor
671 build_cpu
672 build
673 EGREP
674 GREP
675 CPP
676 am__fastdepCC_FALSE
677 am__fastdepCC_TRUE
678 CCDEPMODE
679 am__nodep
680 AMDEPBACKSLASH
681 AMDEP_FALSE
682 AMDEP_TRUE
683 am__quote
684 am__include
685 DEPDIR
686 OBJEXT
687 EXEEXT
688 ac_ct_CC
689 CPPFLAGS
690 LDFLAGS
691 CFLAGS
692 CC
693 AM_BACKSLASH
694 AM_DEFAULT_VERBOSITY
695 AM_DEFAULT_V
696 AM_V
697 am__untar
698 am__tar
699 AMTAR
700 am__leading_dot
701 SET_MAKE
702 AWK
703 mkdir_p
704 MKDIR_P
705 INSTALL_STRIP_PROGRAM
706 STRIP
707 install_sh
708 MAKEINFO
709 AUTOHEADER
710 AUTOMAKE
711 AUTOCONF
712 ACLOCAL
713 VERSION
714 PACKAGE
715 CYGPATH_W
716 am__isrc
717 INSTALL_DATA
718 INSTALL_SCRIPT
719 INSTALL_PROGRAM
720 target_alias
721 host_alias
722 build_alias
723 LIBS
724 ECHO_T
725 ECHO_N
726 ECHO_C
727 DEFS
728 mandir
729 localedir
730 libdir
731 psdir
732 pdfdir
733 dvidir
734 htmldir
735 infodir
736 docdir
737 oldincludedir
738 includedir
739 localstatedir
740 sharedstatedir
741 sysconfdir
742 datadir
743 datarootdir
744 libexecdir
745 sbindir
746 bindir
747 program_transform_name
748 prefix
749 exec_prefix
750 PACKAGE_URL
751 PACKAGE_BUGREPORT
752 PACKAGE_STRING
753 PACKAGE_VERSION
754 PACKAGE_TARNAME
755 PACKAGE_NAME
756 PATH_SEPARATOR
757 SHELL'
758 ac_subst_files=''
759 ac_user_opts='
760 enable_option_checking
761 enable_silent_rules
762 enable_dependency_tracking
763 enable_largefile
764 enable_shared
765 enable_static
766 with_pic
767 enable_fast_install
768 with_gnu_ld
769 with_sysroot
770 enable_libtool_lock
771 enable_doc
772 with_doxygen
773 enable_posix_threads
774 enable_win32_threads
775 enable_debug_threads
776 enable_inotify
777 enable_notify_win32
778 enable_build_examples
779 enable_install_examples
780 '
781       ac_precious_vars='build_alias
782 host_alias
783 target_alias
784 CC
785 CFLAGS
786 LDFLAGS
787 LIBS
788 CPPFLAGS
789 CPP
790 PKG_CONFIG
791 PKG_CONFIG_PATH
792 PKG_CONFIG_LIBDIR
793 EIO_CFLAGS
794 EIO_LIBS'
795
796
797 # Initialize some variables set by options.
798 ac_init_help=
799 ac_init_version=false
800 ac_unrecognized_opts=
801 ac_unrecognized_sep=
802 # The variables have the same names as the options, with
803 # dashes changed to underlines.
804 cache_file=/dev/null
805 exec_prefix=NONE
806 no_create=
807 no_recursion=
808 prefix=NONE
809 program_prefix=NONE
810 program_suffix=NONE
811 program_transform_name=s,x,x,
812 silent=
813 site=
814 srcdir=
815 verbose=
816 x_includes=NONE
817 x_libraries=NONE
818
819 # Installation directory options.
820 # These are left unexpanded so users can "make install exec_prefix=/foo"
821 # and all the variables that are supposed to be based on exec_prefix
822 # by default will actually change.
823 # Use braces instead of parens because sh, perl, etc. also accept them.
824 # (The list follows the same order as the GNU Coding Standards.)
825 bindir='${exec_prefix}/bin'
826 sbindir='${exec_prefix}/sbin'
827 libexecdir='${exec_prefix}/libexec'
828 datarootdir='${prefix}/share'
829 datadir='${datarootdir}'
830 sysconfdir='${prefix}/etc'
831 sharedstatedir='${prefix}/com'
832 localstatedir='${prefix}/var'
833 includedir='${prefix}/include'
834 oldincludedir='/usr/include'
835 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
836 infodir='${datarootdir}/info'
837 htmldir='${docdir}'
838 dvidir='${docdir}'
839 pdfdir='${docdir}'
840 psdir='${docdir}'
841 libdir='${exec_prefix}/lib'
842 localedir='${datarootdir}/locale'
843 mandir='${datarootdir}/man'
844
845 ac_prev=
846 ac_dashdash=
847 for ac_option
848 do
849   # If the previous option needs an argument, assign it.
850   if test -n "$ac_prev"; then
851     eval $ac_prev=\$ac_option
852     ac_prev=
853     continue
854   fi
855
856   case $ac_option in
857   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858   *=)   ac_optarg= ;;
859   *)    ac_optarg=yes ;;
860   esac
861
862   # Accept the important Cygnus configure options, so we can diagnose typos.
863
864   case $ac_dashdash$ac_option in
865   --)
866     ac_dashdash=yes ;;
867
868   -bindir | --bindir | --bindi | --bind | --bin | --bi)
869     ac_prev=bindir ;;
870   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
871     bindir=$ac_optarg ;;
872
873   -build | --build | --buil | --bui | --bu)
874     ac_prev=build_alias ;;
875   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
876     build_alias=$ac_optarg ;;
877
878   -cache-file | --cache-file | --cache-fil | --cache-fi \
879   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
880     ac_prev=cache_file ;;
881   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
882   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
883     cache_file=$ac_optarg ;;
884
885   --config-cache | -C)
886     cache_file=config.cache ;;
887
888   -datadir | --datadir | --datadi | --datad)
889     ac_prev=datadir ;;
890   -datadir=* | --datadir=* | --datadi=* | --datad=*)
891     datadir=$ac_optarg ;;
892
893   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
894   | --dataroo | --dataro | --datar)
895     ac_prev=datarootdir ;;
896   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
897   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
898     datarootdir=$ac_optarg ;;
899
900   -disable-* | --disable-*)
901     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902     # Reject names that are not valid shell variable names.
903     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904       as_fn_error $? "invalid feature name: $ac_useropt"
905     ac_useropt_orig=$ac_useropt
906     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907     case $ac_user_opts in
908       *"
909 "enable_$ac_useropt"
910 "*) ;;
911       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912          ac_unrecognized_sep=', ';;
913     esac
914     eval enable_$ac_useropt=no ;;
915
916   -docdir | --docdir | --docdi | --doc | --do)
917     ac_prev=docdir ;;
918   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
919     docdir=$ac_optarg ;;
920
921   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
922     ac_prev=dvidir ;;
923   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
924     dvidir=$ac_optarg ;;
925
926   -enable-* | --enable-*)
927     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928     # Reject names that are not valid shell variable names.
929     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930       as_fn_error $? "invalid feature name: $ac_useropt"
931     ac_useropt_orig=$ac_useropt
932     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933     case $ac_user_opts in
934       *"
935 "enable_$ac_useropt"
936 "*) ;;
937       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938          ac_unrecognized_sep=', ';;
939     esac
940     eval enable_$ac_useropt=\$ac_optarg ;;
941
942   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
943   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
944   | --exec | --exe | --ex)
945     ac_prev=exec_prefix ;;
946   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
947   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
948   | --exec=* | --exe=* | --ex=*)
949     exec_prefix=$ac_optarg ;;
950
951   -gas | --gas | --ga | --g)
952     # Obsolete; use --with-gas.
953     with_gas=yes ;;
954
955   -help | --help | --hel | --he | -h)
956     ac_init_help=long ;;
957   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
958     ac_init_help=recursive ;;
959   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
960     ac_init_help=short ;;
961
962   -host | --host | --hos | --ho)
963     ac_prev=host_alias ;;
964   -host=* | --host=* | --hos=* | --ho=*)
965     host_alias=$ac_optarg ;;
966
967   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
968     ac_prev=htmldir ;;
969   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
970   | --ht=*)
971     htmldir=$ac_optarg ;;
972
973   -includedir | --includedir | --includedi | --included | --include \
974   | --includ | --inclu | --incl | --inc)
975     ac_prev=includedir ;;
976   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
977   | --includ=* | --inclu=* | --incl=* | --inc=*)
978     includedir=$ac_optarg ;;
979
980   -infodir | --infodir | --infodi | --infod | --info | --inf)
981     ac_prev=infodir ;;
982   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
983     infodir=$ac_optarg ;;
984
985   -libdir | --libdir | --libdi | --libd)
986     ac_prev=libdir ;;
987   -libdir=* | --libdir=* | --libdi=* | --libd=*)
988     libdir=$ac_optarg ;;
989
990   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
991   | --libexe | --libex | --libe)
992     ac_prev=libexecdir ;;
993   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
994   | --libexe=* | --libex=* | --libe=*)
995     libexecdir=$ac_optarg ;;
996
997   -localedir | --localedir | --localedi | --localed | --locale)
998     ac_prev=localedir ;;
999   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1000     localedir=$ac_optarg ;;
1001
1002   -localstatedir | --localstatedir | --localstatedi | --localstated \
1003   | --localstate | --localstat | --localsta | --localst | --locals)
1004     ac_prev=localstatedir ;;
1005   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1006   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1007     localstatedir=$ac_optarg ;;
1008
1009   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1010     ac_prev=mandir ;;
1011   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1012     mandir=$ac_optarg ;;
1013
1014   -nfp | --nfp | --nf)
1015     # Obsolete; use --without-fp.
1016     with_fp=no ;;
1017
1018   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1019   | --no-cr | --no-c | -n)
1020     no_create=yes ;;
1021
1022   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1023   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1024     no_recursion=yes ;;
1025
1026   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1027   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1028   | --oldin | --oldi | --old | --ol | --o)
1029     ac_prev=oldincludedir ;;
1030   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1031   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1032   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1033     oldincludedir=$ac_optarg ;;
1034
1035   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1036     ac_prev=prefix ;;
1037   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1038     prefix=$ac_optarg ;;
1039
1040   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1041   | --program-pre | --program-pr | --program-p)
1042     ac_prev=program_prefix ;;
1043   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1044   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1045     program_prefix=$ac_optarg ;;
1046
1047   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1048   | --program-suf | --program-su | --program-s)
1049     ac_prev=program_suffix ;;
1050   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1051   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1052     program_suffix=$ac_optarg ;;
1053
1054   -program-transform-name | --program-transform-name \
1055   | --program-transform-nam | --program-transform-na \
1056   | --program-transform-n | --program-transform- \
1057   | --program-transform | --program-transfor \
1058   | --program-transfo | --program-transf \
1059   | --program-trans | --program-tran \
1060   | --progr-tra | --program-tr | --program-t)
1061     ac_prev=program_transform_name ;;
1062   -program-transform-name=* | --program-transform-name=* \
1063   | --program-transform-nam=* | --program-transform-na=* \
1064   | --program-transform-n=* | --program-transform-=* \
1065   | --program-transform=* | --program-transfor=* \
1066   | --program-transfo=* | --program-transf=* \
1067   | --program-trans=* | --program-tran=* \
1068   | --progr-tra=* | --program-tr=* | --program-t=*)
1069     program_transform_name=$ac_optarg ;;
1070
1071   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1072     ac_prev=pdfdir ;;
1073   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1074     pdfdir=$ac_optarg ;;
1075
1076   -psdir | --psdir | --psdi | --psd | --ps)
1077     ac_prev=psdir ;;
1078   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1079     psdir=$ac_optarg ;;
1080
1081   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1082   | -silent | --silent | --silen | --sile | --sil)
1083     silent=yes ;;
1084
1085   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1086     ac_prev=sbindir ;;
1087   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1088   | --sbi=* | --sb=*)
1089     sbindir=$ac_optarg ;;
1090
1091   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1092   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1093   | --sharedst | --shareds | --shared | --share | --shar \
1094   | --sha | --sh)
1095     ac_prev=sharedstatedir ;;
1096   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1097   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1098   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1099   | --sha=* | --sh=*)
1100     sharedstatedir=$ac_optarg ;;
1101
1102   -site | --site | --sit)
1103     ac_prev=site ;;
1104   -site=* | --site=* | --sit=*)
1105     site=$ac_optarg ;;
1106
1107   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1108     ac_prev=srcdir ;;
1109   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1110     srcdir=$ac_optarg ;;
1111
1112   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1113   | --syscon | --sysco | --sysc | --sys | --sy)
1114     ac_prev=sysconfdir ;;
1115   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1116   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1117     sysconfdir=$ac_optarg ;;
1118
1119   -target | --target | --targe | --targ | --tar | --ta | --t)
1120     ac_prev=target_alias ;;
1121   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1122     target_alias=$ac_optarg ;;
1123
1124   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1125     verbose=yes ;;
1126
1127   -version | --version | --versio | --versi | --vers | -V)
1128     ac_init_version=: ;;
1129
1130   -with-* | --with-*)
1131     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1132     # Reject names that are not valid shell variable names.
1133     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134       as_fn_error $? "invalid package name: $ac_useropt"
1135     ac_useropt_orig=$ac_useropt
1136     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137     case $ac_user_opts in
1138       *"
1139 "with_$ac_useropt"
1140 "*) ;;
1141       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1142          ac_unrecognized_sep=', ';;
1143     esac
1144     eval with_$ac_useropt=\$ac_optarg ;;
1145
1146   -without-* | --without-*)
1147     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148     # Reject names that are not valid shell variable names.
1149     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1150       as_fn_error $? "invalid package name: $ac_useropt"
1151     ac_useropt_orig=$ac_useropt
1152     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153     case $ac_user_opts in
1154       *"
1155 "with_$ac_useropt"
1156 "*) ;;
1157       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158          ac_unrecognized_sep=', ';;
1159     esac
1160     eval with_$ac_useropt=no ;;
1161
1162   --x)
1163     # Obsolete; use --with-x.
1164     with_x=yes ;;
1165
1166   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1167   | --x-incl | --x-inc | --x-in | --x-i)
1168     ac_prev=x_includes ;;
1169   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1170   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1171     x_includes=$ac_optarg ;;
1172
1173   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1174   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1175     ac_prev=x_libraries ;;
1176   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1177   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1178     x_libraries=$ac_optarg ;;
1179
1180   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1181 Try \`$0 --help' for more information"
1182     ;;
1183
1184   *=*)
1185     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1186     # Reject names that are not valid shell variable names.
1187     case $ac_envvar in #(
1188       '' | [0-9]* | *[!_$as_cr_alnum]* )
1189       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1190     esac
1191     eval $ac_envvar=\$ac_optarg
1192     export $ac_envvar ;;
1193
1194   *)
1195     # FIXME: should be removed in autoconf 3.0.
1196     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1198       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1200     ;;
1201
1202   esac
1203 done
1204
1205 if test -n "$ac_prev"; then
1206   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1207   as_fn_error $? "missing argument to $ac_option"
1208 fi
1209
1210 if test -n "$ac_unrecognized_opts"; then
1211   case $enable_option_checking in
1212     no) ;;
1213     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1214     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1215   esac
1216 fi
1217
1218 # Check all directory arguments for consistency.
1219 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1220                 datadir sysconfdir sharedstatedir localstatedir includedir \
1221                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1222                 libdir localedir mandir
1223 do
1224   eval ac_val=\$$ac_var
1225   # Remove trailing slashes.
1226   case $ac_val in
1227     */ )
1228       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1229       eval $ac_var=\$ac_val;;
1230   esac
1231   # Be sure to have absolute directory names.
1232   case $ac_val in
1233     [\\/$]* | ?:[\\/]* )  continue;;
1234     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1235   esac
1236   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1237 done
1238
1239 # There might be people who depend on the old broken behavior: `$host'
1240 # used to hold the argument of --host etc.
1241 # FIXME: To remove some day.
1242 build=$build_alias
1243 host=$host_alias
1244 target=$target_alias
1245
1246 # FIXME: To remove some day.
1247 if test "x$host_alias" != x; then
1248   if test "x$build_alias" = x; then
1249     cross_compiling=maybe
1250     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1251     If a cross compiler is detected then cross compile mode will be used" >&2
1252   elif test "x$build_alias" != "x$host_alias"; then
1253     cross_compiling=yes
1254   fi
1255 fi
1256
1257 ac_tool_prefix=
1258 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1259
1260 test "$silent" = yes && exec 6>/dev/null
1261
1262
1263 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1264 ac_ls_di=`ls -di .` &&
1265 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1266   as_fn_error $? "working directory cannot be determined"
1267 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1268   as_fn_error $? "pwd does not report name of working directory"
1269
1270
1271 # Find the source files, if location was not specified.
1272 if test -z "$srcdir"; then
1273   ac_srcdir_defaulted=yes
1274   # Try the directory containing this script, then the parent directory.
1275   ac_confdir=`$as_dirname -- "$as_myself" ||
1276 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1277          X"$as_myself" : 'X\(//\)[^/]' \| \
1278          X"$as_myself" : 'X\(//\)$' \| \
1279          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1280 $as_echo X"$as_myself" |
1281     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1282             s//\1/
1283             q
1284           }
1285           /^X\(\/\/\)[^/].*/{
1286             s//\1/
1287             q
1288           }
1289           /^X\(\/\/\)$/{
1290             s//\1/
1291             q
1292           }
1293           /^X\(\/\).*/{
1294             s//\1/
1295             q
1296           }
1297           s/.*/./; q'`
1298   srcdir=$ac_confdir
1299   if test ! -r "$srcdir/$ac_unique_file"; then
1300     srcdir=..
1301   fi
1302 else
1303   ac_srcdir_defaulted=no
1304 fi
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1306   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1307   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1308 fi
1309 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1310 ac_abs_confdir=`(
1311         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1312         pwd)`
1313 # When building in place, set srcdir=.
1314 if test "$ac_abs_confdir" = "$ac_pwd"; then
1315   srcdir=.
1316 fi
1317 # Remove unnecessary trailing slashes from srcdir.
1318 # Double slashes in file names in object file debugging info
1319 # mess up M-x gdb in Emacs.
1320 case $srcdir in
1321 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1322 esac
1323 for ac_var in $ac_precious_vars; do
1324   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1325   eval ac_env_${ac_var}_value=\$${ac_var}
1326   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1327   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1328 done
1329
1330 #
1331 # Report the --help message.
1332 #
1333 if test "$ac_init_help" = "long"; then
1334   # Omit some internal or obsolete options to make the list less imposing.
1335   # This message is too long to be a string in the A/UX 3.1 sh.
1336   cat <<_ACEOF
1337 \`configure' configures eio 1.7.2 to adapt to many kinds of systems.
1338
1339 Usage: $0 [OPTION]... [VAR=VALUE]...
1340
1341 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1342 VAR=VALUE.  See below for descriptions of some of the useful variables.
1343
1344 Defaults for the options are specified in brackets.
1345
1346 Configuration:
1347   -h, --help              display this help and exit
1348       --help=short        display options specific to this package
1349       --help=recursive    display the short help of all the included packages
1350   -V, --version           display version information and exit
1351   -q, --quiet, --silent   do not print \`checking ...' messages
1352       --cache-file=FILE   cache test results in FILE [disabled]
1353   -C, --config-cache      alias for \`--cache-file=config.cache'
1354   -n, --no-create         do not create output files
1355       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1356
1357 Installation directories:
1358   --prefix=PREFIX         install architecture-independent files in PREFIX
1359                           [$ac_default_prefix]
1360   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1361                           [PREFIX]
1362
1363 By default, \`make install' will install all the files in
1364 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1365 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1366 for instance \`--prefix=\$HOME'.
1367
1368 For better control, use the options below.
1369
1370 Fine tuning of the installation directories:
1371   --bindir=DIR            user executables [EPREFIX/bin]
1372   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1373   --libexecdir=DIR        program executables [EPREFIX/libexec]
1374   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1375   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1376   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1377   --libdir=DIR            object code libraries [EPREFIX/lib]
1378   --includedir=DIR        C header files [PREFIX/include]
1379   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1380   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1381   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1382   --infodir=DIR           info documentation [DATAROOTDIR/info]
1383   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1384   --mandir=DIR            man documentation [DATAROOTDIR/man]
1385   --docdir=DIR            documentation root [DATAROOTDIR/doc/eio]
1386   --htmldir=DIR           html documentation [DOCDIR]
1387   --dvidir=DIR            dvi documentation [DOCDIR]
1388   --pdfdir=DIR            pdf documentation [DOCDIR]
1389   --psdir=DIR             ps documentation [DOCDIR]
1390 _ACEOF
1391
1392   cat <<\_ACEOF
1393
1394 Program names:
1395   --program-prefix=PREFIX            prepend PREFIX to installed program names
1396   --program-suffix=SUFFIX            append SUFFIX to installed program names
1397   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1398
1399 System types:
1400   --build=BUILD     configure for building on BUILD [guessed]
1401   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1402 _ACEOF
1403 fi
1404
1405 if test -n "$ac_init_help"; then
1406   case $ac_init_help in
1407      short | recursive ) echo "Configuration of eio 1.7.2:";;
1408    esac
1409   cat <<\_ACEOF
1410
1411 Optional Features:
1412   --disable-option-checking  ignore unrecognized --enable/--with options
1413   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1414   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1415   --enable-silent-rules          less verbose build output (undo: `make V=1')
1416   --disable-silent-rules         verbose build output (undo: `make V=0')
1417   --disable-dependency-tracking  speeds up one-time build
1418   --enable-dependency-tracking   do not reject slow dependency extractors
1419   --disable-largefile     omit support for large files
1420   --enable-shared[=PKGS]  build shared libraries [default=yes]
1421   --enable-static[=PKGS]  build static libraries [default=yes]
1422   --enable-fast-install[=PKGS]
1423                           optimize for fast installation [default=yes]
1424   --disable-libtool-lock  avoid locking (might break parallel builds)
1425   --disable-doc           Disable documentation build [default=enabled]
1426   --disable-posix-threads enable POSIX threads code [default=auto]
1427   --disable-win32-threads enable Win32 threads code [default=no]
1428   --enable-debug-threads  disable assert when you forgot to call
1429                           eina_threads_init
1430   --disable-inotify       disable inotify
1431   --disable-notify-win32  disable Windows notification
1432   --enable-build-examples enable building examples [default=disabled]
1433   --enable-install-examples
1434                           enable installing example source files
1435                           [default=disabled]
1436
1437 Optional Packages:
1438   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1439   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1440   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1441                           both]
1442   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1443   --with-sysroot=DIR Search for dependent libraries within DIR
1444                         (or the compiler's sysroot if not specified).
1445   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1446
1447 Some influential environment variables:
1448   CC          C compiler command
1449   CFLAGS      C compiler flags
1450   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1451               nonstandard directory <lib dir>
1452   LIBS        libraries to pass to the linker, e.g. -l<library>
1453   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1454               you have headers in a nonstandard directory <include dir>
1455   CPP         C preprocessor
1456   PKG_CONFIG  path to pkg-config utility
1457   PKG_CONFIG_PATH
1458               directories to add to pkg-config's search path
1459   PKG_CONFIG_LIBDIR
1460               path overriding pkg-config's built-in search path
1461   EIO_CFLAGS  C compiler flags for EIO, overriding pkg-config
1462   EIO_LIBS    linker flags for EIO, overriding pkg-config
1463
1464 Use these variables to override the choices made by `configure' or to help
1465 it to find libraries and programs with nonstandard names/locations.
1466
1467 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1468 _ACEOF
1469 ac_status=$?
1470 fi
1471
1472 if test "$ac_init_help" = "recursive"; then
1473   # If there are subdirs, report their specific --help.
1474   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1475     test -d "$ac_dir" ||
1476       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1477       continue
1478     ac_builddir=.
1479
1480 case "$ac_dir" in
1481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 *)
1483   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1484   # A ".." for each directory in $ac_dir_suffix.
1485   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1486   case $ac_top_builddir_sub in
1487   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1489   esac ;;
1490 esac
1491 ac_abs_top_builddir=$ac_pwd
1492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1493 # for backward compatibility:
1494 ac_top_builddir=$ac_top_build_prefix
1495
1496 case $srcdir in
1497   .)  # We are building in place.
1498     ac_srcdir=.
1499     ac_top_srcdir=$ac_top_builddir_sub
1500     ac_abs_top_srcdir=$ac_pwd ;;
1501   [\\/]* | ?:[\\/]* )  # Absolute name.
1502     ac_srcdir=$srcdir$ac_dir_suffix;
1503     ac_top_srcdir=$srcdir
1504     ac_abs_top_srcdir=$srcdir ;;
1505   *) # Relative name.
1506     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507     ac_top_srcdir=$ac_top_build_prefix$srcdir
1508     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1509 esac
1510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1511
1512     cd "$ac_dir" || { ac_status=$?; continue; }
1513     # Check for guested configure.
1514     if test -f "$ac_srcdir/configure.gnu"; then
1515       echo &&
1516       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517     elif test -f "$ac_srcdir/configure"; then
1518       echo &&
1519       $SHELL "$ac_srcdir/configure" --help=recursive
1520     else
1521       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1522     fi || ac_status=$?
1523     cd "$ac_pwd" || { ac_status=$?; break; }
1524   done
1525 fi
1526
1527 test -n "$ac_init_help" && exit $ac_status
1528 if $ac_init_version; then
1529   cat <<\_ACEOF
1530 eio configure 1.7.2
1531 generated by GNU Autoconf 2.68
1532
1533 Copyright (C) 2010 Free Software Foundation, Inc.
1534 This configure script is free software; the Free Software Foundation
1535 gives unlimited permission to copy, distribute and modify it.
1536 _ACEOF
1537   exit
1538 fi
1539
1540 ## ------------------------ ##
1541 ## Autoconf initialization. ##
1542 ## ------------------------ ##
1543
1544 # ac_fn_c_try_compile LINENO
1545 # --------------------------
1546 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1547 ac_fn_c_try_compile ()
1548 {
1549   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550   rm -f conftest.$ac_objext
1551   if { { ac_try="$ac_compile"
1552 case "(($ac_try" in
1553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554   *) ac_try_echo=$ac_try;;
1555 esac
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558   (eval "$ac_compile") 2>conftest.err
1559   ac_status=$?
1560   if test -s conftest.err; then
1561     grep -v '^ *+' conftest.err >conftest.er1
1562     cat conftest.er1 >&5
1563     mv -f conftest.er1 conftest.err
1564   fi
1565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566   test $ac_status = 0; } && {
1567          test -z "$ac_c_werror_flag" ||
1568          test ! -s conftest.err
1569        } && test -s conftest.$ac_objext; then :
1570   ac_retval=0
1571 else
1572   $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1574
1575         ac_retval=1
1576 fi
1577   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578   as_fn_set_status $ac_retval
1579
1580 } # ac_fn_c_try_compile
1581
1582 # ac_fn_c_try_cpp LINENO
1583 # ----------------------
1584 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1585 ac_fn_c_try_cpp ()
1586 {
1587   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588   if { { ac_try="$ac_cpp conftest.$ac_ext"
1589 case "(($ac_try" in
1590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1591   *) ac_try_echo=$ac_try;;
1592 esac
1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1596   ac_status=$?
1597   if test -s conftest.err; then
1598     grep -v '^ *+' conftest.err >conftest.er1
1599     cat conftest.er1 >&5
1600     mv -f conftest.er1 conftest.err
1601   fi
1602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603   test $ac_status = 0; } > conftest.i && {
1604          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1605          test ! -s conftest.err
1606        }; then :
1607   ac_retval=0
1608 else
1609   $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1611
1612     ac_retval=1
1613 fi
1614   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615   as_fn_set_status $ac_retval
1616
1617 } # ac_fn_c_try_cpp
1618
1619 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1620 # -------------------------------------------------------
1621 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1622 # the include files in INCLUDES and setting the cache variable VAR
1623 # accordingly.
1624 ac_fn_c_check_header_mongrel ()
1625 {
1626   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627   if eval \${$3+:} false; then :
1628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1629 $as_echo_n "checking for $2... " >&6; }
1630 if eval \${$3+:} false; then :
1631   $as_echo_n "(cached) " >&6
1632 fi
1633 eval ac_res=\$$3
1634                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1635 $as_echo "$ac_res" >&6; }
1636 else
1637   # Is the header compilable?
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1639 $as_echo_n "checking $2 usability... " >&6; }
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h.  */
1642 $4
1643 #include <$2>
1644 _ACEOF
1645 if ac_fn_c_try_compile "$LINENO"; then :
1646   ac_header_compiler=yes
1647 else
1648   ac_header_compiler=no
1649 fi
1650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1652 $as_echo "$ac_header_compiler" >&6; }
1653
1654 # Is the header present?
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1656 $as_echo_n "checking $2 presence... " >&6; }
1657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h.  */
1659 #include <$2>
1660 _ACEOF
1661 if ac_fn_c_try_cpp "$LINENO"; then :
1662   ac_header_preproc=yes
1663 else
1664   ac_header_preproc=no
1665 fi
1666 rm -f conftest.err conftest.i conftest.$ac_ext
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1668 $as_echo "$ac_header_preproc" >&6; }
1669
1670 # So?  What about this header?
1671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1672   yes:no: )
1673     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1674 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1675     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1677     ;;
1678   no:yes:* )
1679     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1680 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1681     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1682 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1683     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1684 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1685     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1686 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1687     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1688 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1689 ( $as_echo "## -------------------------------------------------------- ##
1690 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1691 ## -------------------------------------------------------- ##"
1692      ) | sed "s/^/$as_me: WARNING:     /" >&2
1693     ;;
1694 esac
1695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if eval \${$3+:} false; then :
1698   $as_echo_n "(cached) " >&6
1699 else
1700   eval "$3=\$ac_header_compiler"
1701 fi
1702 eval ac_res=\$$3
1703                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704 $as_echo "$ac_res" >&6; }
1705 fi
1706   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1707
1708 } # ac_fn_c_check_header_mongrel
1709
1710 # ac_fn_c_try_run LINENO
1711 # ----------------------
1712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1713 # that executables *can* be run.
1714 ac_fn_c_try_run ()
1715 {
1716   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717   if { { ac_try="$ac_link"
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_link") 2>&5
1725   ac_status=$?
1726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1728   { { case "(($ac_try" in
1729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730   *) ac_try_echo=$ac_try;;
1731 esac
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734   (eval "$ac_try") 2>&5
1735   ac_status=$?
1736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737   test $ac_status = 0; }; }; then :
1738   ac_retval=0
1739 else
1740   $as_echo "$as_me: program exited with status $ac_status" >&5
1741        $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1743
1744        ac_retval=$ac_status
1745 fi
1746   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748   as_fn_set_status $ac_retval
1749
1750 } # ac_fn_c_try_run
1751
1752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1753 # -------------------------------------------------------
1754 # Tests whether HEADER exists and can be compiled using the include files in
1755 # INCLUDES, setting the cache variable VAR accordingly.
1756 ac_fn_c_check_header_compile ()
1757 {
1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if eval \${$3+:} false; then :
1762   $as_echo_n "(cached) " >&6
1763 else
1764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h.  */
1766 $4
1767 #include <$2>
1768 _ACEOF
1769 if ac_fn_c_try_compile "$LINENO"; then :
1770   eval "$3=yes"
1771 else
1772   eval "$3=no"
1773 fi
1774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1775 fi
1776 eval ac_res=\$$3
1777                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780
1781 } # ac_fn_c_check_header_compile
1782
1783 # ac_fn_c_try_link LINENO
1784 # -----------------------
1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_c_try_link ()
1787 {
1788   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789   rm -f conftest.$ac_objext conftest$ac_exeext
1790   if { { ac_try="$ac_link"
1791 case "(($ac_try" in
1792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793   *) ac_try_echo=$ac_try;;
1794 esac
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797   (eval "$ac_link") 2>conftest.err
1798   ac_status=$?
1799   if test -s conftest.err; then
1800     grep -v '^ *+' conftest.err >conftest.er1
1801     cat conftest.er1 >&5
1802     mv -f conftest.er1 conftest.err
1803   fi
1804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805   test $ac_status = 0; } && {
1806          test -z "$ac_c_werror_flag" ||
1807          test ! -s conftest.err
1808        } && test -s conftest$ac_exeext && {
1809          test "$cross_compiling" = yes ||
1810          $as_test_x conftest$ac_exeext
1811        }; then :
1812   ac_retval=0
1813 else
1814   $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1816
1817         ac_retval=1
1818 fi
1819   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1820   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1821   # interfere with the next link command; also delete a directory that is
1822   # left behind by Apple's compiler.  We do this before executing the actions.
1823   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825   as_fn_set_status $ac_retval
1826
1827 } # ac_fn_c_try_link
1828
1829 # ac_fn_c_check_func LINENO FUNC VAR
1830 # ----------------------------------
1831 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1832 ac_fn_c_check_func ()
1833 {
1834   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if eval \${$3+:} false; then :
1838   $as_echo_n "(cached) " >&6
1839 else
1840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h.  */
1842 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1843    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1844 #define $2 innocuous_$2
1845
1846 /* System header to define __stub macros and hopefully few prototypes,
1847     which can conflict with char $2 (); below.
1848     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1849     <limits.h> exists even on freestanding compilers.  */
1850
1851 #ifdef __STDC__
1852 # include <limits.h>
1853 #else
1854 # include <assert.h>
1855 #endif
1856
1857 #undef $2
1858
1859 /* Override any GCC internal prototype to avoid an error.
1860    Use char because int might match the return type of a GCC
1861    builtin and then its argument prototype would still apply.  */
1862 #ifdef __cplusplus
1863 extern "C"
1864 #endif
1865 char $2 ();
1866 /* The GNU C library defines this for functions which it implements
1867     to always fail with ENOSYS.  Some functions are actually named
1868     something starting with __ and the normal name is an alias.  */
1869 #if defined __stub_$2 || defined __stub___$2
1870 choke me
1871 #endif
1872
1873 int
1874 main ()
1875 {
1876 return $2 ();
1877   ;
1878   return 0;
1879 }
1880 _ACEOF
1881 if ac_fn_c_try_link "$LINENO"; then :
1882   eval "$3=yes"
1883 else
1884   eval "$3=no"
1885 fi
1886 rm -f core conftest.err conftest.$ac_objext \
1887     conftest$ac_exeext conftest.$ac_ext
1888 fi
1889 eval ac_res=\$$3
1890                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1893
1894 } # ac_fn_c_check_func
1895 cat >config.log <<_ACEOF
1896 This file contains any messages produced by compilers while
1897 running configure, to aid debugging if configure makes a mistake.
1898
1899 It was created by eio $as_me 1.7.2, which was
1900 generated by GNU Autoconf 2.68.  Invocation command line was
1901
1902   $ $0 $@
1903
1904 _ACEOF
1905 exec 5>>config.log
1906 {
1907 cat <<_ASUNAME
1908 ## --------- ##
1909 ## Platform. ##
1910 ## --------- ##
1911
1912 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1913 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1914 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1915 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1916 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1917
1918 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1919 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1920
1921 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1922 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1923 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1924 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1925 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1926 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1927 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1928
1929 _ASUNAME
1930
1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932 for as_dir in $PATH
1933 do
1934   IFS=$as_save_IFS
1935   test -z "$as_dir" && as_dir=.
1936     $as_echo "PATH: $as_dir"
1937   done
1938 IFS=$as_save_IFS
1939
1940 } >&5
1941
1942 cat >&5 <<_ACEOF
1943
1944
1945 ## ----------- ##
1946 ## Core tests. ##
1947 ## ----------- ##
1948
1949 _ACEOF
1950
1951
1952 # Keep a trace of the command line.
1953 # Strip out --no-create and --no-recursion so they do not pile up.
1954 # Strip out --silent because we don't want to record it for future runs.
1955 # Also quote any args containing shell meta-characters.
1956 # Make two passes to allow for proper duplicate-argument suppression.
1957 ac_configure_args=
1958 ac_configure_args0=
1959 ac_configure_args1=
1960 ac_must_keep_next=false
1961 for ac_pass in 1 2
1962 do
1963   for ac_arg
1964   do
1965     case $ac_arg in
1966     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1967     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1968     | -silent | --silent | --silen | --sile | --sil)
1969       continue ;;
1970     *\'*)
1971       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1972     esac
1973     case $ac_pass in
1974     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1975     2)
1976       as_fn_append ac_configure_args1 " '$ac_arg'"
1977       if test $ac_must_keep_next = true; then
1978         ac_must_keep_next=false # Got value, back to normal.
1979       else
1980         case $ac_arg in
1981           *=* | --config-cache | -C | -disable-* | --disable-* \
1982           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1983           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1984           | -with-* | --with-* | -without-* | --without-* | --x)
1985             case "$ac_configure_args0 " in
1986               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1987             esac
1988             ;;
1989           -* ) ac_must_keep_next=true ;;
1990         esac
1991       fi
1992       as_fn_append ac_configure_args " '$ac_arg'"
1993       ;;
1994     esac
1995   done
1996 done
1997 { ac_configure_args0=; unset ac_configure_args0;}
1998 { ac_configure_args1=; unset ac_configure_args1;}
1999
2000 # When interrupted or exit'd, cleanup temporary files, and complete
2001 # config.log.  We remove comments because anyway the quotes in there
2002 # would cause problems or look ugly.
2003 # WARNING: Use '\'' to represent an apostrophe within the trap.
2004 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2005 trap 'exit_status=$?
2006   # Save into config.log some information that might help in debugging.
2007   {
2008     echo
2009
2010     $as_echo "## ---------------- ##
2011 ## Cache variables. ##
2012 ## ---------------- ##"
2013     echo
2014     # The following way of writing the cache mishandles newlines in values,
2015 (
2016   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2017     eval ac_val=\$$ac_var
2018     case $ac_val in #(
2019     *${as_nl}*)
2020       case $ac_var in #(
2021       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2022 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2023       esac
2024       case $ac_var in #(
2025       _ | IFS | as_nl) ;; #(
2026       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2027       *) { eval $ac_var=; unset $ac_var;} ;;
2028       esac ;;
2029     esac
2030   done
2031   (set) 2>&1 |
2032     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2033     *${as_nl}ac_space=\ *)
2034       sed -n \
2035         "s/'\''/'\''\\\\'\'''\''/g;
2036           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2037       ;; #(
2038     *)
2039       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2040       ;;
2041     esac |
2042     sort
2043 )
2044     echo
2045
2046     $as_echo "## ----------------- ##
2047 ## Output variables. ##
2048 ## ----------------- ##"
2049     echo
2050     for ac_var in $ac_subst_vars
2051     do
2052       eval ac_val=\$$ac_var
2053       case $ac_val in
2054       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2055       esac
2056       $as_echo "$ac_var='\''$ac_val'\''"
2057     done | sort
2058     echo
2059
2060     if test -n "$ac_subst_files"; then
2061       $as_echo "## ------------------- ##
2062 ## File substitutions. ##
2063 ## ------------------- ##"
2064       echo
2065       for ac_var in $ac_subst_files
2066       do
2067         eval ac_val=\$$ac_var
2068         case $ac_val in
2069         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2070         esac
2071         $as_echo "$ac_var='\''$ac_val'\''"
2072       done | sort
2073       echo
2074     fi
2075
2076     if test -s confdefs.h; then
2077       $as_echo "## ----------- ##
2078 ## confdefs.h. ##
2079 ## ----------- ##"
2080       echo
2081       cat confdefs.h
2082       echo
2083     fi
2084     test "$ac_signal" != 0 &&
2085       $as_echo "$as_me: caught signal $ac_signal"
2086     $as_echo "$as_me: exit $exit_status"
2087   } >&5
2088   rm -f core *.core core.conftest.* &&
2089     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2090     exit $exit_status
2091 ' 0
2092 for ac_signal in 1 2 13 15; do
2093   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2094 done
2095 ac_signal=0
2096
2097 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2098 rm -f -r conftest* confdefs.h
2099
2100 $as_echo "/* confdefs.h */" > confdefs.h
2101
2102 # Predefined preprocessor variables.
2103
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE_NAME "$PACKAGE_NAME"
2106 _ACEOF
2107
2108 cat >>confdefs.h <<_ACEOF
2109 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2110 _ACEOF
2111
2112 cat >>confdefs.h <<_ACEOF
2113 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2114 _ACEOF
2115
2116 cat >>confdefs.h <<_ACEOF
2117 #define PACKAGE_STRING "$PACKAGE_STRING"
2118 _ACEOF
2119
2120 cat >>confdefs.h <<_ACEOF
2121 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2122 _ACEOF
2123
2124 cat >>confdefs.h <<_ACEOF
2125 #define PACKAGE_URL "$PACKAGE_URL"
2126 _ACEOF
2127
2128
2129 # Let the site file select an alternate cache file if it wants to.
2130 # Prefer an explicitly selected file to automatically selected ones.
2131 ac_site_file1=NONE
2132 ac_site_file2=NONE
2133 if test -n "$CONFIG_SITE"; then
2134   # We do not want a PATH search for config.site.
2135   case $CONFIG_SITE in #((
2136     -*)  ac_site_file1=./$CONFIG_SITE;;
2137     */*) ac_site_file1=$CONFIG_SITE;;
2138     *)   ac_site_file1=./$CONFIG_SITE;;
2139   esac
2140 elif test "x$prefix" != xNONE; then
2141   ac_site_file1=$prefix/share/config.site
2142   ac_site_file2=$prefix/etc/config.site
2143 else
2144   ac_site_file1=$ac_default_prefix/share/config.site
2145   ac_site_file2=$ac_default_prefix/etc/config.site
2146 fi
2147 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2148 do
2149   test "x$ac_site_file" = xNONE && continue
2150   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2151     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2152 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2153     sed 's/^/| /' "$ac_site_file" >&5
2154     . "$ac_site_file" \
2155       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2157 as_fn_error $? "failed to load site script $ac_site_file
2158 See \`config.log' for more details" "$LINENO" 5; }
2159   fi
2160 done
2161
2162 if test -r "$cache_file"; then
2163   # Some versions of bash will fail to source /dev/null (special files
2164   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2165   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2166     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2167 $as_echo "$as_me: loading cache $cache_file" >&6;}
2168     case $cache_file in
2169       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2170       *)                      . "./$cache_file";;
2171     esac
2172   fi
2173 else
2174   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2175 $as_echo "$as_me: creating cache $cache_file" >&6;}
2176   >$cache_file
2177 fi
2178
2179 # Check that the precious variables saved in the cache have kept the same
2180 # value.
2181 ac_cache_corrupted=false
2182 for ac_var in $ac_precious_vars; do
2183   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2184   eval ac_new_set=\$ac_env_${ac_var}_set
2185   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2186   eval ac_new_val=\$ac_env_${ac_var}_value
2187   case $ac_old_set,$ac_new_set in
2188     set,)
2189       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2190 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2191       ac_cache_corrupted=: ;;
2192     ,set)
2193       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2194 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2195       ac_cache_corrupted=: ;;
2196     ,);;
2197     *)
2198       if test "x$ac_old_val" != "x$ac_new_val"; then
2199         # differences in whitespace do not lead to failure.
2200         ac_old_val_w=`echo x $ac_old_val`
2201         ac_new_val_w=`echo x $ac_new_val`
2202         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2203           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2204 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2205           ac_cache_corrupted=:
2206         else
2207           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2208 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2209           eval $ac_var=\$ac_old_val
2210         fi
2211         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2212 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2213         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2214 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2215       fi;;
2216   esac
2217   # Pass precious variables to config.status.
2218   if test "$ac_new_set" = set; then
2219     case $ac_new_val in
2220     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2221     *) ac_arg=$ac_var=$ac_new_val ;;
2222     esac
2223     case " $ac_configure_args " in
2224       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2225       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2226     esac
2227   fi
2228 done
2229 if $ac_cache_corrupted; then
2230   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2233 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2234   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2235 fi
2236 ## -------------------- ##
2237 ## Main body of script. ##
2238 ## -------------------- ##
2239
2240 ac_ext=c
2241 ac_cpp='$CPP $CPPFLAGS'
2242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2245
2246
2247
2248
2249
2250
2251 ac_config_headers="$ac_config_headers config.h"
2252
2253
2254
2255
2256 am__api_version='1.11'
2257
2258 ac_aux_dir=
2259 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2260   if test -f "$ac_dir/install-sh"; then
2261     ac_aux_dir=$ac_dir
2262     ac_install_sh="$ac_aux_dir/install-sh -c"
2263     break
2264   elif test -f "$ac_dir/install.sh"; then
2265     ac_aux_dir=$ac_dir
2266     ac_install_sh="$ac_aux_dir/install.sh -c"
2267     break
2268   elif test -f "$ac_dir/shtool"; then
2269     ac_aux_dir=$ac_dir
2270     ac_install_sh="$ac_aux_dir/shtool install -c"
2271     break
2272   fi
2273 done
2274 if test -z "$ac_aux_dir"; then
2275   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2276 fi
2277
2278 # These three variables are undocumented and unsupported,
2279 # and are intended to be withdrawn in a future Autoconf release.
2280 # They can cause serious problems if a builder's source tree is in a directory
2281 # whose full name contains unusual characters.
2282 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2283 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2284 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2285
2286
2287 # Find a good install program.  We prefer a C program (faster),
2288 # so one script is as good as another.  But avoid the broken or
2289 # incompatible versions:
2290 # SysV /etc/install, /usr/sbin/install
2291 # SunOS /usr/etc/install
2292 # IRIX /sbin/install
2293 # AIX /bin/install
2294 # AmigaOS /C/install, which installs bootblocks on floppy discs
2295 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2296 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2297 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2298 # OS/2's system install, which has a completely different semantic
2299 # ./install, which can be erroneously created by make from ./install.sh.
2300 # Reject install programs that cannot install multiple files.
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2302 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2303 if test -z "$INSTALL"; then
2304 if ${ac_cv_path_install+:} false; then :
2305   $as_echo_n "(cached) " >&6
2306 else
2307   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2309 do
2310   IFS=$as_save_IFS
2311   test -z "$as_dir" && as_dir=.
2312     # Account for people who put trailing slashes in PATH elements.
2313 case $as_dir/ in #((
2314   ./ | .// | /[cC]/* | \
2315   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2316   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2317   /usr/ucb/* ) ;;
2318   *)
2319     # OSF1 and SCO ODT 3.0 have their own names for install.
2320     # Don't use installbsd from OSF since it installs stuff as root
2321     # by default.
2322     for ac_prog in ginstall scoinst install; do
2323       for ac_exec_ext in '' $ac_executable_extensions; do
2324         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2325           if test $ac_prog = install &&
2326             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2327             # AIX install.  It has an incompatible calling convention.
2328             :
2329           elif test $ac_prog = install &&
2330             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2331             # program-specific install script used by HP pwplus--don't use.
2332             :
2333           else
2334             rm -rf conftest.one conftest.two conftest.dir
2335             echo one > conftest.one
2336             echo two > conftest.two
2337             mkdir conftest.dir
2338             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2339               test -s conftest.one && test -s conftest.two &&
2340               test -s conftest.dir/conftest.one &&
2341               test -s conftest.dir/conftest.two
2342             then
2343               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2344               break 3
2345             fi
2346           fi
2347         fi
2348       done
2349     done
2350     ;;
2351 esac
2352
2353   done
2354 IFS=$as_save_IFS
2355
2356 rm -rf conftest.one conftest.two conftest.dir
2357
2358 fi
2359   if test "${ac_cv_path_install+set}" = set; then
2360     INSTALL=$ac_cv_path_install
2361   else
2362     # As a last resort, use the slow shell script.  Don't cache a
2363     # value for INSTALL within a source directory, because that will
2364     # break other packages using the cache if that directory is
2365     # removed, or if the value is a relative name.
2366     INSTALL=$ac_install_sh
2367   fi
2368 fi
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2370 $as_echo "$INSTALL" >&6; }
2371
2372 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2373 # It thinks the first close brace ends the variable substitution.
2374 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2375
2376 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2377
2378 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2379
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2381 $as_echo_n "checking whether build environment is sane... " >&6; }
2382 # Just in case
2383 sleep 1
2384 echo timestamp > conftest.file
2385 # Reject unsafe characters in $srcdir or the absolute working directory
2386 # name.  Accept space and tab only in the latter.
2387 am_lf='
2388 '
2389 case `pwd` in
2390   *[\\\"\#\$\&\'\`$am_lf]*)
2391     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2392 esac
2393 case $srcdir in
2394   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2395     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2396 esac
2397
2398 # Do `set' in a subshell so we don't clobber the current shell's
2399 # arguments.  Must try -L first in case configure is actually a
2400 # symlink; some systems play weird games with the mod time of symlinks
2401 # (eg FreeBSD returns the mod time of the symlink's containing
2402 # directory).
2403 if (
2404    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2405    if test "$*" = "X"; then
2406       # -L didn't work.
2407       set X `ls -t "$srcdir/configure" conftest.file`
2408    fi
2409    rm -f conftest.file
2410    if test "$*" != "X $srcdir/configure conftest.file" \
2411       && test "$*" != "X conftest.file $srcdir/configure"; then
2412
2413       # If neither matched, then we have a broken ls.  This can happen
2414       # if, for instance, CONFIG_SHELL is bash and it inherits a
2415       # broken ls alias from the environment.  This has actually
2416       # happened.  Such a system could not be considered "sane".
2417       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2418 alias in your environment" "$LINENO" 5
2419    fi
2420
2421    test "$2" = conftest.file
2422    )
2423 then
2424    # Ok.
2425    :
2426 else
2427    as_fn_error $? "newly created file is older than distributed files!
2428 Check your system clock" "$LINENO" 5
2429 fi
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2431 $as_echo "yes" >&6; }
2432 test "$program_prefix" != NONE &&
2433   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2434 # Use a double $ so make ignores it.
2435 test "$program_suffix" != NONE &&
2436   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2437 # Double any \ or $.
2438 # By default was `s,x,x', remove it if useless.
2439 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2440 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2441
2442 # expand $ac_aux_dir to an absolute path
2443 am_aux_dir=`cd $ac_aux_dir && pwd`
2444
2445 if test x"${MISSING+set}" != xset; then
2446   case $am_aux_dir in
2447   *\ * | *\     *)
2448     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2449   *)
2450     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2451   esac
2452 fi
2453 # Use eval to expand $SHELL
2454 if eval "$MISSING --run true"; then
2455   am_missing_run="$MISSING --run "
2456 else
2457   am_missing_run=
2458   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2459 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2460 fi
2461
2462 if test x"${install_sh}" != xset; then
2463   case $am_aux_dir in
2464   *\ * | *\     *)
2465     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2466   *)
2467     install_sh="\${SHELL} $am_aux_dir/install-sh"
2468   esac
2469 fi
2470
2471 # Installed binaries are usually stripped using `strip' when the user
2472 # run `make install-strip'.  However `strip' might not be the right
2473 # tool to use in cross-compilation environments, therefore Automake
2474 # will honor the `STRIP' environment variable to overrule this program.
2475 if test "$cross_compiling" != no; then
2476   if test -n "$ac_tool_prefix"; then
2477   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2478 set dummy ${ac_tool_prefix}strip; ac_word=$2
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2480 $as_echo_n "checking for $ac_word... " >&6; }
2481 if ${ac_cv_prog_STRIP+:} false; then :
2482   $as_echo_n "(cached) " >&6
2483 else
2484   if test -n "$STRIP"; then
2485   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2486 else
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 for as_dir in $PATH
2489 do
2490   IFS=$as_save_IFS
2491   test -z "$as_dir" && as_dir=.
2492     for ac_exec_ext in '' $ac_executable_extensions; do
2493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2496     break 2
2497   fi
2498 done
2499   done
2500 IFS=$as_save_IFS
2501
2502 fi
2503 fi
2504 STRIP=$ac_cv_prog_STRIP
2505 if test -n "$STRIP"; then
2506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2507 $as_echo "$STRIP" >&6; }
2508 else
2509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2510 $as_echo "no" >&6; }
2511 fi
2512
2513
2514 fi
2515 if test -z "$ac_cv_prog_STRIP"; then
2516   ac_ct_STRIP=$STRIP
2517   # Extract the first word of "strip", so it can be a program name with args.
2518 set dummy strip; ac_word=$2
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2520 $as_echo_n "checking for $ac_word... " >&6; }
2521 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2522   $as_echo_n "(cached) " >&6
2523 else
2524   if test -n "$ac_ct_STRIP"; then
2525   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
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     for ac_exec_ext in '' $ac_executable_extensions; do
2533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534     ac_cv_prog_ac_ct_STRIP="strip"
2535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2536     break 2
2537   fi
2538 done
2539   done
2540 IFS=$as_save_IFS
2541
2542 fi
2543 fi
2544 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2545 if test -n "$ac_ct_STRIP"; then
2546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2547 $as_echo "$ac_ct_STRIP" >&6; }
2548 else
2549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550 $as_echo "no" >&6; }
2551 fi
2552
2553   if test "x$ac_ct_STRIP" = x; then
2554     STRIP=":"
2555   else
2556     case $cross_compiling:$ac_tool_warned in
2557 yes:)
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2560 ac_tool_warned=yes ;;
2561 esac
2562     STRIP=$ac_ct_STRIP
2563   fi
2564 else
2565   STRIP="$ac_cv_prog_STRIP"
2566 fi
2567
2568 fi
2569 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2570
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2572 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2573 if test -z "$MKDIR_P"; then
2574   if ${ac_cv_path_mkdir+:} false; then :
2575   $as_echo_n "(cached) " >&6
2576 else
2577   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2579 do
2580   IFS=$as_save_IFS
2581   test -z "$as_dir" && as_dir=.
2582     for ac_prog in mkdir gmkdir; do
2583          for ac_exec_ext in '' $ac_executable_extensions; do
2584            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2585            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2586              'mkdir (GNU coreutils) '* | \
2587              'mkdir (coreutils) '* | \
2588              'mkdir (fileutils) '4.1*)
2589                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2590                break 3;;
2591            esac
2592          done
2593        done
2594   done
2595 IFS=$as_save_IFS
2596
2597 fi
2598
2599   test -d ./--version && rmdir ./--version
2600   if test "${ac_cv_path_mkdir+set}" = set; then
2601     MKDIR_P="$ac_cv_path_mkdir -p"
2602   else
2603     # As a last resort, use the slow shell script.  Don't cache a
2604     # value for MKDIR_P within a source directory, because that will
2605     # break other packages using the cache if that directory is
2606     # removed, or if the value is a relative name.
2607     MKDIR_P="$ac_install_sh -d"
2608   fi
2609 fi
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2611 $as_echo "$MKDIR_P" >&6; }
2612
2613 mkdir_p="$MKDIR_P"
2614 case $mkdir_p in
2615   [\\/$]* | ?:[\\/]*) ;;
2616   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2617 esac
2618
2619 for ac_prog in gawk mawk nawk awk
2620 do
2621   # Extract the first word of "$ac_prog", so it can be a program name with args.
2622 set dummy $ac_prog; ac_word=$2
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624 $as_echo_n "checking for $ac_word... " >&6; }
2625 if ${ac_cv_prog_AWK+:} false; then :
2626   $as_echo_n "(cached) " >&6
2627 else
2628   if test -n "$AWK"; then
2629   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2630 else
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632 for as_dir in $PATH
2633 do
2634   IFS=$as_save_IFS
2635   test -z "$as_dir" && as_dir=.
2636     for ac_exec_ext in '' $ac_executable_extensions; do
2637   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638     ac_cv_prog_AWK="$ac_prog"
2639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2640     break 2
2641   fi
2642 done
2643   done
2644 IFS=$as_save_IFS
2645
2646 fi
2647 fi
2648 AWK=$ac_cv_prog_AWK
2649 if test -n "$AWK"; then
2650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2651 $as_echo "$AWK" >&6; }
2652 else
2653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654 $as_echo "no" >&6; }
2655 fi
2656
2657
2658   test -n "$AWK" && break
2659 done
2660
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2662 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2663 set x ${MAKE-make}
2664 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2665 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2666   $as_echo_n "(cached) " >&6
2667 else
2668   cat >conftest.make <<\_ACEOF
2669 SHELL = /bin/sh
2670 all:
2671         @echo '@@@%%%=$(MAKE)=@@@%%%'
2672 _ACEOF
2673 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2674 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2675   *@@@%%%=?*=@@@%%%*)
2676     eval ac_cv_prog_make_${ac_make}_set=yes;;
2677   *)
2678     eval ac_cv_prog_make_${ac_make}_set=no;;
2679 esac
2680 rm -f conftest.make
2681 fi
2682 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2684 $as_echo "yes" >&6; }
2685   SET_MAKE=
2686 else
2687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2689   SET_MAKE="MAKE=${MAKE-make}"
2690 fi
2691
2692 rm -rf .tst 2>/dev/null
2693 mkdir .tst 2>/dev/null
2694 if test -d .tst; then
2695   am__leading_dot=.
2696 else
2697   am__leading_dot=_
2698 fi
2699 rmdir .tst 2>/dev/null
2700
2701 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2702   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2703   # is not polluted with repeated "-I."
2704   am__isrc=' -I$(srcdir)'
2705   # test to see if srcdir already configured
2706   if test -f $srcdir/config.status; then
2707     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2708   fi
2709 fi
2710
2711 # test whether we have cygpath
2712 if test -z "$CYGPATH_W"; then
2713   if (cygpath --version) >/dev/null 2>/dev/null; then
2714     CYGPATH_W='cygpath -w'
2715   else
2716     CYGPATH_W=echo
2717   fi
2718 fi
2719
2720
2721 # Define the identity of the package.
2722  PACKAGE='eio'
2723  VERSION='1.7.2'
2724
2725
2726 cat >>confdefs.h <<_ACEOF
2727 #define PACKAGE "$PACKAGE"
2728 _ACEOF
2729
2730
2731 cat >>confdefs.h <<_ACEOF
2732 #define VERSION "$VERSION"
2733 _ACEOF
2734
2735 # Some tools Automake needs.
2736
2737 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2738
2739
2740 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2741
2742
2743 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2744
2745
2746 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2747
2748
2749 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2750
2751 # We need awk for the "check" target.  The system "awk" is bad on
2752 # some platforms.
2753 # Always define AMTAR for backward compatibility.  Yes, it's still used
2754 # in the wild :-(  We should find a proper way to deprecate it ...
2755 AMTAR='$${TAR-tar}'
2756
2757 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2758
2759
2760
2761
2762
2763 # Check whether --enable-silent-rules was given.
2764 if test "${enable_silent_rules+set}" = set; then :
2765   enableval=$enable_silent_rules;
2766 fi
2767
2768 case $enable_silent_rules in
2769 yes) AM_DEFAULT_VERBOSITY=0;;
2770 no)  AM_DEFAULT_VERBOSITY=1;;
2771 *)   AM_DEFAULT_VERBOSITY=0;;
2772 esac
2773 am_make=${MAKE-make}
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2775 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2776 if ${am_cv_make_support_nested_variables+:} false; then :
2777   $as_echo_n "(cached) " >&6
2778 else
2779   if $as_echo 'TRUE=$(BAR$(V))
2780 BAR0=false
2781 BAR1=true
2782 V=1
2783 am__doit:
2784         @$(TRUE)
2785 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2786   am_cv_make_support_nested_variables=yes
2787 else
2788   am_cv_make_support_nested_variables=no
2789 fi
2790 fi
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2792 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2793 if test $am_cv_make_support_nested_variables = yes; then
2794     AM_V='$(V)'
2795   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2796 else
2797   AM_V=$AM_DEFAULT_VERBOSITY
2798   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2799 fi
2800 AM_BACKSLASH='\'
2801
2802
2803 DEPDIR="${am__leading_dot}deps"
2804
2805 ac_config_commands="$ac_config_commands depfiles"
2806
2807
2808 am_make=${MAKE-make}
2809 cat > confinc << 'END'
2810 am__doit:
2811         @echo this is the am__doit target
2812 .PHONY: am__doit
2813 END
2814 # If we don't find an include directive, just comment out the code.
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2816 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2817 am__include="#"
2818 am__quote=
2819 _am_result=none
2820 # First try GNU make style include.
2821 echo "include confinc" > confmf
2822 # Ignore all kinds of additional output from `make'.
2823 case `$am_make -s -f confmf 2> /dev/null` in #(
2824 *the\ am__doit\ target*)
2825   am__include=include
2826   am__quote=
2827   _am_result=GNU
2828   ;;
2829 esac
2830 # Now try BSD make style include.
2831 if test "$am__include" = "#"; then
2832    echo '.include "confinc"' > confmf
2833    case `$am_make -s -f confmf 2> /dev/null` in #(
2834    *the\ am__doit\ target*)
2835      am__include=.include
2836      am__quote="\""
2837      _am_result=BSD
2838      ;;
2839    esac
2840 fi
2841
2842
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2844 $as_echo "$_am_result" >&6; }
2845 rm -f confinc confmf
2846
2847 # Check whether --enable-dependency-tracking was given.
2848 if test "${enable_dependency_tracking+set}" = set; then :
2849   enableval=$enable_dependency_tracking;
2850 fi
2851
2852 if test "x$enable_dependency_tracking" != xno; then
2853   am_depcomp="$ac_aux_dir/depcomp"
2854   AMDEPBACKSLASH='\'
2855   am__nodep='_no'
2856 fi
2857  if test "x$enable_dependency_tracking" != xno; then
2858   AMDEP_TRUE=
2859   AMDEP_FALSE='#'
2860 else
2861   AMDEP_TRUE='#'
2862   AMDEP_FALSE=
2863 fi
2864
2865
2866 ac_ext=c
2867 ac_cpp='$CPP $CPPFLAGS'
2868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2871 if test -n "$ac_tool_prefix"; then
2872   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2873 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875 $as_echo_n "checking for $ac_word... " >&6; }
2876 if ${ac_cv_prog_CC+:} false; then :
2877   $as_echo_n "(cached) " >&6
2878 else
2879   if test -n "$CC"; then
2880   ac_cv_prog_CC="$CC" # Let the user override the test.
2881 else
2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2883 for as_dir in $PATH
2884 do
2885   IFS=$as_save_IFS
2886   test -z "$as_dir" && as_dir=.
2887     for ac_exec_ext in '' $ac_executable_extensions; do
2888   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2889     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891     break 2
2892   fi
2893 done
2894   done
2895 IFS=$as_save_IFS
2896
2897 fi
2898 fi
2899 CC=$ac_cv_prog_CC
2900 if test -n "$CC"; then
2901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2902 $as_echo "$CC" >&6; }
2903 else
2904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905 $as_echo "no" >&6; }
2906 fi
2907
2908
2909 fi
2910 if test -z "$ac_cv_prog_CC"; then
2911   ac_ct_CC=$CC
2912   # Extract the first word of "gcc", so it can be a program name with args.
2913 set dummy gcc; ac_word=$2
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915 $as_echo_n "checking for $ac_word... " >&6; }
2916 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2917   $as_echo_n "(cached) " >&6
2918 else
2919   if test -n "$ac_ct_CC"; then
2920   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2921 else
2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 for as_dir in $PATH
2924 do
2925   IFS=$as_save_IFS
2926   test -z "$as_dir" && as_dir=.
2927     for ac_exec_ext in '' $ac_executable_extensions; do
2928   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2929     ac_cv_prog_ac_ct_CC="gcc"
2930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2931     break 2
2932   fi
2933 done
2934   done
2935 IFS=$as_save_IFS
2936
2937 fi
2938 fi
2939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2940 if test -n "$ac_ct_CC"; then
2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2942 $as_echo "$ac_ct_CC" >&6; }
2943 else
2944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2946 fi
2947
2948   if test "x$ac_ct_CC" = x; then
2949     CC=""
2950   else
2951     case $cross_compiling:$ac_tool_warned in
2952 yes:)
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2955 ac_tool_warned=yes ;;
2956 esac
2957     CC=$ac_ct_CC
2958   fi
2959 else
2960   CC="$ac_cv_prog_CC"
2961 fi
2962
2963 if test -z "$CC"; then
2964           if test -n "$ac_tool_prefix"; then
2965     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2966 set dummy ${ac_tool_prefix}cc; ac_word=$2
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2968 $as_echo_n "checking for $ac_word... " >&6; }
2969 if ${ac_cv_prog_CC+:} false; then :
2970   $as_echo_n "(cached) " >&6
2971 else
2972   if test -n "$CC"; then
2973   ac_cv_prog_CC="$CC" # Let the user override the test.
2974 else
2975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2976 for as_dir in $PATH
2977 do
2978   IFS=$as_save_IFS
2979   test -z "$as_dir" && as_dir=.
2980     for ac_exec_ext in '' $ac_executable_extensions; do
2981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982     ac_cv_prog_CC="${ac_tool_prefix}cc"
2983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984     break 2
2985   fi
2986 done
2987   done
2988 IFS=$as_save_IFS
2989
2990 fi
2991 fi
2992 CC=$ac_cv_prog_CC
2993 if test -n "$CC"; then
2994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2995 $as_echo "$CC" >&6; }
2996 else
2997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
2999 fi
3000
3001
3002   fi
3003 fi
3004 if test -z "$CC"; then
3005   # Extract the first word of "cc", so it can be a program name with args.
3006 set dummy cc; ac_word=$2
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3008 $as_echo_n "checking for $ac_word... " >&6; }
3009 if ${ac_cv_prog_CC+:} false; then :
3010   $as_echo_n "(cached) " >&6
3011 else
3012   if test -n "$CC"; then
3013   ac_cv_prog_CC="$CC" # Let the user override the test.
3014 else
3015   ac_prog_rejected=no
3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3017 for as_dir in $PATH
3018 do
3019   IFS=$as_save_IFS
3020   test -z "$as_dir" && as_dir=.
3021     for ac_exec_ext in '' $ac_executable_extensions; do
3022   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3023     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3024        ac_prog_rejected=yes
3025        continue
3026      fi
3027     ac_cv_prog_CC="cc"
3028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029     break 2
3030   fi
3031 done
3032   done
3033 IFS=$as_save_IFS
3034
3035 if test $ac_prog_rejected = yes; then
3036   # We found a bogon in the path, so make sure we never use it.
3037   set dummy $ac_cv_prog_CC
3038   shift
3039   if test $# != 0; then
3040     # We chose a different compiler from the bogus one.
3041     # However, it has the same basename, so the bogon will be chosen
3042     # first if we set CC to just the basename; use the full file name.
3043     shift
3044     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3045   fi
3046 fi
3047 fi
3048 fi
3049 CC=$ac_cv_prog_CC
3050 if test -n "$CC"; then
3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3052 $as_echo "$CC" >&6; }
3053 else
3054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3056 fi
3057
3058
3059 fi
3060 if test -z "$CC"; then
3061   if test -n "$ac_tool_prefix"; then
3062   for ac_prog in cl.exe
3063   do
3064     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3065 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if ${ac_cv_prog_CC+:} false; then :
3069   $as_echo_n "(cached) " >&6
3070 else
3071   if test -n "$CC"; then
3072   ac_cv_prog_CC="$CC" # Let the user override the test.
3073 else
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 for as_dir in $PATH
3076 do
3077   IFS=$as_save_IFS
3078   test -z "$as_dir" && as_dir=.
3079     for ac_exec_ext in '' $ac_executable_extensions; do
3080   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083     break 2
3084   fi
3085 done
3086   done
3087 IFS=$as_save_IFS
3088
3089 fi
3090 fi
3091 CC=$ac_cv_prog_CC
3092 if test -n "$CC"; then
3093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3094 $as_echo "$CC" >&6; }
3095 else
3096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3098 fi
3099
3100
3101     test -n "$CC" && break
3102   done
3103 fi
3104 if test -z "$CC"; then
3105   ac_ct_CC=$CC
3106   for ac_prog in cl.exe
3107 do
3108   # Extract the first word of "$ac_prog", so it can be a program name with args.
3109 set dummy $ac_prog; ac_word=$2
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111 $as_echo_n "checking for $ac_word... " >&6; }
3112 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3113   $as_echo_n "(cached) " >&6
3114 else
3115   if test -n "$ac_ct_CC"; then
3116   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3117 else
3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 for as_dir in $PATH
3120 do
3121   IFS=$as_save_IFS
3122   test -z "$as_dir" && as_dir=.
3123     for ac_exec_ext in '' $ac_executable_extensions; do
3124   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3125     ac_cv_prog_ac_ct_CC="$ac_prog"
3126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127     break 2
3128   fi
3129 done
3130   done
3131 IFS=$as_save_IFS
3132
3133 fi
3134 fi
3135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3136 if test -n "$ac_ct_CC"; then
3137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3138 $as_echo "$ac_ct_CC" >&6; }
3139 else
3140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141 $as_echo "no" >&6; }
3142 fi
3143
3144
3145   test -n "$ac_ct_CC" && break
3146 done
3147
3148   if test "x$ac_ct_CC" = x; then
3149     CC=""
3150   else
3151     case $cross_compiling:$ac_tool_warned in
3152 yes:)
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3155 ac_tool_warned=yes ;;
3156 esac
3157     CC=$ac_ct_CC
3158   fi
3159 fi
3160
3161 fi
3162
3163
3164 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3166 as_fn_error $? "no acceptable C compiler found in \$PATH
3167 See \`config.log' for more details" "$LINENO" 5; }
3168
3169 # Provide some information about the compiler.
3170 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3171 set X $ac_compile
3172 ac_compiler=$2
3173 for ac_option in --version -v -V -qversion; do
3174   { { ac_try="$ac_compiler $ac_option >&5"
3175 case "(($ac_try" in
3176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177   *) ac_try_echo=$ac_try;;
3178 esac
3179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3180 $as_echo "$ac_try_echo"; } >&5
3181   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3182   ac_status=$?
3183   if test -s conftest.err; then
3184     sed '10a\
3185 ... rest of stderr output deleted ...
3186          10q' conftest.err >conftest.er1
3187     cat conftest.er1 >&5
3188   fi
3189   rm -f conftest.er1 conftest.err
3190   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191   test $ac_status = 0; }
3192 done
3193
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h.  */
3196
3197 int
3198 main ()
3199 {
3200
3201   ;
3202   return 0;
3203 }
3204 _ACEOF
3205 ac_clean_files_save=$ac_clean_files
3206 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3207 # Try to create an executable without -o first, disregard a.out.
3208 # It will help us diagnose broken compilers, and finding out an intuition
3209 # of exeext.
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3211 $as_echo_n "checking whether the C compiler works... " >&6; }
3212 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3213
3214 # The possible output files:
3215 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3216
3217 ac_rmfiles=
3218 for ac_file in $ac_files
3219 do
3220   case $ac_file in
3221     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3222     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3223   esac
3224 done
3225 rm -f $ac_rmfiles
3226
3227 if { { ac_try="$ac_link_default"
3228 case "(($ac_try" in
3229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230   *) ac_try_echo=$ac_try;;
3231 esac
3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3233 $as_echo "$ac_try_echo"; } >&5
3234   (eval "$ac_link_default") 2>&5
3235   ac_status=$?
3236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3237   test $ac_status = 0; }; then :
3238   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3239 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3240 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3241 # so that the user can short-circuit this test for compilers unknown to
3242 # Autoconf.
3243 for ac_file in $ac_files ''
3244 do
3245   test -f "$ac_file" || continue
3246   case $ac_file in
3247     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3248         ;;
3249     [ab].out )
3250         # We found the default executable, but exeext='' is most
3251         # certainly right.
3252         break;;
3253     *.* )
3254         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3255         then :; else
3256            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3257         fi
3258         # We set ac_cv_exeext here because the later test for it is not
3259         # safe: cross compilers may not add the suffix if given an `-o'
3260         # argument, so we may need to know it at that point already.
3261         # Even if this section looks crufty: it has the advantage of
3262         # actually working.
3263         break;;
3264     * )
3265         break;;
3266   esac
3267 done
3268 test "$ac_cv_exeext" = no && ac_cv_exeext=
3269
3270 else
3271   ac_file=''
3272 fi
3273 if test -z "$ac_file"; then :
3274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275 $as_echo "no" >&6; }
3276 $as_echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3278
3279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3281 as_fn_error 77 "C compiler cannot create executables
3282 See \`config.log' for more details" "$LINENO" 5; }
3283 else
3284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3285 $as_echo "yes" >&6; }
3286 fi
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3288 $as_echo_n "checking for C compiler default output file name... " >&6; }
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3290 $as_echo "$ac_file" >&6; }
3291 ac_exeext=$ac_cv_exeext
3292
3293 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3294 ac_clean_files=$ac_clean_files_save
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3296 $as_echo_n "checking for suffix of executables... " >&6; }
3297 if { { ac_try="$ac_link"
3298 case "(($ac_try" in
3299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300   *) ac_try_echo=$ac_try;;
3301 esac
3302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3303 $as_echo "$ac_try_echo"; } >&5
3304   (eval "$ac_link") 2>&5
3305   ac_status=$?
3306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307   test $ac_status = 0; }; then :
3308   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3309 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3310 # work properly (i.e., refer to `conftest.exe'), while it won't with
3311 # `rm'.
3312 for ac_file in conftest.exe conftest conftest.*; do
3313   test -f "$ac_file" || continue
3314   case $ac_file in
3315     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3316     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3317           break;;
3318     * ) break;;
3319   esac
3320 done
3321 else
3322   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3325 See \`config.log' for more details" "$LINENO" 5; }
3326 fi
3327 rm -f conftest conftest$ac_cv_exeext
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3329 $as_echo "$ac_cv_exeext" >&6; }
3330
3331 rm -f conftest.$ac_ext
3332 EXEEXT=$ac_cv_exeext
3333 ac_exeext=$EXEEXT
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h.  */
3336 #include <stdio.h>
3337 int
3338 main ()
3339 {
3340 FILE *f = fopen ("conftest.out", "w");
3341  return ferror (f) || fclose (f) != 0;
3342
3343   ;
3344   return 0;
3345 }
3346 _ACEOF
3347 ac_clean_files="$ac_clean_files conftest.out"
3348 # Check that the compiler produces executables we can run.  If not, either
3349 # the compiler is broken, or we cross compile.
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3351 $as_echo_n "checking whether we are cross compiling... " >&6; }
3352 if test "$cross_compiling" != yes; then
3353   { { ac_try="$ac_link"
3354 case "(($ac_try" in
3355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356   *) ac_try_echo=$ac_try;;
3357 esac
3358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3359 $as_echo "$ac_try_echo"; } >&5
3360   (eval "$ac_link") 2>&5
3361   ac_status=$?
3362   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3363   test $ac_status = 0; }
3364   if { ac_try='./conftest$ac_cv_exeext'
3365   { { case "(($ac_try" in
3366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367   *) ac_try_echo=$ac_try;;
3368 esac
3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3370 $as_echo "$ac_try_echo"; } >&5
3371   (eval "$ac_try") 2>&5
3372   ac_status=$?
3373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3374   test $ac_status = 0; }; }; then
3375     cross_compiling=no
3376   else
3377     if test "$cross_compiling" = maybe; then
3378         cross_compiling=yes
3379     else
3380         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382 as_fn_error $? "cannot run C compiled programs.
3383 If you meant to cross compile, use \`--host'.
3384 See \`config.log' for more details" "$LINENO" 5; }
3385     fi
3386   fi
3387 fi
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3389 $as_echo "$cross_compiling" >&6; }
3390
3391 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3392 ac_clean_files=$ac_clean_files_save
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3394 $as_echo_n "checking for suffix of object files... " >&6; }
3395 if ${ac_cv_objext+:} false; then :
3396   $as_echo_n "(cached) " >&6
3397 else
3398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h.  */
3400
3401 int
3402 main ()
3403 {
3404
3405   ;
3406   return 0;
3407 }
3408 _ACEOF
3409 rm -f conftest.o conftest.obj
3410 if { { ac_try="$ac_compile"
3411 case "(($ac_try" in
3412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413   *) ac_try_echo=$ac_try;;
3414 esac
3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 $as_echo "$ac_try_echo"; } >&5
3417   (eval "$ac_compile") 2>&5
3418   ac_status=$?
3419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420   test $ac_status = 0; }; then :
3421   for ac_file in conftest.o conftest.obj conftest.*; do
3422   test -f "$ac_file" || continue;
3423   case $ac_file in
3424     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3425     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3426        break;;
3427   esac
3428 done
3429 else
3430   $as_echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.$ac_ext >&5
3432
3433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3435 as_fn_error $? "cannot compute suffix of object files: cannot compile
3436 See \`config.log' for more details" "$LINENO" 5; }
3437 fi
3438 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3439 fi
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3441 $as_echo "$ac_cv_objext" >&6; }
3442 OBJEXT=$ac_cv_objext
3443 ac_objext=$OBJEXT
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3445 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3446 if ${ac_cv_c_compiler_gnu+:} false; then :
3447   $as_echo_n "(cached) " >&6
3448 else
3449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h.  */
3451
3452 int
3453 main ()
3454 {
3455 #ifndef __GNUC__
3456        choke me
3457 #endif
3458
3459   ;
3460   return 0;
3461 }
3462 _ACEOF
3463 if ac_fn_c_try_compile "$LINENO"; then :
3464   ac_compiler_gnu=yes
3465 else
3466   ac_compiler_gnu=no
3467 fi
3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3470
3471 fi
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3473 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3474 if test $ac_compiler_gnu = yes; then
3475   GCC=yes
3476 else
3477   GCC=
3478 fi
3479 ac_test_CFLAGS=${CFLAGS+set}
3480 ac_save_CFLAGS=$CFLAGS
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3482 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3483 if ${ac_cv_prog_cc_g+:} false; then :
3484   $as_echo_n "(cached) " >&6
3485 else
3486   ac_save_c_werror_flag=$ac_c_werror_flag
3487    ac_c_werror_flag=yes
3488    ac_cv_prog_cc_g=no
3489    CFLAGS="-g"
3490    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h.  */
3492
3493 int
3494 main ()
3495 {
3496
3497   ;
3498   return 0;
3499 }
3500 _ACEOF
3501 if ac_fn_c_try_compile "$LINENO"; then :
3502   ac_cv_prog_cc_g=yes
3503 else
3504   CFLAGS=""
3505       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h.  */
3507
3508 int
3509 main ()
3510 {
3511
3512   ;
3513   return 0;
3514 }
3515 _ACEOF
3516 if ac_fn_c_try_compile "$LINENO"; then :
3517
3518 else
3519   ac_c_werror_flag=$ac_save_c_werror_flag
3520          CFLAGS="-g"
3521          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h.  */
3523
3524 int
3525 main ()
3526 {
3527
3528   ;
3529   return 0;
3530 }
3531 _ACEOF
3532 if ac_fn_c_try_compile "$LINENO"; then :
3533   ac_cv_prog_cc_g=yes
3534 fi
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 fi
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 fi
3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540    ac_c_werror_flag=$ac_save_c_werror_flag
3541 fi
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3543 $as_echo "$ac_cv_prog_cc_g" >&6; }
3544 if test "$ac_test_CFLAGS" = set; then
3545   CFLAGS=$ac_save_CFLAGS
3546 elif test $ac_cv_prog_cc_g = yes; then
3547   if test "$GCC" = yes; then
3548     CFLAGS="-g -O2"
3549   else
3550     CFLAGS="-g"
3551   fi
3552 else
3553   if test "$GCC" = yes; then
3554     CFLAGS="-O2"
3555   else
3556     CFLAGS=
3557   fi
3558 fi
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3560 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3561 if ${ac_cv_prog_cc_c89+:} false; then :
3562   $as_echo_n "(cached) " >&6
3563 else
3564   ac_cv_prog_cc_c89=no
3565 ac_save_CC=$CC
3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567 /* end confdefs.h.  */
3568 #include <stdarg.h>
3569 #include <stdio.h>
3570 #include <sys/types.h>
3571 #include <sys/stat.h>
3572 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3573 struct buf { int x; };
3574 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3575 static char *e (p, i)
3576      char **p;
3577      int i;
3578 {
3579   return p[i];
3580 }
3581 static char *f (char * (*g) (char **, int), char **p, ...)
3582 {
3583   char *s;
3584   va_list v;
3585   va_start (v,p);
3586   s = g (p, va_arg (v,int));
3587   va_end (v);
3588   return s;
3589 }
3590
3591 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3592    function prototypes and stuff, but not '\xHH' hex character constants.
3593    These don't provoke an error unfortunately, instead are silently treated
3594    as 'x'.  The following induces an error, until -std is added to get
3595    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3596    array size at least.  It's necessary to write '\x00'==0 to get something
3597    that's true only with -std.  */
3598 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3599
3600 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3601    inside strings and character constants.  */
3602 #define FOO(x) 'x'
3603 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3604
3605 int test (int i, double x);
3606 struct s1 {int (*f) (int a);};
3607 struct s2 {int (*f) (double a);};
3608 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3609 int argc;
3610 char **argv;
3611 int
3612 main ()
3613 {
3614 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3615   ;
3616   return 0;
3617 }
3618 _ACEOF
3619 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3620         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3621 do
3622   CC="$ac_save_CC $ac_arg"
3623   if ac_fn_c_try_compile "$LINENO"; then :
3624   ac_cv_prog_cc_c89=$ac_arg
3625 fi
3626 rm -f core conftest.err conftest.$ac_objext
3627   test "x$ac_cv_prog_cc_c89" != "xno" && break
3628 done
3629 rm -f conftest.$ac_ext
3630 CC=$ac_save_CC
3631
3632 fi
3633 # AC_CACHE_VAL
3634 case "x$ac_cv_prog_cc_c89" in
3635   x)
3636     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3637 $as_echo "none needed" >&6; } ;;
3638   xno)
3639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3640 $as_echo "unsupported" >&6; } ;;
3641   *)
3642     CC="$CC $ac_cv_prog_cc_c89"
3643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3644 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3645 esac
3646 if test "x$ac_cv_prog_cc_c89" != xno; then :
3647
3648 fi
3649
3650 ac_ext=c
3651 ac_cpp='$CPP $CPPFLAGS'
3652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3655
3656 depcc="$CC"   am_compiler_list=
3657
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3659 $as_echo_n "checking dependency style of $depcc... " >&6; }
3660 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3661   $as_echo_n "(cached) " >&6
3662 else
3663   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3664   # We make a subdir and do the tests there.  Otherwise we can end up
3665   # making bogus files that we don't know about and never remove.  For
3666   # instance it was reported that on HP-UX the gcc test will end up
3667   # making a dummy file named `D' -- because `-MD' means `put the output
3668   # in D'.
3669   rm -rf conftest.dir
3670   mkdir conftest.dir
3671   # Copy depcomp to subdir because otherwise we won't find it if we're
3672   # using a relative directory.
3673   cp "$am_depcomp" conftest.dir
3674   cd conftest.dir
3675   # We will build objects and dependencies in a subdirectory because
3676   # it helps to detect inapplicable dependency modes.  For instance
3677   # both Tru64's cc and ICC support -MD to output dependencies as a
3678   # side effect of compilation, but ICC will put the dependencies in
3679   # the current directory while Tru64 will put them in the object
3680   # directory.
3681   mkdir sub
3682
3683   am_cv_CC_dependencies_compiler_type=none
3684   if test "$am_compiler_list" = ""; then
3685      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3686   fi
3687   am__universal=false
3688   case " $depcc " in #(
3689      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3690      esac
3691
3692   for depmode in $am_compiler_list; do
3693     # Setup a source with many dependencies, because some compilers
3694     # like to wrap large dependency lists on column 80 (with \), and
3695     # we should not choose a depcomp mode which is confused by this.
3696     #
3697     # We need to recreate these files for each test, as the compiler may
3698     # overwrite some of them when testing with obscure command lines.
3699     # This happens at least with the AIX C compiler.
3700     : > sub/conftest.c
3701     for i in 1 2 3 4 5 6; do
3702       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3703       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3704       # Solaris 8's {/usr,}/bin/sh.
3705       touch sub/conftst$i.h
3706     done
3707     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3708
3709     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3710     # mode.  It turns out that the SunPro C++ compiler does not properly
3711     # handle `-M -o', and we need to detect this.  Also, some Intel
3712     # versions had trouble with output in subdirs
3713     am__obj=sub/conftest.${OBJEXT-o}
3714     am__minus_obj="-o $am__obj"
3715     case $depmode in
3716     gcc)
3717       # This depmode causes a compiler race in universal mode.
3718       test "$am__universal" = false || continue
3719       ;;
3720     nosideeffect)
3721       # after this tag, mechanisms are not by side-effect, so they'll
3722       # only be used when explicitly requested
3723       if test "x$enable_dependency_tracking" = xyes; then
3724         continue
3725       else
3726         break
3727       fi
3728       ;;
3729     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3730       # This compiler won't grok `-c -o', but also, the minuso test has
3731       # not run yet.  These depmodes are late enough in the game, and
3732       # so weak that their functioning should not be impacted.
3733       am__obj=conftest.${OBJEXT-o}
3734       am__minus_obj=
3735       ;;
3736     none) break ;;
3737     esac
3738     if depmode=$depmode \
3739        source=sub/conftest.c object=$am__obj \
3740        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3741        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3742          >/dev/null 2>conftest.err &&
3743        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3744        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3745        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3746        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3747       # icc doesn't choke on unknown options, it will just issue warnings
3748       # or remarks (even with -Werror).  So we grep stderr for any message
3749       # that says an option was ignored or not supported.
3750       # When given -MP, icc 7.0 and 7.1 complain thusly:
3751       #   icc: Command line warning: ignoring option '-M'; no argument required
3752       # The diagnosis changed in icc 8.0:
3753       #   icc: Command line remark: option '-MP' not supported
3754       if (grep 'ignoring option' conftest.err ||
3755           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3756         am_cv_CC_dependencies_compiler_type=$depmode
3757         break
3758       fi
3759     fi
3760   done
3761
3762   cd ..
3763   rm -rf conftest.dir
3764 else
3765   am_cv_CC_dependencies_compiler_type=none
3766 fi
3767
3768 fi
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3770 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3771 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3772
3773  if
3774   test "x$enable_dependency_tracking" != xno \
3775   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3776   am__fastdepCC_TRUE=
3777   am__fastdepCC_FALSE='#'
3778 else
3779   am__fastdepCC_TRUE='#'
3780   am__fastdepCC_FALSE=
3781 fi
3782
3783
3784
3785 ac_ext=c
3786 ac_cpp='$CPP $CPPFLAGS'
3787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3791 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3792 # On Suns, sometimes $CPP names a directory.
3793 if test -n "$CPP" && test -d "$CPP"; then
3794   CPP=
3795 fi
3796 if test -z "$CPP"; then
3797   if ${ac_cv_prog_CPP+:} false; then :
3798   $as_echo_n "(cached) " >&6
3799 else
3800       # Double quotes because CPP needs to be expanded
3801     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3802     do
3803       ac_preproc_ok=false
3804 for ac_c_preproc_warn_flag in '' yes
3805 do
3806   # Use a header file that comes with gcc, so configuring glibc
3807   # with a fresh cross-compiler works.
3808   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3809   # <limits.h> exists even on freestanding compilers.
3810   # On the NeXT, cc -E runs the code through the compiler's parser,
3811   # not just through cpp. "Syntax error" is here to catch this case.
3812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h.  */
3814 #ifdef __STDC__
3815 # include <limits.h>
3816 #else
3817 # include <assert.h>
3818 #endif
3819                      Syntax error
3820 _ACEOF
3821 if ac_fn_c_try_cpp "$LINENO"; then :
3822
3823 else
3824   # Broken: fails on valid input.
3825 continue
3826 fi
3827 rm -f conftest.err conftest.i conftest.$ac_ext
3828
3829   # OK, works on sane cases.  Now check whether nonexistent headers
3830   # can be detected and how.
3831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h.  */
3833 #include <ac_nonexistent.h>
3834 _ACEOF
3835 if ac_fn_c_try_cpp "$LINENO"; then :
3836   # Broken: success on invalid input.
3837 continue
3838 else
3839   # Passes both tests.
3840 ac_preproc_ok=:
3841 break
3842 fi
3843 rm -f conftest.err conftest.i conftest.$ac_ext
3844
3845 done
3846 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3847 rm -f conftest.i conftest.err conftest.$ac_ext
3848 if $ac_preproc_ok; then :
3849   break
3850 fi
3851
3852     done
3853     ac_cv_prog_CPP=$CPP
3854
3855 fi
3856   CPP=$ac_cv_prog_CPP
3857 else
3858   ac_cv_prog_CPP=$CPP
3859 fi
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3861 $as_echo "$CPP" >&6; }
3862 ac_preproc_ok=false
3863 for ac_c_preproc_warn_flag in '' yes
3864 do
3865   # Use a header file that comes with gcc, so configuring glibc
3866   # with a fresh cross-compiler works.
3867   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3868   # <limits.h> exists even on freestanding compilers.
3869   # On the NeXT, cc -E runs the code through the compiler's parser,
3870   # not just through cpp. "Syntax error" is here to catch this case.
3871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h.  */
3873 #ifdef __STDC__
3874 # include <limits.h>
3875 #else
3876 # include <assert.h>
3877 #endif
3878                      Syntax error
3879 _ACEOF
3880 if ac_fn_c_try_cpp "$LINENO"; then :
3881
3882 else
3883   # Broken: fails on valid input.
3884 continue
3885 fi
3886 rm -f conftest.err conftest.i conftest.$ac_ext
3887
3888   # OK, works on sane cases.  Now check whether nonexistent headers
3889   # can be detected and how.
3890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h.  */
3892 #include <ac_nonexistent.h>
3893 _ACEOF
3894 if ac_fn_c_try_cpp "$LINENO"; then :
3895   # Broken: success on invalid input.
3896 continue
3897 else
3898   # Passes both tests.
3899 ac_preproc_ok=:
3900 break
3901 fi
3902 rm -f conftest.err conftest.i conftest.$ac_ext
3903
3904 done
3905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3906 rm -f conftest.i conftest.err conftest.$ac_ext
3907 if $ac_preproc_ok; then :
3908
3909 else
3910   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3912 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3913 See \`config.log' for more details" "$LINENO" 5; }
3914 fi
3915
3916 ac_ext=c
3917 ac_cpp='$CPP $CPPFLAGS'
3918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3921
3922
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3924 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3925 if ${ac_cv_path_GREP+:} false; then :
3926   $as_echo_n "(cached) " >&6
3927 else
3928   if test -z "$GREP"; then
3929   ac_path_GREP_found=false
3930   # Loop through the user's path and test for each of PROGNAME-LIST
3931   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3933 do
3934   IFS=$as_save_IFS
3935   test -z "$as_dir" && as_dir=.
3936     for ac_prog in grep ggrep; do
3937     for ac_exec_ext in '' $ac_executable_extensions; do
3938       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3939       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3940 # Check for GNU ac_path_GREP and select it if it is found.
3941   # Check for GNU $ac_path_GREP
3942 case `"$ac_path_GREP" --version 2>&1` in
3943 *GNU*)
3944   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3945 *)
3946   ac_count=0
3947   $as_echo_n 0123456789 >"conftest.in"
3948   while :
3949   do
3950     cat "conftest.in" "conftest.in" >"conftest.tmp"
3951     mv "conftest.tmp" "conftest.in"
3952     cp "conftest.in" "conftest.nl"
3953     $as_echo 'GREP' >> "conftest.nl"
3954     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3955     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3956     as_fn_arith $ac_count + 1 && ac_count=$as_val
3957     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3958       # Best one so far, save it but keep looking for a better one
3959       ac_cv_path_GREP="$ac_path_GREP"
3960       ac_path_GREP_max=$ac_count
3961     fi
3962     # 10*(2^10) chars as input seems more than enough
3963     test $ac_count -gt 10 && break
3964   done
3965   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3966 esac
3967
3968       $ac_path_GREP_found && break 3
3969     done
3970   done
3971   done
3972 IFS=$as_save_IFS
3973   if test -z "$ac_cv_path_GREP"; then
3974     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3975   fi
3976 else
3977   ac_cv_path_GREP=$GREP
3978 fi
3979
3980 fi
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3982 $as_echo "$ac_cv_path_GREP" >&6; }
3983  GREP="$ac_cv_path_GREP"
3984
3985
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3987 $as_echo_n "checking for egrep... " >&6; }
3988 if ${ac_cv_path_EGREP+:} false; then :
3989   $as_echo_n "(cached) " >&6
3990 else
3991   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3992    then ac_cv_path_EGREP="$GREP -E"
3993    else
3994      if test -z "$EGREP"; then
3995   ac_path_EGREP_found=false
3996   # Loop through the user's path and test for each of PROGNAME-LIST
3997   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3999 do
4000   IFS=$as_save_IFS
4001   test -z "$as_dir" && as_dir=.
4002     for ac_prog in egrep; do
4003     for ac_exec_ext in '' $ac_executable_extensions; do
4004       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4005       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4006 # Check for GNU ac_path_EGREP and select it if it is found.
4007   # Check for GNU $ac_path_EGREP
4008 case `"$ac_path_EGREP" --version 2>&1` in
4009 *GNU*)
4010   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4011 *)
4012   ac_count=0
4013   $as_echo_n 0123456789 >"conftest.in"
4014   while :
4015   do
4016     cat "conftest.in" "conftest.in" >"conftest.tmp"
4017     mv "conftest.tmp" "conftest.in"
4018     cp "conftest.in" "conftest.nl"
4019     $as_echo 'EGREP' >> "conftest.nl"
4020     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4021     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4022     as_fn_arith $ac_count + 1 && ac_count=$as_val
4023     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4024       # Best one so far, save it but keep looking for a better one
4025       ac_cv_path_EGREP="$ac_path_EGREP"
4026       ac_path_EGREP_max=$ac_count
4027     fi
4028     # 10*(2^10) chars as input seems more than enough
4029     test $ac_count -gt 10 && break
4030   done
4031   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4032 esac
4033
4034       $ac_path_EGREP_found && break 3
4035     done
4036   done
4037   done
4038 IFS=$as_save_IFS
4039   if test -z "$ac_cv_path_EGREP"; then
4040     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4041   fi
4042 else
4043   ac_cv_path_EGREP=$EGREP
4044 fi
4045
4046    fi
4047 fi
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4049 $as_echo "$ac_cv_path_EGREP" >&6; }
4050  EGREP="$ac_cv_path_EGREP"
4051
4052
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4054 $as_echo_n "checking for ANSI C header files... " >&6; }
4055 if ${ac_cv_header_stdc+:} false; then :
4056   $as_echo_n "(cached) " >&6
4057 else
4058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h.  */
4060 #include <stdlib.h>
4061 #include <stdarg.h>
4062 #include <string.h>
4063 #include <float.h>
4064
4065 int
4066 main ()
4067 {
4068
4069   ;
4070   return 0;
4071 }
4072 _ACEOF
4073 if ac_fn_c_try_compile "$LINENO"; then :
4074   ac_cv_header_stdc=yes
4075 else
4076   ac_cv_header_stdc=no
4077 fi
4078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4079
4080 if test $ac_cv_header_stdc = yes; then
4081   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h.  */
4084 #include <string.h>
4085
4086 _ACEOF
4087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4088   $EGREP "memchr" >/dev/null 2>&1; then :
4089
4090 else
4091   ac_cv_header_stdc=no
4092 fi
4093 rm -f conftest*
4094
4095 fi
4096
4097 if test $ac_cv_header_stdc = yes; then
4098   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h.  */
4101 #include <stdlib.h>
4102
4103 _ACEOF
4104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4105   $EGREP "free" >/dev/null 2>&1; then :
4106
4107 else
4108   ac_cv_header_stdc=no
4109 fi
4110 rm -f conftest*
4111
4112 fi
4113
4114 if test $ac_cv_header_stdc = yes; then
4115   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4116   if test "$cross_compiling" = yes; then :
4117   :
4118 else
4119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h.  */
4121 #include <ctype.h>
4122 #include <stdlib.h>
4123 #if ((' ' & 0x0FF) == 0x020)
4124 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4125 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4126 #else
4127 # define ISLOWER(c) \
4128                    (('a' <= (c) && (c) <= 'i') \
4129                      || ('j' <= (c) && (c) <= 'r') \
4130                      || ('s' <= (c) && (c) <= 'z'))
4131 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4132 #endif
4133
4134 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4135 int
4136 main ()
4137 {
4138   int i;
4139   for (i = 0; i < 256; i++)
4140     if (XOR (islower (i), ISLOWER (i))
4141         || toupper (i) != TOUPPER (i))
4142       return 2;
4143   return 0;
4144 }
4145 _ACEOF
4146 if ac_fn_c_try_run "$LINENO"; then :
4147
4148 else
4149   ac_cv_header_stdc=no
4150 fi
4151 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4152   conftest.$ac_objext conftest.beam conftest.$ac_ext
4153 fi
4154
4155 fi
4156 fi
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4158 $as_echo "$ac_cv_header_stdc" >&6; }
4159 if test $ac_cv_header_stdc = yes; then
4160
4161 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4162
4163 fi
4164
4165 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4166 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4167                   inttypes.h stdint.h unistd.h
4168 do :
4169   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4170 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4171 "
4172 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4173   cat >>confdefs.h <<_ACEOF
4174 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4175 _ACEOF
4176
4177 fi
4178
4179 done
4180
4181
4182
4183   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4184 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4185   MINIX=yes
4186 else
4187   MINIX=
4188 fi
4189
4190
4191   if test "$MINIX" = yes; then
4192
4193 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4194
4195
4196 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4197
4198
4199 $as_echo "#define _MINIX 1" >>confdefs.h
4200
4201   fi
4202
4203
4204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4205 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4206 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4207   $as_echo_n "(cached) " >&6
4208 else
4209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h.  */
4211
4212 #         define __EXTENSIONS__ 1
4213           $ac_includes_default
4214 int
4215 main ()
4216 {
4217
4218   ;
4219   return 0;
4220 }
4221 _ACEOF
4222 if ac_fn_c_try_compile "$LINENO"; then :
4223   ac_cv_safe_to_define___extensions__=yes
4224 else
4225   ac_cv_safe_to_define___extensions__=no
4226 fi
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 fi
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4230 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4231   test $ac_cv_safe_to_define___extensions__ = yes &&
4232     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4233
4234   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4235
4236   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4237
4238   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4239
4240   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4241
4242
4243
4244 # Check whether --enable-largefile was given.
4245 if test "${enable_largefile+set}" = set; then :
4246   enableval=$enable_largefile;
4247 fi
4248
4249 if test "$enable_largefile" != no; then
4250
4251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4252 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4253 if ${ac_cv_sys_largefile_CC+:} false; then :
4254   $as_echo_n "(cached) " >&6
4255 else
4256   ac_cv_sys_largefile_CC=no
4257      if test "$GCC" != yes; then
4258        ac_save_CC=$CC
4259        while :; do
4260          # IRIX 6.2 and later do not support large files by default,
4261          # so use the C compiler's -n32 option if that helps.
4262          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h.  */
4264 #include <sys/types.h>
4265  /* Check that off_t can represent 2**63 - 1 correctly.
4266     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4267     since some C++ compilers masquerading as C compilers
4268     incorrectly reject 9223372036854775807.  */
4269 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4270   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4271                        && LARGE_OFF_T % 2147483647 == 1)
4272                       ? 1 : -1];
4273 int
4274 main ()
4275 {
4276
4277   ;
4278   return 0;
4279 }
4280 _ACEOF
4281          if ac_fn_c_try_compile "$LINENO"; then :
4282   break
4283 fi
4284 rm -f core conftest.err conftest.$ac_objext
4285          CC="$CC -n32"
4286          if ac_fn_c_try_compile "$LINENO"; then :
4287   ac_cv_sys_largefile_CC=' -n32'; break
4288 fi
4289 rm -f core conftest.err conftest.$ac_objext
4290          break
4291        done
4292        CC=$ac_save_CC
4293        rm -f conftest.$ac_ext
4294     fi
4295 fi
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4297 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4298   if test "$ac_cv_sys_largefile_CC" != no; then
4299     CC=$CC$ac_cv_sys_largefile_CC
4300   fi
4301
4302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4303 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4304 if ${ac_cv_sys_file_offset_bits+:} false; then :
4305   $as_echo_n "(cached) " >&6
4306 else
4307   while :; do
4308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4309 /* end confdefs.h.  */
4310 #include <sys/types.h>
4311  /* Check that off_t can represent 2**63 - 1 correctly.
4312     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4313     since some C++ compilers masquerading as C compilers
4314     incorrectly reject 9223372036854775807.  */
4315 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4316   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4317                        && LARGE_OFF_T % 2147483647 == 1)
4318                       ? 1 : -1];
4319 int
4320 main ()
4321 {
4322
4323   ;
4324   return 0;
4325 }
4326 _ACEOF
4327 if ac_fn_c_try_compile "$LINENO"; then :
4328   ac_cv_sys_file_offset_bits=no; break
4329 fi
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h.  */
4333 #define _FILE_OFFSET_BITS 64
4334 #include <sys/types.h>
4335  /* Check that off_t can represent 2**63 - 1 correctly.
4336     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4337     since some C++ compilers masquerading as C compilers
4338     incorrectly reject 9223372036854775807.  */
4339 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4340   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4341                        && LARGE_OFF_T % 2147483647 == 1)
4342                       ? 1 : -1];
4343 int
4344 main ()
4345 {
4346
4347   ;
4348   return 0;
4349 }
4350 _ACEOF
4351 if ac_fn_c_try_compile "$LINENO"; then :
4352   ac_cv_sys_file_offset_bits=64; break
4353 fi
4354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4355   ac_cv_sys_file_offset_bits=unknown
4356   break
4357 done
4358 fi
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4360 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4361 case $ac_cv_sys_file_offset_bits in #(
4362   no | unknown) ;;
4363   *)
4364 cat >>confdefs.h <<_ACEOF
4365 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4366 _ACEOF
4367 ;;
4368 esac
4369 rm -rf conftest*
4370   if test $ac_cv_sys_file_offset_bits = unknown; then
4371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4372 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4373 if ${ac_cv_sys_large_files+:} false; then :
4374   $as_echo_n "(cached) " >&6
4375 else
4376   while :; do
4377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4378 /* end confdefs.h.  */
4379 #include <sys/types.h>
4380  /* Check that off_t can represent 2**63 - 1 correctly.
4381     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4382     since some C++ compilers masquerading as C compilers
4383     incorrectly reject 9223372036854775807.  */
4384 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4385   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4386                        && LARGE_OFF_T % 2147483647 == 1)
4387                       ? 1 : -1];
4388 int
4389 main ()
4390 {
4391
4392   ;
4393   return 0;
4394 }
4395 _ACEOF
4396 if ac_fn_c_try_compile "$LINENO"; then :
4397   ac_cv_sys_large_files=no; break
4398 fi
4399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h.  */
4402 #define _LARGE_FILES 1
4403 #include <sys/types.h>
4404  /* Check that off_t can represent 2**63 - 1 correctly.
4405     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4406     since some C++ compilers masquerading as C compilers
4407     incorrectly reject 9223372036854775807.  */
4408 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4409   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4410                        && LARGE_OFF_T % 2147483647 == 1)
4411                       ? 1 : -1];
4412 int
4413 main ()
4414 {
4415
4416   ;
4417   return 0;
4418 }
4419 _ACEOF
4420 if ac_fn_c_try_compile "$LINENO"; then :
4421   ac_cv_sys_large_files=1; break
4422 fi
4423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4424   ac_cv_sys_large_files=unknown
4425   break
4426 done
4427 fi
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4429 $as_echo "$ac_cv_sys_large_files" >&6; }
4430 case $ac_cv_sys_large_files in #(
4431   no | unknown) ;;
4432   *)
4433 cat >>confdefs.h <<_ACEOF
4434 #define _LARGE_FILES $ac_cv_sys_large_files
4435 _ACEOF
4436 ;;
4437 esac
4438 rm -rf conftest*
4439   fi
4440 fi
4441
4442
4443 # Make sure we can run config.sub.
4444 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4445   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4446
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4448 $as_echo_n "checking build system type... " >&6; }
4449 if ${ac_cv_build+:} false; then :
4450   $as_echo_n "(cached) " >&6
4451 else
4452   ac_build_alias=$build_alias
4453 test "x$ac_build_alias" = x &&
4454   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4455 test "x$ac_build_alias" = x &&
4456   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4457 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4458   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4459
4460 fi
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4462 $as_echo "$ac_cv_build" >&6; }
4463 case $ac_cv_build in
4464 *-*-*) ;;
4465 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4466 esac
4467 build=$ac_cv_build
4468 ac_save_IFS=$IFS; IFS='-'
4469 set x $ac_cv_build
4470 shift
4471 build_cpu=$1
4472 build_vendor=$2
4473 shift; shift
4474 # Remember, the first character of IFS is used to create $*,
4475 # except with old shells:
4476 build_os=$*
4477 IFS=$ac_save_IFS
4478 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4479
4480
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4482 $as_echo_n "checking host system type... " >&6; }
4483 if ${ac_cv_host+:} false; then :
4484   $as_echo_n "(cached) " >&6
4485 else
4486   if test "x$host_alias" = x; then
4487   ac_cv_host=$ac_cv_build
4488 else
4489   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4490     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4491 fi
4492
4493 fi
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4495 $as_echo "$ac_cv_host" >&6; }
4496 case $ac_cv_host in
4497 *-*-*) ;;
4498 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4499 esac
4500 host=$ac_cv_host
4501 ac_save_IFS=$IFS; IFS='-'
4502 set x $ac_cv_host
4503 shift
4504 host_cpu=$1
4505 host_vendor=$2
4506 shift; shift
4507 # Remember, the first character of IFS is used to create $*,
4508 # except with old shells:
4509 host_os=$*
4510 IFS=$ac_save_IFS
4511 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4512
4513
4514 enable_win32_dll=yes
4515
4516 case $host in
4517 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4518   if test -n "$ac_tool_prefix"; then
4519   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4520 set dummy ${ac_tool_prefix}as; ac_word=$2
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4522 $as_echo_n "checking for $ac_word... " >&6; }
4523 if ${ac_cv_prog_AS+:} false; then :
4524   $as_echo_n "(cached) " >&6
4525 else
4526   if test -n "$AS"; then
4527   ac_cv_prog_AS="$AS" # Let the user override the test.
4528 else
4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 for as_dir in $PATH
4531 do
4532   IFS=$as_save_IFS
4533   test -z "$as_dir" && as_dir=.
4534     for ac_exec_ext in '' $ac_executable_extensions; do
4535   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4536     ac_cv_prog_AS="${ac_tool_prefix}as"
4537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4538     break 2
4539   fi
4540 done
4541   done
4542 IFS=$as_save_IFS
4543
4544 fi
4545 fi
4546 AS=$ac_cv_prog_AS
4547 if test -n "$AS"; then
4548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4549 $as_echo "$AS" >&6; }
4550 else
4551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4552 $as_echo "no" >&6; }
4553 fi
4554
4555
4556 fi
4557 if test -z "$ac_cv_prog_AS"; then
4558   ac_ct_AS=$AS
4559   # Extract the first word of "as", so it can be a program name with args.
4560 set dummy as; ac_word=$2
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4562 $as_echo_n "checking for $ac_word... " >&6; }
4563 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4564   $as_echo_n "(cached) " >&6
4565 else
4566   if test -n "$ac_ct_AS"; then
4567   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4568 else
4569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 for as_dir in $PATH
4571 do
4572   IFS=$as_save_IFS
4573   test -z "$as_dir" && as_dir=.
4574     for ac_exec_ext in '' $ac_executable_extensions; do
4575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4576     ac_cv_prog_ac_ct_AS="as"
4577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4578     break 2
4579   fi
4580 done
4581   done
4582 IFS=$as_save_IFS
4583
4584 fi
4585 fi
4586 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4587 if test -n "$ac_ct_AS"; then
4588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4589 $as_echo "$ac_ct_AS" >&6; }
4590 else
4591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4592 $as_echo "no" >&6; }
4593 fi
4594
4595   if test "x$ac_ct_AS" = x; then
4596     AS="false"
4597   else
4598     case $cross_compiling:$ac_tool_warned in
4599 yes:)
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4602 ac_tool_warned=yes ;;
4603 esac
4604     AS=$ac_ct_AS
4605   fi
4606 else
4607   AS="$ac_cv_prog_AS"
4608 fi
4609
4610   if test -n "$ac_tool_prefix"; then
4611   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4612 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4614 $as_echo_n "checking for $ac_word... " >&6; }
4615 if ${ac_cv_prog_DLLTOOL+:} false; then :
4616   $as_echo_n "(cached) " >&6
4617 else
4618   if test -n "$DLLTOOL"; then
4619   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4620 else
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 for as_dir in $PATH
4623 do
4624   IFS=$as_save_IFS
4625   test -z "$as_dir" && as_dir=.
4626     for ac_exec_ext in '' $ac_executable_extensions; do
4627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4630     break 2
4631   fi
4632 done
4633   done
4634 IFS=$as_save_IFS
4635
4636 fi
4637 fi
4638 DLLTOOL=$ac_cv_prog_DLLTOOL
4639 if test -n "$DLLTOOL"; then
4640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4641 $as_echo "$DLLTOOL" >&6; }
4642 else
4643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 $as_echo "no" >&6; }
4645 fi
4646
4647
4648 fi
4649 if test -z "$ac_cv_prog_DLLTOOL"; then
4650   ac_ct_DLLTOOL=$DLLTOOL
4651   # Extract the first word of "dlltool", so it can be a program name with args.
4652 set dummy dlltool; ac_word=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4656   $as_echo_n "(cached) " >&6
4657 else
4658   if test -n "$ac_ct_DLLTOOL"; then
4659   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4660 else
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 for as_dir in $PATH
4663 do
4664   IFS=$as_save_IFS
4665   test -z "$as_dir" && as_dir=.
4666     for ac_exec_ext in '' $ac_executable_extensions; do
4667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4670     break 2
4671   fi
4672 done
4673   done
4674 IFS=$as_save_IFS
4675
4676 fi
4677 fi
4678 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4679 if test -n "$ac_ct_DLLTOOL"; then
4680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4681 $as_echo "$ac_ct_DLLTOOL" >&6; }
4682 else
4683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4685 fi
4686
4687   if test "x$ac_ct_DLLTOOL" = x; then
4688     DLLTOOL="false"
4689   else
4690     case $cross_compiling:$ac_tool_warned in
4691 yes:)
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4694 ac_tool_warned=yes ;;
4695 esac
4696     DLLTOOL=$ac_ct_DLLTOOL
4697   fi
4698 else
4699   DLLTOOL="$ac_cv_prog_DLLTOOL"
4700 fi
4701
4702   if test -n "$ac_tool_prefix"; then
4703   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4704 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4706 $as_echo_n "checking for $ac_word... " >&6; }
4707 if ${ac_cv_prog_OBJDUMP+:} false; then :
4708   $as_echo_n "(cached) " >&6
4709 else
4710   if test -n "$OBJDUMP"; then
4711   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4712 else
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH
4715 do
4716   IFS=$as_save_IFS
4717   test -z "$as_dir" && as_dir=.
4718     for ac_exec_ext in '' $ac_executable_extensions; do
4719   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4720     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4721     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4722     break 2
4723   fi
4724 done
4725   done
4726 IFS=$as_save_IFS
4727
4728 fi
4729 fi
4730 OBJDUMP=$ac_cv_prog_OBJDUMP
4731 if test -n "$OBJDUMP"; then
4732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4733 $as_echo "$OBJDUMP" >&6; }
4734 else
4735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4737 fi
4738
4739
4740 fi
4741 if test -z "$ac_cv_prog_OBJDUMP"; then
4742   ac_ct_OBJDUMP=$OBJDUMP
4743   # Extract the first word of "objdump", so it can be a program name with args.
4744 set dummy objdump; ac_word=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4748   $as_echo_n "(cached) " >&6
4749 else
4750   if test -n "$ac_ct_OBJDUMP"; then
4751   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4752 else
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH
4755 do
4756   IFS=$as_save_IFS
4757   test -z "$as_dir" && as_dir=.
4758     for ac_exec_ext in '' $ac_executable_extensions; do
4759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4760     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762     break 2
4763   fi
4764 done
4765   done
4766 IFS=$as_save_IFS
4767
4768 fi
4769 fi
4770 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4771 if test -n "$ac_ct_OBJDUMP"; then
4772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4773 $as_echo "$ac_ct_OBJDUMP" >&6; }
4774 else
4775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4777 fi
4778
4779   if test "x$ac_ct_OBJDUMP" = x; then
4780     OBJDUMP="false"
4781   else
4782     case $cross_compiling:$ac_tool_warned in
4783 yes:)
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4786 ac_tool_warned=yes ;;
4787 esac
4788     OBJDUMP=$ac_ct_OBJDUMP
4789   fi
4790 else
4791   OBJDUMP="$ac_cv_prog_OBJDUMP"
4792 fi
4793
4794   ;;
4795 esac
4796
4797 test -z "$AS" && AS=as
4798
4799
4800
4801
4802
4803 test -z "$DLLTOOL" && DLLTOOL=dlltool
4804
4805
4806
4807
4808
4809 test -z "$OBJDUMP" && OBJDUMP=objdump
4810
4811
4812
4813
4814
4815
4816
4817 case `pwd` in
4818   *\ * | *\     *)
4819     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4820 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4821 esac
4822
4823
4824
4825 macro_version='2.4.2'
4826 macro_revision='1.3337'
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840 ltmain="$ac_aux_dir/ltmain.sh"
4841
4842 # Backslashify metacharacters that are still active within
4843 # double-quoted strings.
4844 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4845
4846 # Same as above, but do not quote variable references.
4847 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4848
4849 # Sed substitution to delay expansion of an escaped shell variable in a
4850 # double_quote_subst'ed string.
4851 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4852
4853 # Sed substitution to delay expansion of an escaped single quote.
4854 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4855
4856 # Sed substitution to avoid accidental globbing in evaled expressions
4857 no_glob_subst='s/\*/\\\*/g'
4858
4859 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4860 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4861 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4862
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4864 $as_echo_n "checking how to print strings... " >&6; }
4865 # Test print first, because it will be a builtin if present.
4866 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4867    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4868   ECHO='print -r --'
4869 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4870   ECHO='printf %s\n'
4871 else
4872   # Use this function as a fallback that always works.
4873   func_fallback_echo ()
4874   {
4875     eval 'cat <<_LTECHO_EOF
4876 $1
4877 _LTECHO_EOF'
4878   }
4879   ECHO='func_fallback_echo'
4880 fi
4881
4882 # func_echo_all arg...
4883 # Invoke $ECHO with all args, space-separated.
4884 func_echo_all ()
4885 {
4886     $ECHO ""
4887 }
4888
4889 case "$ECHO" in
4890   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4891 $as_echo "printf" >&6; } ;;
4892   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4893 $as_echo "print -r" >&6; } ;;
4894   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4895 $as_echo "cat" >&6; } ;;
4896 esac
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4912 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4913 if ${ac_cv_path_SED+:} false; then :
4914   $as_echo_n "(cached) " >&6
4915 else
4916             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4917      for ac_i in 1 2 3 4 5 6 7; do
4918        ac_script="$ac_script$as_nl$ac_script"
4919      done
4920      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4921      { ac_script=; unset ac_script;}
4922      if test -z "$SED"; then
4923   ac_path_SED_found=false
4924   # Loop through the user's path and test for each of PROGNAME-LIST
4925   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 for as_dir in $PATH
4927 do
4928   IFS=$as_save_IFS
4929   test -z "$as_dir" && as_dir=.
4930     for ac_prog in sed gsed; do
4931     for ac_exec_ext in '' $ac_executable_extensions; do
4932       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4933       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4934 # Check for GNU ac_path_SED and select it if it is found.
4935   # Check for GNU $ac_path_SED
4936 case `"$ac_path_SED" --version 2>&1` in
4937 *GNU*)
4938   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4939 *)
4940   ac_count=0
4941   $as_echo_n 0123456789 >"conftest.in"
4942   while :
4943   do
4944     cat "conftest.in" "conftest.in" >"conftest.tmp"
4945     mv "conftest.tmp" "conftest.in"
4946     cp "conftest.in" "conftest.nl"
4947     $as_echo '' >> "conftest.nl"
4948     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4949     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4950     as_fn_arith $ac_count + 1 && ac_count=$as_val
4951     if test $ac_count -gt ${ac_path_SED_max-0}; then
4952       # Best one so far, save it but keep looking for a better one
4953       ac_cv_path_SED="$ac_path_SED"
4954       ac_path_SED_max=$ac_count
4955     fi
4956     # 10*(2^10) chars as input seems more than enough
4957     test $ac_count -gt 10 && break
4958   done
4959   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4960 esac
4961
4962       $ac_path_SED_found && break 3
4963     done
4964   done
4965   done
4966 IFS=$as_save_IFS
4967   if test -z "$ac_cv_path_SED"; then
4968     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4969   fi
4970 else
4971   ac_cv_path_SED=$SED
4972 fi
4973
4974 fi
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4976 $as_echo "$ac_cv_path_SED" >&6; }
4977  SED="$ac_cv_path_SED"
4978   rm -f conftest.sed
4979
4980 test -z "$SED" && SED=sed
4981 Xsed="$SED -e 1s/^X//"
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4994 $as_echo_n "checking for fgrep... " >&6; }
4995 if ${ac_cv_path_FGREP+:} false; then :
4996   $as_echo_n "(cached) " >&6
4997 else
4998   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4999    then ac_cv_path_FGREP="$GREP -F"
5000    else
5001      if test -z "$FGREP"; then
5002   ac_path_FGREP_found=false
5003   # Loop through the user's path and test for each of PROGNAME-LIST
5004   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5006 do
5007   IFS=$as_save_IFS
5008   test -z "$as_dir" && as_dir=.
5009     for ac_prog in fgrep; do
5010     for ac_exec_ext in '' $ac_executable_extensions; do
5011       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5012       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5013 # Check for GNU ac_path_FGREP and select it if it is found.
5014   # Check for GNU $ac_path_FGREP
5015 case `"$ac_path_FGREP" --version 2>&1` in
5016 *GNU*)
5017   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5018 *)
5019   ac_count=0
5020   $as_echo_n 0123456789 >"conftest.in"
5021   while :
5022   do
5023     cat "conftest.in" "conftest.in" >"conftest.tmp"
5024     mv "conftest.tmp" "conftest.in"
5025     cp "conftest.in" "conftest.nl"
5026     $as_echo 'FGREP' >> "conftest.nl"
5027     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5028     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5029     as_fn_arith $ac_count + 1 && ac_count=$as_val
5030     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5031       # Best one so far, save it but keep looking for a better one
5032       ac_cv_path_FGREP="$ac_path_FGREP"
5033       ac_path_FGREP_max=$ac_count
5034     fi
5035     # 10*(2^10) chars as input seems more than enough
5036     test $ac_count -gt 10 && break
5037   done
5038   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5039 esac
5040
5041       $ac_path_FGREP_found && break 3
5042     done
5043   done
5044   done
5045 IFS=$as_save_IFS
5046   if test -z "$ac_cv_path_FGREP"; then
5047     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5048   fi
5049 else
5050   ac_cv_path_FGREP=$FGREP
5051 fi
5052
5053    fi
5054 fi
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5056 $as_echo "$ac_cv_path_FGREP" >&6; }
5057  FGREP="$ac_cv_path_FGREP"
5058
5059
5060 test -z "$GREP" && GREP=grep
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080 # Check whether --with-gnu-ld was given.
5081 if test "${with_gnu_ld+set}" = set; then :
5082   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5083 else
5084   with_gnu_ld=no
5085 fi
5086
5087 ac_prog=ld
5088 if test "$GCC" = yes; then
5089   # Check if gcc -print-prog-name=ld gives a path.
5090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5091 $as_echo_n "checking for ld used by $CC... " >&6; }
5092   case $host in
5093   *-*-mingw*)
5094     # gcc leaves a trailing carriage return which upsets mingw
5095     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5096   *)
5097     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5098   esac
5099   case $ac_prog in
5100     # Accept absolute paths.
5101     [\\/]* | ?:[\\/]*)
5102       re_direlt='/[^/][^/]*/\.\./'
5103       # Canonicalize the pathname of ld
5104       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5105       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5106         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5107       done
5108       test -z "$LD" && LD="$ac_prog"
5109       ;;
5110   "")
5111     # If it fails, then pretend we aren't using GCC.
5112     ac_prog=ld
5113     ;;
5114   *)
5115     # If it is relative, then search for the first ld in PATH.
5116     with_gnu_ld=unknown
5117     ;;
5118   esac
5119 elif test "$with_gnu_ld" = yes; then
5120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5121 $as_echo_n "checking for GNU ld... " >&6; }
5122 else
5123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5124 $as_echo_n "checking for non-GNU ld... " >&6; }
5125 fi
5126 if ${lt_cv_path_LD+:} false; then :
5127   $as_echo_n "(cached) " >&6
5128 else
5129   if test -z "$LD"; then
5130   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5131   for ac_dir in $PATH; do
5132     IFS="$lt_save_ifs"
5133     test -z "$ac_dir" && ac_dir=.
5134     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5135       lt_cv_path_LD="$ac_dir/$ac_prog"
5136       # Check to see if the program is GNU ld.  I'd rather use --version,
5137       # but apparently some variants of GNU ld only accept -v.
5138       # Break only if it was the GNU/non-GNU ld that we prefer.
5139       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5140       *GNU* | *'with BFD'*)
5141         test "$with_gnu_ld" != no && break
5142         ;;
5143       *)
5144         test "$with_gnu_ld" != yes && break
5145         ;;
5146       esac
5147     fi
5148   done
5149   IFS="$lt_save_ifs"
5150 else
5151   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5152 fi
5153 fi
5154
5155 LD="$lt_cv_path_LD"
5156 if test -n "$LD"; then
5157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5158 $as_echo "$LD" >&6; }
5159 else
5160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5162 fi
5163 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5165 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5166 if ${lt_cv_prog_gnu_ld+:} false; then :
5167   $as_echo_n "(cached) " >&6
5168 else
5169   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5170 case `$LD -v 2>&1 </dev/null` in
5171 *GNU* | *'with BFD'*)
5172   lt_cv_prog_gnu_ld=yes
5173   ;;
5174 *)
5175   lt_cv_prog_gnu_ld=no
5176   ;;
5177 esac
5178 fi
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5180 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5181 with_gnu_ld=$lt_cv_prog_gnu_ld
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5192 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5193 if ${lt_cv_path_NM+:} false; then :
5194   $as_echo_n "(cached) " >&6
5195 else
5196   if test -n "$NM"; then
5197   # Let the user override the test.
5198   lt_cv_path_NM="$NM"
5199 else
5200   lt_nm_to_check="${ac_tool_prefix}nm"
5201   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5202     lt_nm_to_check="$lt_nm_to_check nm"
5203   fi
5204   for lt_tmp_nm in $lt_nm_to_check; do
5205     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5206     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5207       IFS="$lt_save_ifs"
5208       test -z "$ac_dir" && ac_dir=.
5209       tmp_nm="$ac_dir/$lt_tmp_nm"
5210       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5211         # Check to see if the nm accepts a BSD-compat flag.
5212         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5213         #   nm: unknown option "B" ignored
5214         # Tru64's nm complains that /dev/null is an invalid object file
5215         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5216         */dev/null* | *'Invalid file or object type'*)
5217           lt_cv_path_NM="$tmp_nm -B"
5218           break
5219           ;;
5220         *)
5221           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5222           */dev/null*)
5223             lt_cv_path_NM="$tmp_nm -p"
5224             break
5225             ;;
5226           *)
5227             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5228             continue # so that we can try to find one that supports BSD flags
5229             ;;
5230           esac
5231           ;;
5232         esac
5233       fi
5234     done
5235     IFS="$lt_save_ifs"
5236   done
5237   : ${lt_cv_path_NM=no}
5238 fi
5239 fi
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5241 $as_echo "$lt_cv_path_NM" >&6; }
5242 if test "$lt_cv_path_NM" != "no"; then
5243   NM="$lt_cv_path_NM"
5244 else
5245   # Didn't find any BSD compatible name lister, look for dumpbin.
5246   if test -n "$DUMPBIN"; then :
5247     # Let the user override the test.
5248   else
5249     if test -n "$ac_tool_prefix"; then
5250   for ac_prog in dumpbin "link -dump"
5251   do
5252     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5253 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_DUMPBIN+:} false; then :
5257   $as_echo_n "(cached) " >&6
5258 else
5259   if test -n "$DUMPBIN"; then
5260   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5261 else
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 for as_dir in $PATH
5264 do
5265   IFS=$as_save_IFS
5266   test -z "$as_dir" && as_dir=.
5267     for ac_exec_ext in '' $ac_executable_extensions; do
5268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5269     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271     break 2
5272   fi
5273 done
5274   done
5275 IFS=$as_save_IFS
5276
5277 fi
5278 fi
5279 DUMPBIN=$ac_cv_prog_DUMPBIN
5280 if test -n "$DUMPBIN"; then
5281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5282 $as_echo "$DUMPBIN" >&6; }
5283 else
5284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5286 fi
5287
5288
5289     test -n "$DUMPBIN" && break
5290   done
5291 fi
5292 if test -z "$DUMPBIN"; then
5293   ac_ct_DUMPBIN=$DUMPBIN
5294   for ac_prog in dumpbin "link -dump"
5295 do
5296   # Extract the first word of "$ac_prog", so it can be a program name with args.
5297 set dummy $ac_prog; ac_word=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5301   $as_echo_n "(cached) " >&6
5302 else
5303   if test -n "$ac_ct_DUMPBIN"; then
5304   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5308 do
5309   IFS=$as_save_IFS
5310   test -z "$as_dir" && as_dir=.
5311     for ac_exec_ext in '' $ac_executable_extensions; do
5312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5315     break 2
5316   fi
5317 done
5318   done
5319 IFS=$as_save_IFS
5320
5321 fi
5322 fi
5323 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5324 if test -n "$ac_ct_DUMPBIN"; then
5325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5326 $as_echo "$ac_ct_DUMPBIN" >&6; }
5327 else
5328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5330 fi
5331
5332
5333   test -n "$ac_ct_DUMPBIN" && break
5334 done
5335
5336   if test "x$ac_ct_DUMPBIN" = x; then
5337     DUMPBIN=":"
5338   else
5339     case $cross_compiling:$ac_tool_warned in
5340 yes:)
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5343 ac_tool_warned=yes ;;
5344 esac
5345     DUMPBIN=$ac_ct_DUMPBIN
5346   fi
5347 fi
5348
5349     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5350     *COFF*)
5351       DUMPBIN="$DUMPBIN -symbols"
5352       ;;
5353     *)
5354       DUMPBIN=:
5355       ;;
5356     esac
5357   fi
5358
5359   if test "$DUMPBIN" != ":"; then
5360     NM="$DUMPBIN"
5361   fi
5362 fi
5363 test -z "$NM" && NM=nm
5364
5365
5366
5367
5368
5369
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5371 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5372 if ${lt_cv_nm_interface+:} false; then :
5373   $as_echo_n "(cached) " >&6
5374 else
5375   lt_cv_nm_interface="BSD nm"
5376   echo "int some_variable = 0;" > conftest.$ac_ext
5377   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5378   (eval "$ac_compile" 2>conftest.err)
5379   cat conftest.err >&5
5380   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5381   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5382   cat conftest.err >&5
5383   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5384   cat conftest.out >&5
5385   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5386     lt_cv_nm_interface="MS dumpbin"
5387   fi
5388   rm -f conftest*
5389 fi
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5391 $as_echo "$lt_cv_nm_interface" >&6; }
5392
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5394 $as_echo_n "checking whether ln -s works... " >&6; }
5395 LN_S=$as_ln_s
5396 if test "$LN_S" = "ln -s"; then
5397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5398 $as_echo "yes" >&6; }
5399 else
5400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5401 $as_echo "no, using $LN_S" >&6; }
5402 fi
5403
5404 # find the maximum length of command line arguments
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5406 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5407 if ${lt_cv_sys_max_cmd_len+:} false; then :
5408   $as_echo_n "(cached) " >&6
5409 else
5410     i=0
5411   teststring="ABCD"
5412
5413   case $build_os in
5414   msdosdjgpp*)
5415     # On DJGPP, this test can blow up pretty badly due to problems in libc
5416     # (any single argument exceeding 2000 bytes causes a buffer overrun
5417     # during glob expansion).  Even if it were fixed, the result of this
5418     # check would be larger than it should be.
5419     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5420     ;;
5421
5422   gnu*)
5423     # Under GNU Hurd, this test is not required because there is
5424     # no limit to the length of command line arguments.
5425     # Libtool will interpret -1 as no limit whatsoever
5426     lt_cv_sys_max_cmd_len=-1;
5427     ;;
5428
5429   cygwin* | mingw* | cegcc*)
5430     # On Win9x/ME, this test blows up -- it succeeds, but takes
5431     # about 5 minutes as the teststring grows exponentially.
5432     # Worse, since 9x/ME are not pre-emptively multitasking,
5433     # you end up with a "frozen" computer, even though with patience
5434     # the test eventually succeeds (with a max line length of 256k).
5435     # Instead, let's just punt: use the minimum linelength reported by
5436     # all of the supported platforms: 8192 (on NT/2K/XP).
5437     lt_cv_sys_max_cmd_len=8192;
5438     ;;
5439
5440   mint*)
5441     # On MiNT this can take a long time and run out of memory.
5442     lt_cv_sys_max_cmd_len=8192;
5443     ;;
5444
5445   amigaos*)
5446     # On AmigaOS with pdksh, this test takes hours, literally.
5447     # So we just punt and use a minimum line length of 8192.
5448     lt_cv_sys_max_cmd_len=8192;
5449     ;;
5450
5451   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5452     # This has been around since 386BSD, at least.  Likely further.
5453     if test -x /sbin/sysctl; then
5454       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5455     elif test -x /usr/sbin/sysctl; then
5456       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5457     else
5458       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5459     fi
5460     # And add a safety zone
5461     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5462     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5463     ;;
5464
5465   interix*)
5466     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5467     lt_cv_sys_max_cmd_len=196608
5468     ;;
5469
5470   os2*)
5471     # The test takes a long time on OS/2.
5472     lt_cv_sys_max_cmd_len=8192
5473     ;;
5474
5475   osf*)
5476     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5477     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5478     # nice to cause kernel panics so lets avoid the loop below.
5479     # First set a reasonable default.
5480     lt_cv_sys_max_cmd_len=16384
5481     #
5482     if test -x /sbin/sysconfig; then
5483       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5484         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5485       esac
5486     fi
5487     ;;
5488   sco3.2v5*)
5489     lt_cv_sys_max_cmd_len=102400
5490     ;;
5491   sysv5* | sco5v6* | sysv4.2uw2*)
5492     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5493     if test -n "$kargmax"; then
5494       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5495     else
5496       lt_cv_sys_max_cmd_len=32768
5497     fi
5498     ;;
5499   *)
5500     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5501     if test -n "$lt_cv_sys_max_cmd_len"; then
5502       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5503       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5504     else
5505       # Make teststring a little bigger before we do anything with it.
5506       # a 1K string should be a reasonable start.
5507       for i in 1 2 3 4 5 6 7 8 ; do
5508         teststring=$teststring$teststring
5509       done
5510       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5511       # If test is not a shell built-in, we'll probably end up computing a
5512       # maximum length that is only half of the actual maximum length, but
5513       # we can't tell.
5514       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5515                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5516               test $i != 17 # 1/2 MB should be enough
5517       do
5518         i=`expr $i + 1`
5519         teststring=$teststring$teststring
5520       done
5521       # Only check the string length outside the loop.
5522       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5523       teststring=
5524       # Add a significant safety factor because C++ compilers can tack on
5525       # massive amounts of additional arguments before passing them to the
5526       # linker.  It appears as though 1/2 is a usable value.
5527       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5528     fi
5529     ;;
5530   esac
5531
5532 fi
5533
5534 if test -n $lt_cv_sys_max_cmd_len ; then
5535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5536 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5537 else
5538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5539 $as_echo "none" >&6; }
5540 fi
5541 max_cmd_len=$lt_cv_sys_max_cmd_len
5542
5543
5544
5545
5546
5547
5548 : ${CP="cp -f"}
5549 : ${MV="mv -f"}
5550 : ${RM="rm -f"}
5551
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5553 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5554 # Try some XSI features
5555 xsi_shell=no
5556 ( _lt_dummy="a/b/c"
5557   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5558       = c,a/b,b/c, \
5559     && eval 'test $(( 1 + 1 )) -eq 2 \
5560     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5561   && xsi_shell=yes
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5563 $as_echo "$xsi_shell" >&6; }
5564
5565
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5567 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5568 lt_shell_append=no
5569 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5570     >/dev/null 2>&1 \
5571   && lt_shell_append=yes
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5573 $as_echo "$lt_shell_append" >&6; }
5574
5575
5576 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5577   lt_unset=unset
5578 else
5579   lt_unset=false
5580 fi
5581
5582
5583
5584
5585
5586 # test EBCDIC or ASCII
5587 case `echo X|tr X '\101'` in
5588  A) # ASCII based system
5589     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5590   lt_SP2NL='tr \040 \012'
5591   lt_NL2SP='tr \015\012 \040\040'
5592   ;;
5593  *) # EBCDIC based system
5594   lt_SP2NL='tr \100 \n'
5595   lt_NL2SP='tr \r\n \100\100'
5596   ;;
5597 esac
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5608 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5609 if ${lt_cv_to_host_file_cmd+:} false; then :
5610   $as_echo_n "(cached) " >&6
5611 else
5612   case $host in
5613   *-*-mingw* )
5614     case $build in
5615       *-*-mingw* ) # actually msys
5616         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5617         ;;
5618       *-*-cygwin* )
5619         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5620         ;;
5621       * ) # otherwise, assume *nix
5622         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5623         ;;
5624     esac
5625     ;;
5626   *-*-cygwin* )
5627     case $build in
5628       *-*-mingw* ) # actually msys
5629         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5630         ;;
5631       *-*-cygwin* )
5632         lt_cv_to_host_file_cmd=func_convert_file_noop
5633         ;;
5634       * ) # otherwise, assume *nix
5635         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5636         ;;
5637     esac
5638     ;;
5639   * ) # unhandled hosts (and "normal" native builds)
5640     lt_cv_to_host_file_cmd=func_convert_file_noop
5641     ;;
5642 esac
5643
5644 fi
5645
5646 to_host_file_cmd=$lt_cv_to_host_file_cmd
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5648 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5649
5650
5651
5652
5653
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5655 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5656 if ${lt_cv_to_tool_file_cmd+:} false; then :
5657   $as_echo_n "(cached) " >&6
5658 else
5659   #assume ordinary cross tools, or native build.
5660 lt_cv_to_tool_file_cmd=func_convert_file_noop
5661 case $host in
5662   *-*-mingw* )
5663     case $build in
5664       *-*-mingw* ) # actually msys
5665         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5666         ;;
5667     esac
5668     ;;
5669 esac
5670
5671 fi
5672
5673 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5675 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5676
5677
5678
5679
5680
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5682 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5683 if ${lt_cv_ld_reload_flag+:} false; then :
5684   $as_echo_n "(cached) " >&6
5685 else
5686   lt_cv_ld_reload_flag='-r'
5687 fi
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5689 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5690 reload_flag=$lt_cv_ld_reload_flag
5691 case $reload_flag in
5692 "" | " "*) ;;
5693 *) reload_flag=" $reload_flag" ;;
5694 esac
5695 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5696 case $host_os in
5697   cygwin* | mingw* | pw32* | cegcc*)
5698     if test "$GCC" != yes; then
5699       reload_cmds=false
5700     fi
5701     ;;
5702   darwin*)
5703     if test "$GCC" = yes; then
5704       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5705     else
5706       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5707     fi
5708     ;;
5709 esac
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719 if test -n "$ac_tool_prefix"; then
5720   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5721 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_OBJDUMP+:} false; then :
5725   $as_echo_n "(cached) " >&6
5726 else
5727   if test -n "$OBJDUMP"; then
5728   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5729 else
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH
5732 do
5733   IFS=$as_save_IFS
5734   test -z "$as_dir" && as_dir=.
5735     for ac_exec_ext in '' $ac_executable_extensions; do
5736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5737     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739     break 2
5740   fi
5741 done
5742   done
5743 IFS=$as_save_IFS
5744
5745 fi
5746 fi
5747 OBJDUMP=$ac_cv_prog_OBJDUMP
5748 if test -n "$OBJDUMP"; then
5749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5750 $as_echo "$OBJDUMP" >&6; }
5751 else
5752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5754 fi
5755
5756
5757 fi
5758 if test -z "$ac_cv_prog_OBJDUMP"; then
5759   ac_ct_OBJDUMP=$OBJDUMP
5760   # Extract the first word of "objdump", so it can be a program name with args.
5761 set dummy objdump; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5765   $as_echo_n "(cached) " >&6
5766 else
5767   if test -n "$ac_ct_OBJDUMP"; then
5768   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5769 else
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 for as_dir in $PATH
5772 do
5773   IFS=$as_save_IFS
5774   test -z "$as_dir" && as_dir=.
5775     for ac_exec_ext in '' $ac_executable_extensions; do
5776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5777     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779     break 2
5780   fi
5781 done
5782   done
5783 IFS=$as_save_IFS
5784
5785 fi
5786 fi
5787 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5788 if test -n "$ac_ct_OBJDUMP"; then
5789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5790 $as_echo "$ac_ct_OBJDUMP" >&6; }
5791 else
5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5794 fi
5795
5796   if test "x$ac_ct_OBJDUMP" = x; then
5797     OBJDUMP="false"
5798   else
5799     case $cross_compiling:$ac_tool_warned in
5800 yes:)
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5803 ac_tool_warned=yes ;;
5804 esac
5805     OBJDUMP=$ac_ct_OBJDUMP
5806   fi
5807 else
5808   OBJDUMP="$ac_cv_prog_OBJDUMP"
5809 fi
5810
5811 test -z "$OBJDUMP" && OBJDUMP=objdump
5812
5813
5814
5815
5816
5817
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5819 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5820 if ${lt_cv_deplibs_check_method+:} false; then :
5821   $as_echo_n "(cached) " >&6
5822 else
5823   lt_cv_file_magic_cmd='$MAGIC_CMD'
5824 lt_cv_file_magic_test_file=
5825 lt_cv_deplibs_check_method='unknown'
5826 # Need to set the preceding variable on all platforms that support
5827 # interlibrary dependencies.
5828 # 'none' -- dependencies not supported.
5829 # `unknown' -- same as none, but documents that we really don't know.
5830 # 'pass_all' -- all dependencies passed with no checks.
5831 # 'test_compile' -- check by making test program.
5832 # 'file_magic [[regex]]' -- check by looking for files in library path
5833 # which responds to the $file_magic_cmd with a given extended regex.
5834 # If you have `file' or equivalent on your system and you're not sure
5835 # whether `pass_all' will *always* work, you probably want this one.
5836
5837 case $host_os in
5838 aix[4-9]*)
5839   lt_cv_deplibs_check_method=pass_all
5840   ;;
5841
5842 beos*)
5843   lt_cv_deplibs_check_method=pass_all
5844   ;;
5845
5846 bsdi[45]*)
5847   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5848   lt_cv_file_magic_cmd='/usr/bin/file -L'
5849   lt_cv_file_magic_test_file=/shlib/libc.so
5850   ;;
5851
5852 cygwin*)
5853   # func_win32_libid is a shell function defined in ltmain.sh
5854   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5855   lt_cv_file_magic_cmd='func_win32_libid'
5856   ;;
5857
5858 mingw* | pw32*)
5859   # Base MSYS/MinGW do not provide the 'file' command needed by
5860   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5861   # unless we find 'file', for example because we are cross-compiling.
5862   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5863   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5864     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5865     lt_cv_file_magic_cmd='func_win32_libid'
5866   else
5867     # Keep this pattern in sync with the one in func_win32_libid.
5868     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5869     lt_cv_file_magic_cmd='$OBJDUMP -f'
5870   fi
5871   ;;
5872
5873 cegcc*)
5874   # use the weaker test based on 'objdump'. See mingw*.
5875   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5876   lt_cv_file_magic_cmd='$OBJDUMP -f'
5877   ;;
5878
5879 darwin* | rhapsody*)
5880   lt_cv_deplibs_check_method=pass_all
5881   ;;
5882
5883 freebsd* | dragonfly*)
5884   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5885     case $host_cpu in
5886     i*86 )
5887       # Not sure whether the presence of OpenBSD here was a mistake.
5888       # Let's accept both of them until this is cleared up.
5889       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5890       lt_cv_file_magic_cmd=/usr/bin/file
5891       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5892       ;;
5893     esac
5894   else
5895     lt_cv_deplibs_check_method=pass_all
5896   fi
5897   ;;
5898
5899 gnu*)
5900   lt_cv_deplibs_check_method=pass_all
5901   ;;
5902
5903 haiku*)
5904   lt_cv_deplibs_check_method=pass_all
5905   ;;
5906
5907 hpux10.20* | hpux11*)
5908   lt_cv_file_magic_cmd=/usr/bin/file
5909   case $host_cpu in
5910   ia64*)
5911     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5912     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5913     ;;
5914   hppa*64*)
5915     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5916     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5917     ;;
5918   *)
5919     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5920     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5921     ;;
5922   esac
5923   ;;
5924
5925 interix[3-9]*)
5926   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5927   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5928   ;;
5929
5930 irix5* | irix6* | nonstopux*)
5931   case $LD in
5932   *-32|*"-32 ") libmagic=32-bit;;
5933   *-n32|*"-n32 ") libmagic=N32;;
5934   *-64|*"-64 ") libmagic=64-bit;;
5935   *) libmagic=never-match;;
5936   esac
5937   lt_cv_deplibs_check_method=pass_all
5938   ;;
5939
5940 # This must be glibc/ELF.
5941 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5942   lt_cv_deplibs_check_method=pass_all
5943   ;;
5944
5945 netbsd* | netbsdelf*-gnu)
5946   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5947     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5948   else
5949     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5950   fi
5951   ;;
5952
5953 newos6*)
5954   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5955   lt_cv_file_magic_cmd=/usr/bin/file
5956   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5957   ;;
5958
5959 *nto* | *qnx*)
5960   lt_cv_deplibs_check_method=pass_all
5961   ;;
5962
5963 openbsd*)
5964   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5965     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5966   else
5967     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5968   fi
5969   ;;
5970
5971 osf3* | osf4* | osf5*)
5972   lt_cv_deplibs_check_method=pass_all
5973   ;;
5974
5975 rdos*)
5976   lt_cv_deplibs_check_method=pass_all
5977   ;;
5978
5979 solaris*)
5980   lt_cv_deplibs_check_method=pass_all
5981   ;;
5982
5983 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5984   lt_cv_deplibs_check_method=pass_all
5985   ;;
5986
5987 sysv4 | sysv4.3*)
5988   case $host_vendor in
5989   motorola)
5990     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]'
5991     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5992     ;;
5993   ncr)
5994     lt_cv_deplibs_check_method=pass_all
5995     ;;
5996   sequent)
5997     lt_cv_file_magic_cmd='/bin/file'
5998     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5999     ;;
6000   sni)
6001     lt_cv_file_magic_cmd='/bin/file'
6002     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6003     lt_cv_file_magic_test_file=/lib/libc.so
6004     ;;
6005   siemens)
6006     lt_cv_deplibs_check_method=pass_all
6007     ;;
6008   pc)
6009     lt_cv_deplibs_check_method=pass_all
6010     ;;
6011   esac
6012   ;;
6013
6014 tpf*)
6015   lt_cv_deplibs_check_method=pass_all
6016   ;;
6017 esac
6018
6019 fi
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6021 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6022
6023 file_magic_glob=
6024 want_nocaseglob=no
6025 if test "$build" = "$host"; then
6026   case $host_os in
6027   mingw* | pw32*)
6028     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6029       want_nocaseglob=yes
6030     else
6031       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6032     fi
6033     ;;
6034   esac
6035 fi
6036
6037 file_magic_cmd=$lt_cv_file_magic_cmd
6038 deplibs_check_method=$lt_cv_deplibs_check_method
6039 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062 if test -n "$ac_tool_prefix"; then
6063   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6064 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_prog_DLLTOOL+:} false; then :
6068   $as_echo_n "(cached) " >&6
6069 else
6070   if test -n "$DLLTOOL"; then
6071   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6072 else
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 for as_dir in $PATH
6075 do
6076   IFS=$as_save_IFS
6077   test -z "$as_dir" && as_dir=.
6078     for ac_exec_ext in '' $ac_executable_extensions; do
6079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6080     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082     break 2
6083   fi
6084 done
6085   done
6086 IFS=$as_save_IFS
6087
6088 fi
6089 fi
6090 DLLTOOL=$ac_cv_prog_DLLTOOL
6091 if test -n "$DLLTOOL"; then
6092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6093 $as_echo "$DLLTOOL" >&6; }
6094 else
6095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6097 fi
6098
6099
6100 fi
6101 if test -z "$ac_cv_prog_DLLTOOL"; then
6102   ac_ct_DLLTOOL=$DLLTOOL
6103   # Extract the first word of "dlltool", so it can be a program name with args.
6104 set dummy dlltool; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6108   $as_echo_n "(cached) " >&6
6109 else
6110   if test -n "$ac_ct_DLLTOOL"; then
6111   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6112 else
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH
6115 do
6116   IFS=$as_save_IFS
6117   test -z "$as_dir" && as_dir=.
6118     for ac_exec_ext in '' $ac_executable_extensions; do
6119   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122     break 2
6123   fi
6124 done
6125   done
6126 IFS=$as_save_IFS
6127
6128 fi
6129 fi
6130 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6131 if test -n "$ac_ct_DLLTOOL"; then
6132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6133 $as_echo "$ac_ct_DLLTOOL" >&6; }
6134 else
6135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6137 fi
6138
6139   if test "x$ac_ct_DLLTOOL" = x; then
6140     DLLTOOL="false"
6141   else
6142     case $cross_compiling:$ac_tool_warned in
6143 yes:)
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6146 ac_tool_warned=yes ;;
6147 esac
6148     DLLTOOL=$ac_ct_DLLTOOL
6149   fi
6150 else
6151   DLLTOOL="$ac_cv_prog_DLLTOOL"
6152 fi
6153
6154 test -z "$DLLTOOL" && DLLTOOL=dlltool
6155
6156
6157
6158
6159
6160
6161
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6163 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6164 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6165   $as_echo_n "(cached) " >&6
6166 else
6167   lt_cv_sharedlib_from_linklib_cmd='unknown'
6168
6169 case $host_os in
6170 cygwin* | mingw* | pw32* | cegcc*)
6171   # two different shell functions defined in ltmain.sh
6172   # decide which to use based on capabilities of $DLLTOOL
6173   case `$DLLTOOL --help 2>&1` in
6174   *--identify-strict*)
6175     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6176     ;;
6177   *)
6178     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6179     ;;
6180   esac
6181   ;;
6182 *)
6183   # fallback: assume linklib IS sharedlib
6184   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6185   ;;
6186 esac
6187
6188 fi
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6190 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6191 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6192 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6193
6194
6195
6196
6197
6198
6199
6200 if test -n "$ac_tool_prefix"; then
6201   for ac_prog in ar
6202   do
6203     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206 $as_echo_n "checking for $ac_word... " >&6; }
6207 if ${ac_cv_prog_AR+:} false; then :
6208   $as_echo_n "(cached) " >&6
6209 else
6210   if test -n "$AR"; then
6211   ac_cv_prog_AR="$AR" # Let the user override the test.
6212 else
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 for as_dir in $PATH
6215 do
6216   IFS=$as_save_IFS
6217   test -z "$as_dir" && as_dir=.
6218     for ac_exec_ext in '' $ac_executable_extensions; do
6219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6220     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222     break 2
6223   fi
6224 done
6225   done
6226 IFS=$as_save_IFS
6227
6228 fi
6229 fi
6230 AR=$ac_cv_prog_AR
6231 if test -n "$AR"; then
6232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6233 $as_echo "$AR" >&6; }
6234 else
6235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6237 fi
6238
6239
6240     test -n "$AR" && break
6241   done
6242 fi
6243 if test -z "$AR"; then
6244   ac_ct_AR=$AR
6245   for ac_prog in ar
6246 do
6247   # Extract the first word of "$ac_prog", so it can be a program name with args.
6248 set dummy $ac_prog; ac_word=$2
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6250 $as_echo_n "checking for $ac_word... " >&6; }
6251 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6252   $as_echo_n "(cached) " >&6
6253 else
6254   if test -n "$ac_ct_AR"; then
6255   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6256 else
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258 for as_dir in $PATH
6259 do
6260   IFS=$as_save_IFS
6261   test -z "$as_dir" && as_dir=.
6262     for ac_exec_ext in '' $ac_executable_extensions; do
6263   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6264     ac_cv_prog_ac_ct_AR="$ac_prog"
6265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6266     break 2
6267   fi
6268 done
6269   done
6270 IFS=$as_save_IFS
6271
6272 fi
6273 fi
6274 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6275 if test -n "$ac_ct_AR"; then
6276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6277 $as_echo "$ac_ct_AR" >&6; }
6278 else
6279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6280 $as_echo "no" >&6; }
6281 fi
6282
6283
6284   test -n "$ac_ct_AR" && break
6285 done
6286
6287   if test "x$ac_ct_AR" = x; then
6288     AR="false"
6289   else
6290     case $cross_compiling:$ac_tool_warned in
6291 yes:)
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6294 ac_tool_warned=yes ;;
6295 esac
6296     AR=$ac_ct_AR
6297   fi
6298 fi
6299
6300 : ${AR=ar}
6301 : ${AR_FLAGS=cru}
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6314 $as_echo_n "checking for archiver @FILE support... " >&6; }
6315 if ${lt_cv_ar_at_file+:} false; then :
6316   $as_echo_n "(cached) " >&6
6317 else
6318   lt_cv_ar_at_file=no
6319    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h.  */
6321
6322 int
6323 main ()
6324 {
6325
6326   ;
6327   return 0;
6328 }
6329 _ACEOF
6330 if ac_fn_c_try_compile "$LINENO"; then :
6331   echo conftest.$ac_objext > conftest.lst
6332       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6333       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6334   (eval $lt_ar_try) 2>&5
6335   ac_status=$?
6336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6337   test $ac_status = 0; }
6338       if test "$ac_status" -eq 0; then
6339         # Ensure the archiver fails upon bogus file names.
6340         rm -f conftest.$ac_objext libconftest.a
6341         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6342   (eval $lt_ar_try) 2>&5
6343   ac_status=$?
6344   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6345   test $ac_status = 0; }
6346         if test "$ac_status" -ne 0; then
6347           lt_cv_ar_at_file=@
6348         fi
6349       fi
6350       rm -f conftest.* libconftest.a
6351
6352 fi
6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6354
6355 fi
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6357 $as_echo "$lt_cv_ar_at_file" >&6; }
6358
6359 if test "x$lt_cv_ar_at_file" = xno; then
6360   archiver_list_spec=
6361 else
6362   archiver_list_spec=$lt_cv_ar_at_file
6363 fi
6364
6365
6366
6367
6368
6369
6370
6371 if test -n "$ac_tool_prefix"; then
6372   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6373 set dummy ${ac_tool_prefix}strip; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if ${ac_cv_prog_STRIP+:} false; then :
6377   $as_echo_n "(cached) " >&6
6378 else
6379   if test -n "$STRIP"; then
6380   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6381 else
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 for as_dir in $PATH
6384 do
6385   IFS=$as_save_IFS
6386   test -z "$as_dir" && as_dir=.
6387     for ac_exec_ext in '' $ac_executable_extensions; do
6388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6389     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391     break 2
6392   fi
6393 done
6394   done
6395 IFS=$as_save_IFS
6396
6397 fi
6398 fi
6399 STRIP=$ac_cv_prog_STRIP
6400 if test -n "$STRIP"; then
6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6402 $as_echo "$STRIP" >&6; }
6403 else
6404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6406 fi
6407
6408
6409 fi
6410 if test -z "$ac_cv_prog_STRIP"; then
6411   ac_ct_STRIP=$STRIP
6412   # Extract the first word of "strip", so it can be a program name with args.
6413 set dummy strip; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6417   $as_echo_n "(cached) " >&6
6418 else
6419   if test -n "$ac_ct_STRIP"; then
6420   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6421 else
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 for as_dir in $PATH
6424 do
6425   IFS=$as_save_IFS
6426   test -z "$as_dir" && as_dir=.
6427     for ac_exec_ext in '' $ac_executable_extensions; do
6428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429     ac_cv_prog_ac_ct_STRIP="strip"
6430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431     break 2
6432   fi
6433 done
6434   done
6435 IFS=$as_save_IFS
6436
6437 fi
6438 fi
6439 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6440 if test -n "$ac_ct_STRIP"; then
6441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6442 $as_echo "$ac_ct_STRIP" >&6; }
6443 else
6444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6446 fi
6447
6448   if test "x$ac_ct_STRIP" = x; then
6449     STRIP=":"
6450   else
6451     case $cross_compiling:$ac_tool_warned in
6452 yes:)
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455 ac_tool_warned=yes ;;
6456 esac
6457     STRIP=$ac_ct_STRIP
6458   fi
6459 else
6460   STRIP="$ac_cv_prog_STRIP"
6461 fi
6462
6463 test -z "$STRIP" && STRIP=:
6464
6465
6466
6467
6468
6469
6470 if test -n "$ac_tool_prefix"; then
6471   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6472 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_RANLIB+:} false; then :
6476   $as_echo_n "(cached) " >&6
6477 else
6478   if test -n "$RANLIB"; then
6479   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6480 else
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 for as_dir in $PATH
6483 do
6484   IFS=$as_save_IFS
6485   test -z "$as_dir" && as_dir=.
6486     for ac_exec_ext in '' $ac_executable_extensions; do
6487   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6489     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490     break 2
6491   fi
6492 done
6493   done
6494 IFS=$as_save_IFS
6495
6496 fi
6497 fi
6498 RANLIB=$ac_cv_prog_RANLIB
6499 if test -n "$RANLIB"; then
6500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6501 $as_echo "$RANLIB" >&6; }
6502 else
6503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6505 fi
6506
6507
6508 fi
6509 if test -z "$ac_cv_prog_RANLIB"; then
6510   ac_ct_RANLIB=$RANLIB
6511   # Extract the first word of "ranlib", so it can be a program name with args.
6512 set dummy ranlib; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6516   $as_echo_n "(cached) " >&6
6517 else
6518   if test -n "$ac_ct_RANLIB"; then
6519   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6523 do
6524   IFS=$as_save_IFS
6525   test -z "$as_dir" && as_dir=.
6526     for ac_exec_ext in '' $ac_executable_extensions; do
6527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528     ac_cv_prog_ac_ct_RANLIB="ranlib"
6529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530     break 2
6531   fi
6532 done
6533   done
6534 IFS=$as_save_IFS
6535
6536 fi
6537 fi
6538 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6539 if test -n "$ac_ct_RANLIB"; then
6540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6541 $as_echo "$ac_ct_RANLIB" >&6; }
6542 else
6543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6545 fi
6546
6547   if test "x$ac_ct_RANLIB" = x; then
6548     RANLIB=":"
6549   else
6550     case $cross_compiling:$ac_tool_warned in
6551 yes:)
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6554 ac_tool_warned=yes ;;
6555 esac
6556     RANLIB=$ac_ct_RANLIB
6557   fi
6558 else
6559   RANLIB="$ac_cv_prog_RANLIB"
6560 fi
6561
6562 test -z "$RANLIB" && RANLIB=:
6563
6564
6565
6566
6567
6568
6569 # Determine commands to create old-style static archives.
6570 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6571 old_postinstall_cmds='chmod 644 $oldlib'
6572 old_postuninstall_cmds=
6573
6574 if test -n "$RANLIB"; then
6575   case $host_os in
6576   openbsd*)
6577     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6578     ;;
6579   *)
6580     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6581     ;;
6582   esac
6583   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6584 fi
6585
6586 case $host_os in
6587   darwin*)
6588     lock_old_archive_extraction=yes ;;
6589   *)
6590     lock_old_archive_extraction=no ;;
6591 esac
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631 # If no C compiler was specified, use CC.
6632 LTCC=${LTCC-"$CC"}
6633
6634 # If no C compiler flags were specified, use CFLAGS.
6635 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6636
6637 # Allow CC to be a program name with arguments.
6638 compiler=$CC
6639
6640
6641 # Check for command to grab the raw symbol name followed by C symbol from nm.
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6643 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6644 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6645   $as_echo_n "(cached) " >&6
6646 else
6647
6648 # These are sane defaults that work on at least a few old systems.
6649 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6650
6651 # Character class describing NM global symbol codes.
6652 symcode='[BCDEGRST]'
6653
6654 # Regexp to match symbols that can be accessed directly from C.
6655 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6656
6657 # Define system-specific variables.
6658 case $host_os in
6659 aix*)
6660   symcode='[BCDT]'
6661   ;;
6662 cygwin* | mingw* | pw32* | cegcc*)
6663   symcode='[ABCDGISTW]'
6664   ;;
6665 hpux*)
6666   if test "$host_cpu" = ia64; then
6667     symcode='[ABCDEGRST]'
6668   fi
6669   ;;
6670 irix* | nonstopux*)
6671   symcode='[BCDEGRST]'
6672   ;;
6673 osf*)
6674   symcode='[BCDEGQRST]'
6675   ;;
6676 solaris*)
6677   symcode='[BDRT]'
6678   ;;
6679 sco3.2v5*)
6680   symcode='[DT]'
6681   ;;
6682 sysv4.2uw2*)
6683   symcode='[DT]'
6684   ;;
6685 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6686   symcode='[ABDT]'
6687   ;;
6688 sysv4)
6689   symcode='[DFNSTU]'
6690   ;;
6691 esac
6692
6693 # If we're using GNU nm, then use its standard symbol codes.
6694 case `$NM -V 2>&1` in
6695 *GNU* | *'with BFD'*)
6696   symcode='[ABCDGIRSTW]' ;;
6697 esac
6698
6699 # Transform an extracted symbol line into a proper C declaration.
6700 # Some systems (esp. on ia64) link data and code symbols differently,
6701 # so use this general approach.
6702 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6703
6704 # Transform an extracted symbol line into symbol name and symbol address
6705 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6706 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'"
6707
6708 # Handle CRLF in mingw tool chain
6709 opt_cr=
6710 case $build_os in
6711 mingw*)
6712   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6713   ;;
6714 esac
6715
6716 # Try without a prefix underscore, then with it.
6717 for ac_symprfx in "" "_"; do
6718
6719   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6720   symxfrm="\\1 $ac_symprfx\\2 \\2"
6721
6722   # Write the raw and C identifiers.
6723   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6724     # Fake it for dumpbin and say T for any non-static function
6725     # and D for any global variable.
6726     # Also find C++ and __fastcall symbols from MSVC++,
6727     # which start with @ or ?.
6728     lt_cv_sys_global_symbol_pipe="$AWK '"\
6729 "     {last_section=section; section=\$ 3};"\
6730 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6731 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6732 "     \$ 0!~/External *\|/{next};"\
6733 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6734 "     {if(hide[section]) next};"\
6735 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6736 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6737 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6738 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6739 "     ' prfx=^$ac_symprfx"
6740   else
6741     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6742   fi
6743   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6744
6745   # Check to see that the pipe works correctly.
6746   pipe_works=no
6747
6748   rm -f conftest*
6749   cat > conftest.$ac_ext <<_LT_EOF
6750 #ifdef __cplusplus
6751 extern "C" {
6752 #endif
6753 char nm_test_var;
6754 void nm_test_func(void);
6755 void nm_test_func(void){}
6756 #ifdef __cplusplus
6757 }
6758 #endif
6759 int main(){nm_test_var='a';nm_test_func();return(0);}
6760 _LT_EOF
6761
6762   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6763   (eval $ac_compile) 2>&5
6764   ac_status=$?
6765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6766   test $ac_status = 0; }; then
6767     # Now try to grab the symbols.
6768     nlist=conftest.nm
6769     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6770   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6771   ac_status=$?
6772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6773   test $ac_status = 0; } && test -s "$nlist"; then
6774       # Try sorting and uniquifying the output.
6775       if sort "$nlist" | uniq > "$nlist"T; then
6776         mv -f "$nlist"T "$nlist"
6777       else
6778         rm -f "$nlist"T
6779       fi
6780
6781       # Make sure that we snagged all the symbols we need.
6782       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6783         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6784           cat <<_LT_EOF > conftest.$ac_ext
6785 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6786 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6787 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6788    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6789 # define LT_DLSYM_CONST
6790 #elif defined(__osf__)
6791 /* This system does not cope well with relocations in const data.  */
6792 # define LT_DLSYM_CONST
6793 #else
6794 # define LT_DLSYM_CONST const
6795 #endif
6796
6797 #ifdef __cplusplus
6798 extern "C" {
6799 #endif
6800
6801 _LT_EOF
6802           # Now generate the symbol file.
6803           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6804
6805           cat <<_LT_EOF >> conftest.$ac_ext
6806
6807 /* The mapping between symbol names and symbols.  */
6808 LT_DLSYM_CONST struct {
6809   const char *name;
6810   void       *address;
6811 }
6812 lt__PROGRAM__LTX_preloaded_symbols[] =
6813 {
6814   { "@PROGRAM@", (void *) 0 },
6815 _LT_EOF
6816           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6817           cat <<\_LT_EOF >> conftest.$ac_ext
6818   {0, (void *) 0}
6819 };
6820
6821 /* This works around a problem in FreeBSD linker */
6822 #ifdef FREEBSD_WORKAROUND
6823 static const void *lt_preloaded_setup() {
6824   return lt__PROGRAM__LTX_preloaded_symbols;
6825 }
6826 #endif
6827
6828 #ifdef __cplusplus
6829 }
6830 #endif
6831 _LT_EOF
6832           # Now try linking the two files.
6833           mv conftest.$ac_objext conftstm.$ac_objext
6834           lt_globsym_save_LIBS=$LIBS
6835           lt_globsym_save_CFLAGS=$CFLAGS
6836           LIBS="conftstm.$ac_objext"
6837           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6838           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6839   (eval $ac_link) 2>&5
6840   ac_status=$?
6841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6842   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6843             pipe_works=yes
6844           fi
6845           LIBS=$lt_globsym_save_LIBS
6846           CFLAGS=$lt_globsym_save_CFLAGS
6847         else
6848           echo "cannot find nm_test_func in $nlist" >&5
6849         fi
6850       else
6851         echo "cannot find nm_test_var in $nlist" >&5
6852       fi
6853     else
6854       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6855     fi
6856   else
6857     echo "$progname: failed program was:" >&5
6858     cat conftest.$ac_ext >&5
6859   fi
6860   rm -rf conftest* conftst*
6861
6862   # Do not use the global_symbol_pipe unless it works.
6863   if test "$pipe_works" = yes; then
6864     break
6865   else
6866     lt_cv_sys_global_symbol_pipe=
6867   fi
6868 done
6869
6870 fi
6871
6872 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6873   lt_cv_sys_global_symbol_to_cdecl=
6874 fi
6875 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6877 $as_echo "failed" >&6; }
6878 else
6879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6880 $as_echo "ok" >&6; }
6881 fi
6882
6883 # Response file support.
6884 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6885   nm_file_list_spec='@'
6886 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6887   nm_file_list_spec='@'
6888 fi
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6917 $as_echo_n "checking for sysroot... " >&6; }
6918
6919 # Check whether --with-sysroot was given.
6920 if test "${with_sysroot+set}" = set; then :
6921   withval=$with_sysroot;
6922 else
6923   with_sysroot=no
6924 fi
6925
6926
6927 lt_sysroot=
6928 case ${with_sysroot} in #(
6929  yes)
6930    if test "$GCC" = yes; then
6931      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6932    fi
6933    ;; #(
6934  /*)
6935    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6936    ;; #(
6937  no|'')
6938    ;; #(
6939  *)
6940    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6941 $as_echo "${with_sysroot}" >&6; }
6942    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6943    ;;
6944 esac
6945
6946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6947 $as_echo "${lt_sysroot:-no}" >&6; }
6948
6949
6950
6951
6952
6953 # Check whether --enable-libtool-lock was given.
6954 if test "${enable_libtool_lock+set}" = set; then :
6955   enableval=$enable_libtool_lock;
6956 fi
6957
6958 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6959
6960 # Some flags need to be propagated to the compiler or linker for good
6961 # libtool support.
6962 case $host in
6963 ia64-*-hpux*)
6964   # Find out which ABI we are using.
6965   echo 'int i;' > conftest.$ac_ext
6966   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6967   (eval $ac_compile) 2>&5
6968   ac_status=$?
6969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6970   test $ac_status = 0; }; then
6971     case `/usr/bin/file conftest.$ac_objext` in
6972       *ELF-32*)
6973         HPUX_IA64_MODE="32"
6974         ;;
6975       *ELF-64*)
6976         HPUX_IA64_MODE="64"
6977         ;;
6978     esac
6979   fi
6980   rm -rf conftest*
6981   ;;
6982 *-*-irix6*)
6983   # Find out which ABI we are using.
6984   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6985   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6986   (eval $ac_compile) 2>&5
6987   ac_status=$?
6988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6989   test $ac_status = 0; }; then
6990     if test "$lt_cv_prog_gnu_ld" = yes; then
6991       case `/usr/bin/file conftest.$ac_objext` in
6992         *32-bit*)
6993           LD="${LD-ld} -melf32bsmip"
6994           ;;
6995         *N32*)
6996           LD="${LD-ld} -melf32bmipn32"
6997           ;;
6998         *64-bit*)
6999           LD="${LD-ld} -melf64bmip"
7000         ;;
7001       esac
7002     else
7003       case `/usr/bin/file conftest.$ac_objext` in
7004         *32-bit*)
7005           LD="${LD-ld} -32"
7006           ;;
7007         *N32*)
7008           LD="${LD-ld} -n32"
7009           ;;
7010         *64-bit*)
7011           LD="${LD-ld} -64"
7012           ;;
7013       esac
7014     fi
7015   fi
7016   rm -rf conftest*
7017   ;;
7018
7019 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7020 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7021   # Find out which ABI we are using.
7022   echo 'int i;' > conftest.$ac_ext
7023   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7024   (eval $ac_compile) 2>&5
7025   ac_status=$?
7026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7027   test $ac_status = 0; }; then
7028     case `/usr/bin/file conftest.o` in
7029       *32-bit*)
7030         case $host in
7031           x86_64-*kfreebsd*-gnu)
7032             LD="${LD-ld} -m elf_i386_fbsd"
7033             ;;
7034           x86_64-*linux*)
7035             LD="${LD-ld} -m elf_i386"
7036             ;;
7037           ppc64-*linux*|powerpc64-*linux*)
7038             LD="${LD-ld} -m elf32ppclinux"
7039             ;;
7040           s390x-*linux*)
7041             LD="${LD-ld} -m elf_s390"
7042             ;;
7043           sparc64-*linux*)
7044             LD="${LD-ld} -m elf32_sparc"
7045             ;;
7046         esac
7047         ;;
7048       *64-bit*)
7049         case $host in
7050           x86_64-*kfreebsd*-gnu)
7051             LD="${LD-ld} -m elf_x86_64_fbsd"
7052             ;;
7053           x86_64-*linux*)
7054             LD="${LD-ld} -m elf_x86_64"
7055             ;;
7056           ppc*-*linux*|powerpc*-*linux*)
7057             LD="${LD-ld} -m elf64ppc"
7058             ;;
7059           s390*-*linux*|s390*-*tpf*)
7060             LD="${LD-ld} -m elf64_s390"
7061             ;;
7062           sparc*-*linux*)
7063             LD="${LD-ld} -m elf64_sparc"
7064             ;;
7065         esac
7066         ;;
7067     esac
7068   fi
7069   rm -rf conftest*
7070   ;;
7071
7072 *-*-sco3.2v5*)
7073   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7074   SAVE_CFLAGS="$CFLAGS"
7075   CFLAGS="$CFLAGS -belf"
7076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7077 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7078 if ${lt_cv_cc_needs_belf+:} false; then :
7079   $as_echo_n "(cached) " >&6
7080 else
7081   ac_ext=c
7082 ac_cpp='$CPP $CPPFLAGS'
7083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7086
7087      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h.  */
7089
7090 int
7091 main ()
7092 {
7093
7094   ;
7095   return 0;
7096 }
7097 _ACEOF
7098 if ac_fn_c_try_link "$LINENO"; then :
7099   lt_cv_cc_needs_belf=yes
7100 else
7101   lt_cv_cc_needs_belf=no
7102 fi
7103 rm -f core conftest.err conftest.$ac_objext \
7104     conftest$ac_exeext conftest.$ac_ext
7105      ac_ext=c
7106 ac_cpp='$CPP $CPPFLAGS'
7107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7110
7111 fi
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7113 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7114   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7115     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7116     CFLAGS="$SAVE_CFLAGS"
7117   fi
7118   ;;
7119 *-*solaris*)
7120   # Find out which ABI we are using.
7121   echo 'int i;' > conftest.$ac_ext
7122   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7123   (eval $ac_compile) 2>&5
7124   ac_status=$?
7125   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7126   test $ac_status = 0; }; then
7127     case `/usr/bin/file conftest.o` in
7128     *64-bit*)
7129       case $lt_cv_prog_gnu_ld in
7130       yes*)
7131         case $host in
7132         i?86-*-solaris*)
7133           LD="${LD-ld} -m elf_x86_64"
7134           ;;
7135         sparc*-*-solaris*)
7136           LD="${LD-ld} -m elf64_sparc"
7137           ;;
7138         esac
7139         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7140         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7141           LD="${LD-ld}_sol2"
7142         fi
7143         ;;
7144       *)
7145         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7146           LD="${LD-ld} -64"
7147         fi
7148         ;;
7149       esac
7150       ;;
7151     esac
7152   fi
7153   rm -rf conftest*
7154   ;;
7155 esac
7156
7157 need_locks="$enable_libtool_lock"
7158
7159 if test -n "$ac_tool_prefix"; then
7160   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7161 set dummy ${ac_tool_prefix}mt; ac_word=$2
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7163 $as_echo_n "checking for $ac_word... " >&6; }
7164 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7165   $as_echo_n "(cached) " >&6
7166 else
7167   if test -n "$MANIFEST_TOOL"; then
7168   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7169 else
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 for as_dir in $PATH
7172 do
7173   IFS=$as_save_IFS
7174   test -z "$as_dir" && as_dir=.
7175     for ac_exec_ext in '' $ac_executable_extensions; do
7176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7177     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7179     break 2
7180   fi
7181 done
7182   done
7183 IFS=$as_save_IFS
7184
7185 fi
7186 fi
7187 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7188 if test -n "$MANIFEST_TOOL"; then
7189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7190 $as_echo "$MANIFEST_TOOL" >&6; }
7191 else
7192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7193 $as_echo "no" >&6; }
7194 fi
7195
7196
7197 fi
7198 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7199   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7200   # Extract the first word of "mt", so it can be a program name with args.
7201 set dummy mt; ac_word=$2
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7203 $as_echo_n "checking for $ac_word... " >&6; }
7204 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7205   $as_echo_n "(cached) " >&6
7206 else
7207   if test -n "$ac_ct_MANIFEST_TOOL"; then
7208   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7209 else
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7211 for as_dir in $PATH
7212 do
7213   IFS=$as_save_IFS
7214   test -z "$as_dir" && as_dir=.
7215     for ac_exec_ext in '' $ac_executable_extensions; do
7216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7217     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7219     break 2
7220   fi
7221 done
7222   done
7223 IFS=$as_save_IFS
7224
7225 fi
7226 fi
7227 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7228 if test -n "$ac_ct_MANIFEST_TOOL"; then
7229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7230 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7231 else
7232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7233 $as_echo "no" >&6; }
7234 fi
7235
7236   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7237     MANIFEST_TOOL=":"
7238   else
7239     case $cross_compiling:$ac_tool_warned in
7240 yes:)
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7243 ac_tool_warned=yes ;;
7244 esac
7245     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7246   fi
7247 else
7248   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7249 fi
7250
7251 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7253 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7254 if ${lt_cv_path_mainfest_tool+:} false; then :
7255   $as_echo_n "(cached) " >&6
7256 else
7257   lt_cv_path_mainfest_tool=no
7258   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7259   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7260   cat conftest.err >&5
7261   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7262     lt_cv_path_mainfest_tool=yes
7263   fi
7264   rm -f conftest*
7265 fi
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7267 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7268 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7269   MANIFEST_TOOL=:
7270 fi
7271
7272
7273
7274
7275
7276
7277   case $host_os in
7278     rhapsody* | darwin*)
7279     if test -n "$ac_tool_prefix"; then
7280   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7281 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7285   $as_echo_n "(cached) " >&6
7286 else
7287   if test -n "$DSYMUTIL"; then
7288   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7289 else
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 for as_dir in $PATH
7292 do
7293   IFS=$as_save_IFS
7294   test -z "$as_dir" && as_dir=.
7295     for ac_exec_ext in '' $ac_executable_extensions; do
7296   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299     break 2
7300   fi
7301 done
7302   done
7303 IFS=$as_save_IFS
7304
7305 fi
7306 fi
7307 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7308 if test -n "$DSYMUTIL"; then
7309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7310 $as_echo "$DSYMUTIL" >&6; }
7311 else
7312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7314 fi
7315
7316
7317 fi
7318 if test -z "$ac_cv_prog_DSYMUTIL"; then
7319   ac_ct_DSYMUTIL=$DSYMUTIL
7320   # Extract the first word of "dsymutil", so it can be a program name with args.
7321 set dummy dsymutil; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7325   $as_echo_n "(cached) " >&6
7326 else
7327   if test -n "$ac_ct_DSYMUTIL"; then
7328   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7329 else
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 for as_dir in $PATH
7332 do
7333   IFS=$as_save_IFS
7334   test -z "$as_dir" && as_dir=.
7335     for ac_exec_ext in '' $ac_executable_extensions; do
7336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7337     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339     break 2
7340   fi
7341 done
7342   done
7343 IFS=$as_save_IFS
7344
7345 fi
7346 fi
7347 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7348 if test -n "$ac_ct_DSYMUTIL"; then
7349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7350 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7351 else
7352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7354 fi
7355
7356   if test "x$ac_ct_DSYMUTIL" = x; then
7357     DSYMUTIL=":"
7358   else
7359     case $cross_compiling:$ac_tool_warned in
7360 yes:)
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7363 ac_tool_warned=yes ;;
7364 esac
7365     DSYMUTIL=$ac_ct_DSYMUTIL
7366   fi
7367 else
7368   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7369 fi
7370
7371     if test -n "$ac_tool_prefix"; then
7372   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7373 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if ${ac_cv_prog_NMEDIT+:} false; then :
7377   $as_echo_n "(cached) " >&6
7378 else
7379   if test -n "$NMEDIT"; then
7380   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7381 else
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 for as_dir in $PATH
7384 do
7385   IFS=$as_save_IFS
7386   test -z "$as_dir" && as_dir=.
7387     for ac_exec_ext in '' $ac_executable_extensions; do
7388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391     break 2
7392   fi
7393 done
7394   done
7395 IFS=$as_save_IFS
7396
7397 fi
7398 fi
7399 NMEDIT=$ac_cv_prog_NMEDIT
7400 if test -n "$NMEDIT"; then
7401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7402 $as_echo "$NMEDIT" >&6; }
7403 else
7404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7406 fi
7407
7408
7409 fi
7410 if test -z "$ac_cv_prog_NMEDIT"; then
7411   ac_ct_NMEDIT=$NMEDIT
7412   # Extract the first word of "nmedit", so it can be a program name with args.
7413 set dummy nmedit; ac_word=$2
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 $as_echo_n "checking for $ac_word... " >&6; }
7416 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7417   $as_echo_n "(cached) " >&6
7418 else
7419   if test -n "$ac_ct_NMEDIT"; then
7420   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7421 else
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 for as_dir in $PATH
7424 do
7425   IFS=$as_save_IFS
7426   test -z "$as_dir" && as_dir=.
7427     for ac_exec_ext in '' $ac_executable_extensions; do
7428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7429     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431     break 2
7432   fi
7433 done
7434   done
7435 IFS=$as_save_IFS
7436
7437 fi
7438 fi
7439 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7440 if test -n "$ac_ct_NMEDIT"; then
7441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7442 $as_echo "$ac_ct_NMEDIT" >&6; }
7443 else
7444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7446 fi
7447
7448   if test "x$ac_ct_NMEDIT" = x; then
7449     NMEDIT=":"
7450   else
7451     case $cross_compiling:$ac_tool_warned in
7452 yes:)
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7455 ac_tool_warned=yes ;;
7456 esac
7457     NMEDIT=$ac_ct_NMEDIT
7458   fi
7459 else
7460   NMEDIT="$ac_cv_prog_NMEDIT"
7461 fi
7462
7463     if test -n "$ac_tool_prefix"; then
7464   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7465 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_prog_LIPO+:} false; then :
7469   $as_echo_n "(cached) " >&6
7470 else
7471   if test -n "$LIPO"; then
7472   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7473 else
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475 for as_dir in $PATH
7476 do
7477   IFS=$as_save_IFS
7478   test -z "$as_dir" && as_dir=.
7479     for ac_exec_ext in '' $ac_executable_extensions; do
7480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483     break 2
7484   fi
7485 done
7486   done
7487 IFS=$as_save_IFS
7488
7489 fi
7490 fi
7491 LIPO=$ac_cv_prog_LIPO
7492 if test -n "$LIPO"; then
7493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7494 $as_echo "$LIPO" >&6; }
7495 else
7496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7498 fi
7499
7500
7501 fi
7502 if test -z "$ac_cv_prog_LIPO"; then
7503   ac_ct_LIPO=$LIPO
7504   # Extract the first word of "lipo", so it can be a program name with args.
7505 set dummy lipo; ac_word=$2
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507 $as_echo_n "checking for $ac_word... " >&6; }
7508 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7509   $as_echo_n "(cached) " >&6
7510 else
7511   if test -n "$ac_ct_LIPO"; then
7512   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7513 else
7514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7515 for as_dir in $PATH
7516 do
7517   IFS=$as_save_IFS
7518   test -z "$as_dir" && as_dir=.
7519     for ac_exec_ext in '' $ac_executable_extensions; do
7520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7521     ac_cv_prog_ac_ct_LIPO="lipo"
7522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7523     break 2
7524   fi
7525 done
7526   done
7527 IFS=$as_save_IFS
7528
7529 fi
7530 fi
7531 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7532 if test -n "$ac_ct_LIPO"; then
7533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7534 $as_echo "$ac_ct_LIPO" >&6; }
7535 else
7536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7537 $as_echo "no" >&6; }
7538 fi
7539
7540   if test "x$ac_ct_LIPO" = x; then
7541     LIPO=":"
7542   else
7543     case $cross_compiling:$ac_tool_warned in
7544 yes:)
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7547 ac_tool_warned=yes ;;
7548 esac
7549     LIPO=$ac_ct_LIPO
7550   fi
7551 else
7552   LIPO="$ac_cv_prog_LIPO"
7553 fi
7554
7555     if test -n "$ac_tool_prefix"; then
7556   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7557 set dummy ${ac_tool_prefix}otool; ac_word=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if ${ac_cv_prog_OTOOL+:} false; then :
7561   $as_echo_n "(cached) " >&6
7562 else
7563   if test -n "$OTOOL"; then
7564   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7565 else
7566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567 for as_dir in $PATH
7568 do
7569   IFS=$as_save_IFS
7570   test -z "$as_dir" && as_dir=.
7571     for ac_exec_ext in '' $ac_executable_extensions; do
7572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7573     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575     break 2
7576   fi
7577 done
7578   done
7579 IFS=$as_save_IFS
7580
7581 fi
7582 fi
7583 OTOOL=$ac_cv_prog_OTOOL
7584 if test -n "$OTOOL"; then
7585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7586 $as_echo "$OTOOL" >&6; }
7587 else
7588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7590 fi
7591
7592
7593 fi
7594 if test -z "$ac_cv_prog_OTOOL"; then
7595   ac_ct_OTOOL=$OTOOL
7596   # Extract the first word of "otool", so it can be a program name with args.
7597 set dummy otool; ac_word=$2
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7599 $as_echo_n "checking for $ac_word... " >&6; }
7600 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7601   $as_echo_n "(cached) " >&6
7602 else
7603   if test -n "$ac_ct_OTOOL"; then
7604   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7605 else
7606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607 for as_dir in $PATH
7608 do
7609   IFS=$as_save_IFS
7610   test -z "$as_dir" && as_dir=.
7611     for ac_exec_ext in '' $ac_executable_extensions; do
7612   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7613     ac_cv_prog_ac_ct_OTOOL="otool"
7614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7615     break 2
7616   fi
7617 done
7618   done
7619 IFS=$as_save_IFS
7620
7621 fi
7622 fi
7623 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7624 if test -n "$ac_ct_OTOOL"; then
7625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7626 $as_echo "$ac_ct_OTOOL" >&6; }
7627 else
7628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7629 $as_echo "no" >&6; }
7630 fi
7631
7632   if test "x$ac_ct_OTOOL" = x; then
7633     OTOOL=":"
7634   else
7635     case $cross_compiling:$ac_tool_warned in
7636 yes:)
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7639 ac_tool_warned=yes ;;
7640 esac
7641     OTOOL=$ac_ct_OTOOL
7642   fi
7643 else
7644   OTOOL="$ac_cv_prog_OTOOL"
7645 fi
7646
7647     if test -n "$ac_tool_prefix"; then
7648   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7649 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if ${ac_cv_prog_OTOOL64+:} false; then :
7653   $as_echo_n "(cached) " >&6
7654 else
7655   if test -n "$OTOOL64"; then
7656   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7657 else
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 for as_dir in $PATH
7660 do
7661   IFS=$as_save_IFS
7662   test -z "$as_dir" && as_dir=.
7663     for ac_exec_ext in '' $ac_executable_extensions; do
7664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7665     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667     break 2
7668   fi
7669 done
7670   done
7671 IFS=$as_save_IFS
7672
7673 fi
7674 fi
7675 OTOOL64=$ac_cv_prog_OTOOL64
7676 if test -n "$OTOOL64"; then
7677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7678 $as_echo "$OTOOL64" >&6; }
7679 else
7680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
7682 fi
7683
7684
7685 fi
7686 if test -z "$ac_cv_prog_OTOOL64"; then
7687   ac_ct_OTOOL64=$OTOOL64
7688   # Extract the first word of "otool64", so it can be a program name with args.
7689 set dummy otool64; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7693   $as_echo_n "(cached) " >&6
7694 else
7695   if test -n "$ac_ct_OTOOL64"; then
7696   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7697 else
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7699 for as_dir in $PATH
7700 do
7701   IFS=$as_save_IFS
7702   test -z "$as_dir" && as_dir=.
7703     for ac_exec_ext in '' $ac_executable_extensions; do
7704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7705     ac_cv_prog_ac_ct_OTOOL64="otool64"
7706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7707     break 2
7708   fi
7709 done
7710   done
7711 IFS=$as_save_IFS
7712
7713 fi
7714 fi
7715 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7716 if test -n "$ac_ct_OTOOL64"; then
7717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7718 $as_echo "$ac_ct_OTOOL64" >&6; }
7719 else
7720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7722 fi
7723
7724   if test "x$ac_ct_OTOOL64" = x; then
7725     OTOOL64=":"
7726   else
7727     case $cross_compiling:$ac_tool_warned in
7728 yes:)
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7731 ac_tool_warned=yes ;;
7732 esac
7733     OTOOL64=$ac_ct_OTOOL64
7734   fi
7735 else
7736   OTOOL64="$ac_cv_prog_OTOOL64"
7737 fi
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7766 $as_echo_n "checking for -single_module linker flag... " >&6; }
7767 if ${lt_cv_apple_cc_single_mod+:} false; then :
7768   $as_echo_n "(cached) " >&6
7769 else
7770   lt_cv_apple_cc_single_mod=no
7771       if test -z "${LT_MULTI_MODULE}"; then
7772         # By default we will add the -single_module flag. You can override
7773         # by either setting the environment variable LT_MULTI_MODULE
7774         # non-empty at configure time, or by adding -multi_module to the
7775         # link flags.
7776         rm -rf libconftest.dylib*
7777         echo "int foo(void){return 1;}" > conftest.c
7778         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7779 -dynamiclib -Wl,-single_module conftest.c" >&5
7780         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7781           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7782         _lt_result=$?
7783         # If there is a non-empty error log, and "single_module"
7784         # appears in it, assume the flag caused a linker warning
7785         if test -s conftest.err && $GREP single_module conftest.err; then
7786           cat conftest.err >&5
7787         # Otherwise, if the output was created with a 0 exit code from
7788         # the compiler, it worked.
7789         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7790           lt_cv_apple_cc_single_mod=yes
7791         else
7792           cat conftest.err >&5
7793         fi
7794         rm -rf libconftest.dylib*
7795         rm -f conftest.*
7796       fi
7797 fi
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7799 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7800
7801     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7802 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7803 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7804   $as_echo_n "(cached) " >&6
7805 else
7806   lt_cv_ld_exported_symbols_list=no
7807       save_LDFLAGS=$LDFLAGS
7808       echo "_main" > conftest.sym
7809       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7811 /* end confdefs.h.  */
7812
7813 int
7814 main ()
7815 {
7816
7817   ;
7818   return 0;
7819 }
7820 _ACEOF
7821 if ac_fn_c_try_link "$LINENO"; then :
7822   lt_cv_ld_exported_symbols_list=yes
7823 else
7824   lt_cv_ld_exported_symbols_list=no
7825 fi
7826 rm -f core conftest.err conftest.$ac_objext \
7827     conftest$ac_exeext conftest.$ac_ext
7828         LDFLAGS="$save_LDFLAGS"
7829
7830 fi
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7832 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7833
7834     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7835 $as_echo_n "checking for -force_load linker flag... " >&6; }
7836 if ${lt_cv_ld_force_load+:} false; then :
7837   $as_echo_n "(cached) " >&6
7838 else
7839   lt_cv_ld_force_load=no
7840       cat > conftest.c << _LT_EOF
7841 int forced_loaded() { return 2;}
7842 _LT_EOF
7843       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7844       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7845       echo "$AR cru libconftest.a conftest.o" >&5
7846       $AR cru libconftest.a conftest.o 2>&5
7847       echo "$RANLIB libconftest.a" >&5
7848       $RANLIB libconftest.a 2>&5
7849       cat > conftest.c << _LT_EOF
7850 int main() { return 0;}
7851 _LT_EOF
7852       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7853       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7854       _lt_result=$?
7855       if test -s conftest.err && $GREP force_load conftest.err; then
7856         cat conftest.err >&5
7857       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7858         lt_cv_ld_force_load=yes
7859       else
7860         cat conftest.err >&5
7861       fi
7862         rm -f conftest.err libconftest.a conftest conftest.c
7863         rm -rf conftest.dSYM
7864
7865 fi
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7867 $as_echo "$lt_cv_ld_force_load" >&6; }
7868     case $host_os in
7869     rhapsody* | darwin1.[012])
7870       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7871     darwin1.*)
7872       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7873     darwin*) # darwin 5.x on
7874       # if running on 10.5 or later, the deployment target defaults
7875       # to the OS version, if on x86, and 10.4, the deployment
7876       # target defaults to 10.4. Don't you love it?
7877       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7878         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7879           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7880         10.[012]*)
7881           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7882         10.*)
7883           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7884       esac
7885     ;;
7886   esac
7887     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7888       _lt_dar_single_mod='$single_module'
7889     fi
7890     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7891       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7892     else
7893       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7894     fi
7895     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7896       _lt_dsymutil='~$DSYMUTIL $lib || :'
7897     else
7898       _lt_dsymutil=
7899     fi
7900     ;;
7901   esac
7902
7903 for ac_header in dlfcn.h
7904 do :
7905   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7906 "
7907 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7908   cat >>confdefs.h <<_ACEOF
7909 #define HAVE_DLFCN_H 1
7910 _ACEOF
7911
7912 fi
7913
7914 done
7915
7916
7917
7918
7919
7920 # Set options
7921
7922
7923
7924         enable_dlopen=no
7925
7926
7927
7928             # Check whether --enable-shared was given.
7929 if test "${enable_shared+set}" = set; then :
7930   enableval=$enable_shared; p=${PACKAGE-default}
7931     case $enableval in
7932     yes) enable_shared=yes ;;
7933     no) enable_shared=no ;;
7934     *)
7935       enable_shared=no
7936       # Look at the argument we got.  We use all the common list separators.
7937       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7938       for pkg in $enableval; do
7939         IFS="$lt_save_ifs"
7940         if test "X$pkg" = "X$p"; then
7941           enable_shared=yes
7942         fi
7943       done
7944       IFS="$lt_save_ifs"
7945       ;;
7946     esac
7947 else
7948   enable_shared=yes
7949 fi
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959   # Check whether --enable-static was given.
7960 if test "${enable_static+set}" = set; then :
7961   enableval=$enable_static; p=${PACKAGE-default}
7962     case $enableval in
7963     yes) enable_static=yes ;;
7964     no) enable_static=no ;;
7965     *)
7966      enable_static=no
7967       # Look at the argument we got.  We use all the common list separators.
7968       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7969       for pkg in $enableval; do
7970         IFS="$lt_save_ifs"
7971         if test "X$pkg" = "X$p"; then
7972           enable_static=yes
7973         fi
7974       done
7975       IFS="$lt_save_ifs"
7976       ;;
7977     esac
7978 else
7979   enable_static=yes
7980 fi
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991 # Check whether --with-pic was given.
7992 if test "${with_pic+set}" = set; then :
7993   withval=$with_pic; lt_p=${PACKAGE-default}
7994     case $withval in
7995     yes|no) pic_mode=$withval ;;
7996     *)
7997       pic_mode=default
7998       # Look at the argument we got.  We use all the common list separators.
7999       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8000       for lt_pkg in $withval; do
8001         IFS="$lt_save_ifs"
8002         if test "X$lt_pkg" = "X$lt_p"; then
8003           pic_mode=yes
8004         fi
8005       done
8006       IFS="$lt_save_ifs"
8007       ;;
8008     esac
8009 else
8010   pic_mode=default
8011 fi
8012
8013
8014 test -z "$pic_mode" && pic_mode=default
8015
8016
8017
8018
8019
8020
8021
8022   # Check whether --enable-fast-install was given.
8023 if test "${enable_fast_install+set}" = set; then :
8024   enableval=$enable_fast_install; p=${PACKAGE-default}
8025     case $enableval in
8026     yes) enable_fast_install=yes ;;
8027     no) enable_fast_install=no ;;
8028     *)
8029       enable_fast_install=no
8030       # Look at the argument we got.  We use all the common list separators.
8031       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8032       for pkg in $enableval; do
8033         IFS="$lt_save_ifs"
8034         if test "X$pkg" = "X$p"; then
8035           enable_fast_install=yes
8036         fi
8037       done
8038       IFS="$lt_save_ifs"
8039       ;;
8040     esac
8041 else
8042   enable_fast_install=yes
8043 fi
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055 # This can be used to rebuild libtool when needed
8056 LIBTOOL_DEPS="$ltmain"
8057
8058 # Always use our own libtool.
8059 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090 test -z "$LN_S" && LN_S="ln -s"
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105 if test -n "${ZSH_VERSION+set}" ; then
8106    setopt NO_GLOB_SUBST
8107 fi
8108
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8110 $as_echo_n "checking for objdir... " >&6; }
8111 if ${lt_cv_objdir+:} false; then :
8112   $as_echo_n "(cached) " >&6
8113 else
8114   rm -f .libs 2>/dev/null
8115 mkdir .libs 2>/dev/null
8116 if test -d .libs; then
8117   lt_cv_objdir=.libs
8118 else
8119   # MS-DOS does not allow filenames that begin with a dot.
8120   lt_cv_objdir=_libs
8121 fi
8122 rmdir .libs 2>/dev/null
8123 fi
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8125 $as_echo "$lt_cv_objdir" >&6; }
8126 objdir=$lt_cv_objdir
8127
8128
8129
8130
8131
8132 cat >>confdefs.h <<_ACEOF
8133 #define LT_OBJDIR "$lt_cv_objdir/"
8134 _ACEOF
8135
8136
8137
8138
8139 case $host_os in
8140 aix3*)
8141   # AIX sometimes has problems with the GCC collect2 program.  For some
8142   # reason, if we set the COLLECT_NAMES environment variable, the problems
8143   # vanish in a puff of smoke.
8144   if test "X${COLLECT_NAMES+set}" != Xset; then
8145     COLLECT_NAMES=
8146     export COLLECT_NAMES
8147   fi
8148   ;;
8149 esac
8150
8151 # Global variables:
8152 ofile=libtool
8153 can_build_shared=yes
8154
8155 # All known linkers require a `.a' archive for static linking (except MSVC,
8156 # which needs '.lib').
8157 libext=a
8158
8159 with_gnu_ld="$lt_cv_prog_gnu_ld"
8160
8161 old_CC="$CC"
8162 old_CFLAGS="$CFLAGS"
8163
8164 # Set sane defaults for various variables
8165 test -z "$CC" && CC=cc
8166 test -z "$LTCC" && LTCC=$CC
8167 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8168 test -z "$LD" && LD=ld
8169 test -z "$ac_objext" && ac_objext=o
8170
8171 for cc_temp in $compiler""; do
8172   case $cc_temp in
8173     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8174     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8175     \-*) ;;
8176     *) break;;
8177   esac
8178 done
8179 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8180
8181
8182 # Only perform the check for file, if the check method requires it
8183 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8184 case $deplibs_check_method in
8185 file_magic*)
8186   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8188 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8189 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8190   $as_echo_n "(cached) " >&6
8191 else
8192   case $MAGIC_CMD in
8193 [\\/*] |  ?:[\\/]*)
8194   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8195   ;;
8196 *)
8197   lt_save_MAGIC_CMD="$MAGIC_CMD"
8198   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8199   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8200   for ac_dir in $ac_dummy; do
8201     IFS="$lt_save_ifs"
8202     test -z "$ac_dir" && ac_dir=.
8203     if test -f $ac_dir/${ac_tool_prefix}file; then
8204       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8205       if test -n "$file_magic_test_file"; then
8206         case $deplibs_check_method in
8207         "file_magic "*)
8208           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8209           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8210           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8211             $EGREP "$file_magic_regex" > /dev/null; then
8212             :
8213           else
8214             cat <<_LT_EOF 1>&2
8215
8216 *** Warning: the command libtool uses to detect shared libraries,
8217 *** $file_magic_cmd, produces output that libtool cannot recognize.
8218 *** The result is that libtool may fail to recognize shared libraries
8219 *** as such.  This will affect the creation of libtool libraries that
8220 *** depend on shared libraries, but programs linked with such libtool
8221 *** libraries will work regardless of this problem.  Nevertheless, you
8222 *** may want to report the problem to your system manager and/or to
8223 *** bug-libtool@gnu.org
8224
8225 _LT_EOF
8226           fi ;;
8227         esac
8228       fi
8229       break
8230     fi
8231   done
8232   IFS="$lt_save_ifs"
8233   MAGIC_CMD="$lt_save_MAGIC_CMD"
8234   ;;
8235 esac
8236 fi
8237
8238 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8239 if test -n "$MAGIC_CMD"; then
8240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8241 $as_echo "$MAGIC_CMD" >&6; }
8242 else
8243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }
8245 fi
8246
8247
8248
8249
8250
8251 if test -z "$lt_cv_path_MAGIC_CMD"; then
8252   if test -n "$ac_tool_prefix"; then
8253     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8254 $as_echo_n "checking for file... " >&6; }
8255 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8256   $as_echo_n "(cached) " >&6
8257 else
8258   case $MAGIC_CMD in
8259 [\\/*] |  ?:[\\/]*)
8260   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8261   ;;
8262 *)
8263   lt_save_MAGIC_CMD="$MAGIC_CMD"
8264   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8265   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8266   for ac_dir in $ac_dummy; do
8267     IFS="$lt_save_ifs"
8268     test -z "$ac_dir" && ac_dir=.
8269     if test -f $ac_dir/file; then
8270       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8271       if test -n "$file_magic_test_file"; then
8272         case $deplibs_check_method in
8273         "file_magic "*)
8274           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8275           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8276           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8277             $EGREP "$file_magic_regex" > /dev/null; then
8278             :
8279           else
8280             cat <<_LT_EOF 1>&2
8281
8282 *** Warning: the command libtool uses to detect shared libraries,
8283 *** $file_magic_cmd, produces output that libtool cannot recognize.
8284 *** The result is that libtool may fail to recognize shared libraries
8285 *** as such.  This will affect the creation of libtool libraries that
8286 *** depend on shared libraries, but programs linked with such libtool
8287 *** libraries will work regardless of this problem.  Nevertheless, you
8288 *** may want to report the problem to your system manager and/or to
8289 *** bug-libtool@gnu.org
8290
8291 _LT_EOF
8292           fi ;;
8293         esac
8294       fi
8295       break
8296     fi
8297   done
8298   IFS="$lt_save_ifs"
8299   MAGIC_CMD="$lt_save_MAGIC_CMD"
8300   ;;
8301 esac
8302 fi
8303
8304 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8305 if test -n "$MAGIC_CMD"; then
8306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8307 $as_echo "$MAGIC_CMD" >&6; }
8308 else
8309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8311 fi
8312
8313
8314   else
8315     MAGIC_CMD=:
8316   fi
8317 fi
8318
8319   fi
8320   ;;
8321 esac
8322
8323 # Use C for the default configuration in the libtool script
8324
8325 lt_save_CC="$CC"
8326 ac_ext=c
8327 ac_cpp='$CPP $CPPFLAGS'
8328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8331
8332
8333 # Source file extension for C test sources.
8334 ac_ext=c
8335
8336 # Object file extension for compiled C test sources.
8337 objext=o
8338 objext=$objext
8339
8340 # Code to be used in simple compile tests
8341 lt_simple_compile_test_code="int some_variable = 0;"
8342
8343 # Code to be used in simple link tests
8344 lt_simple_link_test_code='int main(){return(0);}'
8345
8346
8347
8348
8349
8350
8351
8352 # If no C compiler was specified, use CC.
8353 LTCC=${LTCC-"$CC"}
8354
8355 # If no C compiler flags were specified, use CFLAGS.
8356 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8357
8358 # Allow CC to be a program name with arguments.
8359 compiler=$CC
8360
8361 # Save the default compiler, since it gets overwritten when the other
8362 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8363 compiler_DEFAULT=$CC
8364
8365 # save warnings/boilerplate of simple test code
8366 ac_outfile=conftest.$ac_objext
8367 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8368 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8369 _lt_compiler_boilerplate=`cat conftest.err`
8370 $RM conftest*
8371
8372 ac_outfile=conftest.$ac_objext
8373 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8374 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8375 _lt_linker_boilerplate=`cat conftest.err`
8376 $RM -r conftest*
8377
8378
8379 ## CAVEAT EMPTOR:
8380 ## There is no encapsulation within the following macros, do not change
8381 ## the running order or otherwise move them around unless you know exactly
8382 ## what you are doing...
8383 if test -n "$compiler"; then
8384
8385 lt_prog_compiler_no_builtin_flag=
8386
8387 if test "$GCC" = yes; then
8388   case $cc_basename in
8389   nvcc*)
8390     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8391   *)
8392     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8393   esac
8394
8395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8396 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8397 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8398   $as_echo_n "(cached) " >&6
8399 else
8400   lt_cv_prog_compiler_rtti_exceptions=no
8401    ac_outfile=conftest.$ac_objext
8402    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8403    lt_compiler_flag="-fno-rtti -fno-exceptions"
8404    # Insert the option either (1) after the last *FLAGS variable, or
8405    # (2) before a word containing "conftest.", or (3) at the end.
8406    # Note that $ac_compile itself does not contain backslashes and begins
8407    # with a dollar sign (not a hyphen), so the echo should work correctly.
8408    # The option is referenced via a variable to avoid confusing sed.
8409    lt_compile=`echo "$ac_compile" | $SED \
8410    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8411    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8412    -e 's:$: $lt_compiler_flag:'`
8413    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8414    (eval "$lt_compile" 2>conftest.err)
8415    ac_status=$?
8416    cat conftest.err >&5
8417    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418    if (exit $ac_status) && test -s "$ac_outfile"; then
8419      # The compiler can only warn and ignore the option if not recognized
8420      # So say no if there are warnings other than the usual output.
8421      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8422      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8423      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8424        lt_cv_prog_compiler_rtti_exceptions=yes
8425      fi
8426    fi
8427    $RM conftest*
8428
8429 fi
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8431 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8432
8433 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8434     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8435 else
8436     :
8437 fi
8438
8439 fi
8440
8441
8442
8443
8444
8445
8446   lt_prog_compiler_wl=
8447 lt_prog_compiler_pic=
8448 lt_prog_compiler_static=
8449
8450
8451   if test "$GCC" = yes; then
8452     lt_prog_compiler_wl='-Wl,'
8453     lt_prog_compiler_static='-static'
8454
8455     case $host_os in
8456       aix*)
8457       # All AIX code is PIC.
8458       if test "$host_cpu" = ia64; then
8459         # AIX 5 now supports IA64 processor
8460         lt_prog_compiler_static='-Bstatic'
8461       fi
8462       ;;
8463
8464     amigaos*)
8465       case $host_cpu in
8466       powerpc)
8467             # see comment about AmigaOS4 .so support
8468             lt_prog_compiler_pic='-fPIC'
8469         ;;
8470       m68k)
8471             # FIXME: we need at least 68020 code to build shared libraries, but
8472             # adding the `-m68020' flag to GCC prevents building anything better,
8473             # like `-m68040'.
8474             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8475         ;;
8476       esac
8477       ;;
8478
8479     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8480       # PIC is the default for these OSes.
8481       ;;
8482
8483     mingw* | cygwin* | pw32* | os2* | cegcc*)
8484       # This hack is so that the source file can tell whether it is being
8485       # built for inclusion in a dll (and should export symbols for example).
8486       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8487       # (--disable-auto-import) libraries
8488       lt_prog_compiler_pic='-DDLL_EXPORT'
8489       ;;
8490
8491     darwin* | rhapsody*)
8492       # PIC is the default on this platform
8493       # Common symbols not allowed in MH_DYLIB files
8494       lt_prog_compiler_pic='-fno-common'
8495       ;;
8496
8497     haiku*)
8498       # PIC is the default for Haiku.
8499       # The "-static" flag exists, but is broken.
8500       lt_prog_compiler_static=
8501       ;;
8502
8503     hpux*)
8504       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8505       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8506       # sets the default TLS model and affects inlining.
8507       case $host_cpu in
8508       hppa*64*)
8509         # +Z the default
8510         ;;
8511       *)
8512         lt_prog_compiler_pic='-fPIC'
8513         ;;
8514       esac
8515       ;;
8516
8517     interix[3-9]*)
8518       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8519       # Instead, we relocate shared libraries at runtime.
8520       ;;
8521
8522     msdosdjgpp*)
8523       # Just because we use GCC doesn't mean we suddenly get shared libraries
8524       # on systems that don't support them.
8525       lt_prog_compiler_can_build_shared=no
8526       enable_shared=no
8527       ;;
8528
8529     *nto* | *qnx*)
8530       # QNX uses GNU C++, but need to define -shared option too, otherwise
8531       # it will coredump.
8532       lt_prog_compiler_pic='-fPIC -shared'
8533       ;;
8534
8535     sysv4*MP*)
8536       if test -d /usr/nec; then
8537         lt_prog_compiler_pic=-Kconform_pic
8538       fi
8539       ;;
8540
8541     *)
8542       lt_prog_compiler_pic='-fPIC'
8543       ;;
8544     esac
8545
8546     case $cc_basename in
8547     nvcc*) # Cuda Compiler Driver 2.2
8548       lt_prog_compiler_wl='-Xlinker '
8549       if test -n "$lt_prog_compiler_pic"; then
8550         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8551       fi
8552       ;;
8553     esac
8554   else
8555     # PORTME Check for flag to pass linker flags through the system compiler.
8556     case $host_os in
8557     aix*)
8558       lt_prog_compiler_wl='-Wl,'
8559       if test "$host_cpu" = ia64; then
8560         # AIX 5 now supports IA64 processor
8561         lt_prog_compiler_static='-Bstatic'
8562       else
8563         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8564       fi
8565       ;;
8566
8567     mingw* | cygwin* | pw32* | os2* | cegcc*)
8568       # This hack is so that the source file can tell whether it is being
8569       # built for inclusion in a dll (and should export symbols for example).
8570       lt_prog_compiler_pic='-DDLL_EXPORT'
8571       ;;
8572
8573     hpux9* | hpux10* | hpux11*)
8574       lt_prog_compiler_wl='-Wl,'
8575       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8576       # not for PA HP-UX.
8577       case $host_cpu in
8578       hppa*64*|ia64*)
8579         # +Z the default
8580         ;;
8581       *)
8582         lt_prog_compiler_pic='+Z'
8583         ;;
8584       esac
8585       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8586       lt_prog_compiler_static='${wl}-a ${wl}archive'
8587       ;;
8588
8589     irix5* | irix6* | nonstopux*)
8590       lt_prog_compiler_wl='-Wl,'
8591       # PIC (with -KPIC) is the default.
8592       lt_prog_compiler_static='-non_shared'
8593       ;;
8594
8595     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8596       case $cc_basename in
8597       # old Intel for x86_64 which still supported -KPIC.
8598       ecc*)
8599         lt_prog_compiler_wl='-Wl,'
8600         lt_prog_compiler_pic='-KPIC'
8601         lt_prog_compiler_static='-static'
8602         ;;
8603       # icc used to be incompatible with GCC.
8604       # ICC 10 doesn't accept -KPIC any more.
8605       icc* | ifort*)
8606         lt_prog_compiler_wl='-Wl,'
8607         lt_prog_compiler_pic='-fPIC'
8608         lt_prog_compiler_static='-static'
8609         ;;
8610       # Lahey Fortran 8.1.
8611       lf95*)
8612         lt_prog_compiler_wl='-Wl,'
8613         lt_prog_compiler_pic='--shared'
8614         lt_prog_compiler_static='--static'
8615         ;;
8616       nagfor*)
8617         # NAG Fortran compiler
8618         lt_prog_compiler_wl='-Wl,-Wl,,'
8619         lt_prog_compiler_pic='-PIC'
8620         lt_prog_compiler_static='-Bstatic'
8621         ;;
8622       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8623         # Portland Group compilers (*not* the Pentium gcc compiler,
8624         # which looks to be a dead project)
8625         lt_prog_compiler_wl='-Wl,'
8626         lt_prog_compiler_pic='-fpic'
8627         lt_prog_compiler_static='-Bstatic'
8628         ;;
8629       ccc*)
8630         lt_prog_compiler_wl='-Wl,'
8631         # All Alpha code is PIC.
8632         lt_prog_compiler_static='-non_shared'
8633         ;;
8634       xl* | bgxl* | bgf* | mpixl*)
8635         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8636         lt_prog_compiler_wl='-Wl,'
8637         lt_prog_compiler_pic='-qpic'
8638         lt_prog_compiler_static='-qstaticlink'
8639         ;;
8640       *)
8641         case `$CC -V 2>&1 | sed 5q` in
8642         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8643           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8644           lt_prog_compiler_pic='-KPIC'
8645           lt_prog_compiler_static='-Bstatic'
8646           lt_prog_compiler_wl=''
8647           ;;
8648         *Sun\ F* | *Sun*Fortran*)
8649           lt_prog_compiler_pic='-KPIC'
8650           lt_prog_compiler_static='-Bstatic'
8651           lt_prog_compiler_wl='-Qoption ld '
8652           ;;
8653         *Sun\ C*)
8654           # Sun C 5.9
8655           lt_prog_compiler_pic='-KPIC'
8656           lt_prog_compiler_static='-Bstatic'
8657           lt_prog_compiler_wl='-Wl,'
8658           ;;
8659         *Intel*\ [CF]*Compiler*)
8660           lt_prog_compiler_wl='-Wl,'
8661           lt_prog_compiler_pic='-fPIC'
8662           lt_prog_compiler_static='-static'
8663           ;;
8664         *Portland\ Group*)
8665           lt_prog_compiler_wl='-Wl,'
8666           lt_prog_compiler_pic='-fpic'
8667           lt_prog_compiler_static='-Bstatic'
8668           ;;
8669         esac
8670         ;;
8671       esac
8672       ;;
8673
8674     newsos6)
8675       lt_prog_compiler_pic='-KPIC'
8676       lt_prog_compiler_static='-Bstatic'
8677       ;;
8678
8679     *nto* | *qnx*)
8680       # QNX uses GNU C++, but need to define -shared option too, otherwise
8681       # it will coredump.
8682       lt_prog_compiler_pic='-fPIC -shared'
8683       ;;
8684
8685     osf3* | osf4* | osf5*)
8686       lt_prog_compiler_wl='-Wl,'
8687       # All OSF/1 code is PIC.
8688       lt_prog_compiler_static='-non_shared'
8689       ;;
8690
8691     rdos*)
8692       lt_prog_compiler_static='-non_shared'
8693       ;;
8694
8695     solaris*)
8696       lt_prog_compiler_pic='-KPIC'
8697       lt_prog_compiler_static='-Bstatic'
8698       case $cc_basename in
8699       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8700         lt_prog_compiler_wl='-Qoption ld ';;
8701       *)
8702         lt_prog_compiler_wl='-Wl,';;
8703       esac
8704       ;;
8705
8706     sunos4*)
8707       lt_prog_compiler_wl='-Qoption ld '
8708       lt_prog_compiler_pic='-PIC'
8709       lt_prog_compiler_static='-Bstatic'
8710       ;;
8711
8712     sysv4 | sysv4.2uw2* | sysv4.3*)
8713       lt_prog_compiler_wl='-Wl,'
8714       lt_prog_compiler_pic='-KPIC'
8715       lt_prog_compiler_static='-Bstatic'
8716       ;;
8717
8718     sysv4*MP*)
8719       if test -d /usr/nec ;then
8720         lt_prog_compiler_pic='-Kconform_pic'
8721         lt_prog_compiler_static='-Bstatic'
8722       fi
8723       ;;
8724
8725     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8726       lt_prog_compiler_wl='-Wl,'
8727       lt_prog_compiler_pic='-KPIC'
8728       lt_prog_compiler_static='-Bstatic'
8729       ;;
8730
8731     unicos*)
8732       lt_prog_compiler_wl='-Wl,'
8733       lt_prog_compiler_can_build_shared=no
8734       ;;
8735
8736     uts4*)
8737       lt_prog_compiler_pic='-pic'
8738       lt_prog_compiler_static='-Bstatic'
8739       ;;
8740
8741     *)
8742       lt_prog_compiler_can_build_shared=no
8743       ;;
8744     esac
8745   fi
8746
8747 case $host_os in
8748   # For platforms which do not support PIC, -DPIC is meaningless:
8749   *djgpp*)
8750     lt_prog_compiler_pic=
8751     ;;
8752   *)
8753     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8754     ;;
8755 esac
8756
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8758 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8759 if ${lt_cv_prog_compiler_pic+:} false; then :
8760   $as_echo_n "(cached) " >&6
8761 else
8762   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8763 fi
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8765 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8766 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8767
8768 #
8769 # Check to make sure the PIC flag actually works.
8770 #
8771 if test -n "$lt_prog_compiler_pic"; then
8772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8773 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8774 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8775   $as_echo_n "(cached) " >&6
8776 else
8777   lt_cv_prog_compiler_pic_works=no
8778    ac_outfile=conftest.$ac_objext
8779    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8780    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8781    # Insert the option either (1) after the last *FLAGS variable, or
8782    # (2) before a word containing "conftest.", or (3) at the end.
8783    # Note that $ac_compile itself does not contain backslashes and begins
8784    # with a dollar sign (not a hyphen), so the echo should work correctly.
8785    # The option is referenced via a variable to avoid confusing sed.
8786    lt_compile=`echo "$ac_compile" | $SED \
8787    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8788    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8789    -e 's:$: $lt_compiler_flag:'`
8790    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8791    (eval "$lt_compile" 2>conftest.err)
8792    ac_status=$?
8793    cat conftest.err >&5
8794    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795    if (exit $ac_status) && test -s "$ac_outfile"; then
8796      # The compiler can only warn and ignore the option if not recognized
8797      # So say no if there are warnings other than the usual output.
8798      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8799      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8800      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8801        lt_cv_prog_compiler_pic_works=yes
8802      fi
8803    fi
8804    $RM conftest*
8805
8806 fi
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8808 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8809
8810 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8811     case $lt_prog_compiler_pic in
8812      "" | " "*) ;;
8813      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8814      esac
8815 else
8816     lt_prog_compiler_pic=
8817      lt_prog_compiler_can_build_shared=no
8818 fi
8819
8820 fi
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832 #
8833 # Check to make sure the static flag actually works.
8834 #
8835 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8837 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8838 if ${lt_cv_prog_compiler_static_works+:} false; then :
8839   $as_echo_n "(cached) " >&6
8840 else
8841   lt_cv_prog_compiler_static_works=no
8842    save_LDFLAGS="$LDFLAGS"
8843    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8844    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8845    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8846      # The linker can only warn and ignore the option if not recognized
8847      # So say no if there are warnings
8848      if test -s conftest.err; then
8849        # Append any errors to the config.log.
8850        cat conftest.err 1>&5
8851        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8852        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8853        if diff conftest.exp conftest.er2 >/dev/null; then
8854          lt_cv_prog_compiler_static_works=yes
8855        fi
8856      else
8857        lt_cv_prog_compiler_static_works=yes
8858      fi
8859    fi
8860    $RM -r conftest*
8861    LDFLAGS="$save_LDFLAGS"
8862
8863 fi
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8865 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8866
8867 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8868     :
8869 else
8870     lt_prog_compiler_static=
8871 fi
8872
8873
8874
8875
8876
8877
8878
8879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8880 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8881 if ${lt_cv_prog_compiler_c_o+:} false; then :
8882   $as_echo_n "(cached) " >&6
8883 else
8884   lt_cv_prog_compiler_c_o=no
8885    $RM -r conftest 2>/dev/null
8886    mkdir conftest
8887    cd conftest
8888    mkdir out
8889    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8890
8891    lt_compiler_flag="-o out/conftest2.$ac_objext"
8892    # Insert the option either (1) after the last *FLAGS variable, or
8893    # (2) before a word containing "conftest.", or (3) at the end.
8894    # Note that $ac_compile itself does not contain backslashes and begins
8895    # with a dollar sign (not a hyphen), so the echo should work correctly.
8896    lt_compile=`echo "$ac_compile" | $SED \
8897    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8898    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8899    -e 's:$: $lt_compiler_flag:'`
8900    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8901    (eval "$lt_compile" 2>out/conftest.err)
8902    ac_status=$?
8903    cat out/conftest.err >&5
8904    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8906    then
8907      # The compiler can only warn and ignore the option if not recognized
8908      # So say no if there are warnings
8909      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8910      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8911      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8912        lt_cv_prog_compiler_c_o=yes
8913      fi
8914    fi
8915    chmod u+w . 2>&5
8916    $RM conftest*
8917    # SGI C++ compiler will create directory out/ii_files/ for
8918    # template instantiation
8919    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8920    $RM out/* && rmdir out
8921    cd ..
8922    $RM -r conftest
8923    $RM conftest*
8924
8925 fi
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8927 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8928
8929
8930
8931
8932
8933
8934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8935 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8936 if ${lt_cv_prog_compiler_c_o+:} false; then :
8937   $as_echo_n "(cached) " >&6
8938 else
8939   lt_cv_prog_compiler_c_o=no
8940    $RM -r conftest 2>/dev/null
8941    mkdir conftest
8942    cd conftest
8943    mkdir out
8944    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8945
8946    lt_compiler_flag="-o out/conftest2.$ac_objext"
8947    # Insert the option either (1) after the last *FLAGS variable, or
8948    # (2) before a word containing "conftest.", or (3) at the end.
8949    # Note that $ac_compile itself does not contain backslashes and begins
8950    # with a dollar sign (not a hyphen), so the echo should work correctly.
8951    lt_compile=`echo "$ac_compile" | $SED \
8952    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8953    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8954    -e 's:$: $lt_compiler_flag:'`
8955    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8956    (eval "$lt_compile" 2>out/conftest.err)
8957    ac_status=$?
8958    cat out/conftest.err >&5
8959    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8961    then
8962      # The compiler can only warn and ignore the option if not recognized
8963      # So say no if there are warnings
8964      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8965      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8966      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8967        lt_cv_prog_compiler_c_o=yes
8968      fi
8969    fi
8970    chmod u+w . 2>&5
8971    $RM conftest*
8972    # SGI C++ compiler will create directory out/ii_files/ for
8973    # template instantiation
8974    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8975    $RM out/* && rmdir out
8976    cd ..
8977    $RM -r conftest
8978    $RM conftest*
8979
8980 fi
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8982 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8983
8984
8985
8986
8987 hard_links="nottested"
8988 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8989   # do not overwrite the value of need_locks provided by the user
8990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8991 $as_echo_n "checking if we can lock with hard links... " >&6; }
8992   hard_links=yes
8993   $RM conftest*
8994   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8995   touch conftest.a
8996   ln conftest.a conftest.b 2>&5 || hard_links=no
8997   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8999 $as_echo "$hard_links" >&6; }
9000   if test "$hard_links" = no; then
9001     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9002 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9003     need_locks=warn
9004   fi
9005 else
9006   need_locks=no
9007 fi
9008
9009
9010
9011
9012
9013
9014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9015 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9016
9017   runpath_var=
9018   allow_undefined_flag=
9019   always_export_symbols=no
9020   archive_cmds=
9021   archive_expsym_cmds=
9022   compiler_needs_object=no
9023   enable_shared_with_static_runtimes=no
9024   export_dynamic_flag_spec=
9025   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9026   hardcode_automatic=no
9027   hardcode_direct=no
9028   hardcode_direct_absolute=no
9029   hardcode_libdir_flag_spec=
9030   hardcode_libdir_separator=
9031   hardcode_minus_L=no
9032   hardcode_shlibpath_var=unsupported
9033   inherit_rpath=no
9034   link_all_deplibs=unknown
9035   module_cmds=
9036   module_expsym_cmds=
9037   old_archive_from_new_cmds=
9038   old_archive_from_expsyms_cmds=
9039   thread_safe_flag_spec=
9040   whole_archive_flag_spec=
9041   # include_expsyms should be a list of space-separated symbols to be *always*
9042   # included in the symbol list
9043   include_expsyms=
9044   # exclude_expsyms can be an extended regexp of symbols to exclude
9045   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9046   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9047   # as well as any symbol that contains `d'.
9048   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9049   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9050   # platforms (ab)use it in PIC code, but their linkers get confused if
9051   # the symbol is explicitly referenced.  Since portable code cannot
9052   # rely on this symbol name, it's probably fine to never include it in
9053   # preloaded symbol tables.
9054   # Exclude shared library initialization/finalization symbols.
9055   extract_expsyms_cmds=
9056
9057   case $host_os in
9058   cygwin* | mingw* | pw32* | cegcc*)
9059     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9060     # When not using gcc, we currently assume that we are using
9061     # Microsoft Visual C++.
9062     if test "$GCC" != yes; then
9063       with_gnu_ld=no
9064     fi
9065     ;;
9066   interix*)
9067     # we just hope/assume this is gcc and not c89 (= MSVC++)
9068     with_gnu_ld=yes
9069     ;;
9070   openbsd*)
9071     with_gnu_ld=no
9072     ;;
9073   linux* | k*bsd*-gnu | gnu*)
9074     link_all_deplibs=no
9075     ;;
9076   esac
9077
9078   ld_shlibs=yes
9079
9080   # On some targets, GNU ld is compatible enough with the native linker
9081   # that we're better off using the native interface for both.
9082   lt_use_gnu_ld_interface=no
9083   if test "$with_gnu_ld" = yes; then
9084     case $host_os in
9085       aix*)
9086         # The AIX port of GNU ld has always aspired to compatibility
9087         # with the native linker.  However, as the warning in the GNU ld
9088         # block says, versions before 2.19.5* couldn't really create working
9089         # shared libraries, regardless of the interface used.
9090         case `$LD -v 2>&1` in
9091           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9092           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9093           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9094           *)
9095             lt_use_gnu_ld_interface=yes
9096             ;;
9097         esac
9098         ;;
9099       *)
9100         lt_use_gnu_ld_interface=yes
9101         ;;
9102     esac
9103   fi
9104
9105   if test "$lt_use_gnu_ld_interface" = yes; then
9106     # If archive_cmds runs LD, not CC, wlarc should be empty
9107     wlarc='${wl}'
9108
9109     # Set some defaults for GNU ld with shared library support. These
9110     # are reset later if shared libraries are not supported. Putting them
9111     # here allows them to be overridden if necessary.
9112     runpath_var=LD_RUN_PATH
9113     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9114     export_dynamic_flag_spec='${wl}--export-dynamic'
9115     # ancient GNU ld didn't support --whole-archive et. al.
9116     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9117       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9118     else
9119       whole_archive_flag_spec=
9120     fi
9121     supports_anon_versioning=no
9122     case `$LD -v 2>&1` in
9123       *GNU\ gold*) supports_anon_versioning=yes ;;
9124       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9125       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9126       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9127       *\ 2.11.*) ;; # other 2.11 versions
9128       *) supports_anon_versioning=yes ;;
9129     esac
9130
9131     # See if GNU ld supports shared libraries.
9132     case $host_os in
9133     aix[3-9]*)
9134       # On AIX/PPC, the GNU linker is very broken
9135       if test "$host_cpu" != ia64; then
9136         ld_shlibs=no
9137         cat <<_LT_EOF 1>&2
9138
9139 *** Warning: the GNU linker, at least up to release 2.19, is reported
9140 *** to be unable to reliably create shared libraries on AIX.
9141 *** Therefore, libtool is disabling shared libraries support.  If you
9142 *** really care for shared libraries, you may want to install binutils
9143 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9144 *** You will then need to restart the configuration process.
9145
9146 _LT_EOF
9147       fi
9148       ;;
9149
9150     amigaos*)
9151       case $host_cpu in
9152       powerpc)
9153             # see comment about AmigaOS4 .so support
9154             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9155             archive_expsym_cmds=''
9156         ;;
9157       m68k)
9158             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)'
9159             hardcode_libdir_flag_spec='-L$libdir'
9160             hardcode_minus_L=yes
9161         ;;
9162       esac
9163       ;;
9164
9165     beos*)
9166       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9167         allow_undefined_flag=unsupported
9168         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9169         # support --undefined.  This deserves some investigation.  FIXME
9170         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9171       else
9172         ld_shlibs=no
9173       fi
9174       ;;
9175
9176     cygwin* | mingw* | pw32* | cegcc*)
9177       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9178       # as there is no search path for DLLs.
9179       hardcode_libdir_flag_spec='-L$libdir'
9180       export_dynamic_flag_spec='${wl}--export-all-symbols'
9181       allow_undefined_flag=unsupported
9182       always_export_symbols=no
9183       enable_shared_with_static_runtimes=yes
9184       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9185       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9186
9187       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9188         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9189         # If the export-symbols file already is a .def file (1st line
9190         # is EXPORTS), use it as is; otherwise, prepend...
9191         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9192           cp $export_symbols $output_objdir/$soname.def;
9193         else
9194           echo EXPORTS > $output_objdir/$soname.def;
9195           cat $export_symbols >> $output_objdir/$soname.def;
9196         fi~
9197         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9198       else
9199         ld_shlibs=no
9200       fi
9201       ;;
9202
9203     haiku*)
9204       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9205       link_all_deplibs=yes
9206       ;;
9207
9208     interix[3-9]*)
9209       hardcode_direct=no
9210       hardcode_shlibpath_var=no
9211       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9212       export_dynamic_flag_spec='${wl}-E'
9213       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9214       # Instead, shared libraries are loaded at an image base (0x10000000 by
9215       # default) and relocated if they conflict, which is a slow very memory
9216       # consuming and fragmenting process.  To avoid this, we pick a random,
9217       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9218       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9219       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9220       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'
9221       ;;
9222
9223     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9224       tmp_diet=no
9225       if test "$host_os" = linux-dietlibc; then
9226         case $cc_basename in
9227           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9228         esac
9229       fi
9230       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9231          && test "$tmp_diet" = no
9232       then
9233         tmp_addflag=' $pic_flag'
9234         tmp_sharedflag='-shared'
9235         case $cc_basename,$host_cpu in
9236         pgcc*)                          # Portland Group C compiler
9237           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9238           tmp_addflag=' $pic_flag'
9239           ;;
9240         pgf77* | pgf90* | pgf95* | pgfortran*)
9241                                         # Portland Group f77 and f90 compilers
9242           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9243           tmp_addflag=' $pic_flag -Mnomain' ;;
9244         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9245           tmp_addflag=' -i_dynamic' ;;
9246         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9247           tmp_addflag=' -i_dynamic -nofor_main' ;;
9248         ifc* | ifort*)                  # Intel Fortran compiler
9249           tmp_addflag=' -nofor_main' ;;
9250         lf95*)                          # Lahey Fortran 8.1
9251           whole_archive_flag_spec=
9252           tmp_sharedflag='--shared' ;;
9253         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9254           tmp_sharedflag='-qmkshrobj'
9255           tmp_addflag= ;;
9256         nvcc*)  # Cuda Compiler Driver 2.2
9257           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9258           compiler_needs_object=yes
9259           ;;
9260         esac
9261         case `$CC -V 2>&1 | sed 5q` in
9262         *Sun\ C*)                       # Sun C 5.9
9263           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9264           compiler_needs_object=yes
9265           tmp_sharedflag='-G' ;;
9266         *Sun\ F*)                       # Sun Fortran 8.3
9267           tmp_sharedflag='-G' ;;
9268         esac
9269         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9270
9271         if test "x$supports_anon_versioning" = xyes; then
9272           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9273             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9274             echo "local: *; };" >> $output_objdir/$libname.ver~
9275             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9276         fi
9277
9278         case $cc_basename in
9279         xlf* | bgf* | bgxlf* | mpixlf*)
9280           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9281           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9282           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9283           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9284           if test "x$supports_anon_versioning" = xyes; then
9285             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9286               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9287               echo "local: *; };" >> $output_objdir/$libname.ver~
9288               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9289           fi
9290           ;;
9291         esac
9292       else
9293         ld_shlibs=no
9294       fi
9295       ;;
9296
9297     netbsd* | netbsdelf*-gnu)
9298       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9299         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9300         wlarc=
9301       else
9302         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9303         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9304       fi
9305       ;;
9306
9307     solaris*)
9308       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9309         ld_shlibs=no
9310         cat <<_LT_EOF 1>&2
9311
9312 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9313 *** create shared libraries on Solaris systems.  Therefore, libtool
9314 *** is disabling shared libraries support.  We urge you to upgrade GNU
9315 *** binutils to release 2.9.1 or newer.  Another option is to modify
9316 *** your PATH or compiler configuration so that the native linker is
9317 *** used, and then restart.
9318
9319 _LT_EOF
9320       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9321         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9322         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9323       else
9324         ld_shlibs=no
9325       fi
9326       ;;
9327
9328     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9329       case `$LD -v 2>&1` in
9330         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9331         ld_shlibs=no
9332         cat <<_LT_EOF 1>&2
9333
9334 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9335 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9336 *** is disabling shared libraries support.  We urge you to upgrade GNU
9337 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9338 *** your PATH or compiler configuration so that the native linker is
9339 *** used, and then restart.
9340
9341 _LT_EOF
9342         ;;
9343         *)
9344           # For security reasons, it is highly recommended that you always
9345           # use absolute paths for naming shared libraries, and exclude the
9346           # DT_RUNPATH tag from executables and libraries.  But doing so
9347           # requires that you compile everything twice, which is a pain.
9348           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9349             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9350             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9351             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9352           else
9353             ld_shlibs=no
9354           fi
9355         ;;
9356       esac
9357       ;;
9358
9359     sunos4*)
9360       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9361       wlarc=
9362       hardcode_direct=yes
9363       hardcode_shlibpath_var=no
9364       ;;
9365
9366     *)
9367       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370       else
9371         ld_shlibs=no
9372       fi
9373       ;;
9374     esac
9375
9376     if test "$ld_shlibs" = no; then
9377       runpath_var=
9378       hardcode_libdir_flag_spec=
9379       export_dynamic_flag_spec=
9380       whole_archive_flag_spec=
9381     fi
9382   else
9383     # PORTME fill in a description of your system's linker (not GNU ld)
9384     case $host_os in
9385     aix3*)
9386       allow_undefined_flag=unsupported
9387       always_export_symbols=yes
9388       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'
9389       # Note: this linker hardcodes the directories in LIBPATH if there
9390       # are no directories specified by -L.
9391       hardcode_minus_L=yes
9392       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9393         # Neither direct hardcoding nor static linking is supported with a
9394         # broken collect2.
9395         hardcode_direct=unsupported
9396       fi
9397       ;;
9398
9399     aix[4-9]*)
9400       if test "$host_cpu" = ia64; then
9401         # On IA64, the linker does run time linking by default, so we don't
9402         # have to do anything special.
9403         aix_use_runtimelinking=no
9404         exp_sym_flag='-Bexport'
9405         no_entry_flag=""
9406       else
9407         # If we're using GNU nm, then we don't want the "-C" option.
9408         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9409         # Also, AIX nm treats weak defined symbols like other global
9410         # defined symbols, whereas GNU nm marks them as "W".
9411         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9412           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9413         else
9414           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'
9415         fi
9416         aix_use_runtimelinking=no
9417
9418         # Test if we are trying to use run time linking or normal
9419         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9420         # need to do runtime linking.
9421         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9422           for ld_flag in $LDFLAGS; do
9423           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9424             aix_use_runtimelinking=yes
9425             break
9426           fi
9427           done
9428           ;;
9429         esac
9430
9431         exp_sym_flag='-bexport'
9432         no_entry_flag='-bnoentry'
9433       fi
9434
9435       # When large executables or shared objects are built, AIX ld can
9436       # have problems creating the table of contents.  If linking a library
9437       # or program results in "error TOC overflow" add -mminimal-toc to
9438       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9439       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9440
9441       archive_cmds=''
9442       hardcode_direct=yes
9443       hardcode_direct_absolute=yes
9444       hardcode_libdir_separator=':'
9445       link_all_deplibs=yes
9446       file_list_spec='${wl}-f,'
9447
9448       if test "$GCC" = yes; then
9449         case $host_os in aix4.[012]|aix4.[012].*)
9450         # We only want to do this on AIX 4.2 and lower, the check
9451         # below for broken collect2 doesn't work under 4.3+
9452           collect2name=`${CC} -print-prog-name=collect2`
9453           if test -f "$collect2name" &&
9454            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9455           then
9456           # We have reworked collect2
9457           :
9458           else
9459           # We have old collect2
9460           hardcode_direct=unsupported
9461           # It fails to find uninstalled libraries when the uninstalled
9462           # path is not listed in the libpath.  Setting hardcode_minus_L
9463           # to unsupported forces relinking
9464           hardcode_minus_L=yes
9465           hardcode_libdir_flag_spec='-L$libdir'
9466           hardcode_libdir_separator=
9467           fi
9468           ;;
9469         esac
9470         shared_flag='-shared'
9471         if test "$aix_use_runtimelinking" = yes; then
9472           shared_flag="$shared_flag "'${wl}-G'
9473         fi
9474         link_all_deplibs=no
9475       else
9476         # not using gcc
9477         if test "$host_cpu" = ia64; then
9478         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9479         # chokes on -Wl,-G. The following line is correct:
9480           shared_flag='-G'
9481         else
9482           if test "$aix_use_runtimelinking" = yes; then
9483             shared_flag='${wl}-G'
9484           else
9485             shared_flag='${wl}-bM:SRE'
9486           fi
9487         fi
9488       fi
9489
9490       export_dynamic_flag_spec='${wl}-bexpall'
9491       # It seems that -bexpall does not export symbols beginning with
9492       # underscore (_), so it is better to generate a list of symbols to export.
9493       always_export_symbols=yes
9494       if test "$aix_use_runtimelinking" = yes; then
9495         # Warning - without using the other runtime loading flags (-brtl),
9496         # -berok will link without error, but may produce a broken library.
9497         allow_undefined_flag='-berok'
9498         # Determine the default libpath from the value encoded in an
9499         # empty executable.
9500         if test "${lt_cv_aix_libpath+set}" = set; then
9501   aix_libpath=$lt_cv_aix_libpath
9502 else
9503   if ${lt_cv_aix_libpath_+:} false; then :
9504   $as_echo_n "(cached) " >&6
9505 else
9506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9507 /* end confdefs.h.  */
9508
9509 int
9510 main ()
9511 {
9512
9513   ;
9514   return 0;
9515 }
9516 _ACEOF
9517 if ac_fn_c_try_link "$LINENO"; then :
9518
9519   lt_aix_libpath_sed='
9520       /Import File Strings/,/^$/ {
9521           /^0/ {
9522               s/^0  *\([^ ]*\) *$/\1/
9523               p
9524           }
9525       }'
9526   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9527   # Check for a 64-bit object if we didn't find anything.
9528   if test -z "$lt_cv_aix_libpath_"; then
9529     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9530   fi
9531 fi
9532 rm -f core conftest.err conftest.$ac_objext \
9533     conftest$ac_exeext conftest.$ac_ext
9534   if test -z "$lt_cv_aix_libpath_"; then
9535     lt_cv_aix_libpath_="/usr/lib:/lib"
9536   fi
9537
9538 fi
9539
9540   aix_libpath=$lt_cv_aix_libpath_
9541 fi
9542
9543         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9544         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9545       else
9546         if test "$host_cpu" = ia64; then
9547           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9548           allow_undefined_flag="-z nodefs"
9549           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"
9550         else
9551          # Determine the default libpath from the value encoded in an
9552          # empty executable.
9553          if test "${lt_cv_aix_libpath+set}" = set; then
9554   aix_libpath=$lt_cv_aix_libpath
9555 else
9556   if ${lt_cv_aix_libpath_+:} false; then :
9557   $as_echo_n "(cached) " >&6
9558 else
9559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h.  */
9561
9562 int
9563 main ()
9564 {
9565
9566   ;
9567   return 0;
9568 }
9569 _ACEOF
9570 if ac_fn_c_try_link "$LINENO"; then :
9571
9572   lt_aix_libpath_sed='
9573       /Import File Strings/,/^$/ {
9574           /^0/ {
9575               s/^0  *\([^ ]*\) *$/\1/
9576               p
9577           }
9578       }'
9579   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9580   # Check for a 64-bit object if we didn't find anything.
9581   if test -z "$lt_cv_aix_libpath_"; then
9582     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9583   fi
9584 fi
9585 rm -f core conftest.err conftest.$ac_objext \
9586     conftest$ac_exeext conftest.$ac_ext
9587   if test -z "$lt_cv_aix_libpath_"; then
9588     lt_cv_aix_libpath_="/usr/lib:/lib"
9589   fi
9590
9591 fi
9592
9593   aix_libpath=$lt_cv_aix_libpath_
9594 fi
9595
9596          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9597           # Warning - without using the other run time loading flags,
9598           # -berok will link without error, but may produce a broken library.
9599           no_undefined_flag=' ${wl}-bernotok'
9600           allow_undefined_flag=' ${wl}-berok'
9601           if test "$with_gnu_ld" = yes; then
9602             # We only use this code for GNU lds that support --whole-archive.
9603             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9604           else
9605             # Exported symbols can be pulled into shared objects from archives
9606             whole_archive_flag_spec='$convenience'
9607           fi
9608           archive_cmds_need_lc=yes
9609           # This is similar to how AIX traditionally builds its shared libraries.
9610           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'
9611         fi
9612       fi
9613       ;;
9614
9615     amigaos*)
9616       case $host_cpu in
9617       powerpc)
9618             # see comment about AmigaOS4 .so support
9619             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9620             archive_expsym_cmds=''
9621         ;;
9622       m68k)
9623             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)'
9624             hardcode_libdir_flag_spec='-L$libdir'
9625             hardcode_minus_L=yes
9626         ;;
9627       esac
9628       ;;
9629
9630     bsdi[45]*)
9631       export_dynamic_flag_spec=-rdynamic
9632       ;;
9633
9634     cygwin* | mingw* | pw32* | cegcc*)
9635       # When not using gcc, we currently assume that we are using
9636       # Microsoft Visual C++.
9637       # hardcode_libdir_flag_spec is actually meaningless, as there is
9638       # no search path for DLLs.
9639       case $cc_basename in
9640       cl*)
9641         # Native MSVC
9642         hardcode_libdir_flag_spec=' '
9643         allow_undefined_flag=unsupported
9644         always_export_symbols=yes
9645         file_list_spec='@'
9646         # Tell ltmain to make .lib files, not .a files.
9647         libext=lib
9648         # Tell ltmain to make .dll files, not .so files.
9649         shrext_cmds=".dll"
9650         # FIXME: Setting linknames here is a bad hack.
9651         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9652         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9653             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9654           else
9655             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9656           fi~
9657           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9658           linknames='
9659         # The linker will not automatically build a static lib if we build a DLL.
9660         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9661         enable_shared_with_static_runtimes=yes
9662         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9663         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9664         # Don't use ranlib
9665         old_postinstall_cmds='chmod 644 $oldlib'
9666         postlink_cmds='lt_outputfile="@OUTPUT@"~
9667           lt_tool_outputfile="@TOOL_OUTPUT@"~
9668           case $lt_outputfile in
9669             *.exe|*.EXE) ;;
9670             *)
9671               lt_outputfile="$lt_outputfile.exe"
9672               lt_tool_outputfile="$lt_tool_outputfile.exe"
9673               ;;
9674           esac~
9675           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9676             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9677             $RM "$lt_outputfile.manifest";
9678           fi'
9679         ;;
9680       *)
9681         # Assume MSVC wrapper
9682         hardcode_libdir_flag_spec=' '
9683         allow_undefined_flag=unsupported
9684         # Tell ltmain to make .lib files, not .a files.
9685         libext=lib
9686         # Tell ltmain to make .dll files, not .so files.
9687         shrext_cmds=".dll"
9688         # FIXME: Setting linknames here is a bad hack.
9689         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9690         # The linker will automatically build a .lib file if we build a DLL.
9691         old_archive_from_new_cmds='true'
9692         # FIXME: Should let the user specify the lib program.
9693         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9694         enable_shared_with_static_runtimes=yes
9695         ;;
9696       esac
9697       ;;
9698
9699     darwin* | rhapsody*)
9700
9701
9702   archive_cmds_need_lc=no
9703   hardcode_direct=no
9704   hardcode_automatic=yes
9705   hardcode_shlibpath_var=unsupported
9706   if test "$lt_cv_ld_force_load" = "yes"; then
9707     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9708
9709   else
9710     whole_archive_flag_spec=''
9711   fi
9712   link_all_deplibs=yes
9713   allow_undefined_flag="$_lt_dar_allow_undefined"
9714   case $cc_basename in
9715      ifort*) _lt_dar_can_shared=yes ;;
9716      *) _lt_dar_can_shared=$GCC ;;
9717   esac
9718   if test "$_lt_dar_can_shared" = "yes"; then
9719     output_verbose_link_cmd=func_echo_all
9720     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9721     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9722     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}"
9723     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}"
9724
9725   else
9726   ld_shlibs=no
9727   fi
9728
9729       ;;
9730
9731     dgux*)
9732       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9733       hardcode_libdir_flag_spec='-L$libdir'
9734       hardcode_shlibpath_var=no
9735       ;;
9736
9737     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9738     # support.  Future versions do this automatically, but an explicit c++rt0.o
9739     # does not break anything, and helps significantly (at the cost of a little
9740     # extra space).
9741     freebsd2.2*)
9742       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9743       hardcode_libdir_flag_spec='-R$libdir'
9744       hardcode_direct=yes
9745       hardcode_shlibpath_var=no
9746       ;;
9747
9748     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9749     freebsd2.*)
9750       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9751       hardcode_direct=yes
9752       hardcode_minus_L=yes
9753       hardcode_shlibpath_var=no
9754       ;;
9755
9756     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9757     freebsd* | dragonfly*)
9758       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9759       hardcode_libdir_flag_spec='-R$libdir'
9760       hardcode_direct=yes
9761       hardcode_shlibpath_var=no
9762       ;;
9763
9764     hpux9*)
9765       if test "$GCC" = yes; then
9766         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9767       else
9768         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'
9769       fi
9770       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9771       hardcode_libdir_separator=:
9772       hardcode_direct=yes
9773
9774       # hardcode_minus_L: Not really in the search PATH,
9775       # but as the default location of the library.
9776       hardcode_minus_L=yes
9777       export_dynamic_flag_spec='${wl}-E'
9778       ;;
9779
9780     hpux10*)
9781       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9783       else
9784         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9785       fi
9786       if test "$with_gnu_ld" = no; then
9787         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9788         hardcode_libdir_separator=:
9789         hardcode_direct=yes
9790         hardcode_direct_absolute=yes
9791         export_dynamic_flag_spec='${wl}-E'
9792         # hardcode_minus_L: Not really in the search PATH,
9793         # but as the default location of the library.
9794         hardcode_minus_L=yes
9795       fi
9796       ;;
9797
9798     hpux11*)
9799       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9800         case $host_cpu in
9801         hppa*64*)
9802           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9803           ;;
9804         ia64*)
9805           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9806           ;;
9807         *)
9808           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9809           ;;
9810         esac
9811       else
9812         case $host_cpu in
9813         hppa*64*)
9814           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9815           ;;
9816         ia64*)
9817           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9818           ;;
9819         *)
9820
9821           # Older versions of the 11.00 compiler do not understand -b yet
9822           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9823           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9824 $as_echo_n "checking if $CC understands -b... " >&6; }
9825 if ${lt_cv_prog_compiler__b+:} false; then :
9826   $as_echo_n "(cached) " >&6
9827 else
9828   lt_cv_prog_compiler__b=no
9829    save_LDFLAGS="$LDFLAGS"
9830    LDFLAGS="$LDFLAGS -b"
9831    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9832    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9833      # The linker can only warn and ignore the option if not recognized
9834      # So say no if there are warnings
9835      if test -s conftest.err; then
9836        # Append any errors to the config.log.
9837        cat conftest.err 1>&5
9838        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9839        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9840        if diff conftest.exp conftest.er2 >/dev/null; then
9841          lt_cv_prog_compiler__b=yes
9842        fi
9843      else
9844        lt_cv_prog_compiler__b=yes
9845      fi
9846    fi
9847    $RM -r conftest*
9848    LDFLAGS="$save_LDFLAGS"
9849
9850 fi
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9852 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9853
9854 if test x"$lt_cv_prog_compiler__b" = xyes; then
9855     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9856 else
9857     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9858 fi
9859
9860           ;;
9861         esac
9862       fi
9863       if test "$with_gnu_ld" = no; then
9864         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9865         hardcode_libdir_separator=:
9866
9867         case $host_cpu in
9868         hppa*64*|ia64*)
9869           hardcode_direct=no
9870           hardcode_shlibpath_var=no
9871           ;;
9872         *)
9873           hardcode_direct=yes
9874           hardcode_direct_absolute=yes
9875           export_dynamic_flag_spec='${wl}-E'
9876
9877           # hardcode_minus_L: Not really in the search PATH,
9878           # but as the default location of the library.
9879           hardcode_minus_L=yes
9880           ;;
9881         esac
9882       fi
9883       ;;
9884
9885     irix5* | irix6* | nonstopux*)
9886       if test "$GCC" = yes; then
9887         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9888         # Try to use the -exported_symbol ld option, if it does not
9889         # work, assume that -exports_file does not work either and
9890         # implicitly export all symbols.
9891         # This should be the same for all languages, so no per-tag cache variable.
9892         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9893 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9894 if ${lt_cv_irix_exported_symbol+:} false; then :
9895   $as_echo_n "(cached) " >&6
9896 else
9897   save_LDFLAGS="$LDFLAGS"
9898            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9899            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h.  */
9901 int foo (void) { return 0; }
9902 _ACEOF
9903 if ac_fn_c_try_link "$LINENO"; then :
9904   lt_cv_irix_exported_symbol=yes
9905 else
9906   lt_cv_irix_exported_symbol=no
9907 fi
9908 rm -f core conftest.err conftest.$ac_objext \
9909     conftest$ac_exeext conftest.$ac_ext
9910            LDFLAGS="$save_LDFLAGS"
9911 fi
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9913 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9914         if test "$lt_cv_irix_exported_symbol" = yes; then
9915           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9916         fi
9917       else
9918         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9919         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9920       fi
9921       archive_cmds_need_lc='no'
9922       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9923       hardcode_libdir_separator=:
9924       inherit_rpath=yes
9925       link_all_deplibs=yes
9926       ;;
9927
9928     netbsd* | netbsdelf*-gnu)
9929       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9930         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9931       else
9932         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9933       fi
9934       hardcode_libdir_flag_spec='-R$libdir'
9935       hardcode_direct=yes
9936       hardcode_shlibpath_var=no
9937       ;;
9938
9939     newsos6)
9940       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9941       hardcode_direct=yes
9942       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9943       hardcode_libdir_separator=:
9944       hardcode_shlibpath_var=no
9945       ;;
9946
9947     *nto* | *qnx*)
9948       ;;
9949
9950     openbsd*)
9951       if test -f /usr/libexec/ld.so; then
9952         hardcode_direct=yes
9953         hardcode_shlibpath_var=no
9954         hardcode_direct_absolute=yes
9955         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9956           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9957           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9958           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9959           export_dynamic_flag_spec='${wl}-E'
9960         else
9961           case $host_os in
9962            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9963              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9964              hardcode_libdir_flag_spec='-R$libdir'
9965              ;;
9966            *)
9967              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9968              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9969              ;;
9970           esac
9971         fi
9972       else
9973         ld_shlibs=no
9974       fi
9975       ;;
9976
9977     os2*)
9978       hardcode_libdir_flag_spec='-L$libdir'
9979       hardcode_minus_L=yes
9980       allow_undefined_flag=unsupported
9981       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'
9982       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9983       ;;
9984
9985     osf3*)
9986       if test "$GCC" = yes; then
9987         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9988         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9989       else
9990         allow_undefined_flag=' -expect_unresolved \*'
9991         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9992       fi
9993       archive_cmds_need_lc='no'
9994       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9995       hardcode_libdir_separator=:
9996       ;;
9997
9998     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9999       if test "$GCC" = yes; then
10000         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10001         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10002         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10003       else
10004         allow_undefined_flag=' -expect_unresolved \*'
10005         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10006         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~
10007         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10008
10009         # Both c and cxx compiler support -rpath directly
10010         hardcode_libdir_flag_spec='-rpath $libdir'
10011       fi
10012       archive_cmds_need_lc='no'
10013       hardcode_libdir_separator=:
10014       ;;
10015
10016     solaris*)
10017       no_undefined_flag=' -z defs'
10018       if test "$GCC" = yes; then
10019         wlarc='${wl}'
10020         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10021         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10022           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10023       else
10024         case `$CC -V 2>&1` in
10025         *"Compilers 5.0"*)
10026           wlarc=''
10027           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10029           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10030           ;;
10031         *)
10032           wlarc='${wl}'
10033           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10034           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10035           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10036           ;;
10037         esac
10038       fi
10039       hardcode_libdir_flag_spec='-R$libdir'
10040       hardcode_shlibpath_var=no
10041       case $host_os in
10042       solaris2.[0-5] | solaris2.[0-5].*) ;;
10043       *)
10044         # The compiler driver will combine and reorder linker options,
10045         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10046         # but is careful enough not to reorder.
10047         # Supported since Solaris 2.6 (maybe 2.5.1?)
10048         if test "$GCC" = yes; then
10049           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10050         else
10051           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10052         fi
10053         ;;
10054       esac
10055       link_all_deplibs=yes
10056       ;;
10057
10058     sunos4*)
10059       if test "x$host_vendor" = xsequent; then
10060         # Use $CC to link under sequent, because it throws in some extra .o
10061         # files that make .init and .fini sections work.
10062         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10063       else
10064         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10065       fi
10066       hardcode_libdir_flag_spec='-L$libdir'
10067       hardcode_direct=yes
10068       hardcode_minus_L=yes
10069       hardcode_shlibpath_var=no
10070       ;;
10071
10072     sysv4)
10073       case $host_vendor in
10074         sni)
10075           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10076           hardcode_direct=yes # is this really true???
10077         ;;
10078         siemens)
10079           ## LD is ld it makes a PLAMLIB
10080           ## CC just makes a GrossModule.
10081           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10082           reload_cmds='$CC -r -o $output$reload_objs'
10083           hardcode_direct=no
10084         ;;
10085         motorola)
10086           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10087           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10088         ;;
10089       esac
10090       runpath_var='LD_RUN_PATH'
10091       hardcode_shlibpath_var=no
10092       ;;
10093
10094     sysv4.3*)
10095       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10096       hardcode_shlibpath_var=no
10097       export_dynamic_flag_spec='-Bexport'
10098       ;;
10099
10100     sysv4*MP*)
10101       if test -d /usr/nec; then
10102         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10103         hardcode_shlibpath_var=no
10104         runpath_var=LD_RUN_PATH
10105         hardcode_runpath_var=yes
10106         ld_shlibs=yes
10107       fi
10108       ;;
10109
10110     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10111       no_undefined_flag='${wl}-z,text'
10112       archive_cmds_need_lc=no
10113       hardcode_shlibpath_var=no
10114       runpath_var='LD_RUN_PATH'
10115
10116       if test "$GCC" = yes; then
10117         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10118         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119       else
10120         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10121         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10122       fi
10123       ;;
10124
10125     sysv5* | sco3.2v5* | sco5v6*)
10126       # Note: We can NOT use -z defs as we might desire, because we do not
10127       # link with -lc, and that would cause any symbols used from libc to
10128       # always be unresolved, which means just about no library would
10129       # ever link correctly.  If we're not using GNU ld we use -z text
10130       # though, which does catch some bad symbols but isn't as heavy-handed
10131       # as -z defs.
10132       no_undefined_flag='${wl}-z,text'
10133       allow_undefined_flag='${wl}-z,nodefs'
10134       archive_cmds_need_lc=no
10135       hardcode_shlibpath_var=no
10136       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10137       hardcode_libdir_separator=':'
10138       link_all_deplibs=yes
10139       export_dynamic_flag_spec='${wl}-Bexport'
10140       runpath_var='LD_RUN_PATH'
10141
10142       if test "$GCC" = yes; then
10143         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10144         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10145       else
10146         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10147         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10148       fi
10149       ;;
10150
10151     uts4*)
10152       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10153       hardcode_libdir_flag_spec='-L$libdir'
10154       hardcode_shlibpath_var=no
10155       ;;
10156
10157     *)
10158       ld_shlibs=no
10159       ;;
10160     esac
10161
10162     if test x$host_vendor = xsni; then
10163       case $host in
10164       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10165         export_dynamic_flag_spec='${wl}-Blargedynsym'
10166         ;;
10167       esac
10168     fi
10169   fi
10170
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10172 $as_echo "$ld_shlibs" >&6; }
10173 test "$ld_shlibs" = no && can_build_shared=no
10174
10175 with_gnu_ld=$with_gnu_ld
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191 #
10192 # Do we need to explicitly link libc?
10193 #
10194 case "x$archive_cmds_need_lc" in
10195 x|xyes)
10196   # Assume -lc should be added
10197   archive_cmds_need_lc=yes
10198
10199   if test "$enable_shared" = yes && test "$GCC" = yes; then
10200     case $archive_cmds in
10201     *'~'*)
10202       # FIXME: we may have to deal with multi-command sequences.
10203       ;;
10204     '$CC '*)
10205       # Test whether the compiler implicitly links with -lc since on some
10206       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10207       # to ld, don't add -lc before -lgcc.
10208       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10209 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10210 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10211   $as_echo_n "(cached) " >&6
10212 else
10213   $RM conftest*
10214         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10215
10216         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10217   (eval $ac_compile) 2>&5
10218   ac_status=$?
10219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10220   test $ac_status = 0; } 2>conftest.err; then
10221           soname=conftest
10222           lib=conftest
10223           libobjs=conftest.$ac_objext
10224           deplibs=
10225           wl=$lt_prog_compiler_wl
10226           pic_flag=$lt_prog_compiler_pic
10227           compiler_flags=-v
10228           linker_flags=-v
10229           verstring=
10230           output_objdir=.
10231           libname=conftest
10232           lt_save_allow_undefined_flag=$allow_undefined_flag
10233           allow_undefined_flag=
10234           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10235   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10236   ac_status=$?
10237   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10238   test $ac_status = 0; }
10239           then
10240             lt_cv_archive_cmds_need_lc=no
10241           else
10242             lt_cv_archive_cmds_need_lc=yes
10243           fi
10244           allow_undefined_flag=$lt_save_allow_undefined_flag
10245         else
10246           cat conftest.err 1>&5
10247         fi
10248         $RM conftest*
10249
10250 fi
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10252 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10253       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10254       ;;
10255     esac
10256   fi
10257   ;;
10258 esac
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10412 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10413
10414 if test "$GCC" = yes; then
10415   case $host_os in
10416     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10417     *) lt_awk_arg="/^libraries:/" ;;
10418   esac
10419   case $host_os in
10420     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10421     *) lt_sed_strip_eq="s,=/,/,g" ;;
10422   esac
10423   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10424   case $lt_search_path_spec in
10425   *\;*)
10426     # if the path contains ";" then we assume it to be the separator
10427     # otherwise default to the standard path separator (i.e. ":") - it is
10428     # assumed that no part of a normal pathname contains ";" but that should
10429     # okay in the real world where ";" in dirpaths is itself problematic.
10430     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10431     ;;
10432   *)
10433     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10434     ;;
10435   esac
10436   # Ok, now we have the path, separated by spaces, we can step through it
10437   # and add multilib dir if necessary.
10438   lt_tmp_lt_search_path_spec=
10439   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10440   for lt_sys_path in $lt_search_path_spec; do
10441     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10442       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10443     else
10444       test -d "$lt_sys_path" && \
10445         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10446     fi
10447   done
10448   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10449 BEGIN {RS=" "; FS="/|\n";} {
10450   lt_foo="";
10451   lt_count=0;
10452   for (lt_i = NF; lt_i > 0; lt_i--) {
10453     if ($lt_i != "" && $lt_i != ".") {
10454       if ($lt_i == "..") {
10455         lt_count++;
10456       } else {
10457         if (lt_count == 0) {
10458           lt_foo="/" $lt_i lt_foo;
10459         } else {
10460           lt_count--;
10461         }
10462       }
10463     }
10464   }
10465   if (lt_foo != "") { lt_freq[lt_foo]++; }
10466   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10467 }'`
10468   # AWK program above erroneously prepends '/' to C:/dos/paths
10469   # for these hosts.
10470   case $host_os in
10471     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10472       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10473   esac
10474   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10475 else
10476   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10477 fi
10478 library_names_spec=
10479 libname_spec='lib$name'
10480 soname_spec=
10481 shrext_cmds=".so"
10482 postinstall_cmds=
10483 postuninstall_cmds=
10484 finish_cmds=
10485 finish_eval=
10486 shlibpath_var=
10487 shlibpath_overrides_runpath=unknown
10488 version_type=none
10489 dynamic_linker="$host_os ld.so"
10490 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10491 need_lib_prefix=unknown
10492 hardcode_into_libs=no
10493
10494 # when you set need_version to no, make sure it does not cause -set_version
10495 # flags to be left without arguments
10496 need_version=unknown
10497
10498 case $host_os in
10499 aix3*)
10500   version_type=linux # correct to gnu/linux during the next big refactor
10501   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10502   shlibpath_var=LIBPATH
10503
10504   # AIX 3 has no versioning support, so we append a major version to the name.
10505   soname_spec='${libname}${release}${shared_ext}$major'
10506   ;;
10507
10508 aix[4-9]*)
10509   version_type=linux # correct to gnu/linux during the next big refactor
10510   need_lib_prefix=no
10511   need_version=no
10512   hardcode_into_libs=yes
10513   if test "$host_cpu" = ia64; then
10514     # AIX 5 supports IA64
10515     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10516     shlibpath_var=LD_LIBRARY_PATH
10517   else
10518     # With GCC up to 2.95.x, collect2 would create an import file
10519     # for dependence libraries.  The import file would start with
10520     # the line `#! .'.  This would cause the generated library to
10521     # depend on `.', always an invalid library.  This was fixed in
10522     # development snapshots of GCC prior to 3.0.
10523     case $host_os in
10524       aix4 | aix4.[01] | aix4.[01].*)
10525       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10526            echo ' yes '
10527            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10528         :
10529       else
10530         can_build_shared=no
10531       fi
10532       ;;
10533     esac
10534     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10535     # soname into executable. Probably we can add versioning support to
10536     # collect2, so additional links can be useful in future.
10537     if test "$aix_use_runtimelinking" = yes; then
10538       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10539       # instead of lib<name>.a to let people know that these are not
10540       # typical AIX shared libraries.
10541       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10542     else
10543       # We preserve .a as extension for shared libraries through AIX4.2
10544       # and later when we are not doing run time linking.
10545       library_names_spec='${libname}${release}.a $libname.a'
10546       soname_spec='${libname}${release}${shared_ext}$major'
10547     fi
10548     shlibpath_var=LIBPATH
10549   fi
10550   ;;
10551
10552 amigaos*)
10553   case $host_cpu in
10554   powerpc)
10555     # Since July 2007 AmigaOS4 officially supports .so libraries.
10556     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10557     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10558     ;;
10559   m68k)
10560     library_names_spec='$libname.ixlibrary $libname.a'
10561     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10562     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10563     ;;
10564   esac
10565   ;;
10566
10567 beos*)
10568   library_names_spec='${libname}${shared_ext}'
10569   dynamic_linker="$host_os ld.so"
10570   shlibpath_var=LIBRARY_PATH
10571   ;;
10572
10573 bsdi[45]*)
10574   version_type=linux # correct to gnu/linux during the next big refactor
10575   need_version=no
10576   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10577   soname_spec='${libname}${release}${shared_ext}$major'
10578   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10579   shlibpath_var=LD_LIBRARY_PATH
10580   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10581   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10582   # the default ld.so.conf also contains /usr/contrib/lib and
10583   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10584   # libtool to hard-code these into programs
10585   ;;
10586
10587 cygwin* | mingw* | pw32* | cegcc*)
10588   version_type=windows
10589   shrext_cmds=".dll"
10590   need_version=no
10591   need_lib_prefix=no
10592
10593   case $GCC,$cc_basename in
10594   yes,*)
10595     # gcc
10596     library_names_spec='$libname.dll.a'
10597     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10598     postinstall_cmds='base_file=`basename \${file}`~
10599       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10600       dldir=$destdir/`dirname \$dlpath`~
10601       test -d \$dldir || mkdir -p \$dldir~
10602       $install_prog $dir/$dlname \$dldir/$dlname~
10603       chmod a+x \$dldir/$dlname~
10604       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10605         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10606       fi'
10607     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10608       dlpath=$dir/\$dldll~
10609        $RM \$dlpath'
10610     shlibpath_overrides_runpath=yes
10611
10612     case $host_os in
10613     cygwin*)
10614       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10615       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616
10617       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10618       ;;
10619     mingw* | cegcc*)
10620       # MinGW DLLs use traditional 'lib' prefix
10621       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10622       ;;
10623     pw32*)
10624       # pw32 DLLs use 'pw' prefix rather than 'lib'
10625       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10626       ;;
10627     esac
10628     dynamic_linker='Win32 ld.exe'
10629     ;;
10630
10631   *,cl*)
10632     # Native MSVC
10633     libname_spec='$name'
10634     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10635     library_names_spec='${libname}.dll.lib'
10636
10637     case $build_os in
10638     mingw*)
10639       sys_lib_search_path_spec=
10640       lt_save_ifs=$IFS
10641       IFS=';'
10642       for lt_path in $LIB
10643       do
10644         IFS=$lt_save_ifs
10645         # Let DOS variable expansion print the short 8.3 style file name.
10646         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10647         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10648       done
10649       IFS=$lt_save_ifs
10650       # Convert to MSYS style.
10651       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10652       ;;
10653     cygwin*)
10654       # Convert to unix form, then to dos form, then back to unix form
10655       # but this time dos style (no spaces!) so that the unix form looks
10656       # like /cygdrive/c/PROGRA~1:/cygdr...
10657       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10658       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10659       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10660       ;;
10661     *)
10662       sys_lib_search_path_spec="$LIB"
10663       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10664         # It is most probably a Windows format PATH.
10665         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10666       else
10667         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10668       fi
10669       # FIXME: find the short name or the path components, as spaces are
10670       # common. (e.g. "Program Files" -> "PROGRA~1")
10671       ;;
10672     esac
10673
10674     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10675     postinstall_cmds='base_file=`basename \${file}`~
10676       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10677       dldir=$destdir/`dirname \$dlpath`~
10678       test -d \$dldir || mkdir -p \$dldir~
10679       $install_prog $dir/$dlname \$dldir/$dlname'
10680     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10681       dlpath=$dir/\$dldll~
10682        $RM \$dlpath'
10683     shlibpath_overrides_runpath=yes
10684     dynamic_linker='Win32 link.exe'
10685     ;;
10686
10687   *)
10688     # Assume MSVC wrapper
10689     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10690     dynamic_linker='Win32 ld.exe'
10691     ;;
10692   esac
10693   # FIXME: first we should search . and the directory the executable is in
10694   shlibpath_var=PATH
10695   ;;
10696
10697 darwin* | rhapsody*)
10698   dynamic_linker="$host_os dyld"
10699   version_type=darwin
10700   need_lib_prefix=no
10701   need_version=no
10702   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10703   soname_spec='${libname}${release}${major}$shared_ext'
10704   shlibpath_overrides_runpath=yes
10705   shlibpath_var=DYLD_LIBRARY_PATH
10706   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10707
10708   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10709   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10710   ;;
10711
10712 dgux*)
10713   version_type=linux # correct to gnu/linux during the next big refactor
10714   need_lib_prefix=no
10715   need_version=no
10716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10717   soname_spec='${libname}${release}${shared_ext}$major'
10718   shlibpath_var=LD_LIBRARY_PATH
10719   ;;
10720
10721 freebsd* | dragonfly*)
10722   # DragonFly does not have aout.  When/if they implement a new
10723   # versioning mechanism, adjust this.
10724   if test -x /usr/bin/objformat; then
10725     objformat=`/usr/bin/objformat`
10726   else
10727     case $host_os in
10728     freebsd[23].*) objformat=aout ;;
10729     *) objformat=elf ;;
10730     esac
10731   fi
10732   version_type=freebsd-$objformat
10733   case $version_type in
10734     freebsd-elf*)
10735       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10736       need_version=no
10737       need_lib_prefix=no
10738       ;;
10739     freebsd-*)
10740       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10741       need_version=yes
10742       ;;
10743   esac
10744   shlibpath_var=LD_LIBRARY_PATH
10745   case $host_os in
10746   freebsd2.*)
10747     shlibpath_overrides_runpath=yes
10748     ;;
10749   freebsd3.[01]* | freebsdelf3.[01]*)
10750     shlibpath_overrides_runpath=yes
10751     hardcode_into_libs=yes
10752     ;;
10753   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10754   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10755     shlibpath_overrides_runpath=no
10756     hardcode_into_libs=yes
10757     ;;
10758   *) # from 4.6 on, and DragonFly
10759     shlibpath_overrides_runpath=yes
10760     hardcode_into_libs=yes
10761     ;;
10762   esac
10763   ;;
10764
10765 gnu*)
10766   version_type=linux # correct to gnu/linux during the next big refactor
10767   need_lib_prefix=no
10768   need_version=no
10769   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10770   soname_spec='${libname}${release}${shared_ext}$major'
10771   shlibpath_var=LD_LIBRARY_PATH
10772   shlibpath_overrides_runpath=no
10773   hardcode_into_libs=yes
10774   ;;
10775
10776 haiku*)
10777   version_type=linux # correct to gnu/linux during the next big refactor
10778   need_lib_prefix=no
10779   need_version=no
10780   dynamic_linker="$host_os runtime_loader"
10781   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782   soname_spec='${libname}${release}${shared_ext}$major'
10783   shlibpath_var=LIBRARY_PATH
10784   shlibpath_overrides_runpath=yes
10785   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10786   hardcode_into_libs=yes
10787   ;;
10788
10789 hpux9* | hpux10* | hpux11*)
10790   # Give a soname corresponding to the major version so that dld.sl refuses to
10791   # link against other versions.
10792   version_type=sunos
10793   need_lib_prefix=no
10794   need_version=no
10795   case $host_cpu in
10796   ia64*)
10797     shrext_cmds='.so'
10798     hardcode_into_libs=yes
10799     dynamic_linker="$host_os dld.so"
10800     shlibpath_var=LD_LIBRARY_PATH
10801     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10802     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10803     soname_spec='${libname}${release}${shared_ext}$major'
10804     if test "X$HPUX_IA64_MODE" = X32; then
10805       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10806     else
10807       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10808     fi
10809     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10810     ;;
10811   hppa*64*)
10812     shrext_cmds='.sl'
10813     hardcode_into_libs=yes
10814     dynamic_linker="$host_os dld.sl"
10815     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10816     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10817     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818     soname_spec='${libname}${release}${shared_ext}$major'
10819     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10820     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10821     ;;
10822   *)
10823     shrext_cmds='.sl'
10824     dynamic_linker="$host_os dld.sl"
10825     shlibpath_var=SHLIB_PATH
10826     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10827     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828     soname_spec='${libname}${release}${shared_ext}$major'
10829     ;;
10830   esac
10831   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10832   postinstall_cmds='chmod 555 $lib'
10833   # or fails outright, so override atomically:
10834   install_override_mode=555
10835   ;;
10836
10837 interix[3-9]*)
10838   version_type=linux # correct to gnu/linux during the next big refactor
10839   need_lib_prefix=no
10840   need_version=no
10841   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10842   soname_spec='${libname}${release}${shared_ext}$major'
10843   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10844   shlibpath_var=LD_LIBRARY_PATH
10845   shlibpath_overrides_runpath=no
10846   hardcode_into_libs=yes
10847   ;;
10848
10849 irix5* | irix6* | nonstopux*)
10850   case $host_os in
10851     nonstopux*) version_type=nonstopux ;;
10852     *)
10853         if test "$lt_cv_prog_gnu_ld" = yes; then
10854                 version_type=linux # correct to gnu/linux during the next big refactor
10855         else
10856                 version_type=irix
10857         fi ;;
10858   esac
10859   need_lib_prefix=no
10860   need_version=no
10861   soname_spec='${libname}${release}${shared_ext}$major'
10862   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10863   case $host_os in
10864   irix5* | nonstopux*)
10865     libsuff= shlibsuff=
10866     ;;
10867   *)
10868     case $LD in # libtool.m4 will add one of these switches to LD
10869     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10870       libsuff= shlibsuff= libmagic=32-bit;;
10871     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10872       libsuff=32 shlibsuff=N32 libmagic=N32;;
10873     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10874       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10875     *) libsuff= shlibsuff= libmagic=never-match;;
10876     esac
10877     ;;
10878   esac
10879   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10880   shlibpath_overrides_runpath=no
10881   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10882   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10883   hardcode_into_libs=yes
10884   ;;
10885
10886 # No shared lib support for Linux oldld, aout, or coff.
10887 linux*oldld* | linux*aout* | linux*coff*)
10888   dynamic_linker=no
10889   ;;
10890
10891 # This must be glibc/ELF.
10892 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10893   version_type=linux # correct to gnu/linux during the next big refactor
10894   need_lib_prefix=no
10895   need_version=no
10896   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897   soname_spec='${libname}${release}${shared_ext}$major'
10898   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10899   shlibpath_var=LD_LIBRARY_PATH
10900   shlibpath_overrides_runpath=no
10901
10902   # Some binutils ld are patched to set DT_RUNPATH
10903   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10904   $as_echo_n "(cached) " >&6
10905 else
10906   lt_cv_shlibpath_overrides_runpath=no
10907     save_LDFLAGS=$LDFLAGS
10908     save_libdir=$libdir
10909     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10910          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10911     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h.  */
10913
10914 int
10915 main ()
10916 {
10917
10918   ;
10919   return 0;
10920 }
10921 _ACEOF
10922 if ac_fn_c_try_link "$LINENO"; then :
10923   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10924   lt_cv_shlibpath_overrides_runpath=yes
10925 fi
10926 fi
10927 rm -f core conftest.err conftest.$ac_objext \
10928     conftest$ac_exeext conftest.$ac_ext
10929     LDFLAGS=$save_LDFLAGS
10930     libdir=$save_libdir
10931
10932 fi
10933
10934   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10935
10936   # This implies no fast_install, which is unacceptable.
10937   # Some rework will be needed to allow for fast_install
10938   # before this can be enabled.
10939   hardcode_into_libs=yes
10940
10941   # Append ld.so.conf contents to the search path
10942   if test -f /etc/ld.so.conf; then
10943     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10944     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10945   fi
10946
10947   # We used to test for /lib/ld.so.1 and disable shared libraries on
10948   # powerpc, because MkLinux only supported shared libraries with the
10949   # GNU dynamic linker.  Since this was broken with cross compilers,
10950   # most powerpc-linux boxes support dynamic linking these days and
10951   # people can always --disable-shared, the test was removed, and we
10952   # assume the GNU/Linux dynamic linker is in use.
10953   dynamic_linker='GNU/Linux ld.so'
10954   ;;
10955
10956 netbsdelf*-gnu)
10957   version_type=linux
10958   need_lib_prefix=no
10959   need_version=no
10960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10961   soname_spec='${libname}${release}${shared_ext}$major'
10962   shlibpath_var=LD_LIBRARY_PATH
10963   shlibpath_overrides_runpath=no
10964   hardcode_into_libs=yes
10965   dynamic_linker='NetBSD ld.elf_so'
10966   ;;
10967
10968 netbsd*)
10969   version_type=sunos
10970   need_lib_prefix=no
10971   need_version=no
10972   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10973     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10974     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10975     dynamic_linker='NetBSD (a.out) ld.so'
10976   else
10977     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10978     soname_spec='${libname}${release}${shared_ext}$major'
10979     dynamic_linker='NetBSD ld.elf_so'
10980   fi
10981   shlibpath_var=LD_LIBRARY_PATH
10982   shlibpath_overrides_runpath=yes
10983   hardcode_into_libs=yes
10984   ;;
10985
10986 newsos6)
10987   version_type=linux # correct to gnu/linux during the next big refactor
10988   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989   shlibpath_var=LD_LIBRARY_PATH
10990   shlibpath_overrides_runpath=yes
10991   ;;
10992
10993 *nto* | *qnx*)
10994   version_type=qnx
10995   need_lib_prefix=no
10996   need_version=no
10997   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10998   soname_spec='${libname}${release}${shared_ext}$major'
10999   shlibpath_var=LD_LIBRARY_PATH
11000   shlibpath_overrides_runpath=no
11001   hardcode_into_libs=yes
11002   dynamic_linker='ldqnx.so'
11003   ;;
11004
11005 openbsd*)
11006   version_type=sunos
11007   sys_lib_dlsearch_path_spec="/usr/lib"
11008   need_lib_prefix=no
11009   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11010   case $host_os in
11011     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11012     *)                          need_version=no  ;;
11013   esac
11014   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11015   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11016   shlibpath_var=LD_LIBRARY_PATH
11017   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11018     case $host_os in
11019       openbsd2.[89] | openbsd2.[89].*)
11020         shlibpath_overrides_runpath=no
11021         ;;
11022       *)
11023         shlibpath_overrides_runpath=yes
11024         ;;
11025       esac
11026   else
11027     shlibpath_overrides_runpath=yes
11028   fi
11029   ;;
11030
11031 os2*)
11032   libname_spec='$name'
11033   shrext_cmds=".dll"
11034   need_lib_prefix=no
11035   library_names_spec='$libname${shared_ext} $libname.a'
11036   dynamic_linker='OS/2 ld.exe'
11037   shlibpath_var=LIBPATH
11038   ;;
11039
11040 osf3* | osf4* | osf5*)
11041   version_type=osf
11042   need_lib_prefix=no
11043   need_version=no
11044   soname_spec='${libname}${release}${shared_ext}$major'
11045   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11046   shlibpath_var=LD_LIBRARY_PATH
11047   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11048   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11049   ;;
11050
11051 rdos*)
11052   dynamic_linker=no
11053   ;;
11054
11055 solaris*)
11056   version_type=linux # correct to gnu/linux during the next big refactor
11057   need_lib_prefix=no
11058   need_version=no
11059   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11060   soname_spec='${libname}${release}${shared_ext}$major'
11061   shlibpath_var=LD_LIBRARY_PATH
11062   shlibpath_overrides_runpath=yes
11063   hardcode_into_libs=yes
11064   # ldd complains unless libraries are executable
11065   postinstall_cmds='chmod +x $lib'
11066   ;;
11067
11068 sunos4*)
11069   version_type=sunos
11070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11071   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11072   shlibpath_var=LD_LIBRARY_PATH
11073   shlibpath_overrides_runpath=yes
11074   if test "$with_gnu_ld" = yes; then
11075     need_lib_prefix=no
11076   fi
11077   need_version=yes
11078   ;;
11079
11080 sysv4 | sysv4.3*)
11081   version_type=linux # correct to gnu/linux during the next big refactor
11082   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083   soname_spec='${libname}${release}${shared_ext}$major'
11084   shlibpath_var=LD_LIBRARY_PATH
11085   case $host_vendor in
11086     sni)
11087       shlibpath_overrides_runpath=no
11088       need_lib_prefix=no
11089       runpath_var=LD_RUN_PATH
11090       ;;
11091     siemens)
11092       need_lib_prefix=no
11093       ;;
11094     motorola)
11095       need_lib_prefix=no
11096       need_version=no
11097       shlibpath_overrides_runpath=no
11098       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11099       ;;
11100   esac
11101   ;;
11102
11103 sysv4*MP*)
11104   if test -d /usr/nec ;then
11105     version_type=linux # correct to gnu/linux during the next big refactor
11106     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11107     soname_spec='$libname${shared_ext}.$major'
11108     shlibpath_var=LD_LIBRARY_PATH
11109   fi
11110   ;;
11111
11112 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11113   version_type=freebsd-elf
11114   need_lib_prefix=no
11115   need_version=no
11116   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11117   soname_spec='${libname}${release}${shared_ext}$major'
11118   shlibpath_var=LD_LIBRARY_PATH
11119   shlibpath_overrides_runpath=yes
11120   hardcode_into_libs=yes
11121   if test "$with_gnu_ld" = yes; then
11122     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11123   else
11124     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11125     case $host_os in
11126       sco3.2v5*)
11127         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11128         ;;
11129     esac
11130   fi
11131   sys_lib_dlsearch_path_spec='/usr/lib'
11132   ;;
11133
11134 tpf*)
11135   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11136   version_type=linux # correct to gnu/linux during the next big refactor
11137   need_lib_prefix=no
11138   need_version=no
11139   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140   shlibpath_var=LD_LIBRARY_PATH
11141   shlibpath_overrides_runpath=no
11142   hardcode_into_libs=yes
11143   ;;
11144
11145 uts4*)
11146   version_type=linux # correct to gnu/linux during the next big refactor
11147   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11148   soname_spec='${libname}${release}${shared_ext}$major'
11149   shlibpath_var=LD_LIBRARY_PATH
11150   ;;
11151
11152 *)
11153   dynamic_linker=no
11154   ;;
11155 esac
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11157 $as_echo "$dynamic_linker" >&6; }
11158 test "$dynamic_linker" = no && can_build_shared=no
11159
11160 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11161 if test "$GCC" = yes; then
11162   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11163 fi
11164
11165 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11166   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11167 fi
11168 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11169   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11170 fi
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11264 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11265 hardcode_action=
11266 if test -n "$hardcode_libdir_flag_spec" ||
11267    test -n "$runpath_var" ||
11268    test "X$hardcode_automatic" = "Xyes" ; then
11269
11270   # We can hardcode non-existent directories.
11271   if test "$hardcode_direct" != no &&
11272      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11273      # have to relink, otherwise we might link with an installed library
11274      # when we should be linking with a yet-to-be-installed one
11275      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11276      test "$hardcode_minus_L" != no; then
11277     # Linking always hardcodes the temporary library directory.
11278     hardcode_action=relink
11279   else
11280     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11281     hardcode_action=immediate
11282   fi
11283 else
11284   # We cannot hardcode anything, or else we can only hardcode existing
11285   # directories.
11286   hardcode_action=unsupported
11287 fi
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11289 $as_echo "$hardcode_action" >&6; }
11290
11291 if test "$hardcode_action" = relink ||
11292    test "$inherit_rpath" = yes; then
11293   # Fast installation is not supported
11294   enable_fast_install=no
11295 elif test "$shlibpath_overrides_runpath" = yes ||
11296      test "$enable_shared" = no; then
11297   # Fast installation is not necessary
11298   enable_fast_install=needless
11299 fi
11300
11301
11302
11303
11304
11305
11306   if test "x$enable_dlopen" != xyes; then
11307   enable_dlopen=unknown
11308   enable_dlopen_self=unknown
11309   enable_dlopen_self_static=unknown
11310 else
11311   lt_cv_dlopen=no
11312   lt_cv_dlopen_libs=
11313
11314   case $host_os in
11315   beos*)
11316     lt_cv_dlopen="load_add_on"
11317     lt_cv_dlopen_libs=
11318     lt_cv_dlopen_self=yes
11319     ;;
11320
11321   mingw* | pw32* | cegcc*)
11322     lt_cv_dlopen="LoadLibrary"
11323     lt_cv_dlopen_libs=
11324     ;;
11325
11326   cygwin*)
11327     lt_cv_dlopen="dlopen"
11328     lt_cv_dlopen_libs=
11329     ;;
11330
11331   darwin*)
11332   # if libdl is installed we need to link against it
11333     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11334 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11335 if ${ac_cv_lib_dl_dlopen+:} false; then :
11336   $as_echo_n "(cached) " >&6
11337 else
11338   ac_check_lib_save_LIBS=$LIBS
11339 LIBS="-ldl  $LIBS"
11340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h.  */
11342
11343 /* Override any GCC internal prototype to avoid an error.
11344    Use char because int might match the return type of a GCC
11345    builtin and then its argument prototype would still apply.  */
11346 #ifdef __cplusplus
11347 extern "C"
11348 #endif
11349 char dlopen ();
11350 int
11351 main ()
11352 {
11353 return dlopen ();
11354   ;
11355   return 0;
11356 }
11357 _ACEOF
11358 if ac_fn_c_try_link "$LINENO"; then :
11359   ac_cv_lib_dl_dlopen=yes
11360 else
11361   ac_cv_lib_dl_dlopen=no
11362 fi
11363 rm -f core conftest.err conftest.$ac_objext \
11364     conftest$ac_exeext conftest.$ac_ext
11365 LIBS=$ac_check_lib_save_LIBS
11366 fi
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11368 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11369 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11370   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11371 else
11372
11373     lt_cv_dlopen="dyld"
11374     lt_cv_dlopen_libs=
11375     lt_cv_dlopen_self=yes
11376
11377 fi
11378
11379     ;;
11380
11381   *)
11382     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11383 if test "x$ac_cv_func_shl_load" = xyes; then :
11384   lt_cv_dlopen="shl_load"
11385 else
11386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11387 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11388 if ${ac_cv_lib_dld_shl_load+:} false; then :
11389   $as_echo_n "(cached) " >&6
11390 else
11391   ac_check_lib_save_LIBS=$LIBS
11392 LIBS="-ldld  $LIBS"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h.  */
11395
11396 /* Override any GCC internal prototype to avoid an error.
11397    Use char because int might match the return type of a GCC
11398    builtin and then its argument prototype would still apply.  */
11399 #ifdef __cplusplus
11400 extern "C"
11401 #endif
11402 char shl_load ();
11403 int
11404 main ()
11405 {
11406 return shl_load ();
11407   ;
11408   return 0;
11409 }
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"; then :
11412   ac_cv_lib_dld_shl_load=yes
11413 else
11414   ac_cv_lib_dld_shl_load=no
11415 fi
11416 rm -f core conftest.err conftest.$ac_objext \
11417     conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11419 fi
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11421 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11422 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11423   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11424 else
11425   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11426 if test "x$ac_cv_func_dlopen" = xyes; then :
11427   lt_cv_dlopen="dlopen"
11428 else
11429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11430 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11431 if ${ac_cv_lib_dl_dlopen+:} false; then :
11432   $as_echo_n "(cached) " >&6
11433 else
11434   ac_check_lib_save_LIBS=$LIBS
11435 LIBS="-ldl  $LIBS"
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h.  */
11438
11439 /* Override any GCC internal prototype to avoid an error.
11440    Use char because int might match the return type of a GCC
11441    builtin and then its argument prototype would still apply.  */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char dlopen ();
11446 int
11447 main ()
11448 {
11449 return dlopen ();
11450   ;
11451   return 0;
11452 }
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"; then :
11455   ac_cv_lib_dl_dlopen=yes
11456 else
11457   ac_cv_lib_dl_dlopen=no
11458 fi
11459 rm -f core conftest.err conftest.$ac_objext \
11460     conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11462 fi
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11464 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11465 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11466   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11467 else
11468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11469 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11470 if ${ac_cv_lib_svld_dlopen+:} false; then :
11471   $as_echo_n "(cached) " >&6
11472 else
11473   ac_check_lib_save_LIBS=$LIBS
11474 LIBS="-lsvld  $LIBS"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h.  */
11477
11478 /* Override any GCC internal prototype to avoid an error.
11479    Use char because int might match the return type of a GCC
11480    builtin and then its argument prototype would still apply.  */
11481 #ifdef __cplusplus
11482 extern "C"
11483 #endif
11484 char dlopen ();
11485 int
11486 main ()
11487 {
11488 return dlopen ();
11489   ;
11490   return 0;
11491 }
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"; then :
11494   ac_cv_lib_svld_dlopen=yes
11495 else
11496   ac_cv_lib_svld_dlopen=no
11497 fi
11498 rm -f core conftest.err conftest.$ac_objext \
11499     conftest$ac_exeext conftest.$ac_ext
11500 LIBS=$ac_check_lib_save_LIBS
11501 fi
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11503 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11504 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11505   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11506 else
11507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11508 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11509 if ${ac_cv_lib_dld_dld_link+:} false; then :
11510   $as_echo_n "(cached) " >&6
11511 else
11512   ac_check_lib_save_LIBS=$LIBS
11513 LIBS="-ldld  $LIBS"
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h.  */
11516
11517 /* Override any GCC internal prototype to avoid an error.
11518    Use char because int might match the return type of a GCC
11519    builtin and then its argument prototype would still apply.  */
11520 #ifdef __cplusplus
11521 extern "C"
11522 #endif
11523 char dld_link ();
11524 int
11525 main ()
11526 {
11527 return dld_link ();
11528   ;
11529   return 0;
11530 }
11531 _ACEOF
11532 if ac_fn_c_try_link "$LINENO"; then :
11533   ac_cv_lib_dld_dld_link=yes
11534 else
11535   ac_cv_lib_dld_dld_link=no
11536 fi
11537 rm -f core conftest.err conftest.$ac_objext \
11538     conftest$ac_exeext conftest.$ac_ext
11539 LIBS=$ac_check_lib_save_LIBS
11540 fi
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11542 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11543 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11544   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11545 fi
11546
11547
11548 fi
11549
11550
11551 fi
11552
11553
11554 fi
11555
11556
11557 fi
11558
11559
11560 fi
11561
11562     ;;
11563   esac
11564
11565   if test "x$lt_cv_dlopen" != xno; then
11566     enable_dlopen=yes
11567   else
11568     enable_dlopen=no
11569   fi
11570
11571   case $lt_cv_dlopen in
11572   dlopen)
11573     save_CPPFLAGS="$CPPFLAGS"
11574     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11575
11576     save_LDFLAGS="$LDFLAGS"
11577     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11578
11579     save_LIBS="$LIBS"
11580     LIBS="$lt_cv_dlopen_libs $LIBS"
11581
11582     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11583 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11584 if ${lt_cv_dlopen_self+:} false; then :
11585   $as_echo_n "(cached) " >&6
11586 else
11587           if test "$cross_compiling" = yes; then :
11588   lt_cv_dlopen_self=cross
11589 else
11590   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11591   lt_status=$lt_dlunknown
11592   cat > conftest.$ac_ext <<_LT_EOF
11593 #line $LINENO "configure"
11594 #include "confdefs.h"
11595
11596 #if HAVE_DLFCN_H
11597 #include <dlfcn.h>
11598 #endif
11599
11600 #include <stdio.h>
11601
11602 #ifdef RTLD_GLOBAL
11603 #  define LT_DLGLOBAL           RTLD_GLOBAL
11604 #else
11605 #  ifdef DL_GLOBAL
11606 #    define LT_DLGLOBAL         DL_GLOBAL
11607 #  else
11608 #    define LT_DLGLOBAL         0
11609 #  endif
11610 #endif
11611
11612 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11613    find out it does not work in some platform. */
11614 #ifndef LT_DLLAZY_OR_NOW
11615 #  ifdef RTLD_LAZY
11616 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11617 #  else
11618 #    ifdef DL_LAZY
11619 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11620 #    else
11621 #      ifdef RTLD_NOW
11622 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11623 #      else
11624 #        ifdef DL_NOW
11625 #          define LT_DLLAZY_OR_NOW      DL_NOW
11626 #        else
11627 #          define LT_DLLAZY_OR_NOW      0
11628 #        endif
11629 #      endif
11630 #    endif
11631 #  endif
11632 #endif
11633
11634 /* When -fvisbility=hidden is used, assume the code has been annotated
11635    correspondingly for the symbols needed.  */
11636 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11637 int fnord () __attribute__((visibility("default")));
11638 #endif
11639
11640 int fnord () { return 42; }
11641 int main ()
11642 {
11643   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11644   int status = $lt_dlunknown;
11645
11646   if (self)
11647     {
11648       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11649       else
11650         {
11651           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11652           else puts (dlerror ());
11653         }
11654       /* dlclose (self); */
11655     }
11656   else
11657     puts (dlerror ());
11658
11659   return status;
11660 }
11661 _LT_EOF
11662   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11663   (eval $ac_link) 2>&5
11664   ac_status=$?
11665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11666   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11667     (./conftest; exit; ) >&5 2>/dev/null
11668     lt_status=$?
11669     case x$lt_status in
11670       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11671       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11672       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11673     esac
11674   else :
11675     # compilation failed
11676     lt_cv_dlopen_self=no
11677   fi
11678 fi
11679 rm -fr conftest*
11680
11681
11682 fi
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11684 $as_echo "$lt_cv_dlopen_self" >&6; }
11685
11686     if test "x$lt_cv_dlopen_self" = xyes; then
11687       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11688       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11689 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11690 if ${lt_cv_dlopen_self_static+:} false; then :
11691   $as_echo_n "(cached) " >&6
11692 else
11693           if test "$cross_compiling" = yes; then :
11694   lt_cv_dlopen_self_static=cross
11695 else
11696   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11697   lt_status=$lt_dlunknown
11698   cat > conftest.$ac_ext <<_LT_EOF
11699 #line $LINENO "configure"
11700 #include "confdefs.h"
11701
11702 #if HAVE_DLFCN_H
11703 #include <dlfcn.h>
11704 #endif
11705
11706 #include <stdio.h>
11707
11708 #ifdef RTLD_GLOBAL
11709 #  define LT_DLGLOBAL           RTLD_GLOBAL
11710 #else
11711 #  ifdef DL_GLOBAL
11712 #    define LT_DLGLOBAL         DL_GLOBAL
11713 #  else
11714 #    define LT_DLGLOBAL         0
11715 #  endif
11716 #endif
11717
11718 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11719    find out it does not work in some platform. */
11720 #ifndef LT_DLLAZY_OR_NOW
11721 #  ifdef RTLD_LAZY
11722 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11723 #  else
11724 #    ifdef DL_LAZY
11725 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11726 #    else
11727 #      ifdef RTLD_NOW
11728 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11729 #      else
11730 #        ifdef DL_NOW
11731 #          define LT_DLLAZY_OR_NOW      DL_NOW
11732 #        else
11733 #          define LT_DLLAZY_OR_NOW      0
11734 #        endif
11735 #      endif
11736 #    endif
11737 #  endif
11738 #endif
11739
11740 /* When -fvisbility=hidden is used, assume the code has been annotated
11741    correspondingly for the symbols needed.  */
11742 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11743 int fnord () __attribute__((visibility("default")));
11744 #endif
11745
11746 int fnord () { return 42; }
11747 int main ()
11748 {
11749   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11750   int status = $lt_dlunknown;
11751
11752   if (self)
11753     {
11754       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11755       else
11756         {
11757           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11758           else puts (dlerror ());
11759         }
11760       /* dlclose (self); */
11761     }
11762   else
11763     puts (dlerror ());
11764
11765   return status;
11766 }
11767 _LT_EOF
11768   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11769   (eval $ac_link) 2>&5
11770   ac_status=$?
11771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11772   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11773     (./conftest; exit; ) >&5 2>/dev/null
11774     lt_status=$?
11775     case x$lt_status in
11776       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11777       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11778       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11779     esac
11780   else :
11781     # compilation failed
11782     lt_cv_dlopen_self_static=no
11783   fi
11784 fi
11785 rm -fr conftest*
11786
11787
11788 fi
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11790 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11791     fi
11792
11793     CPPFLAGS="$save_CPPFLAGS"
11794     LDFLAGS="$save_LDFLAGS"
11795     LIBS="$save_LIBS"
11796     ;;
11797   esac
11798
11799   case $lt_cv_dlopen_self in
11800   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11801   *) enable_dlopen_self=unknown ;;
11802   esac
11803
11804   case $lt_cv_dlopen_self_static in
11805   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11806   *) enable_dlopen_self_static=unknown ;;
11807   esac
11808 fi
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826 striplib=
11827 old_striplib=
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11829 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11830 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11831   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11832   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11834 $as_echo "yes" >&6; }
11835 else
11836 # FIXME - insert some real tests, host_os isn't really good enough
11837   case $host_os in
11838   darwin*)
11839     if test -n "$STRIP" ; then
11840       striplib="$STRIP -x"
11841       old_striplib="$STRIP -S"
11842       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11843 $as_echo "yes" >&6; }
11844     else
11845       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11846 $as_echo "no" >&6; }
11847     fi
11848     ;;
11849   *)
11850     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11851 $as_echo "no" >&6; }
11852     ;;
11853   esac
11854 fi
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867   # Report which library types will actually be built
11868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11869 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11871 $as_echo "$can_build_shared" >&6; }
11872
11873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11874 $as_echo_n "checking whether to build shared libraries... " >&6; }
11875   test "$can_build_shared" = "no" && enable_shared=no
11876
11877   # On AIX, shared libraries and static libraries use the same namespace, and
11878   # are all built from PIC.
11879   case $host_os in
11880   aix3*)
11881     test "$enable_shared" = yes && enable_static=no
11882     if test -n "$RANLIB"; then
11883       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11884       postinstall_cmds='$RANLIB $lib'
11885     fi
11886     ;;
11887
11888   aix[4-9]*)
11889     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11890       test "$enable_shared" = yes && enable_static=no
11891     fi
11892     ;;
11893   esac
11894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11895 $as_echo "$enable_shared" >&6; }
11896
11897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11898 $as_echo_n "checking whether to build static libraries... " >&6; }
11899   # Make sure either enable_shared or enable_static is yes.
11900   test "$enable_shared" = yes || enable_static=yes
11901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11902 $as_echo "$enable_static" >&6; }
11903
11904
11905
11906
11907 fi
11908 ac_ext=c
11909 ac_cpp='$CPP $CPPFLAGS'
11910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11913
11914 CC="$lt_save_CC"
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930         ac_config_commands="$ac_config_commands libtool"
11931
11932
11933
11934
11935 # Only expand once:
11936
11937
11938
11939 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11940 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11941
11942
11943
11944 cat >>confdefs.h <<_ACEOF
11945 #define VMAJ 1
11946 _ACEOF
11947
11948
11949 cat >>confdefs.h <<_ACEOF
11950 #define VMIN 7
11951 _ACEOF
11952
11953
11954 cat >>confdefs.h <<_ACEOF
11955 #define VMIC 2
11956 _ACEOF
11957
11958
11959 cat >>confdefs.h <<_ACEOF
11960 #define VREV 0
11961 _ACEOF
11962
11963 version_info="8:2:7"
11964 release_info=""
11965
11966
11967 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11968 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11969 VMAJ=1
11970
11971
11972
11973 ### Needed information
11974
11975
11976
11977
11978
11979 ### Default options with respect to host
11980
11981 want_inotify="no"
11982 want_notify_win32="no"
11983
11984 case "$host_os" in
11985    mingw*)
11986       want_notify_win32="yes"
11987       ;;
11988    *)
11989       want_inotify="yes"
11990       ;;
11991 esac
11992
11993
11994 ### Checks for programs
11995
11996 ac_ext=c
11997 ac_cpp='$CPP $CPPFLAGS'
11998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12001 if test -n "$ac_tool_prefix"; then
12002   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12003 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12005 $as_echo_n "checking for $ac_word... " >&6; }
12006 if ${ac_cv_prog_CC+:} false; then :
12007   $as_echo_n "(cached) " >&6
12008 else
12009   if test -n "$CC"; then
12010   ac_cv_prog_CC="$CC" # Let the user override the test.
12011 else
12012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12013 for as_dir in $PATH
12014 do
12015   IFS=$as_save_IFS
12016   test -z "$as_dir" && as_dir=.
12017     for ac_exec_ext in '' $ac_executable_extensions; do
12018   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12019     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12021     break 2
12022   fi
12023 done
12024   done
12025 IFS=$as_save_IFS
12026
12027 fi
12028 fi
12029 CC=$ac_cv_prog_CC
12030 if test -n "$CC"; then
12031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12032 $as_echo "$CC" >&6; }
12033 else
12034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12035 $as_echo "no" >&6; }
12036 fi
12037
12038
12039 fi
12040 if test -z "$ac_cv_prog_CC"; then
12041   ac_ct_CC=$CC
12042   # Extract the first word of "gcc", so it can be a program name with args.
12043 set dummy gcc; ac_word=$2
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12045 $as_echo_n "checking for $ac_word... " >&6; }
12046 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12047   $as_echo_n "(cached) " >&6
12048 else
12049   if test -n "$ac_ct_CC"; then
12050   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12051 else
12052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12053 for as_dir in $PATH
12054 do
12055   IFS=$as_save_IFS
12056   test -z "$as_dir" && as_dir=.
12057     for ac_exec_ext in '' $ac_executable_extensions; do
12058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12059     ac_cv_prog_ac_ct_CC="gcc"
12060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12061     break 2
12062   fi
12063 done
12064   done
12065 IFS=$as_save_IFS
12066
12067 fi
12068 fi
12069 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12070 if test -n "$ac_ct_CC"; then
12071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12072 $as_echo "$ac_ct_CC" >&6; }
12073 else
12074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12075 $as_echo "no" >&6; }
12076 fi
12077
12078   if test "x$ac_ct_CC" = x; then
12079     CC=""
12080   else
12081     case $cross_compiling:$ac_tool_warned in
12082 yes:)
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12085 ac_tool_warned=yes ;;
12086 esac
12087     CC=$ac_ct_CC
12088   fi
12089 else
12090   CC="$ac_cv_prog_CC"
12091 fi
12092
12093 if test -z "$CC"; then
12094           if test -n "$ac_tool_prefix"; then
12095     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12096 set dummy ${ac_tool_prefix}cc; ac_word=$2
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12098 $as_echo_n "checking for $ac_word... " >&6; }
12099 if ${ac_cv_prog_CC+:} false; then :
12100   $as_echo_n "(cached) " >&6
12101 else
12102   if test -n "$CC"; then
12103   ac_cv_prog_CC="$CC" # Let the user override the test.
12104 else
12105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12106 for as_dir in $PATH
12107 do
12108   IFS=$as_save_IFS
12109   test -z "$as_dir" && as_dir=.
12110     for ac_exec_ext in '' $ac_executable_extensions; do
12111   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12112     ac_cv_prog_CC="${ac_tool_prefix}cc"
12113     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12114     break 2
12115   fi
12116 done
12117   done
12118 IFS=$as_save_IFS
12119
12120 fi
12121 fi
12122 CC=$ac_cv_prog_CC
12123 if test -n "$CC"; then
12124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12125 $as_echo "$CC" >&6; }
12126 else
12127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12128 $as_echo "no" >&6; }
12129 fi
12130
12131
12132   fi
12133 fi
12134 if test -z "$CC"; then
12135   # Extract the first word of "cc", so it can be a program name with args.
12136 set dummy cc; ac_word=$2
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12138 $as_echo_n "checking for $ac_word... " >&6; }
12139 if ${ac_cv_prog_CC+:} false; then :
12140   $as_echo_n "(cached) " >&6
12141 else
12142   if test -n "$CC"; then
12143   ac_cv_prog_CC="$CC" # Let the user override the test.
12144 else
12145   ac_prog_rejected=no
12146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12147 for as_dir in $PATH
12148 do
12149   IFS=$as_save_IFS
12150   test -z "$as_dir" && as_dir=.
12151     for ac_exec_ext in '' $ac_executable_extensions; do
12152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12153     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12154        ac_prog_rejected=yes
12155        continue
12156      fi
12157     ac_cv_prog_CC="cc"
12158     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12159     break 2
12160   fi
12161 done
12162   done
12163 IFS=$as_save_IFS
12164
12165 if test $ac_prog_rejected = yes; then
12166   # We found a bogon in the path, so make sure we never use it.
12167   set dummy $ac_cv_prog_CC
12168   shift
12169   if test $# != 0; then
12170     # We chose a different compiler from the bogus one.
12171     # However, it has the same basename, so the bogon will be chosen
12172     # first if we set CC to just the basename; use the full file name.
12173     shift
12174     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12175   fi
12176 fi
12177 fi
12178 fi
12179 CC=$ac_cv_prog_CC
12180 if test -n "$CC"; then
12181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12182 $as_echo "$CC" >&6; }
12183 else
12184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12185 $as_echo "no" >&6; }
12186 fi
12187
12188
12189 fi
12190 if test -z "$CC"; then
12191   if test -n "$ac_tool_prefix"; then
12192   for ac_prog in cl.exe
12193   do
12194     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12195 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12197 $as_echo_n "checking for $ac_word... " >&6; }
12198 if ${ac_cv_prog_CC+:} false; then :
12199   $as_echo_n "(cached) " >&6
12200 else
12201   if test -n "$CC"; then
12202   ac_cv_prog_CC="$CC" # Let the user override the test.
12203 else
12204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12205 for as_dir in $PATH
12206 do
12207   IFS=$as_save_IFS
12208   test -z "$as_dir" && as_dir=.
12209     for ac_exec_ext in '' $ac_executable_extensions; do
12210   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12211     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12213     break 2
12214   fi
12215 done
12216   done
12217 IFS=$as_save_IFS
12218
12219 fi
12220 fi
12221 CC=$ac_cv_prog_CC
12222 if test -n "$CC"; then
12223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12224 $as_echo "$CC" >&6; }
12225 else
12226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12227 $as_echo "no" >&6; }
12228 fi
12229
12230
12231     test -n "$CC" && break
12232   done
12233 fi
12234 if test -z "$CC"; then
12235   ac_ct_CC=$CC
12236   for ac_prog in cl.exe
12237 do
12238   # Extract the first word of "$ac_prog", so it can be a program name with args.
12239 set dummy $ac_prog; ac_word=$2
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12241 $as_echo_n "checking for $ac_word... " >&6; }
12242 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12243   $as_echo_n "(cached) " >&6
12244 else
12245   if test -n "$ac_ct_CC"; then
12246   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12247 else
12248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12249 for as_dir in $PATH
12250 do
12251   IFS=$as_save_IFS
12252   test -z "$as_dir" && as_dir=.
12253     for ac_exec_ext in '' $ac_executable_extensions; do
12254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12255     ac_cv_prog_ac_ct_CC="$ac_prog"
12256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12257     break 2
12258   fi
12259 done
12260   done
12261 IFS=$as_save_IFS
12262
12263 fi
12264 fi
12265 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12266 if test -n "$ac_ct_CC"; then
12267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12268 $as_echo "$ac_ct_CC" >&6; }
12269 else
12270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12271 $as_echo "no" >&6; }
12272 fi
12273
12274
12275   test -n "$ac_ct_CC" && break
12276 done
12277
12278   if test "x$ac_ct_CC" = x; then
12279     CC=""
12280   else
12281     case $cross_compiling:$ac_tool_warned in
12282 yes:)
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12285 ac_tool_warned=yes ;;
12286 esac
12287     CC=$ac_ct_CC
12288   fi
12289 fi
12290
12291 fi
12292
12293
12294 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12296 as_fn_error $? "no acceptable C compiler found in \$PATH
12297 See \`config.log' for more details" "$LINENO" 5; }
12298
12299 # Provide some information about the compiler.
12300 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12301 set X $ac_compile
12302 ac_compiler=$2
12303 for ac_option in --version -v -V -qversion; do
12304   { { ac_try="$ac_compiler $ac_option >&5"
12305 case "(($ac_try" in
12306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12307   *) ac_try_echo=$ac_try;;
12308 esac
12309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12310 $as_echo "$ac_try_echo"; } >&5
12311   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12312   ac_status=$?
12313   if test -s conftest.err; then
12314     sed '10a\
12315 ... rest of stderr output deleted ...
12316          10q' conftest.err >conftest.er1
12317     cat conftest.er1 >&5
12318   fi
12319   rm -f conftest.er1 conftest.err
12320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12321   test $ac_status = 0; }
12322 done
12323
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12325 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12326 if ${ac_cv_c_compiler_gnu+:} false; then :
12327   $as_echo_n "(cached) " >&6
12328 else
12329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h.  */
12331
12332 int
12333 main ()
12334 {
12335 #ifndef __GNUC__
12336        choke me
12337 #endif
12338
12339   ;
12340   return 0;
12341 }
12342 _ACEOF
12343 if ac_fn_c_try_compile "$LINENO"; then :
12344   ac_compiler_gnu=yes
12345 else
12346   ac_compiler_gnu=no
12347 fi
12348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12349 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12350
12351 fi
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12353 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12354 if test $ac_compiler_gnu = yes; then
12355   GCC=yes
12356 else
12357   GCC=
12358 fi
12359 ac_test_CFLAGS=${CFLAGS+set}
12360 ac_save_CFLAGS=$CFLAGS
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12362 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12363 if ${ac_cv_prog_cc_g+:} false; then :
12364   $as_echo_n "(cached) " >&6
12365 else
12366   ac_save_c_werror_flag=$ac_c_werror_flag
12367    ac_c_werror_flag=yes
12368    ac_cv_prog_cc_g=no
12369    CFLAGS="-g"
12370    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h.  */
12372
12373 int
12374 main ()
12375 {
12376
12377   ;
12378   return 0;
12379 }
12380 _ACEOF
12381 if ac_fn_c_try_compile "$LINENO"; then :
12382   ac_cv_prog_cc_g=yes
12383 else
12384   CFLAGS=""
12385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h.  */
12387
12388 int
12389 main ()
12390 {
12391
12392   ;
12393   return 0;
12394 }
12395 _ACEOF
12396 if ac_fn_c_try_compile "$LINENO"; then :
12397
12398 else
12399   ac_c_werror_flag=$ac_save_c_werror_flag
12400          CFLAGS="-g"
12401          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h.  */
12403
12404 int
12405 main ()
12406 {
12407
12408   ;
12409   return 0;
12410 }
12411 _ACEOF
12412 if ac_fn_c_try_compile "$LINENO"; then :
12413   ac_cv_prog_cc_g=yes
12414 fi
12415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12416 fi
12417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12418 fi
12419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12420    ac_c_werror_flag=$ac_save_c_werror_flag
12421 fi
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12423 $as_echo "$ac_cv_prog_cc_g" >&6; }
12424 if test "$ac_test_CFLAGS" = set; then
12425   CFLAGS=$ac_save_CFLAGS
12426 elif test $ac_cv_prog_cc_g = yes; then
12427   if test "$GCC" = yes; then
12428     CFLAGS="-g -O2"
12429   else
12430     CFLAGS="-g"
12431   fi
12432 else
12433   if test "$GCC" = yes; then
12434     CFLAGS="-O2"
12435   else
12436     CFLAGS=
12437   fi
12438 fi
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12440 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12441 if ${ac_cv_prog_cc_c89+:} false; then :
12442   $as_echo_n "(cached) " >&6
12443 else
12444   ac_cv_prog_cc_c89=no
12445 ac_save_CC=$CC
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h.  */
12448 #include <stdarg.h>
12449 #include <stdio.h>
12450 #include <sys/types.h>
12451 #include <sys/stat.h>
12452 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12453 struct buf { int x; };
12454 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12455 static char *e (p, i)
12456      char **p;
12457      int i;
12458 {
12459   return p[i];
12460 }
12461 static char *f (char * (*g) (char **, int), char **p, ...)
12462 {
12463   char *s;
12464   va_list v;
12465   va_start (v,p);
12466   s = g (p, va_arg (v,int));
12467   va_end (v);
12468   return s;
12469 }
12470
12471 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12472    function prototypes and stuff, but not '\xHH' hex character constants.
12473    These don't provoke an error unfortunately, instead are silently treated
12474    as 'x'.  The following induces an error, until -std is added to get
12475    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12476    array size at least.  It's necessary to write '\x00'==0 to get something
12477    that's true only with -std.  */
12478 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12479
12480 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12481    inside strings and character constants.  */
12482 #define FOO(x) 'x'
12483 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12484
12485 int test (int i, double x);
12486 struct s1 {int (*f) (int a);};
12487 struct s2 {int (*f) (double a);};
12488 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12489 int argc;
12490 char **argv;
12491 int
12492 main ()
12493 {
12494 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12495   ;
12496   return 0;
12497 }
12498 _ACEOF
12499 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12500         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12501 do
12502   CC="$ac_save_CC $ac_arg"
12503   if ac_fn_c_try_compile "$LINENO"; then :
12504   ac_cv_prog_cc_c89=$ac_arg
12505 fi
12506 rm -f core conftest.err conftest.$ac_objext
12507   test "x$ac_cv_prog_cc_c89" != "xno" && break
12508 done
12509 rm -f conftest.$ac_ext
12510 CC=$ac_save_CC
12511
12512 fi
12513 # AC_CACHE_VAL
12514 case "x$ac_cv_prog_cc_c89" in
12515   x)
12516     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12517 $as_echo "none needed" >&6; } ;;
12518   xno)
12519     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12520 $as_echo "unsupported" >&6; } ;;
12521   *)
12522     CC="$CC $ac_cv_prog_cc_c89"
12523     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12524 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12525 esac
12526 if test "x$ac_cv_prog_cc_c89" != xno; then :
12527
12528 fi
12529
12530 ac_ext=c
12531 ac_cpp='$CPP $CPPFLAGS'
12532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12535
12536 depcc="$CC"   am_compiler_list=
12537
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12539 $as_echo_n "checking dependency style of $depcc... " >&6; }
12540 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12541   $as_echo_n "(cached) " >&6
12542 else
12543   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12544   # We make a subdir and do the tests there.  Otherwise we can end up
12545   # making bogus files that we don't know about and never remove.  For
12546   # instance it was reported that on HP-UX the gcc test will end up
12547   # making a dummy file named `D' -- because `-MD' means `put the output
12548   # in D'.
12549   rm -rf conftest.dir
12550   mkdir conftest.dir
12551   # Copy depcomp to subdir because otherwise we won't find it if we're
12552   # using a relative directory.
12553   cp "$am_depcomp" conftest.dir
12554   cd conftest.dir
12555   # We will build objects and dependencies in a subdirectory because
12556   # it helps to detect inapplicable dependency modes.  For instance
12557   # both Tru64's cc and ICC support -MD to output dependencies as a
12558   # side effect of compilation, but ICC will put the dependencies in
12559   # the current directory while Tru64 will put them in the object
12560   # directory.
12561   mkdir sub
12562
12563   am_cv_CC_dependencies_compiler_type=none
12564   if test "$am_compiler_list" = ""; then
12565      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12566   fi
12567   am__universal=false
12568   case " $depcc " in #(
12569      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12570      esac
12571
12572   for depmode in $am_compiler_list; do
12573     # Setup a source with many dependencies, because some compilers
12574     # like to wrap large dependency lists on column 80 (with \), and
12575     # we should not choose a depcomp mode which is confused by this.
12576     #
12577     # We need to recreate these files for each test, as the compiler may
12578     # overwrite some of them when testing with obscure command lines.
12579     # This happens at least with the AIX C compiler.
12580     : > sub/conftest.c
12581     for i in 1 2 3 4 5 6; do
12582       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12583       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12584       # Solaris 8's {/usr,}/bin/sh.
12585       touch sub/conftst$i.h
12586     done
12587     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12588
12589     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12590     # mode.  It turns out that the SunPro C++ compiler does not properly
12591     # handle `-M -o', and we need to detect this.  Also, some Intel
12592     # versions had trouble with output in subdirs
12593     am__obj=sub/conftest.${OBJEXT-o}
12594     am__minus_obj="-o $am__obj"
12595     case $depmode in
12596     gcc)
12597       # This depmode causes a compiler race in universal mode.
12598       test "$am__universal" = false || continue
12599       ;;
12600     nosideeffect)
12601       # after this tag, mechanisms are not by side-effect, so they'll
12602       # only be used when explicitly requested
12603       if test "x$enable_dependency_tracking" = xyes; then
12604         continue
12605       else
12606         break
12607       fi
12608       ;;
12609     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12610       # This compiler won't grok `-c -o', but also, the minuso test has
12611       # not run yet.  These depmodes are late enough in the game, and
12612       # so weak that their functioning should not be impacted.
12613       am__obj=conftest.${OBJEXT-o}
12614       am__minus_obj=
12615       ;;
12616     none) break ;;
12617     esac
12618     if depmode=$depmode \
12619        source=sub/conftest.c object=$am__obj \
12620        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12621        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12622          >/dev/null 2>conftest.err &&
12623        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12624        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12625        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12626        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12627       # icc doesn't choke on unknown options, it will just issue warnings
12628       # or remarks (even with -Werror).  So we grep stderr for any message
12629       # that says an option was ignored or not supported.
12630       # When given -MP, icc 7.0 and 7.1 complain thusly:
12631       #   icc: Command line warning: ignoring option '-M'; no argument required
12632       # The diagnosis changed in icc 8.0:
12633       #   icc: Command line remark: option '-MP' not supported
12634       if (grep 'ignoring option' conftest.err ||
12635           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12636         am_cv_CC_dependencies_compiler_type=$depmode
12637         break
12638       fi
12639     fi
12640   done
12641
12642   cd ..
12643   rm -rf conftest.dir
12644 else
12645   am_cv_CC_dependencies_compiler_type=none
12646 fi
12647
12648 fi
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12650 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12651 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12652
12653  if
12654   test "x$enable_dependency_tracking" != xno \
12655   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12656   am__fastdepCC_TRUE=
12657   am__fastdepCC_FALSE='#'
12658 else
12659   am__fastdepCC_TRUE='#'
12660   am__fastdepCC_FALSE=
12661 fi
12662
12663
12664
12665 # pkg-config
12666
12667
12668
12669
12670
12671
12672
12673 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12674         if test -n "$ac_tool_prefix"; then
12675   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12676 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12678 $as_echo_n "checking for $ac_word... " >&6; }
12679 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12680   $as_echo_n "(cached) " >&6
12681 else
12682   case $PKG_CONFIG in
12683   [\\/]* | ?:[\\/]*)
12684   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12685   ;;
12686   *)
12687   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12688 for as_dir in $PATH
12689 do
12690   IFS=$as_save_IFS
12691   test -z "$as_dir" && as_dir=.
12692     for ac_exec_ext in '' $ac_executable_extensions; do
12693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12694     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12696     break 2
12697   fi
12698 done
12699   done
12700 IFS=$as_save_IFS
12701
12702   ;;
12703 esac
12704 fi
12705 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12706 if test -n "$PKG_CONFIG"; then
12707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12708 $as_echo "$PKG_CONFIG" >&6; }
12709 else
12710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12711 $as_echo "no" >&6; }
12712 fi
12713
12714
12715 fi
12716 if test -z "$ac_cv_path_PKG_CONFIG"; then
12717   ac_pt_PKG_CONFIG=$PKG_CONFIG
12718   # Extract the first word of "pkg-config", so it can be a program name with args.
12719 set dummy pkg-config; ac_word=$2
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12721 $as_echo_n "checking for $ac_word... " >&6; }
12722 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12723   $as_echo_n "(cached) " >&6
12724 else
12725   case $ac_pt_PKG_CONFIG in
12726   [\\/]* | ?:[\\/]*)
12727   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12728   ;;
12729   *)
12730   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12731 for as_dir in $PATH
12732 do
12733   IFS=$as_save_IFS
12734   test -z "$as_dir" && as_dir=.
12735     for ac_exec_ext in '' $ac_executable_extensions; do
12736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12737     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12739     break 2
12740   fi
12741 done
12742   done
12743 IFS=$as_save_IFS
12744
12745   ;;
12746 esac
12747 fi
12748 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12749 if test -n "$ac_pt_PKG_CONFIG"; then
12750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12751 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12752 else
12753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12754 $as_echo "no" >&6; }
12755 fi
12756
12757   if test "x$ac_pt_PKG_CONFIG" = x; then
12758     PKG_CONFIG=""
12759   else
12760     case $cross_compiling:$ac_tool_warned in
12761 yes:)
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12764 ac_tool_warned=yes ;;
12765 esac
12766     PKG_CONFIG=$ac_pt_PKG_CONFIG
12767   fi
12768 else
12769   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12770 fi
12771
12772 fi
12773 if test -n "$PKG_CONFIG"; then
12774         _pkg_min_version=0.9.0
12775         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12776 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12777         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12778                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12779 $as_echo "yes" >&6; }
12780         else
12781                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12782 $as_echo "no" >&6; }
12783                 PKG_CONFIG=""
12784         fi
12785 fi
12786
12787 # Check whether pkg-config supports Requires.private
12788 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
12789    pkgconfig_requires_private="Requires.private"
12790 else
12791    pkgconfig_requires_private="Requires"
12792 fi
12793
12794
12795 # doxygen program for documentation building
12796
12797
12798
12799 # Check whether --enable-doc was given.
12800 if test "${enable_doc+set}" = set; then :
12801   enableval=$enable_doc;
12802     if test "x${enableval}" = "xyes" ; then
12803        efl_enable_doc="yes"
12804     else
12805        efl_enable_doc="no"
12806     fi
12807
12808 else
12809   efl_enable_doc="yes"
12810 fi
12811
12812
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12814 $as_echo_n "checking whether to build documentation... " >&6; }
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12816 $as_echo "${efl_enable_doc}" >&6; }
12817
12818 if test "x${efl_enable_doc}" = "xyes" ; then
12819
12820
12821    efl_doxygen="doxygen"
12822
12823
12824 # Check whether --with-doxygen was given.
12825 if test "${with_doxygen+set}" = set; then :
12826   withval=$with_doxygen;
12827       efl_doxygen=${withval}
12828        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12829 set dummy ${efl_doxygen}; ac_word=$2
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12831 $as_echo_n "checking for $ac_word... " >&6; }
12832 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12833   $as_echo_n "(cached) " >&6
12834 else
12835   if test -n "$efl_have_doxygen"; then
12836   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12837 else
12838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12839 for as_dir in $PATH
12840 do
12841   IFS=$as_save_IFS
12842   test -z "$as_dir" && as_dir=.
12843     for ac_exec_ext in '' $ac_executable_extensions; do
12844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12845     ac_cv_prog_efl_have_doxygen="yes"
12846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12847     break 2
12848   fi
12849 done
12850   done
12851 IFS=$as_save_IFS
12852
12853   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12854 fi
12855 fi
12856 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12857 if test -n "$efl_have_doxygen"; then
12858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12859 $as_echo "$efl_have_doxygen" >&6; }
12860 else
12861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12862 $as_echo "no" >&6; }
12863 fi
12864
12865
12866        if test "x${efl_have_doxygen}" = "xno" ; then
12867           echo "WARNING:"
12868           echo "The doxygen program you specified:"
12869           echo "${efl_doxygen}"
12870           echo "was not found.  Please check the path and make sure "
12871           echo "the program exists and is executable."
12872           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12873 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12874        fi
12875
12876 else
12877   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12878 set dummy ${efl_doxygen}; ac_word=$2
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12880 $as_echo_n "checking for $ac_word... " >&6; }
12881 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12882   $as_echo_n "(cached) " >&6
12883 else
12884   if test -n "$efl_have_doxygen"; then
12885   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12886 else
12887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12888 for as_dir in $PATH
12889 do
12890   IFS=$as_save_IFS
12891   test -z "$as_dir" && as_dir=.
12892     for ac_exec_ext in '' $ac_executable_extensions; do
12893   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12894     ac_cv_prog_efl_have_doxygen="yes"
12895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12896     break 2
12897   fi
12898 done
12899   done
12900 IFS=$as_save_IFS
12901
12902   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12903 fi
12904 fi
12905 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12906 if test -n "$efl_have_doxygen"; then
12907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12908 $as_echo "$efl_have_doxygen" >&6; }
12909 else
12910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12912 fi
12913
12914
12915        if test "x${efl_have_doxygen}" = "xno" ; then
12916           echo "WARNING:"
12917           echo "The doxygen program was not found in your execute path."
12918           echo "You may have doxygen installed somewhere not covered by your path."
12919           echo ""
12920           echo "If this is the case make sure you have the packages installed, AND"
12921           echo "that the doxygen program is in your execute path (see your"
12922           echo "shell manual page on setting the \$PATH environment variable), OR"
12923           echo "alternatively, specify the program to use with --with-doxygen."
12924           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12925 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12926        fi
12927
12928 fi
12929
12930 else
12931    efl_have_doxygen="no"
12932 fi
12933
12934
12935
12936 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12937    efl_enable_doc="no"
12938 fi
12939
12940  if test "x${efl_have_doxygen}" = "xyes"; then
12941   EFL_BUILD_DOC_TRUE=
12942   EFL_BUILD_DOC_FALSE='#'
12943 else
12944   EFL_BUILD_DOC_TRUE='#'
12945   EFL_BUILD_DOC_FALSE=
12946 fi
12947
12948
12949 if test "x$efl_have_doxygen" = "xyes"; then :
12950   build_doc="yes"
12951 else
12952   build_doc="no"
12953 fi
12954
12955
12956
12957 ### Checks for libraries
12958
12959 EFL_EIO_BUILD=""
12960 case "$host_os" in
12961    mingw*)
12962       if test -n "$PKG_CONFIG" && \
12963     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
12964   ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
12965   ac_status=$?
12966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12967   test $ac_status = 0; }; then
12968   :
12969 fi
12970
12971 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
12972
12973       requirements_eio="${requirements_eio} evil >= 1.6.99"
12974       EFL_EIO_BUILD="-DEFL_EIO_BUILD"
12975    ;;
12976 esac
12977
12978
12979 requirements_eio="${requirements_eio} eet >= 1.6.99 eina >= 1.6.99 ecore >= 1.6.99"
12980
12981
12982
12983 pkg_failed=no
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
12985 $as_echo_n "checking for EIO... " >&6; }
12986
12987 if test -n "$EIO_CFLAGS"; then
12988     pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
12989  elif test -n "$PKG_CONFIG"; then
12990     if test -n "$PKG_CONFIG" && \
12991     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirements_eio}\""; } >&5
12992   ($PKG_CONFIG --exists --print-errors "${requirements_eio}") 2>&5
12993   ac_status=$?
12994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12995   test $ac_status = 0; }; then
12996   pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "${requirements_eio}" 2>/dev/null`
12997                       test "x$?" != "x0" && pkg_failed=yes
12998 else
12999   pkg_failed=yes
13000 fi
13001  else
13002     pkg_failed=untried
13003 fi
13004 if test -n "$EIO_LIBS"; then
13005     pkg_cv_EIO_LIBS="$EIO_LIBS"
13006  elif test -n "$PKG_CONFIG"; then
13007     if test -n "$PKG_CONFIG" && \
13008     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirements_eio}\""; } >&5
13009   ($PKG_CONFIG --exists --print-errors "${requirements_eio}") 2>&5
13010   ac_status=$?
13011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13012   test $ac_status = 0; }; then
13013   pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "${requirements_eio}" 2>/dev/null`
13014                       test "x$?" != "x0" && pkg_failed=yes
13015 else
13016   pkg_failed=yes
13017 fi
13018  else
13019     pkg_failed=untried
13020 fi
13021
13022
13023
13024 if test $pkg_failed = yes; then
13025         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13026 $as_echo "no" >&6; }
13027
13028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13029         _pkg_short_errors_supported=yes
13030 else
13031         _pkg_short_errors_supported=no
13032 fi
13033         if test $_pkg_short_errors_supported = yes; then
13034                 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirements_eio}" 2>&1`
13035         else
13036                 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirements_eio}" 2>&1`
13037         fi
13038         # Put the nasty error message in config.log where it belongs
13039         echo "$EIO_PKG_ERRORS" >&5
13040
13041         as_fn_error $? "Package requirements (${requirements_eio}) were not met:
13042
13043 $EIO_PKG_ERRORS
13044
13045 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13046 installed software in a non-standard prefix.
13047
13048 Alternatively, you may set the environment variables EIO_CFLAGS
13049 and EIO_LIBS to avoid the need to call pkg-config.
13050 See the pkg-config man page for more details." "$LINENO" 5
13051 elif test $pkg_failed = untried; then
13052         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13053 $as_echo "no" >&6; }
13054         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13056 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13057 is in your PATH or set the PKG_CONFIG environment variable to the full
13058 path to pkg-config.
13059
13060 Alternatively, you may set the environment variables EIO_CFLAGS
13061 and EIO_LIBS to avoid the need to call pkg-config.
13062 See the pkg-config man page for more details.
13063
13064 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13065 See \`config.log' for more details" "$LINENO" 5; }
13066 else
13067         EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
13068         EIO_LIBS=$pkg_cv_EIO_LIBS
13069         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13070 $as_echo "yes" >&6; }
13071
13072 fi
13073
13074
13075 ### Checks for header files
13076
13077 ac_header_dirent=no
13078 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
13079   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
13081 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
13082 if eval \${$as_ac_Header+:} false; then :
13083   $as_echo_n "(cached) " >&6
13084 else
13085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h.  */
13087 #include <sys/types.h>
13088 #include <$ac_hdr>
13089
13090 int
13091 main ()
13092 {
13093 if ((DIR *) 0)
13094 return 0;
13095   ;
13096   return 0;
13097 }
13098 _ACEOF
13099 if ac_fn_c_try_compile "$LINENO"; then :
13100   eval "$as_ac_Header=yes"
13101 else
13102   eval "$as_ac_Header=no"
13103 fi
13104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13105 fi
13106 eval ac_res=\$$as_ac_Header
13107                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13108 $as_echo "$ac_res" >&6; }
13109 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13110   cat >>confdefs.h <<_ACEOF
13111 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13112 _ACEOF
13113
13114 ac_header_dirent=$ac_hdr; break
13115 fi
13116
13117 done
13118 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13119 if test $ac_header_dirent = dirent.h; then
13120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13121 $as_echo_n "checking for library containing opendir... " >&6; }
13122 if ${ac_cv_search_opendir+:} false; then :
13123   $as_echo_n "(cached) " >&6
13124 else
13125   ac_func_search_save_LIBS=$LIBS
13126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h.  */
13128
13129 /* Override any GCC internal prototype to avoid an error.
13130    Use char because int might match the return type of a GCC
13131    builtin and then its argument prototype would still apply.  */
13132 #ifdef __cplusplus
13133 extern "C"
13134 #endif
13135 char opendir ();
13136 int
13137 main ()
13138 {
13139 return opendir ();
13140   ;
13141   return 0;
13142 }
13143 _ACEOF
13144 for ac_lib in '' dir; do
13145   if test -z "$ac_lib"; then
13146     ac_res="none required"
13147   else
13148     ac_res=-l$ac_lib
13149     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13150   fi
13151   if ac_fn_c_try_link "$LINENO"; then :
13152   ac_cv_search_opendir=$ac_res
13153 fi
13154 rm -f core conftest.err conftest.$ac_objext \
13155     conftest$ac_exeext
13156   if ${ac_cv_search_opendir+:} false; then :
13157   break
13158 fi
13159 done
13160 if ${ac_cv_search_opendir+:} false; then :
13161
13162 else
13163   ac_cv_search_opendir=no
13164 fi
13165 rm conftest.$ac_ext
13166 LIBS=$ac_func_search_save_LIBS
13167 fi
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13169 $as_echo "$ac_cv_search_opendir" >&6; }
13170 ac_res=$ac_cv_search_opendir
13171 if test "$ac_res" != no; then :
13172   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13173
13174 fi
13175
13176 else
13177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13178 $as_echo_n "checking for library containing opendir... " >&6; }
13179 if ${ac_cv_search_opendir+:} false; then :
13180   $as_echo_n "(cached) " >&6
13181 else
13182   ac_func_search_save_LIBS=$LIBS
13183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13184 /* end confdefs.h.  */
13185
13186 /* Override any GCC internal prototype to avoid an error.
13187    Use char because int might match the return type of a GCC
13188    builtin and then its argument prototype would still apply.  */
13189 #ifdef __cplusplus
13190 extern "C"
13191 #endif
13192 char opendir ();
13193 int
13194 main ()
13195 {
13196 return opendir ();
13197   ;
13198   return 0;
13199 }
13200 _ACEOF
13201 for ac_lib in '' x; do
13202   if test -z "$ac_lib"; then
13203     ac_res="none required"
13204   else
13205     ac_res=-l$ac_lib
13206     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13207   fi
13208   if ac_fn_c_try_link "$LINENO"; then :
13209   ac_cv_search_opendir=$ac_res
13210 fi
13211 rm -f core conftest.err conftest.$ac_objext \
13212     conftest$ac_exeext
13213   if ${ac_cv_search_opendir+:} false; then :
13214   break
13215 fi
13216 done
13217 if ${ac_cv_search_opendir+:} false; then :
13218
13219 else
13220   ac_cv_search_opendir=no
13221 fi
13222 rm conftest.$ac_ext
13223 LIBS=$ac_func_search_save_LIBS
13224 fi
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13226 $as_echo "$ac_cv_search_opendir" >&6; }
13227 ac_res=$ac_cv_search_opendir
13228 if test "$ac_res" != no; then :
13229   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13230
13231 fi
13232
13233 fi
13234
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
13236 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
13237 if ${ac_cv_header_time+:} false; then :
13238   $as_echo_n "(cached) " >&6
13239 else
13240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13241 /* end confdefs.h.  */
13242 #include <sys/types.h>
13243 #include <sys/time.h>
13244 #include <time.h>
13245
13246 int
13247 main ()
13248 {
13249 if ((struct tm *) 0)
13250 return 0;
13251   ;
13252   return 0;
13253 }
13254 _ACEOF
13255 if ac_fn_c_try_compile "$LINENO"; then :
13256   ac_cv_header_time=yes
13257 else
13258   ac_cv_header_time=no
13259 fi
13260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13261 fi
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
13263 $as_echo "$ac_cv_header_time" >&6; }
13264 if test $ac_cv_header_time = yes; then
13265
13266 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
13267
13268 fi
13269
13270 for ac_header in unistd.h libgen.h grp.h features.h pwd.h
13271 do :
13272   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13273 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13274 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13275   cat >>confdefs.h <<_ACEOF
13276 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13277 _ACEOF
13278
13279 fi
13280
13281 done
13282
13283
13284
13285
13286
13287 # Check whether --enable-posix-threads was given.
13288 if test "${enable_posix_threads+set}" = set; then :
13289   enableval=$enable_posix_threads;
13290     if test "x${enableval}" = "xyes" ; then
13291        _efl_enable_posix_threads="yes"
13292     else
13293        _efl_enable_posix_threads="no"
13294     fi
13295
13296 else
13297   _efl_enable_posix_threads="auto"
13298 fi
13299
13300
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build POSIX threads code" >&5
13302 $as_echo_n "checking whether to build POSIX threads code... " >&6; }
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_posix_threads}" >&5
13304 $as_echo "${_efl_enable_posix_threads}" >&6; }
13305
13306 # Check whether --enable-win32-threads was given.
13307 if test "${enable_win32_threads+set}" = set; then :
13308   enableval=$enable_win32_threads;
13309     if test "x${enableval}" = "xyes" ; then
13310        _efl_enable_win32_threads="yes"
13311     else
13312        _efl_enable_win32_threads="no"
13313     fi
13314
13315 else
13316   _efl_enable_win32_threads="no"
13317 fi
13318
13319
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Windows threads code" >&5
13321 $as_echo_n "checking whether to build Windows threads code... " >&6; }
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_win32_threads}" >&5
13323 $as_echo "${_efl_enable_win32_threads}" >&6; }
13324
13325
13326 if  test "x${_efl_enable_posix_threads}" = "xyes" && test "x${_efl_enable_win32_threads}" = "xyes" ; then
13327    case "$host_os" in
13328       mingw*)
13329          _efl_enable_posix_threads=no
13330          ;;
13331       *)
13332          _efl_enable_win32_threads=no
13333          ;;
13334    esac
13335 fi
13336
13337 if  test "x${_efl_enable_win32_threads}" = "xyes" ; then
13338    case "$host_os" in
13339       mingw*)
13340          ;;
13341       *)
13342          as_fn_error $? "Win32 threads support requested but non Windows system found." "$LINENO" 5
13343          ;;
13344    esac
13345 fi
13346
13347 if  test "x${_efl_enable_posix_threads}" = "xyes" ; then
13348    case "$host_os" in
13349       mingw*)
13350          as_fn_error $? "POSIX threads support requested but Windows system found." "$LINENO" 5
13351          ;;
13352       *)
13353          ;;
13354    esac
13355 fi
13356
13357
13358 case "$host_os" in
13359    mingw*)
13360       ;;
13361    solaris*)
13362       _efl_threads_cflags="-mt"
13363       _efl_threads_libs="-mt"
13364       ;;
13365    *)
13366       _efl_threads_cflags="-pthread"
13367       _efl_threads_libs="-pthread"
13368       ;;
13369 esac
13370
13371 _efl_have_posix_threads="no"
13372 _efl_have_win32_threads="no"
13373
13374 if test "x${_efl_enable_posix_threads}" = "xyes" || test "x${_efl_enable_posix_threads}" = "xauto" ; then
13375
13376    SAVE_CFLAGS=${CFLAGS}
13377    CFLAGS="${CFLAGS} ${_efl_threads_cflags}"
13378    SAVE_LIBS=${LIBS}
13379    LIBS="${LIBS} ${_efl_threads_libs}"
13380    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13381 /* end confdefs.h.  */
13382
13383 #include <pthread.h>
13384
13385 int
13386 main ()
13387 {
13388
13389 pthread_t id;
13390 id = pthread_self();
13391
13392   ;
13393   return 0;
13394 }
13395 _ACEOF
13396 if ac_fn_c_try_link "$LINENO"; then :
13397   _efl_have_posix_threads="yes"
13398 else
13399   _efl_have_posix_threads="no"
13400 fi
13401 rm -f core conftest.err conftest.$ac_objext \
13402     conftest$ac_exeext conftest.$ac_ext
13403    CFLAGS=${SAVE_CFLAGS}
13404    LIBS=${SAVE_LIBS}
13405
13406 fi
13407
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system support POSIX threads" >&5
13409 $as_echo_n "checking whether system support POSIX threads... " >&6; }
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads}" >&5
13411 $as_echo "${_efl_have_posix_threads}" >&6; }
13412 if test "$x{_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads}" = "xno"; then
13413    as_fn_error $? "POSIX threads support requested but not found." "$LINENO" 5
13414 fi
13415
13416 EFL_PTHREAD_CFLAGS=""
13417 EFL_PTHREAD_LIBS=""
13418 if test "x${_efl_have_posix_threads}" = "xyes" ; then
13419    EFL_PTHREAD_CFLAGS=${_efl_threads_cflags}
13420    EFL_PTHREAD_LIBS=${_efl_threads_libs}
13421 fi
13422
13423
13424
13425
13426 _efl_enable_debug_threads="no"
13427 # Check whether --enable-debug-threads was given.
13428 if test "${enable_debug_threads+set}" = set; then :
13429   enableval=$enable_debug_threads; _efl_enable_debug_threads="${enableval}"
13430 fi
13431
13432
13433 have_debug_threads="no"
13434 if test "x${_efl_have_posix_threads}" = "xyes" -a "x${_efl_enable_debug_threads}" = "xyes"; then
13435    have_debug_threads="yes"
13436
13437 $as_echo "#define EFL_DEBUG_THREADS 1" >>confdefs.h
13438
13439 fi
13440
13441 if test "x${_efl_have_posix_threads}" = "xyes" ; then
13442
13443 $as_echo "#define EFL_HAVE_POSIX_THREADS 1" >>confdefs.h
13444
13445 fi
13446
13447 if test "x${_efl_enable_win32_threads}" = "xyes" ; then
13448    _efl_have_win32_threads="yes"
13449
13450 $as_echo "#define EFL_HAVE_WIN32_THREADS 1" >>confdefs.h
13451
13452 fi
13453
13454 if test "x${_efl_have_posix_threads}" = "xyes" || test "x${_efl_have_win32_threads}" = "xyes" ; then
13455
13456 $as_echo "#define EFL_HAVE_THREADS 1" >>confdefs.h
13457
13458 fi
13459
13460 if test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"; then :
13461
13462     if test "x${_efl_have_posix_threads}" = "xyes" ; then
13463        have_threads="POSIX"
13464     else
13465        if test "x${_efl_have_win32_threads}" = "xyes" ; then
13466           have_threads="Win32"
13467        else
13468           have_threads="no"
13469        fi
13470     fi
13471
13472 else
13473   have_threads="no"
13474 fi
13475
13476
13477 if test "x${have_threads}" = "xno" ; then
13478    as_fn_error $? "Threads not supported. Be sure to have pthread on non Windows OS" "$LINENO" 5
13479 fi
13480
13481
13482
13483 default_max="4096"
13484 ac_ext=c
13485 ac_cpp='$CPP $CPPFLAGS'
13486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13489
13490
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
13492 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
13493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h.  */
13495
13496 #include <limits.h>
13497
13498 int
13499 main ()
13500 {
13501
13502 int i = PATH_MAX;
13503
13504   ;
13505   return 0;
13506 }
13507 _ACEOF
13508 if ac_fn_c_try_compile "$LINENO"; then :
13509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13510 $as_echo "yes" >&6; }
13511 else
13512
13513
13514 cat >>confdefs.h <<_ACEOF
13515 #define PATH_MAX ${default_max}
13516 _ACEOF
13517
13518     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
13519 $as_echo "no: using ${default_max}" >&6; }
13520
13521 fi
13522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13523
13524 ac_ext=c
13525 ac_cpp='$CPP $CPPFLAGS'
13526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13529
13530
13531
13532
13533 ### Checks for types
13534
13535 ### Checks for structures
13536
13537 ### Checks for compiler characteristics
13538  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13539 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13540 if ${ac_cv_c_bigendian+:} false; then :
13541   $as_echo_n "(cached) " >&6
13542 else
13543   ac_cv_c_bigendian=unknown
13544     # See if we're dealing with a universal compiler.
13545     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h.  */
13547 #ifndef __APPLE_CC__
13548                not a universal capable compiler
13549              #endif
13550              typedef int dummy;
13551
13552 _ACEOF
13553 if ac_fn_c_try_compile "$LINENO"; then :
13554
13555         # Check for potential -arch flags.  It is not universal unless
13556         # there are at least two -arch flags with different values.
13557         ac_arch=
13558         ac_prev=
13559         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13560          if test -n "$ac_prev"; then
13561            case $ac_word in
13562              i?86 | x86_64 | ppc | ppc64)
13563                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13564                  ac_arch=$ac_word
13565                else
13566                  ac_cv_c_bigendian=universal
13567                  break
13568                fi
13569                ;;
13570            esac
13571            ac_prev=
13572          elif test "x$ac_word" = "x-arch"; then
13573            ac_prev=arch
13574          fi
13575        done
13576 fi
13577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13578     if test $ac_cv_c_bigendian = unknown; then
13579       # See if sys/param.h defines the BYTE_ORDER macro.
13580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h.  */
13582 #include <sys/types.h>
13583              #include <sys/param.h>
13584
13585 int
13586 main ()
13587 {
13588 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13589                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13590                      && LITTLE_ENDIAN)
13591               bogus endian macros
13592              #endif
13593
13594   ;
13595   return 0;
13596 }
13597 _ACEOF
13598 if ac_fn_c_try_compile "$LINENO"; then :
13599   # It does; now see whether it defined to BIG_ENDIAN or not.
13600          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h.  */
13602 #include <sys/types.h>
13603                 #include <sys/param.h>
13604
13605 int
13606 main ()
13607 {
13608 #if BYTE_ORDER != BIG_ENDIAN
13609                  not big endian
13610                 #endif
13611
13612   ;
13613   return 0;
13614 }
13615 _ACEOF
13616 if ac_fn_c_try_compile "$LINENO"; then :
13617   ac_cv_c_bigendian=yes
13618 else
13619   ac_cv_c_bigendian=no
13620 fi
13621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13622 fi
13623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13624     fi
13625     if test $ac_cv_c_bigendian = unknown; then
13626       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h.  */
13629 #include <limits.h>
13630
13631 int
13632 main ()
13633 {
13634 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13635               bogus endian macros
13636              #endif
13637
13638   ;
13639   return 0;
13640 }
13641 _ACEOF
13642 if ac_fn_c_try_compile "$LINENO"; then :
13643   # It does; now see whether it defined to _BIG_ENDIAN or not.
13644          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h.  */
13646 #include <limits.h>
13647
13648 int
13649 main ()
13650 {
13651 #ifndef _BIG_ENDIAN
13652                  not big endian
13653                 #endif
13654
13655   ;
13656   return 0;
13657 }
13658 _ACEOF
13659 if ac_fn_c_try_compile "$LINENO"; then :
13660   ac_cv_c_bigendian=yes
13661 else
13662   ac_cv_c_bigendian=no
13663 fi
13664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13665 fi
13666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13667     fi
13668     if test $ac_cv_c_bigendian = unknown; then
13669       # Compile a test program.
13670       if test "$cross_compiling" = yes; then :
13671   # Try to guess by grepping values from an object file.
13672          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h.  */
13674 short int ascii_mm[] =
13675                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13676                 short int ascii_ii[] =
13677                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13678                 int use_ascii (int i) {
13679                   return ascii_mm[i] + ascii_ii[i];
13680                 }
13681                 short int ebcdic_ii[] =
13682                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13683                 short int ebcdic_mm[] =
13684                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13685                 int use_ebcdic (int i) {
13686                   return ebcdic_mm[i] + ebcdic_ii[i];
13687                 }
13688                 extern int foo;
13689
13690 int
13691 main ()
13692 {
13693 return use_ascii (foo) == use_ebcdic (foo);
13694   ;
13695   return 0;
13696 }
13697 _ACEOF
13698 if ac_fn_c_try_compile "$LINENO"; then :
13699   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13700               ac_cv_c_bigendian=yes
13701             fi
13702             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13703               if test "$ac_cv_c_bigendian" = unknown; then
13704                 ac_cv_c_bigendian=no
13705               else
13706                 # finding both strings is unlikely to happen, but who knows?
13707                 ac_cv_c_bigendian=unknown
13708               fi
13709             fi
13710 fi
13711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13712 else
13713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h.  */
13715 $ac_includes_default
13716 int
13717 main ()
13718 {
13719
13720              /* Are we little or big endian?  From Harbison&Steele.  */
13721              union
13722              {
13723                long int l;
13724                char c[sizeof (long int)];
13725              } u;
13726              u.l = 1;
13727              return u.c[sizeof (long int) - 1] == 1;
13728
13729   ;
13730   return 0;
13731 }
13732 _ACEOF
13733 if ac_fn_c_try_run "$LINENO"; then :
13734   ac_cv_c_bigendian=no
13735 else
13736   ac_cv_c_bigendian=yes
13737 fi
13738 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13739   conftest.$ac_objext conftest.beam conftest.$ac_ext
13740 fi
13741
13742     fi
13743 fi
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13745 $as_echo "$ac_cv_c_bigendian" >&6; }
13746  case $ac_cv_c_bigendian in #(
13747    yes)
13748      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13749 ;; #(
13750    no)
13751       ;; #(
13752    universal)
13753
13754 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13755
13756      ;; #(
13757    *)
13758      as_fn_error $? "unknown endianness
13759  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13760  esac
13761
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13763 $as_echo_n "checking for inline... " >&6; }
13764 if ${ac_cv_c_inline+:} false; then :
13765   $as_echo_n "(cached) " >&6
13766 else
13767   ac_cv_c_inline=no
13768 for ac_kw in inline __inline__ __inline; do
13769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h.  */
13771 #ifndef __cplusplus
13772 typedef int foo_t;
13773 static $ac_kw foo_t static_foo () {return 0; }
13774 $ac_kw foo_t foo () {return 0; }
13775 #endif
13776
13777 _ACEOF
13778 if ac_fn_c_try_compile "$LINENO"; then :
13779   ac_cv_c_inline=$ac_kw
13780 fi
13781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13782   test "$ac_cv_c_inline" != no && break
13783 done
13784
13785 fi
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13787 $as_echo "$ac_cv_c_inline" >&6; }
13788
13789 case $ac_cv_c_inline in
13790   inline | yes) ;;
13791   *)
13792     case $ac_cv_c_inline in
13793       no) ac_val=;;
13794       *) ac_val=$ac_cv_c_inline;;
13795     esac
13796     cat >>confdefs.h <<_ACEOF
13797 #ifndef __cplusplus
13798 #define inline $ac_val
13799 #endif
13800 _ACEOF
13801     ;;
13802 esac
13803
13804
13805
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
13807 $as_echo_n "checking for __attribute__... " >&6; }
13808
13809 if ${ac_cv___attribute__+:} false; then :
13810   $as_echo_n "(cached) " >&6
13811 else
13812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h.  */
13814
13815 #include <stdlib.h>
13816
13817 int func(int x);
13818 int foo(int x __attribute__ ((unused)))
13819 {
13820    exit(1);
13821 }
13822
13823 int
13824 main ()
13825 {
13826
13827   ;
13828   return 0;
13829 }
13830 _ACEOF
13831 if ac_fn_c_try_compile "$LINENO"; then :
13832   ac_cv___attribute__="yes"
13833 else
13834   ac_cv___attribute__="no"
13835
13836 fi
13837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13838
13839 fi
13840
13841
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
13843 $as_echo "$ac_cv___attribute__" >&6; }
13844
13845 if test "x${ac_cv___attribute__}" = "xyes" ; then
13846
13847 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
13848
13849
13850 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
13851
13852   else
13853
13854 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
13855
13856 fi
13857
13858
13859 if test "x$CC" != xcc; then
13860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13861 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13862 else
13863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13864 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13865 fi
13866 set dummy $CC; ac_cc=`$as_echo "$2" |
13867                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13868 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
13869   $as_echo_n "(cached) " >&6
13870 else
13871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h.  */
13873
13874 int
13875 main ()
13876 {
13877
13878   ;
13879   return 0;
13880 }
13881 _ACEOF
13882 # Make sure it works both with $CC and with simple cc.
13883 # We do the test twice because some compilers refuse to overwrite an
13884 # existing .o file with -o, though they will create one.
13885 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13886 rm -f conftest2.*
13887 if { { case "(($ac_try" in
13888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13889   *) ac_try_echo=$ac_try;;
13890 esac
13891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13892 $as_echo "$ac_try_echo"; } >&5
13893   (eval "$ac_try") 2>&5
13894   ac_status=$?
13895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13896   test $ac_status = 0; } &&
13897    test -f conftest2.$ac_objext && { { case "(($ac_try" in
13898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13899   *) ac_try_echo=$ac_try;;
13900 esac
13901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13902 $as_echo "$ac_try_echo"; } >&5
13903   (eval "$ac_try") 2>&5
13904   ac_status=$?
13905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13906   test $ac_status = 0; };
13907 then
13908   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13909   if test "x$CC" != xcc; then
13910     # Test first that cc exists at all.
13911     if { ac_try='cc -c conftest.$ac_ext >&5'
13912   { { case "(($ac_try" in
13913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13914   *) ac_try_echo=$ac_try;;
13915 esac
13916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13917 $as_echo "$ac_try_echo"; } >&5
13918   (eval "$ac_try") 2>&5
13919   ac_status=$?
13920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13921   test $ac_status = 0; }; }; then
13922       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13923       rm -f conftest2.*
13924       if { { case "(($ac_try" in
13925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13926   *) ac_try_echo=$ac_try;;
13927 esac
13928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13929 $as_echo "$ac_try_echo"; } >&5
13930   (eval "$ac_try") 2>&5
13931   ac_status=$?
13932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13933   test $ac_status = 0; } &&
13934          test -f conftest2.$ac_objext && { { case "(($ac_try" in
13935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13936   *) ac_try_echo=$ac_try;;
13937 esac
13938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13939 $as_echo "$ac_try_echo"; } >&5
13940   (eval "$ac_try") 2>&5
13941   ac_status=$?
13942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13943   test $ac_status = 0; };
13944       then
13945         # cc works too.
13946         :
13947       else
13948         # cc exists but doesn't like -o.
13949         eval ac_cv_prog_cc_${ac_cc}_c_o=no
13950       fi
13951     fi
13952   fi
13953 else
13954   eval ac_cv_prog_cc_${ac_cc}_c_o=no
13955 fi
13956 rm -f core conftest*
13957
13958 fi
13959 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13961 $as_echo "yes" >&6; }
13962 else
13963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13964 $as_echo "no" >&6; }
13965
13966 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13967
13968 fi
13969
13970 # FIXME: we rely on the cache variable name because
13971 # there is no other way.
13972 set dummy $CC
13973 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13974 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13975 if test "$am_t" != yes; then
13976    # Losing compiler, so override with the script.
13977    # FIXME: It is wrong to rewrite CC.
13978    # But if we don't then we get into trouble of one sort or another.
13979    # A longer-term fix would be to have automake use am__CC in this case,
13980    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13981    CC="$am_aux_dir/compile $CC"
13982 fi
13983
13984
13985
13986 EFL_EIO_BUILD=""
13987 case "$host_os" in
13988    mingw*)
13989       EFL_EIO_BUILD="-DEFL_EIO_BUILD"
13990    ;;
13991 esac
13992
13993
13994 ### Checks for linker characteristics
13995
13996 # use --enable-auto-import on Windows
13997
13998 lt_enable_auto_import=""
13999 case "$host_os" in
14000    mingw* | cegcc*)
14001       lt_enable_auto_import="-Wl,--enable-auto-import"
14002       ;;
14003 esac
14004
14005
14006 ### Checks for library functions
14007 for ac_func in fchmod chown getpwnam getgrnam
14008 do :
14009   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14010 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14011 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14012   cat >>confdefs.h <<_ACEOF
14013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14014 _ACEOF
14015
14016 fi
14017 done
14018
14019
14020 ### Check for splice system call
14021
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use splice for file copy" >&5
14023 $as_echo_n "checking whether to use splice for file copy... " >&6; }
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h.  */
14026
14027 #if defined(HAVE_UNISTD_H)
14028 # include <unistd.h>
14029 #endif
14030 #include <fcntl.h>
14031
14032 int
14033 main ()
14034 {
14035
14036 long ret = splice(0,0,1,0,400,0);
14037
14038   ;
14039   return 0;
14040 }
14041 _ACEOF
14042 if ac_fn_c_try_link "$LINENO"; then :
14043   have_splice="yes"
14044 else
14045   have_splice="no"
14046 fi
14047 rm -f core conftest.err conftest.$ac_objext \
14048     conftest$ac_exeext conftest.$ac_ext
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_splice}" >&5
14050 $as_echo "${have_splice}" >&6; }
14051
14052 if test "x${have_splice}" = "xyes" ; then
14053
14054 $as_echo "#define HAVE_SPLICE 1" >>confdefs.h
14055
14056 fi
14057
14058 # Check for lstat
14059
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat is available" >&5
14061 $as_echo_n "checking whether lstat is available... " >&6; }
14062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14063 /* end confdefs.h.  */
14064
14065 #include <sys/types.h>
14066 #include <sys/stat.h>
14067 #if defined(HAVE_UNISTD_H)
14068 # include <unistd.h>
14069 #endif
14070
14071 int
14072 main ()
14073 {
14074
14075 struct stat st;
14076 lstat("/tmp", &st);
14077
14078   ;
14079   return 0;
14080 }
14081 _ACEOF
14082 if ac_fn_c_try_link "$LINENO"; then :
14083   have_lstat="yes"
14084 else
14085   have_lstat="no"
14086 fi
14087 rm -f core conftest.err conftest.$ac_objext \
14088     conftest$ac_exeext conftest.$ac_ext
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lstat}" >&5
14090 $as_echo "${have_lstat}" >&6; }
14091
14092 if test "x${have_lstat}" = "xyes" ; then
14093
14094 $as_echo "#define HAVE_LSTAT 1" >>confdefs.h
14095
14096 fi
14097
14098 # extended attribute
14099
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended attributes" >&5
14101 $as_echo_n "checking for extended attributes... " >&6; }
14102
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h.  */
14105
14106 #include <stdlib.h>
14107 #include <sys/types.h>
14108 #include <sys/xattr.h>
14109
14110 int
14111 main ()
14112 {
14113
14114 size_t tmp = listxattr("/", NULL, 0);
14115 tmp = getxattr("/", "user.ethumb.md5", NULL, 0);
14116 setxattr("/", "user.ethumb.md5", NULL, 0, 0);
14117
14118   ;
14119   return 0;
14120 }
14121 _ACEOF
14122 if ac_fn_c_try_compile "$LINENO"; then :
14123
14124
14125 $as_echo "#define HAVE_XATTR 1" >>confdefs.h
14126
14127     have_xattr="yes"
14128
14129 else
14130   have_xattr="no"
14131 fi
14132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14133
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_xattr}" >&5
14135 $as_echo "${have_xattr}" >&6; }
14136
14137 # Check for inotify specificity
14138 have_inotify="no"
14139 have_notify_win32="no"
14140
14141 _eio_want_inotify=${want_inotify}
14142 _eio_have_inotify="no"
14143
14144 _eio_want_inotify="yes"
14145 # Check whether --enable-inotify was given.
14146 if test "${enable_inotify+set}" = set; then :
14147   enableval=$enable_inotify;
14148     if test "x${enableval}" = "xyes" ; then
14149        _eio_want_inotify="yes"
14150     else
14151        _eio_want_inotify="no"
14152     fi
14153
14154 fi
14155
14156
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inotify is to be used for filemonitoring" >&5
14158 $as_echo_n "checking whether inotify is to be used for filemonitoring... " >&6; }
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_eio_want_inotify" >&5
14160 $as_echo "$_eio_want_inotify" >&6; }
14161
14162
14163 if test "x${_eio_want_inotify}" = "xyes" ; then
14164    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_init in -lc" >&5
14165 $as_echo_n "checking for inotify_init in -lc... " >&6; }
14166 if ${ac_cv_lib_c_inotify_init+:} false; then :
14167   $as_echo_n "(cached) " >&6
14168 else
14169   ac_check_lib_save_LIBS=$LIBS
14170 LIBS="-lc  $LIBS"
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h.  */
14173
14174 /* Override any GCC internal prototype to avoid an error.
14175    Use char because int might match the return type of a GCC
14176    builtin and then its argument prototype would still apply.  */
14177 #ifdef __cplusplus
14178 extern "C"
14179 #endif
14180 char inotify_init ();
14181 int
14182 main ()
14183 {
14184 return inotify_init ();
14185   ;
14186   return 0;
14187 }
14188 _ACEOF
14189 if ac_fn_c_try_link "$LINENO"; then :
14190   ac_cv_lib_c_inotify_init=yes
14191 else
14192   ac_cv_lib_c_inotify_init=no
14193 fi
14194 rm -f core conftest.err conftest.$ac_objext \
14195     conftest$ac_exeext conftest.$ac_ext
14196 LIBS=$ac_check_lib_save_LIBS
14197 fi
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inotify_init" >&5
14199 $as_echo "$ac_cv_lib_c_inotify_init" >&6; }
14200 if test "x$ac_cv_lib_c_inotify_init" = xyes; then :
14201
14202
14203 $as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
14204
14205
14206 $as_echo "#define HAVE_SYS_INOTIFY 1" >>confdefs.h
14207
14208        _eio_have_inotify="yes"
14209
14210 else
14211
14212        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h.  */
14214
14215            #include <asm/unistd.h>
14216            #include <linux/inotify.h>
14217
14218 int
14219 main ()
14220 {
14221 int a = __NR_inotify_init; int b = IN_MOVE_SELF;
14222   ;
14223   return 0;
14224 }
14225 _ACEOF
14226 if ac_fn_c_try_compile "$LINENO"; then :
14227
14228
14229 $as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
14230
14231            _eio_have_inotify="yes"
14232
14233 else
14234   _eio_have_inotify="no"
14235 fi
14236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14237
14238 fi
14239
14240 fi
14241
14242 if test "x$_eio_have_inotify" = "xyes" ; then
14243    have_inotify="yes"
14244 else
14245    have_inotify="no"
14246 fi
14247
14248
14249 _eio_want_notify_win32=${want_notify_win32}
14250 _eio_have_notify_win32="no"
14251
14252 # Check whether --enable-notify-win32 was given.
14253 if test "${enable_notify_win32+set}" = set; then :
14254   enableval=$enable_notify_win32;
14255     if test "x${enableval}" = "xyes" ; then
14256        _eio_want_notify_win32="yes"
14257     else
14258        _eio_want_notify_win32="no"
14259     fi
14260
14261 fi
14262
14263
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Windows notification is to be used for filemonitoring" >&5
14265 $as_echo_n "checking whether Windows notification is to be used for filemonitoring... " >&6; }
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_eio_want_notify_win32}" >&5
14267 $as_echo "${_eio_want_notify_win32}" >&6; }
14268
14269 if test "x${_eio_want_notify_win32}" = "xyes" ; then
14270
14271 $as_echo "#define HAVE_NOTIFY_WIN32 1" >>confdefs.h
14272
14273    _eio_have_notify_win32="yes"
14274 fi
14275
14276 if test "x${_eio_have_notify_win32}" = "xyes" ; then
14277    have_notify_win32="yes"
14278 else
14279    have_notify_win32="no"
14280 fi
14281
14282
14283  if test "x$have_inotify" = "xyes"; then
14284   EIO_HAVE_INOTIFY_TRUE=
14285   EIO_HAVE_INOTIFY_FALSE='#'
14286 else
14287   EIO_HAVE_INOTIFY_TRUE='#'
14288   EIO_HAVE_INOTIFY_FALSE=
14289 fi
14290
14291  if test "x$have_notify_win32" = "xyes"; then
14292   EIO_HAVE_WINCHANGE_TRUE=
14293   EIO_HAVE_WINCHANGE_FALSE='#'
14294 else
14295   EIO_HAVE_WINCHANGE_TRUE='#'
14296   EIO_HAVE_WINCHANGE_FALSE=
14297 fi
14298
14299
14300
14301
14302 # Check whether --enable-build-examples was given.
14303 if test "${enable_build_examples+set}" = set; then :
14304   enableval=$enable_build_examples;
14305     if test "x${enableval}" = "xyes" ; then
14306        _efl_enable_build_examples="yes"
14307     else
14308        _efl_enable_build_examples="no"
14309     fi
14310
14311 else
14312   _efl_enable_build_examples="no"
14313 fi
14314
14315
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
14317 $as_echo_n "checking whether examples are built... " >&6; }
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
14319 $as_echo "${_efl_enable_build_examples}" >&6; }
14320
14321  if test "x${_efl_enable_build_examples}" = "xyes"; then
14322   EFL_BUILD_EXAMPLES_TRUE=
14323   EFL_BUILD_EXAMPLES_FALSE='#'
14324 else
14325   EFL_BUILD_EXAMPLES_TRUE='#'
14326   EFL_BUILD_EXAMPLES_FALSE=
14327 fi
14328
14329
14330 if test "x$_efl_enable_build_examples" = "xyes"; then :
14331   enable_build_examples="yes"
14332 else
14333   enable_build_examples="no"
14334 fi
14335
14336
14337
14338
14339 # Check whether --enable-install-examples was given.
14340 if test "${enable_install_examples+set}" = set; then :
14341   enableval=$enable_install_examples;
14342     if test "x${enableval}" = "xyes" ; then
14343        _efl_enable_install_examples="yes"
14344     else
14345        _efl_enable_install_examples="no"
14346     fi
14347
14348 else
14349   _efl_enable_install_examples="no"
14350 fi
14351
14352
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
14354 $as_echo_n "checking whether examples are installed... " >&6; }
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
14356 $as_echo "${_efl_enable_install_examples}" >&6; }
14357
14358  if test "x${_efl_enable_install_examples}" = "xyes"; then
14359   EFL_INSTALL_EXAMPLES_TRUE=
14360   EFL_INSTALL_EXAMPLES_FALSE='#'
14361 else
14362   EFL_INSTALL_EXAMPLES_TRUE='#'
14363   EFL_INSTALL_EXAMPLES_FALSE=
14364 fi
14365
14366
14367 if test "x$_efl_enable_install_examples" = "xyes"; then :
14368   enable_install_examples="yes"
14369 else
14370   enable_install_examples="no"
14371 fi
14372
14373
14374
14375 ac_config_files="$ac_config_files eio.pc eio.spec Makefile doc/Makefile doc/eio.dox doc/Doxyfile src/Makefile src/lib/Makefile src/examples/Makefile"
14376
14377 cat >confcache <<\_ACEOF
14378 # This file is a shell script that caches the results of configure
14379 # tests run on this system so they can be shared between configure
14380 # scripts and configure runs, see configure's option --config-cache.
14381 # It is not useful on other systems.  If it contains results you don't
14382 # want to keep, you may remove or edit it.
14383 #
14384 # config.status only pays attention to the cache file if you give it
14385 # the --recheck option to rerun configure.
14386 #
14387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14389 # following values.
14390
14391 _ACEOF
14392
14393 # The following way of writing the cache mishandles newlines in values,
14394 # but we know of no workaround that is simple, portable, and efficient.
14395 # So, we kill variables containing newlines.
14396 # Ultrix sh set writes to stderr and can't be redirected directly,
14397 # and sets the high bit in the cache file unless we assign to the vars.
14398 (
14399   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14400     eval ac_val=\$$ac_var
14401     case $ac_val in #(
14402     *${as_nl}*)
14403       case $ac_var in #(
14404       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14405 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14406       esac
14407       case $ac_var in #(
14408       _ | IFS | as_nl) ;; #(
14409       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14410       *) { eval $ac_var=; unset $ac_var;} ;;
14411       esac ;;
14412     esac
14413   done
14414
14415   (set) 2>&1 |
14416     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14417     *${as_nl}ac_space=\ *)
14418       # `set' does not quote correctly, so add quotes: double-quote
14419       # substitution turns \\\\ into \\, and sed turns \\ into \.
14420       sed -n \
14421         "s/'/'\\\\''/g;
14422           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14423       ;; #(
14424     *)
14425       # `set' quotes correctly as required by POSIX, so do not add quotes.
14426       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14427       ;;
14428     esac |
14429     sort
14430 ) |
14431   sed '
14432      /^ac_cv_env_/b end
14433      t clear
14434      :clear
14435      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14436      t end
14437      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14438      :end' >>confcache
14439 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14440   if test -w "$cache_file"; then
14441     if test "x$cache_file" != "x/dev/null"; then
14442       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14443 $as_echo "$as_me: updating cache $cache_file" >&6;}
14444       if test ! -f "$cache_file" || test -h "$cache_file"; then
14445         cat confcache >"$cache_file"
14446       else
14447         case $cache_file in #(
14448         */* | ?:*)
14449           mv -f confcache "$cache_file"$$ &&
14450           mv -f "$cache_file"$$ "$cache_file" ;; #(
14451         *)
14452           mv -f confcache "$cache_file" ;;
14453         esac
14454       fi
14455     fi
14456   else
14457     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14458 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14459   fi
14460 fi
14461 rm -f confcache
14462
14463 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14464 # Let make expand exec_prefix.
14465 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14466
14467 DEFS=-DHAVE_CONFIG_H
14468
14469 ac_libobjs=
14470 ac_ltlibobjs=
14471 U=
14472 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14473   # 1. Remove the extension, and $U if already installed.
14474   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14475   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14476   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14477   #    will be set to the directory where LIBOBJS objects are built.
14478   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14479   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14480 done
14481 LIBOBJS=$ac_libobjs
14482
14483 LTLIBOBJS=$ac_ltlibobjs
14484
14485
14486  if test -n "$EXEEXT"; then
14487   am__EXEEXT_TRUE=
14488   am__EXEEXT_FALSE='#'
14489 else
14490   am__EXEEXT_TRUE='#'
14491   am__EXEEXT_FALSE=
14492 fi
14493
14494 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14495   as_fn_error $? "conditional \"AMDEP\" was never defined.
14496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14497 fi
14498 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14499   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14501 fi
14502 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14503   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14505 fi
14506 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14507   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14509 fi
14510
14511 if test -z "${EIO_HAVE_INOTIFY_TRUE}" && test -z "${EIO_HAVE_INOTIFY_FALSE}"; then
14512   as_fn_error $? "conditional \"EIO_HAVE_INOTIFY\" was never defined.
14513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14514 fi
14515 if test -z "${EIO_HAVE_WINCHANGE_TRUE}" && test -z "${EIO_HAVE_WINCHANGE_FALSE}"; then
14516   as_fn_error $? "conditional \"EIO_HAVE_WINCHANGE\" was never defined.
14517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14518 fi
14519 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
14520   as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
14521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14522 fi
14523 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
14524   as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
14525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14526 fi
14527
14528 : "${CONFIG_STATUS=./config.status}"
14529 ac_write_fail=0
14530 ac_clean_files_save=$ac_clean_files
14531 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14533 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14534 as_write_fail=0
14535 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14536 #! $SHELL
14537 # Generated by $as_me.
14538 # Run this file to recreate the current configuration.
14539 # Compiler output produced by configure, useful for debugging
14540 # configure, is in config.log if it exists.
14541
14542 debug=false
14543 ac_cs_recheck=false
14544 ac_cs_silent=false
14545
14546 SHELL=\${CONFIG_SHELL-$SHELL}
14547 export SHELL
14548 _ASEOF
14549 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14550 ## -------------------- ##
14551 ## M4sh Initialization. ##
14552 ## -------------------- ##
14553
14554 # Be more Bourne compatible
14555 DUALCASE=1; export DUALCASE # for MKS sh
14556 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14557   emulate sh
14558   NULLCMD=:
14559   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14560   # is contrary to our usage.  Disable this feature.
14561   alias -g '${1+"$@"}'='"$@"'
14562   setopt NO_GLOB_SUBST
14563 else
14564   case `(set -o) 2>/dev/null` in #(
14565   *posix*) :
14566     set -o posix ;; #(
14567   *) :
14568      ;;
14569 esac
14570 fi
14571
14572
14573 as_nl='
14574 '
14575 export as_nl
14576 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14577 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14578 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14579 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14580 # Prefer a ksh shell builtin over an external printf program on Solaris,
14581 # but without wasting forks for bash or zsh.
14582 if test -z "$BASH_VERSION$ZSH_VERSION" \
14583     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14584   as_echo='print -r --'
14585   as_echo_n='print -rn --'
14586 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14587   as_echo='printf %s\n'
14588   as_echo_n='printf %s'
14589 else
14590   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14591     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14592     as_echo_n='/usr/ucb/echo -n'
14593   else
14594     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14595     as_echo_n_body='eval
14596       arg=$1;
14597       case $arg in #(
14598       *"$as_nl"*)
14599         expr "X$arg" : "X\\(.*\\)$as_nl";
14600         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14601       esac;
14602       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14603     '
14604     export as_echo_n_body
14605     as_echo_n='sh -c $as_echo_n_body as_echo'
14606   fi
14607   export as_echo_body
14608   as_echo='sh -c $as_echo_body as_echo'
14609 fi
14610
14611 # The user is always right.
14612 if test "${PATH_SEPARATOR+set}" != set; then
14613   PATH_SEPARATOR=:
14614   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14615     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14616       PATH_SEPARATOR=';'
14617   }
14618 fi
14619
14620
14621 # IFS
14622 # We need space, tab and new line, in precisely that order.  Quoting is
14623 # there to prevent editors from complaining about space-tab.
14624 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14625 # splitting by setting IFS to empty value.)
14626 IFS=" ""        $as_nl"
14627
14628 # Find who we are.  Look in the path if we contain no directory separator.
14629 as_myself=
14630 case $0 in #((
14631   *[\\/]* ) as_myself=$0 ;;
14632   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14633 for as_dir in $PATH
14634 do
14635   IFS=$as_save_IFS
14636   test -z "$as_dir" && as_dir=.
14637     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14638   done
14639 IFS=$as_save_IFS
14640
14641      ;;
14642 esac
14643 # We did not find ourselves, most probably we were run as `sh COMMAND'
14644 # in which case we are not to be found in the path.
14645 if test "x$as_myself" = x; then
14646   as_myself=$0
14647 fi
14648 if test ! -f "$as_myself"; then
14649   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14650   exit 1
14651 fi
14652
14653 # Unset variables that we do not need and which cause bugs (e.g. in
14654 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14655 # suppresses any "Segmentation fault" message there.  '((' could
14656 # trigger a bug in pdksh 5.2.14.
14657 for as_var in BASH_ENV ENV MAIL MAILPATH
14658 do eval test x\${$as_var+set} = xset \
14659   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14660 done
14661 PS1='$ '
14662 PS2='> '
14663 PS4='+ '
14664
14665 # NLS nuisances.
14666 LC_ALL=C
14667 export LC_ALL
14668 LANGUAGE=C
14669 export LANGUAGE
14670
14671 # CDPATH.
14672 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14673
14674
14675 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14676 # ----------------------------------------
14677 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14678 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14679 # script with STATUS, using 1 if that was 0.
14680 as_fn_error ()
14681 {
14682   as_status=$1; test $as_status -eq 0 && as_status=1
14683   if test "$4"; then
14684     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14685     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14686   fi
14687   $as_echo "$as_me: error: $2" >&2
14688   as_fn_exit $as_status
14689 } # as_fn_error
14690
14691
14692 # as_fn_set_status STATUS
14693 # -----------------------
14694 # Set $? to STATUS, without forking.
14695 as_fn_set_status ()
14696 {
14697   return $1
14698 } # as_fn_set_status
14699
14700 # as_fn_exit STATUS
14701 # -----------------
14702 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14703 as_fn_exit ()
14704 {
14705   set +e
14706   as_fn_set_status $1
14707   exit $1
14708 } # as_fn_exit
14709
14710 # as_fn_unset VAR
14711 # ---------------
14712 # Portably unset VAR.
14713 as_fn_unset ()
14714 {
14715   { eval $1=; unset $1;}
14716 }
14717 as_unset=as_fn_unset
14718 # as_fn_append VAR VALUE
14719 # ----------------------
14720 # Append the text in VALUE to the end of the definition contained in VAR. Take
14721 # advantage of any shell optimizations that allow amortized linear growth over
14722 # repeated appends, instead of the typical quadratic growth present in naive
14723 # implementations.
14724 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14725   eval 'as_fn_append ()
14726   {
14727     eval $1+=\$2
14728   }'
14729 else
14730   as_fn_append ()
14731   {
14732     eval $1=\$$1\$2
14733   }
14734 fi # as_fn_append
14735
14736 # as_fn_arith ARG...
14737 # ------------------
14738 # Perform arithmetic evaluation on the ARGs, and store the result in the
14739 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14740 # must be portable across $(()) and expr.
14741 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14742   eval 'as_fn_arith ()
14743   {
14744     as_val=$(( $* ))
14745   }'
14746 else
14747   as_fn_arith ()
14748   {
14749     as_val=`expr "$@" || test $? -eq 1`
14750   }
14751 fi # as_fn_arith
14752
14753
14754 if expr a : '\(a\)' >/dev/null 2>&1 &&
14755    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14756   as_expr=expr
14757 else
14758   as_expr=false
14759 fi
14760
14761 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14762   as_basename=basename
14763 else
14764   as_basename=false
14765 fi
14766
14767 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14768   as_dirname=dirname
14769 else
14770   as_dirname=false
14771 fi
14772
14773 as_me=`$as_basename -- "$0" ||
14774 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14775          X"$0" : 'X\(//\)$' \| \
14776          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14777 $as_echo X/"$0" |
14778     sed '/^.*\/\([^/][^/]*\)\/*$/{
14779             s//\1/
14780             q
14781           }
14782           /^X\/\(\/\/\)$/{
14783             s//\1/
14784             q
14785           }
14786           /^X\/\(\/\).*/{
14787             s//\1/
14788             q
14789           }
14790           s/.*/./; q'`
14791
14792 # Avoid depending upon Character Ranges.
14793 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14794 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14795 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14796 as_cr_digits='0123456789'
14797 as_cr_alnum=$as_cr_Letters$as_cr_digits
14798
14799 ECHO_C= ECHO_N= ECHO_T=
14800 case `echo -n x` in #(((((
14801 -n*)
14802   case `echo 'xy\c'` in
14803   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14804   xy)  ECHO_C='\c';;
14805   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14806        ECHO_T=' ';;
14807   esac;;
14808 *)
14809   ECHO_N='-n';;
14810 esac
14811
14812 rm -f conf$$ conf$$.exe conf$$.file
14813 if test -d conf$$.dir; then
14814   rm -f conf$$.dir/conf$$.file
14815 else
14816   rm -f conf$$.dir
14817   mkdir conf$$.dir 2>/dev/null
14818 fi
14819 if (echo >conf$$.file) 2>/dev/null; then
14820   if ln -s conf$$.file conf$$ 2>/dev/null; then
14821     as_ln_s='ln -s'
14822     # ... but there are two gotchas:
14823     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14824     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14825     # In both cases, we have to default to `cp -p'.
14826     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14827       as_ln_s='cp -p'
14828   elif ln conf$$.file conf$$ 2>/dev/null; then
14829     as_ln_s=ln
14830   else
14831     as_ln_s='cp -p'
14832   fi
14833 else
14834   as_ln_s='cp -p'
14835 fi
14836 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14837 rmdir conf$$.dir 2>/dev/null
14838
14839
14840 # as_fn_mkdir_p
14841 # -------------
14842 # Create "$as_dir" as a directory, including parents if necessary.
14843 as_fn_mkdir_p ()
14844 {
14845
14846   case $as_dir in #(
14847   -*) as_dir=./$as_dir;;
14848   esac
14849   test -d "$as_dir" || eval $as_mkdir_p || {
14850     as_dirs=
14851     while :; do
14852       case $as_dir in #(
14853       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14854       *) as_qdir=$as_dir;;
14855       esac
14856       as_dirs="'$as_qdir' $as_dirs"
14857       as_dir=`$as_dirname -- "$as_dir" ||
14858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14859          X"$as_dir" : 'X\(//\)[^/]' \| \
14860          X"$as_dir" : 'X\(//\)$' \| \
14861          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14862 $as_echo X"$as_dir" |
14863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14864             s//\1/
14865             q
14866           }
14867           /^X\(\/\/\)[^/].*/{
14868             s//\1/
14869             q
14870           }
14871           /^X\(\/\/\)$/{
14872             s//\1/
14873             q
14874           }
14875           /^X\(\/\).*/{
14876             s//\1/
14877             q
14878           }
14879           s/.*/./; q'`
14880       test -d "$as_dir" && break
14881     done
14882     test -z "$as_dirs" || eval "mkdir $as_dirs"
14883   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14884
14885
14886 } # as_fn_mkdir_p
14887 if mkdir -p . 2>/dev/null; then
14888   as_mkdir_p='mkdir -p "$as_dir"'
14889 else
14890   test -d ./-p && rmdir ./-p
14891   as_mkdir_p=false
14892 fi
14893
14894 if test -x / >/dev/null 2>&1; then
14895   as_test_x='test -x'
14896 else
14897   if ls -dL / >/dev/null 2>&1; then
14898     as_ls_L_option=L
14899   else
14900     as_ls_L_option=
14901   fi
14902   as_test_x='
14903     eval sh -c '\''
14904       if test -d "$1"; then
14905         test -d "$1/.";
14906       else
14907         case $1 in #(
14908         -*)set "./$1";;
14909         esac;
14910         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14911         ???[sx]*):;;*)false;;esac;fi
14912     '\'' sh
14913   '
14914 fi
14915 as_executable_p=$as_test_x
14916
14917 # Sed expression to map a string onto a valid CPP name.
14918 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14919
14920 # Sed expression to map a string onto a valid variable name.
14921 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14922
14923
14924 exec 6>&1
14925 ## ----------------------------------- ##
14926 ## Main body of $CONFIG_STATUS script. ##
14927 ## ----------------------------------- ##
14928 _ASEOF
14929 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14930
14931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14932 # Save the log message, to keep $0 and so on meaningful, and to
14933 # report actual input values of CONFIG_FILES etc. instead of their
14934 # values after options handling.
14935 ac_log="
14936 This file was extended by eio $as_me 1.7.2, which was
14937 generated by GNU Autoconf 2.68.  Invocation command line was
14938
14939   CONFIG_FILES    = $CONFIG_FILES
14940   CONFIG_HEADERS  = $CONFIG_HEADERS
14941   CONFIG_LINKS    = $CONFIG_LINKS
14942   CONFIG_COMMANDS = $CONFIG_COMMANDS
14943   $ $0 $@
14944
14945 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14946 "
14947
14948 _ACEOF
14949
14950 case $ac_config_files in *"
14951 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14952 esac
14953
14954 case $ac_config_headers in *"
14955 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14956 esac
14957
14958
14959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14960 # Files that config.status was made for.
14961 config_files="$ac_config_files"
14962 config_headers="$ac_config_headers"
14963 config_commands="$ac_config_commands"
14964
14965 _ACEOF
14966
14967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14968 ac_cs_usage="\
14969 \`$as_me' instantiates files and other configuration actions
14970 from templates according to the current configuration.  Unless the files
14971 and actions are specified as TAGs, all are instantiated by default.
14972
14973 Usage: $0 [OPTION]... [TAG]...
14974
14975   -h, --help       print this help, then exit
14976   -V, --version    print version number and configuration settings, then exit
14977       --config     print configuration, then exit
14978   -q, --quiet, --silent
14979                    do not print progress messages
14980   -d, --debug      don't remove temporary files
14981       --recheck    update $as_me by reconfiguring in the same conditions
14982       --file=FILE[:TEMPLATE]
14983                    instantiate the configuration file FILE
14984       --header=FILE[:TEMPLATE]
14985                    instantiate the configuration header FILE
14986
14987 Configuration files:
14988 $config_files
14989
14990 Configuration headers:
14991 $config_headers
14992
14993 Configuration commands:
14994 $config_commands
14995
14996 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14997
14998 _ACEOF
14999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15000 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15001 ac_cs_version="\\
15002 eio config.status 1.7.2
15003 configured by $0, generated by GNU Autoconf 2.68,
15004   with options \\"\$ac_cs_config\\"
15005
15006 Copyright (C) 2010 Free Software Foundation, Inc.
15007 This config.status script is free software; the Free Software Foundation
15008 gives unlimited permission to copy, distribute and modify it."
15009
15010 ac_pwd='$ac_pwd'
15011 srcdir='$srcdir'
15012 INSTALL='$INSTALL'
15013 MKDIR_P='$MKDIR_P'
15014 AWK='$AWK'
15015 test -n "\$AWK" || AWK=awk
15016 _ACEOF
15017
15018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15019 # The default lists apply if the user does not specify any file.
15020 ac_need_defaults=:
15021 while test $# != 0
15022 do
15023   case $1 in
15024   --*=?*)
15025     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15026     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15027     ac_shift=:
15028     ;;
15029   --*=)
15030     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15031     ac_optarg=
15032     ac_shift=:
15033     ;;
15034   *)
15035     ac_option=$1
15036     ac_optarg=$2
15037     ac_shift=shift
15038     ;;
15039   esac
15040
15041   case $ac_option in
15042   # Handling of the options.
15043   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15044     ac_cs_recheck=: ;;
15045   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15046     $as_echo "$ac_cs_version"; exit ;;
15047   --config | --confi | --conf | --con | --co | --c )
15048     $as_echo "$ac_cs_config"; exit ;;
15049   --debug | --debu | --deb | --de | --d | -d )
15050     debug=: ;;
15051   --file | --fil | --fi | --f )
15052     $ac_shift
15053     case $ac_optarg in
15054     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15055     '') as_fn_error $? "missing file argument" ;;
15056     esac
15057     as_fn_append CONFIG_FILES " '$ac_optarg'"
15058     ac_need_defaults=false;;
15059   --header | --heade | --head | --hea )
15060     $ac_shift
15061     case $ac_optarg in
15062     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15063     esac
15064     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15065     ac_need_defaults=false;;
15066   --he | --h)
15067     # Conflict between --help and --header
15068     as_fn_error $? "ambiguous option: \`$1'
15069 Try \`$0 --help' for more information.";;
15070   --help | --hel | -h )
15071     $as_echo "$ac_cs_usage"; exit ;;
15072   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15073   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15074     ac_cs_silent=: ;;
15075
15076   # This is an error.
15077   -*) as_fn_error $? "unrecognized option: \`$1'
15078 Try \`$0 --help' for more information." ;;
15079
15080   *) as_fn_append ac_config_targets " $1"
15081      ac_need_defaults=false ;;
15082
15083   esac
15084   shift
15085 done
15086
15087 ac_configure_extra_args=
15088
15089 if $ac_cs_silent; then
15090   exec 6>/dev/null
15091   ac_configure_extra_args="$ac_configure_extra_args --silent"
15092 fi
15093
15094 _ACEOF
15095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15096 if \$ac_cs_recheck; then
15097   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15098   shift
15099   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15100   CONFIG_SHELL='$SHELL'
15101   export CONFIG_SHELL
15102   exec "\$@"
15103 fi
15104
15105 _ACEOF
15106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15107 exec 5>>config.log
15108 {
15109   echo
15110   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15111 ## Running $as_me. ##
15112 _ASBOX
15113   $as_echo "$ac_log"
15114 } >&5
15115
15116 _ACEOF
15117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15118 #
15119 # INIT-COMMANDS
15120 #
15121 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15122
15123
15124 # The HP-UX ksh and POSIX shell print the target directory to stdout
15125 # if CDPATH is set.
15126 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15127
15128 sed_quote_subst='$sed_quote_subst'
15129 double_quote_subst='$double_quote_subst'
15130 delay_variable_subst='$delay_variable_subst'
15131 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15132 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15133 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15134 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15135 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15136 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15137 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15138 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15139 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15140 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15141 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15142 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15143 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15144 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15145 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15146 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15147 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15148 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15149 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15150 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15151 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15152 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15153 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15154 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15155 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15156 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15157 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15158 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15159 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15160 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15161 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15162 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15163 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15164 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15165 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15166 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15167 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15168 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15169 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15170 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15171 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15172 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15173 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15174 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15175 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15176 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15177 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15178 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15179 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15180 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15181 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15182 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15183 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15184 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15185 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15186 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15187 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15188 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15189 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15190 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15191 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15192 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15193 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15194 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15195 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15196 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15197 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15198 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15199 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15200 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15201 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15202 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15203 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15204 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15205 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15206 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15207 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15208 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15209 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15210 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15211 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15212 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15213 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15214 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15215 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15216 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15217 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15218 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15219 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15220 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15221 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15222 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15223 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15224 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15225 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15226 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15227 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15228 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15229 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15230 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15231 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15232 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15233 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15234 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15235 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15236 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15237 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15238 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15239 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15240 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15241 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15242 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15243 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15244 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15245 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15246 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15247 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15248 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15249 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15250 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15251 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15252 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15253 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15254 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15255 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15256 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15257 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15258 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15259 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15260 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15261 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15262
15263 LTCC='$LTCC'
15264 LTCFLAGS='$LTCFLAGS'
15265 compiler='$compiler_DEFAULT'
15266
15267 # A function that is used when there is no print builtin or printf.
15268 func_fallback_echo ()
15269 {
15270   eval 'cat <<_LTECHO_EOF
15271 \$1
15272 _LTECHO_EOF'
15273 }
15274
15275 # Quote evaled strings.
15276 for var in AS \
15277 DLLTOOL \
15278 OBJDUMP \
15279 SHELL \
15280 ECHO \
15281 PATH_SEPARATOR \
15282 SED \
15283 GREP \
15284 EGREP \
15285 FGREP \
15286 LD \
15287 NM \
15288 LN_S \
15289 lt_SP2NL \
15290 lt_NL2SP \
15291 reload_flag \
15292 deplibs_check_method \
15293 file_magic_cmd \
15294 file_magic_glob \
15295 want_nocaseglob \
15296 sharedlib_from_linklib_cmd \
15297 AR \
15298 AR_FLAGS \
15299 archiver_list_spec \
15300 STRIP \
15301 RANLIB \
15302 CC \
15303 CFLAGS \
15304 compiler \
15305 lt_cv_sys_global_symbol_pipe \
15306 lt_cv_sys_global_symbol_to_cdecl \
15307 lt_cv_sys_global_symbol_to_c_name_address \
15308 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15309 nm_file_list_spec \
15310 lt_prog_compiler_no_builtin_flag \
15311 lt_prog_compiler_pic \
15312 lt_prog_compiler_wl \
15313 lt_prog_compiler_static \
15314 lt_cv_prog_compiler_c_o \
15315 need_locks \
15316 MANIFEST_TOOL \
15317 DSYMUTIL \
15318 NMEDIT \
15319 LIPO \
15320 OTOOL \
15321 OTOOL64 \
15322 shrext_cmds \
15323 export_dynamic_flag_spec \
15324 whole_archive_flag_spec \
15325 compiler_needs_object \
15326 with_gnu_ld \
15327 allow_undefined_flag \
15328 no_undefined_flag \
15329 hardcode_libdir_flag_spec \
15330 hardcode_libdir_separator \
15331 exclude_expsyms \
15332 include_expsyms \
15333 file_list_spec \
15334 variables_saved_for_relink \
15335 libname_spec \
15336 library_names_spec \
15337 soname_spec \
15338 install_override_mode \
15339 finish_eval \
15340 old_striplib \
15341 striplib; do
15342     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15343     *[\\\\\\\`\\"\\\$]*)
15344       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15345       ;;
15346     *)
15347       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15348       ;;
15349     esac
15350 done
15351
15352 # Double-quote double-evaled strings.
15353 for var in reload_cmds \
15354 old_postinstall_cmds \
15355 old_postuninstall_cmds \
15356 old_archive_cmds \
15357 extract_expsyms_cmds \
15358 old_archive_from_new_cmds \
15359 old_archive_from_expsyms_cmds \
15360 archive_cmds \
15361 archive_expsym_cmds \
15362 module_cmds \
15363 module_expsym_cmds \
15364 export_symbols_cmds \
15365 prelink_cmds \
15366 postlink_cmds \
15367 postinstall_cmds \
15368 postuninstall_cmds \
15369 finish_cmds \
15370 sys_lib_search_path_spec \
15371 sys_lib_dlsearch_path_spec; do
15372     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15373     *[\\\\\\\`\\"\\\$]*)
15374       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15375       ;;
15376     *)
15377       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15378       ;;
15379     esac
15380 done
15381
15382 ac_aux_dir='$ac_aux_dir'
15383 xsi_shell='$xsi_shell'
15384 lt_shell_append='$lt_shell_append'
15385
15386 # See if we are running on zsh, and set the options which allow our
15387 # commands through without removal of \ escapes INIT.
15388 if test -n "\${ZSH_VERSION+set}" ; then
15389    setopt NO_GLOB_SUBST
15390 fi
15391
15392
15393     PACKAGE='$PACKAGE'
15394     VERSION='$VERSION'
15395     TIMESTAMP='$TIMESTAMP'
15396     RM='$RM'
15397     ofile='$ofile'
15398
15399
15400
15401
15402 _ACEOF
15403
15404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15405
15406 # Handling of arguments.
15407 for ac_config_target in $ac_config_targets
15408 do
15409   case $ac_config_target in
15410     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15411     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15412     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15413     "eio.pc") CONFIG_FILES="$CONFIG_FILES eio.pc" ;;
15414     "eio.spec") CONFIG_FILES="$CONFIG_FILES eio.spec" ;;
15415     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15416     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15417     "doc/eio.dox") CONFIG_FILES="$CONFIG_FILES doc/eio.dox" ;;
15418     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15419     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15420     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15421     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
15422
15423   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15424   esac
15425 done
15426
15427
15428 # If the user did not use the arguments to specify the items to instantiate,
15429 # then the envvar interface is used.  Set only those that are not.
15430 # We use the long form for the default assignment because of an extremely
15431 # bizarre bug on SunOS 4.1.3.
15432 if $ac_need_defaults; then
15433   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15434   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15435   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15436 fi
15437
15438 # Have a temporary directory for convenience.  Make it in the build tree
15439 # simply because there is no reason against having it here, and in addition,
15440 # creating and moving files from /tmp can sometimes cause problems.
15441 # Hook for its removal unless debugging.
15442 # Note that there is a small window in which the directory will not be cleaned:
15443 # after its creation but before its name has been assigned to `$tmp'.
15444 $debug ||
15445 {
15446   tmp= ac_tmp=
15447   trap 'exit_status=$?
15448   : "${ac_tmp:=$tmp}"
15449   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15450 ' 0
15451   trap 'as_fn_exit 1' 1 2 13 15
15452 }
15453 # Create a (secure) tmp directory for tmp files.
15454
15455 {
15456   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15457   test -d "$tmp"
15458 }  ||
15459 {
15460   tmp=./conf$$-$RANDOM
15461   (umask 077 && mkdir "$tmp")
15462 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15463 ac_tmp=$tmp
15464
15465 # Set up the scripts for CONFIG_FILES section.
15466 # No need to generate them if there are no CONFIG_FILES.
15467 # This happens for instance with `./config.status config.h'.
15468 if test -n "$CONFIG_FILES"; then
15469
15470
15471 ac_cr=`echo X | tr X '\015'`
15472 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15473 # But we know of no other shell where ac_cr would be empty at this
15474 # point, so we can use a bashism as a fallback.
15475 if test "x$ac_cr" = x; then
15476   eval ac_cr=\$\'\\r\'
15477 fi
15478 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15479 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15480   ac_cs_awk_cr='\\r'
15481 else
15482   ac_cs_awk_cr=$ac_cr
15483 fi
15484
15485 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15486 _ACEOF
15487
15488
15489 {
15490   echo "cat >conf$$subs.awk <<_ACEOF" &&
15491   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15492   echo "_ACEOF"
15493 } >conf$$subs.sh ||
15494   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15495 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15496 ac_delim='%!_!# '
15497 for ac_last_try in false false false false false :; do
15498   . ./conf$$subs.sh ||
15499     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15500
15501   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15502   if test $ac_delim_n = $ac_delim_num; then
15503     break
15504   elif $ac_last_try; then
15505     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15506   else
15507     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15508   fi
15509 done
15510 rm -f conf$$subs.sh
15511
15512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15513 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15514 _ACEOF
15515 sed -n '
15516 h
15517 s/^/S["/; s/!.*/"]=/
15518 p
15519 g
15520 s/^[^!]*!//
15521 :repl
15522 t repl
15523 s/'"$ac_delim"'$//
15524 t delim
15525 :nl
15526 h
15527 s/\(.\{148\}\)..*/\1/
15528 t more1
15529 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15530 p
15531 n
15532 b repl
15533 :more1
15534 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15535 p
15536 g
15537 s/.\{148\}//
15538 t nl
15539 :delim
15540 h
15541 s/\(.\{148\}\)..*/\1/
15542 t more2
15543 s/["\\]/\\&/g; s/^/"/; s/$/"/
15544 p
15545 b
15546 :more2
15547 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15548 p
15549 g
15550 s/.\{148\}//
15551 t delim
15552 ' <conf$$subs.awk | sed '
15553 /^[^""]/{
15554   N
15555   s/\n//
15556 }
15557 ' >>$CONFIG_STATUS || ac_write_fail=1
15558 rm -f conf$$subs.awk
15559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15560 _ACAWK
15561 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15562   for (key in S) S_is_set[key] = 1
15563   FS = "\a"
15564
15565 }
15566 {
15567   line = $ 0
15568   nfields = split(line, field, "@")
15569   substed = 0
15570   len = length(field[1])
15571   for (i = 2; i < nfields; i++) {
15572     key = field[i]
15573     keylen = length(key)
15574     if (S_is_set[key]) {
15575       value = S[key]
15576       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15577       len += length(value) + length(field[++i])
15578       substed = 1
15579     } else
15580       len += 1 + keylen
15581   }
15582
15583   print line
15584 }
15585
15586 _ACAWK
15587 _ACEOF
15588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15589 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15590   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15591 else
15592   cat
15593 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15594   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15595 _ACEOF
15596
15597 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15598 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15599 # trailing colons and then remove the whole line if VPATH becomes empty
15600 # (actually we leave an empty line to preserve line numbers).
15601 if test "x$srcdir" = x.; then
15602   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15603 h
15604 s///
15605 s/^/:/
15606 s/[      ]*$/:/
15607 s/:\$(srcdir):/:/g
15608 s/:\${srcdir}:/:/g
15609 s/:@srcdir@:/:/g
15610 s/^:*//
15611 s/:*$//
15612 x
15613 s/\(=[   ]*\).*/\1/
15614 G
15615 s/\n//
15616 s/^[^=]*=[       ]*$//
15617 }'
15618 fi
15619
15620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15621 fi # test -n "$CONFIG_FILES"
15622
15623 # Set up the scripts for CONFIG_HEADERS section.
15624 # No need to generate them if there are no CONFIG_HEADERS.
15625 # This happens for instance with `./config.status Makefile'.
15626 if test -n "$CONFIG_HEADERS"; then
15627 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15628 BEGIN {
15629 _ACEOF
15630
15631 # Transform confdefs.h into an awk script `defines.awk', embedded as
15632 # here-document in config.status, that substitutes the proper values into
15633 # config.h.in to produce config.h.
15634
15635 # Create a delimiter string that does not exist in confdefs.h, to ease
15636 # handling of long lines.
15637 ac_delim='%!_!# '
15638 for ac_last_try in false false :; do
15639   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15640   if test -z "$ac_tt"; then
15641     break
15642   elif $ac_last_try; then
15643     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15644   else
15645     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15646   fi
15647 done
15648
15649 # For the awk script, D is an array of macro values keyed by name,
15650 # likewise P contains macro parameters if any.  Preserve backslash
15651 # newline sequences.
15652
15653 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15654 sed -n '
15655 s/.\{148\}/&'"$ac_delim"'/g
15656 t rset
15657 :rset
15658 s/^[     ]*#[    ]*define[       ][      ]*/ /
15659 t def
15660 d
15661 :def
15662 s/\\$//
15663 t bsnl
15664 s/["\\]/\\&/g
15665 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15666 D["\1"]=" \3"/p
15667 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15668 d
15669 :bsnl
15670 s/["\\]/\\&/g
15671 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15672 D["\1"]=" \3\\\\\\n"\\/p
15673 t cont
15674 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15675 t cont
15676 d
15677 :cont
15678 n
15679 s/.\{148\}/&'"$ac_delim"'/g
15680 t clear
15681 :clear
15682 s/\\$//
15683 t bsnlc
15684 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15685 d
15686 :bsnlc
15687 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15688 b cont
15689 ' <confdefs.h | sed '
15690 s/'"$ac_delim"'/"\\\
15691 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15692
15693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15694   for (key in D) D_is_set[key] = 1
15695   FS = "\a"
15696 }
15697 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15698   line = \$ 0
15699   split(line, arg, " ")
15700   if (arg[1] == "#") {
15701     defundef = arg[2]
15702     mac1 = arg[3]
15703   } else {
15704     defundef = substr(arg[1], 2)
15705     mac1 = arg[2]
15706   }
15707   split(mac1, mac2, "(") #)
15708   macro = mac2[1]
15709   prefix = substr(line, 1, index(line, defundef) - 1)
15710   if (D_is_set[macro]) {
15711     # Preserve the white space surrounding the "#".
15712     print prefix "define", macro P[macro] D[macro]
15713     next
15714   } else {
15715     # Replace #undef with comments.  This is necessary, for example,
15716     # in the case of _POSIX_SOURCE, which is predefined and required
15717     # on some systems where configure will not decide to define it.
15718     if (defundef == "undef") {
15719       print "/*", prefix defundef, macro, "*/"
15720       next
15721     }
15722   }
15723 }
15724 { print }
15725 _ACAWK
15726 _ACEOF
15727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15728   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15729 fi # test -n "$CONFIG_HEADERS"
15730
15731
15732 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15733 shift
15734 for ac_tag
15735 do
15736   case $ac_tag in
15737   :[FHLC]) ac_mode=$ac_tag; continue;;
15738   esac
15739   case $ac_mode$ac_tag in
15740   :[FHL]*:*);;
15741   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15742   :[FH]-) ac_tag=-:-;;
15743   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15744   esac
15745   ac_save_IFS=$IFS
15746   IFS=:
15747   set x $ac_tag
15748   IFS=$ac_save_IFS
15749   shift
15750   ac_file=$1
15751   shift
15752
15753   case $ac_mode in
15754   :L) ac_source=$1;;
15755   :[FH])
15756     ac_file_inputs=
15757     for ac_f
15758     do
15759       case $ac_f in
15760       -) ac_f="$ac_tmp/stdin";;
15761       *) # Look for the file first in the build tree, then in the source tree
15762          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15763          # because $ac_f cannot contain `:'.
15764          test -f "$ac_f" ||
15765            case $ac_f in
15766            [\\/$]*) false;;
15767            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15768            esac ||
15769            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15770       esac
15771       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15772       as_fn_append ac_file_inputs " '$ac_f'"
15773     done
15774
15775     # Let's still pretend it is `configure' which instantiates (i.e., don't
15776     # use $as_me), people would be surprised to read:
15777     #    /* config.h.  Generated by config.status.  */
15778     configure_input='Generated from '`
15779           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15780         `' by configure.'
15781     if test x"$ac_file" != x-; then
15782       configure_input="$ac_file.  $configure_input"
15783       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15784 $as_echo "$as_me: creating $ac_file" >&6;}
15785     fi
15786     # Neutralize special characters interpreted by sed in replacement strings.
15787     case $configure_input in #(
15788     *\&* | *\|* | *\\* )
15789        ac_sed_conf_input=`$as_echo "$configure_input" |
15790        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15791     *) ac_sed_conf_input=$configure_input;;
15792     esac
15793
15794     case $ac_tag in
15795     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15796       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15797     esac
15798     ;;
15799   esac
15800
15801   ac_dir=`$as_dirname -- "$ac_file" ||
15802 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15803          X"$ac_file" : 'X\(//\)[^/]' \| \
15804          X"$ac_file" : 'X\(//\)$' \| \
15805          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15806 $as_echo X"$ac_file" |
15807     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15808             s//\1/
15809             q
15810           }
15811           /^X\(\/\/\)[^/].*/{
15812             s//\1/
15813             q
15814           }
15815           /^X\(\/\/\)$/{
15816             s//\1/
15817             q
15818           }
15819           /^X\(\/\).*/{
15820             s//\1/
15821             q
15822           }
15823           s/.*/./; q'`
15824   as_dir="$ac_dir"; as_fn_mkdir_p
15825   ac_builddir=.
15826
15827 case "$ac_dir" in
15828 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15829 *)
15830   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15831   # A ".." for each directory in $ac_dir_suffix.
15832   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15833   case $ac_top_builddir_sub in
15834   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15835   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15836   esac ;;
15837 esac
15838 ac_abs_top_builddir=$ac_pwd
15839 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15840 # for backward compatibility:
15841 ac_top_builddir=$ac_top_build_prefix
15842
15843 case $srcdir in
15844   .)  # We are building in place.
15845     ac_srcdir=.
15846     ac_top_srcdir=$ac_top_builddir_sub
15847     ac_abs_top_srcdir=$ac_pwd ;;
15848   [\\/]* | ?:[\\/]* )  # Absolute name.
15849     ac_srcdir=$srcdir$ac_dir_suffix;
15850     ac_top_srcdir=$srcdir
15851     ac_abs_top_srcdir=$srcdir ;;
15852   *) # Relative name.
15853     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15854     ac_top_srcdir=$ac_top_build_prefix$srcdir
15855     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15856 esac
15857 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15858
15859
15860   case $ac_mode in
15861   :F)
15862   #
15863   # CONFIG_FILE
15864   #
15865
15866   case $INSTALL in
15867   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15868   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15869   esac
15870   ac_MKDIR_P=$MKDIR_P
15871   case $MKDIR_P in
15872   [\\/$]* | ?:[\\/]* ) ;;
15873   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15874   esac
15875 _ACEOF
15876
15877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15878 # If the template does not know about datarootdir, expand it.
15879 # FIXME: This hack should be removed a few years after 2.60.
15880 ac_datarootdir_hack=; ac_datarootdir_seen=
15881 ac_sed_dataroot='
15882 /datarootdir/ {
15883   p
15884   q
15885 }
15886 /@datadir@/p
15887 /@docdir@/p
15888 /@infodir@/p
15889 /@localedir@/p
15890 /@mandir@/p'
15891 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15892 *datarootdir*) ac_datarootdir_seen=yes;;
15893 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15894   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15895 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15896 _ACEOF
15897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15898   ac_datarootdir_hack='
15899   s&@datadir@&$datadir&g
15900   s&@docdir@&$docdir&g
15901   s&@infodir@&$infodir&g
15902   s&@localedir@&$localedir&g
15903   s&@mandir@&$mandir&g
15904   s&\\\${datarootdir}&$datarootdir&g' ;;
15905 esac
15906 _ACEOF
15907
15908 # Neutralize VPATH when `$srcdir' = `.'.
15909 # Shell code in configure.ac might set extrasub.
15910 # FIXME: do we really want to maintain this feature?
15911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15912 ac_sed_extra="$ac_vpsub
15913 $extrasub
15914 _ACEOF
15915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15916 :t
15917 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15918 s|@configure_input@|$ac_sed_conf_input|;t t
15919 s&@top_builddir@&$ac_top_builddir_sub&;t t
15920 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15921 s&@srcdir@&$ac_srcdir&;t t
15922 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15923 s&@top_srcdir@&$ac_top_srcdir&;t t
15924 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15925 s&@builddir@&$ac_builddir&;t t
15926 s&@abs_builddir@&$ac_abs_builddir&;t t
15927 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15928 s&@INSTALL@&$ac_INSTALL&;t t
15929 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15930 $ac_datarootdir_hack
15931 "
15932 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15933   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15934
15935 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15936   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15937   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15938       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15939   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15940 which seems to be undefined.  Please make sure it is defined" >&5
15941 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15942 which seems to be undefined.  Please make sure it is defined" >&2;}
15943
15944   rm -f "$ac_tmp/stdin"
15945   case $ac_file in
15946   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15947   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15948   esac \
15949   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15950  ;;
15951   :H)
15952   #
15953   # CONFIG_HEADER
15954   #
15955   if test x"$ac_file" != x-; then
15956     {
15957       $as_echo "/* $configure_input  */" \
15958       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15959     } >"$ac_tmp/config.h" \
15960       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15961     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15962       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15963 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15964     else
15965       rm -f "$ac_file"
15966       mv "$ac_tmp/config.h" "$ac_file" \
15967         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15968     fi
15969   else
15970     $as_echo "/* $configure_input  */" \
15971       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15972       || as_fn_error $? "could not create -" "$LINENO" 5
15973   fi
15974 # Compute "$ac_file"'s index in $config_headers.
15975 _am_arg="$ac_file"
15976 _am_stamp_count=1
15977 for _am_header in $config_headers :; do
15978   case $_am_header in
15979     $_am_arg | $_am_arg:* )
15980       break ;;
15981     * )
15982       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15983   esac
15984 done
15985 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15986 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15987          X"$_am_arg" : 'X\(//\)[^/]' \| \
15988          X"$_am_arg" : 'X\(//\)$' \| \
15989          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15990 $as_echo X"$_am_arg" |
15991     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15992             s//\1/
15993             q
15994           }
15995           /^X\(\/\/\)[^/].*/{
15996             s//\1/
15997             q
15998           }
15999           /^X\(\/\/\)$/{
16000             s//\1/
16001             q
16002           }
16003           /^X\(\/\).*/{
16004             s//\1/
16005             q
16006           }
16007           s/.*/./; q'`/stamp-h$_am_stamp_count
16008  ;;
16009
16010   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16011 $as_echo "$as_me: executing $ac_file commands" >&6;}
16012  ;;
16013   esac
16014
16015
16016   case $ac_file$ac_mode in
16017     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16018   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16019   # are listed without --file.  Let's play safe and only enable the eval
16020   # if we detect the quoting.
16021   case $CONFIG_FILES in
16022   *\'*) eval set x "$CONFIG_FILES" ;;
16023   *)   set x $CONFIG_FILES ;;
16024   esac
16025   shift
16026   for mf
16027   do
16028     # Strip MF so we end up with the name of the file.
16029     mf=`echo "$mf" | sed -e 's/:.*$//'`
16030     # Check whether this is an Automake generated Makefile or not.
16031     # We used to match only the files named `Makefile.in', but
16032     # some people rename them; so instead we look at the file content.
16033     # Grep'ing the first line is not enough: some people post-process
16034     # each Makefile.in and add a new line on top of each file to say so.
16035     # Grep'ing the whole file is not good either: AIX grep has a line
16036     # limit of 2048, but all sed's we know have understand at least 4000.
16037     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16038       dirpart=`$as_dirname -- "$mf" ||
16039 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16040          X"$mf" : 'X\(//\)[^/]' \| \
16041          X"$mf" : 'X\(//\)$' \| \
16042          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16043 $as_echo X"$mf" |
16044     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16045             s//\1/
16046             q
16047           }
16048           /^X\(\/\/\)[^/].*/{
16049             s//\1/
16050             q
16051           }
16052           /^X\(\/\/\)$/{
16053             s//\1/
16054             q
16055           }
16056           /^X\(\/\).*/{
16057             s//\1/
16058             q
16059           }
16060           s/.*/./; q'`
16061     else
16062       continue
16063     fi
16064     # Extract the definition of DEPDIR, am__include, and am__quote
16065     # from the Makefile without running `make'.
16066     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16067     test -z "$DEPDIR" && continue
16068     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16069     test -z "am__include" && continue
16070     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16071     # When using ansi2knr, U may be empty or an underscore; expand it
16072     U=`sed -n 's/^U = //p' < "$mf"`
16073     # Find all dependency output files, they are included files with
16074     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16075     # simplest approach to changing $(DEPDIR) to its actual value in the
16076     # expansion.
16077     for file in `sed -n "
16078       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16079          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16080       # Make sure the directory exists.
16081       test -f "$dirpart/$file" && continue
16082       fdir=`$as_dirname -- "$file" ||
16083 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16084          X"$file" : 'X\(//\)[^/]' \| \
16085          X"$file" : 'X\(//\)$' \| \
16086          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16087 $as_echo X"$file" |
16088     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16089             s//\1/
16090             q
16091           }
16092           /^X\(\/\/\)[^/].*/{
16093             s//\1/
16094             q
16095           }
16096           /^X\(\/\/\)$/{
16097             s//\1/
16098             q
16099           }
16100           /^X\(\/\).*/{
16101             s//\1/
16102             q
16103           }
16104           s/.*/./; q'`
16105       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16106       # echo "creating $dirpart/$file"
16107       echo '# dummy' > "$dirpart/$file"
16108     done
16109   done
16110 }
16111  ;;
16112     "libtool":C)
16113
16114     # See if we are running on zsh, and set the options which allow our
16115     # commands through without removal of \ escapes.
16116     if test -n "${ZSH_VERSION+set}" ; then
16117       setopt NO_GLOB_SUBST
16118     fi
16119
16120     cfgfile="${ofile}T"
16121     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16122     $RM "$cfgfile"
16123
16124     cat <<_LT_EOF >> "$cfgfile"
16125 #! $SHELL
16126
16127 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16128 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16129 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16130 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16131 #
16132 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16133 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16134 #                 Foundation, Inc.
16135 #   Written by Gordon Matzigkeit, 1996
16136 #
16137 #   This file is part of GNU Libtool.
16138 #
16139 # GNU Libtool is free software; you can redistribute it and/or
16140 # modify it under the terms of the GNU General Public License as
16141 # published by the Free Software Foundation; either version 2 of
16142 # the License, or (at your option) any later version.
16143 #
16144 # As a special exception to the GNU General Public License,
16145 # if you distribute this file as part of a program or library that
16146 # is built using GNU Libtool, you may include this file under the
16147 # same distribution terms that you use for the rest of that program.
16148 #
16149 # GNU Libtool is distributed in the hope that it will be useful,
16150 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16151 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16152 # GNU General Public License for more details.
16153 #
16154 # You should have received a copy of the GNU General Public License
16155 # along with GNU Libtool; see the file COPYING.  If not, a copy
16156 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16157 # obtained by writing to the Free Software Foundation, Inc.,
16158 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16159
16160
16161 # The names of the tagged configurations supported by this script.
16162 available_tags=""
16163
16164 # ### BEGIN LIBTOOL CONFIG
16165
16166 # Assembler program.
16167 AS=$lt_AS
16168
16169 # DLL creation program.
16170 DLLTOOL=$lt_DLLTOOL
16171
16172 # Object dumper program.
16173 OBJDUMP=$lt_OBJDUMP
16174
16175 # Which release of libtool.m4 was used?
16176 macro_version=$macro_version
16177 macro_revision=$macro_revision
16178
16179 # Whether or not to build shared libraries.
16180 build_libtool_libs=$enable_shared
16181
16182 # Whether or not to build static libraries.
16183 build_old_libs=$enable_static
16184
16185 # What type of objects to build.
16186 pic_mode=$pic_mode
16187
16188 # Whether or not to optimize for fast installation.
16189 fast_install=$enable_fast_install
16190
16191 # Shell to use when invoking shell scripts.
16192 SHELL=$lt_SHELL
16193
16194 # An echo program that protects backslashes.
16195 ECHO=$lt_ECHO
16196
16197 # The PATH separator for the build system.
16198 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16199
16200 # The host system.
16201 host_alias=$host_alias
16202 host=$host
16203 host_os=$host_os
16204
16205 # The build system.
16206 build_alias=$build_alias
16207 build=$build
16208 build_os=$build_os
16209
16210 # A sed program that does not truncate output.
16211 SED=$lt_SED
16212
16213 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16214 Xsed="\$SED -e 1s/^X//"
16215
16216 # A grep program that handles long lines.
16217 GREP=$lt_GREP
16218
16219 # An ERE matcher.
16220 EGREP=$lt_EGREP
16221
16222 # A literal string matcher.
16223 FGREP=$lt_FGREP
16224
16225 # A BSD- or MS-compatible name lister.
16226 NM=$lt_NM
16227
16228 # Whether we need soft or hard links.
16229 LN_S=$lt_LN_S
16230
16231 # What is the maximum length of a command?
16232 max_cmd_len=$max_cmd_len
16233
16234 # Object file suffix (normally "o").
16235 objext=$ac_objext
16236
16237 # Executable file suffix (normally "").
16238 exeext=$exeext
16239
16240 # whether the shell understands "unset".
16241 lt_unset=$lt_unset
16242
16243 # turn spaces into newlines.
16244 SP2NL=$lt_lt_SP2NL
16245
16246 # turn newlines into spaces.
16247 NL2SP=$lt_lt_NL2SP
16248
16249 # convert \$build file names to \$host format.
16250 to_host_file_cmd=$lt_cv_to_host_file_cmd
16251
16252 # convert \$build files to toolchain format.
16253 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16254
16255 # Method to check whether dependent libraries are shared objects.
16256 deplibs_check_method=$lt_deplibs_check_method
16257
16258 # Command to use when deplibs_check_method = "file_magic".
16259 file_magic_cmd=$lt_file_magic_cmd
16260
16261 # How to find potential files when deplibs_check_method = "file_magic".
16262 file_magic_glob=$lt_file_magic_glob
16263
16264 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16265 want_nocaseglob=$lt_want_nocaseglob
16266
16267 # Command to associate shared and link libraries.
16268 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16269
16270 # The archiver.
16271 AR=$lt_AR
16272
16273 # Flags to create an archive.
16274 AR_FLAGS=$lt_AR_FLAGS
16275
16276 # How to feed a file listing to the archiver.
16277 archiver_list_spec=$lt_archiver_list_spec
16278
16279 # A symbol stripping program.
16280 STRIP=$lt_STRIP
16281
16282 # Commands used to install an old-style archive.
16283 RANLIB=$lt_RANLIB
16284 old_postinstall_cmds=$lt_old_postinstall_cmds
16285 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16286
16287 # Whether to use a lock for old archive extraction.
16288 lock_old_archive_extraction=$lock_old_archive_extraction
16289
16290 # A C compiler.
16291 LTCC=$lt_CC
16292
16293 # LTCC compiler flags.
16294 LTCFLAGS=$lt_CFLAGS
16295
16296 # Take the output of nm and produce a listing of raw symbols and C names.
16297 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16298
16299 # Transform the output of nm in a proper C declaration.
16300 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16301
16302 # Transform the output of nm in a C name address pair.
16303 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16304
16305 # Transform the output of nm in a C name address pair when lib prefix is needed.
16306 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16307
16308 # Specify filename containing input files for \$NM.
16309 nm_file_list_spec=$lt_nm_file_list_spec
16310
16311 # The root where to search for dependent libraries,and in which our libraries should be installed.
16312 lt_sysroot=$lt_sysroot
16313
16314 # The name of the directory that contains temporary libtool files.
16315 objdir=$objdir
16316
16317 # Used to examine libraries when file_magic_cmd begins with "file".
16318 MAGIC_CMD=$MAGIC_CMD
16319
16320 # Must we lock files when doing compilation?
16321 need_locks=$lt_need_locks
16322
16323 # Manifest tool.
16324 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16325
16326 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16327 DSYMUTIL=$lt_DSYMUTIL
16328
16329 # Tool to change global to local symbols on Mac OS X.
16330 NMEDIT=$lt_NMEDIT
16331
16332 # Tool to manipulate fat objects and archives on Mac OS X.
16333 LIPO=$lt_LIPO
16334
16335 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16336 OTOOL=$lt_OTOOL
16337
16338 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16339 OTOOL64=$lt_OTOOL64
16340
16341 # Old archive suffix (normally "a").
16342 libext=$libext
16343
16344 # Shared library suffix (normally ".so").
16345 shrext_cmds=$lt_shrext_cmds
16346
16347 # The commands to extract the exported symbol list from a shared archive.
16348 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16349
16350 # Variables whose values should be saved in libtool wrapper scripts and
16351 # restored at link time.
16352 variables_saved_for_relink=$lt_variables_saved_for_relink
16353
16354 # Do we need the "lib" prefix for modules?
16355 need_lib_prefix=$need_lib_prefix
16356
16357 # Do we need a version for libraries?
16358 need_version=$need_version
16359
16360 # Library versioning type.
16361 version_type=$version_type
16362
16363 # Shared library runtime path variable.
16364 runpath_var=$runpath_var
16365
16366 # Shared library path variable.
16367 shlibpath_var=$shlibpath_var
16368
16369 # Is shlibpath searched before the hard-coded library search path?
16370 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16371
16372 # Format of library name prefix.
16373 libname_spec=$lt_libname_spec
16374
16375 # List of archive names.  First name is the real one, the rest are links.
16376 # The last name is the one that the linker finds with -lNAME
16377 library_names_spec=$lt_library_names_spec
16378
16379 # The coded name of the library, if different from the real name.
16380 soname_spec=$lt_soname_spec
16381
16382 # Permission mode override for installation of shared libraries.
16383 install_override_mode=$lt_install_override_mode
16384
16385 # Command to use after installation of a shared archive.
16386 postinstall_cmds=$lt_postinstall_cmds
16387
16388 # Command to use after uninstallation of a shared archive.
16389 postuninstall_cmds=$lt_postuninstall_cmds
16390
16391 # Commands used to finish a libtool library installation in a directory.
16392 finish_cmds=$lt_finish_cmds
16393
16394 # As "finish_cmds", except a single script fragment to be evaled but
16395 # not shown.
16396 finish_eval=$lt_finish_eval
16397
16398 # Whether we should hardcode library paths into libraries.
16399 hardcode_into_libs=$hardcode_into_libs
16400
16401 # Compile-time system search path for libraries.
16402 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16403
16404 # Run-time system search path for libraries.
16405 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16406
16407 # Whether dlopen is supported.
16408 dlopen_support=$enable_dlopen
16409
16410 # Whether dlopen of programs is supported.
16411 dlopen_self=$enable_dlopen_self
16412
16413 # Whether dlopen of statically linked programs is supported.
16414 dlopen_self_static=$enable_dlopen_self_static
16415
16416 # Commands to strip libraries.
16417 old_striplib=$lt_old_striplib
16418 striplib=$lt_striplib
16419
16420
16421 # The linker used to build libraries.
16422 LD=$lt_LD
16423
16424 # How to create reloadable object files.
16425 reload_flag=$lt_reload_flag
16426 reload_cmds=$lt_reload_cmds
16427
16428 # Commands used to build an old-style archive.
16429 old_archive_cmds=$lt_old_archive_cmds
16430
16431 # A language specific compiler.
16432 CC=$lt_compiler
16433
16434 # Is the compiler the GNU compiler?
16435 with_gcc=$GCC
16436
16437 # Compiler flag to turn off builtin functions.
16438 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16439
16440 # Additional compiler flags for building library objects.
16441 pic_flag=$lt_lt_prog_compiler_pic
16442
16443 # How to pass a linker flag through the compiler.
16444 wl=$lt_lt_prog_compiler_wl
16445
16446 # Compiler flag to prevent dynamic linking.
16447 link_static_flag=$lt_lt_prog_compiler_static
16448
16449 # Does compiler simultaneously support -c and -o options?
16450 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16451
16452 # Whether or not to add -lc for building shared libraries.
16453 build_libtool_need_lc=$archive_cmds_need_lc
16454
16455 # Whether or not to disallow shared libs when runtime libs are static.
16456 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16457
16458 # Compiler flag to allow reflexive dlopens.
16459 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16460
16461 # Compiler flag to generate shared objects directly from archives.
16462 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16463
16464 # Whether the compiler copes with passing no objects directly.
16465 compiler_needs_object=$lt_compiler_needs_object
16466
16467 # Create an old-style archive from a shared archive.
16468 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16469
16470 # Create a temporary old-style archive to link instead of a shared archive.
16471 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16472
16473 # Commands used to build a shared archive.
16474 archive_cmds=$lt_archive_cmds
16475 archive_expsym_cmds=$lt_archive_expsym_cmds
16476
16477 # Commands used to build a loadable module if different from building
16478 # a shared archive.
16479 module_cmds=$lt_module_cmds
16480 module_expsym_cmds=$lt_module_expsym_cmds
16481
16482 # Whether we are building with GNU ld or not.
16483 with_gnu_ld=$lt_with_gnu_ld
16484
16485 # Flag that allows shared libraries with undefined symbols to be built.
16486 allow_undefined_flag=$lt_allow_undefined_flag
16487
16488 # Flag that enforces no undefined symbols.
16489 no_undefined_flag=$lt_no_undefined_flag
16490
16491 # Flag to hardcode \$libdir into a binary during linking.
16492 # This must work even if \$libdir does not exist
16493 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16494
16495 # Whether we need a single "-rpath" flag with a separated argument.
16496 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16497
16498 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16499 # DIR into the resulting binary.
16500 hardcode_direct=$hardcode_direct
16501
16502 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16503 # DIR into the resulting binary and the resulting library dependency is
16504 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16505 # library is relocated.
16506 hardcode_direct_absolute=$hardcode_direct_absolute
16507
16508 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16509 # into the resulting binary.
16510 hardcode_minus_L=$hardcode_minus_L
16511
16512 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16513 # into the resulting binary.
16514 hardcode_shlibpath_var=$hardcode_shlibpath_var
16515
16516 # Set to "yes" if building a shared library automatically hardcodes DIR
16517 # into the library and all subsequent libraries and executables linked
16518 # against it.
16519 hardcode_automatic=$hardcode_automatic
16520
16521 # Set to yes if linker adds runtime paths of dependent libraries
16522 # to runtime path list.
16523 inherit_rpath=$inherit_rpath
16524
16525 # Whether libtool must link a program against all its dependency libraries.
16526 link_all_deplibs=$link_all_deplibs
16527
16528 # Set to "yes" if exported symbols are required.
16529 always_export_symbols=$always_export_symbols
16530
16531 # The commands to list exported symbols.
16532 export_symbols_cmds=$lt_export_symbols_cmds
16533
16534 # Symbols that should not be listed in the preloaded symbols.
16535 exclude_expsyms=$lt_exclude_expsyms
16536
16537 # Symbols that must always be exported.
16538 include_expsyms=$lt_include_expsyms
16539
16540 # Commands necessary for linking programs (against libraries) with templates.
16541 prelink_cmds=$lt_prelink_cmds
16542
16543 # Commands necessary for finishing linking programs.
16544 postlink_cmds=$lt_postlink_cmds
16545
16546 # Specify filename containing input files.
16547 file_list_spec=$lt_file_list_spec
16548
16549 # How to hardcode a shared library path into an executable.
16550 hardcode_action=$hardcode_action
16551
16552 # ### END LIBTOOL CONFIG
16553
16554 _LT_EOF
16555
16556   case $host_os in
16557   aix3*)
16558     cat <<\_LT_EOF >> "$cfgfile"
16559 # AIX sometimes has problems with the GCC collect2 program.  For some
16560 # reason, if we set the COLLECT_NAMES environment variable, the problems
16561 # vanish in a puff of smoke.
16562 if test "X${COLLECT_NAMES+set}" != Xset; then
16563   COLLECT_NAMES=
16564   export COLLECT_NAMES
16565 fi
16566 _LT_EOF
16567     ;;
16568   esac
16569
16570
16571 ltmain="$ac_aux_dir/ltmain.sh"
16572
16573
16574   # We use sed instead of cat because bash on DJGPP gets confused if
16575   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16576   # text mode, it properly converts lines to CR/LF.  This bash problem
16577   # is reportedly fixed, but why not run on old versions too?
16578   sed '$q' "$ltmain" >> "$cfgfile" \
16579      || (rm -f "$cfgfile"; exit 1)
16580
16581   if test x"$xsi_shell" = xyes; then
16582   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16583 func_dirname ()\
16584 {\
16585 \    case ${1} in\
16586 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16587 \      *  ) func_dirname_result="${3}" ;;\
16588 \    esac\
16589 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16590   && mv -f "$cfgfile.tmp" "$cfgfile" \
16591     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16592 test 0 -eq $? || _lt_function_replace_fail=:
16593
16594
16595   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16596 func_basename ()\
16597 {\
16598 \    func_basename_result="${1##*/}"\
16599 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16600   && mv -f "$cfgfile.tmp" "$cfgfile" \
16601     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16602 test 0 -eq $? || _lt_function_replace_fail=:
16603
16604
16605   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16606 func_dirname_and_basename ()\
16607 {\
16608 \    case ${1} in\
16609 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16610 \      *  ) func_dirname_result="${3}" ;;\
16611 \    esac\
16612 \    func_basename_result="${1##*/}"\
16613 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16614   && mv -f "$cfgfile.tmp" "$cfgfile" \
16615     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16616 test 0 -eq $? || _lt_function_replace_fail=:
16617
16618
16619   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16620 func_stripname ()\
16621 {\
16622 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16623 \    # positional parameters, so assign one to ordinary parameter first.\
16624 \    func_stripname_result=${3}\
16625 \    func_stripname_result=${func_stripname_result#"${1}"}\
16626 \    func_stripname_result=${func_stripname_result%"${2}"}\
16627 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16628   && mv -f "$cfgfile.tmp" "$cfgfile" \
16629     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16630 test 0 -eq $? || _lt_function_replace_fail=:
16631
16632
16633   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16634 func_split_long_opt ()\
16635 {\
16636 \    func_split_long_opt_name=${1%%=*}\
16637 \    func_split_long_opt_arg=${1#*=}\
16638 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16639   && mv -f "$cfgfile.tmp" "$cfgfile" \
16640     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16641 test 0 -eq $? || _lt_function_replace_fail=:
16642
16643
16644   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16645 func_split_short_opt ()\
16646 {\
16647 \    func_split_short_opt_arg=${1#??}\
16648 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16649 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16650   && mv -f "$cfgfile.tmp" "$cfgfile" \
16651     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16652 test 0 -eq $? || _lt_function_replace_fail=:
16653
16654
16655   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16656 func_lo2o ()\
16657 {\
16658 \    case ${1} in\
16659 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16660 \      *)    func_lo2o_result=${1} ;;\
16661 \    esac\
16662 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16663   && mv -f "$cfgfile.tmp" "$cfgfile" \
16664     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16665 test 0 -eq $? || _lt_function_replace_fail=:
16666
16667
16668   sed -e '/^func_xform ()$/,/^} # func_xform /c\
16669 func_xform ()\
16670 {\
16671     func_xform_result=${1%.*}.lo\
16672 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16673   && mv -f "$cfgfile.tmp" "$cfgfile" \
16674     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16675 test 0 -eq $? || _lt_function_replace_fail=:
16676
16677
16678   sed -e '/^func_arith ()$/,/^} # func_arith /c\
16679 func_arith ()\
16680 {\
16681     func_arith_result=$(( $* ))\
16682 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16683   && mv -f "$cfgfile.tmp" "$cfgfile" \
16684     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16685 test 0 -eq $? || _lt_function_replace_fail=:
16686
16687
16688   sed -e '/^func_len ()$/,/^} # func_len /c\
16689 func_len ()\
16690 {\
16691     func_len_result=${#1}\
16692 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16693   && mv -f "$cfgfile.tmp" "$cfgfile" \
16694     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16695 test 0 -eq $? || _lt_function_replace_fail=:
16696
16697 fi
16698
16699 if test x"$lt_shell_append" = xyes; then
16700   sed -e '/^func_append ()$/,/^} # func_append /c\
16701 func_append ()\
16702 {\
16703     eval "${1}+=\\${2}"\
16704 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16705   && mv -f "$cfgfile.tmp" "$cfgfile" \
16706     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16707 test 0 -eq $? || _lt_function_replace_fail=:
16708
16709
16710   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16711 func_append_quoted ()\
16712 {\
16713 \    func_quote_for_eval "${2}"\
16714 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16715 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16716   && mv -f "$cfgfile.tmp" "$cfgfile" \
16717     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16718 test 0 -eq $? || _lt_function_replace_fail=:
16719
16720
16721   # Save a `func_append' function call where possible by direct use of '+='
16722   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16723     && mv -f "$cfgfile.tmp" "$cfgfile" \
16724       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16725   test 0 -eq $? || _lt_function_replace_fail=:
16726 else
16727   # Save a `func_append' function call even when '+=' is not available
16728   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16729     && mv -f "$cfgfile.tmp" "$cfgfile" \
16730       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16731   test 0 -eq $? || _lt_function_replace_fail=:
16732 fi
16733
16734 if test x"$_lt_function_replace_fail" = x":"; then
16735   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16736 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16737 fi
16738
16739
16740    mv -f "$cfgfile" "$ofile" ||
16741     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16742   chmod +x "$ofile"
16743
16744  ;;
16745
16746   esac
16747 done # for ac_tag
16748
16749
16750 as_fn_exit 0
16751 _ACEOF
16752 ac_clean_files=$ac_clean_files_save
16753
16754 test $ac_write_fail = 0 ||
16755   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16756
16757
16758 # configure is writing to config.log, and then calls config.status.
16759 # config.status does its own redirection, appending to config.log.
16760 # Unfortunately, on DOS this fails, as config.log is still kept open
16761 # by configure, so config.status won't be able to write to it; its
16762 # output is simply discarded.  So we exec the FD to /dev/null,
16763 # effectively closing config.log, so it can be properly (re)opened and
16764 # appended to by config.status.  When coming back to configure, we
16765 # need to make the FD available again.
16766 if test "$no_create" != yes; then
16767   ac_cs_success=:
16768   ac_config_status_args=
16769   test "$silent" = yes &&
16770     ac_config_status_args="$ac_config_status_args --quiet"
16771   exec 5>/dev/null
16772   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16773   exec 5>>config.log
16774   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16775   # would make configure fail if this is the last instruction.
16776   $ac_cs_success || as_fn_exit 1
16777 fi
16778 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16779   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16780 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16781 fi
16782
16783
16784 echo
16785 echo
16786 echo "------------------------------------------------------------------------"
16787 echo "$PACKAGE_NAME $PACKAGE_VERSION"
16788 echo "------------------------------------------------------------------------"
16789 echo
16790 echo
16791 echo
16792 echo "Configuration Options Summary:"
16793 echo
16794 echo "  Thread Support.......: ${have_threads}"
16795 echo "  Inotify..............: ${have_inotify}"
16796 echo "  Windows notification.: ${have_notify_win32}"
16797 echo
16798 echo "  Documentation........: ${build_doc}"
16799 echo "  Examples...............: ${enable_build_examples}"
16800 echo "  Examples installed.....: ${enable_install_examples}"
16801 echo
16802 echo "Compilation............: make (or gmake)"
16803 echo "  CPPFLAGS.............: $CPPFLAGS"
16804 echo "  CFLAGS...............: $CFLAGS"
16805 echo "  LDFLAGS..............: $LDFLAGS"
16806 echo
16807 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16808 echo "  prefix...............: $prefix"
16809 echo