Imported Upstream version 1.7.2
[platform/upstream/efreet.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for efreet 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
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='efreet'
572 PACKAGE_TARNAME='efreet'
573 PACKAGE_VERSION='1.7.2'
574 PACKAGE_STRING='efreet 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 gt_needs=
616 ac_subst_vars='am__EXEEXT_FALSE
617 am__EXEEXT_TRUE
618 LTLIBOBJS
619 LIBOBJS
620 requirement_efreet
621 EFL_ENABLE_COVERAGE_FALSE
622 EFL_ENABLE_COVERAGE_TRUE
623 EFL_COVERAGE_LIBS
624 EFL_COVERAGE_CFLAGS
625 have_lcov
626 EFL_ENABLE_TESTS_FALSE
627 EFL_ENABLE_TESTS_TRUE
628 CHECK_LIBS
629 CHECK_CFLAGS
630 ALLOCA
631 lt_enable_auto_import
632 WIN32_LIBS
633 EINA_LIBS
634 EINA_CFLAGS
635 EFREET_LIBS
636 EFREET_CFLAGS
637 EFL_EFREET_TRASH_BUILD
638 EFL_EFREET_MIME_BUILD
639 EFL_EFREET_BUILD
640 EVIL_LIBS
641 EVIL_CFLAGS
642 EFL_BUILD_DOC_FALSE
643 EFL_BUILD_DOC_TRUE
644 efl_doxygen
645 efl_have_doxygen
646 pkgconfig_requires_private
647 PKG_CONFIG_LIBDIR
648 PKG_CONFIG_PATH
649 PKG_CONFIG
650 DEFAULT_VISIBILITY_FALSE
651 DEFAULT_VISIBILITY_TRUE
652 HAVE_PO_FALSE
653 HAVE_PO_TRUE
654 LOCALE_DIR
655 POSUB
656 LTLIBINTL
657 LIBINTL
658 INTLLIBS
659 LTLIBICONV
660 LIBICONV
661 INTL_MACOSX_LIBS
662 XGETTEXT_EXTRA_OPTIONS
663 MSGMERGE
664 XGETTEXT_015
665 XGETTEXT
666 GMSGFMT_015
667 MSGFMT_015
668 GMSGFMT
669 MSGFMT
670 GETTEXT_MACRO_VERSION
671 USE_NLS
672 VMAJ
673 release_info
674 version_info
675 CPP
676 OTOOL64
677 OTOOL
678 LIPO
679 NMEDIT
680 DSYMUTIL
681 MANIFEST_TOOL
682 RANLIB
683 ac_ct_AR
684 AR
685 LN_S
686 NM
687 ac_ct_DUMPBIN
688 DUMPBIN
689 LD
690 FGREP
691 EGREP
692 GREP
693 SED
694 am__fastdepCC_FALSE
695 am__fastdepCC_TRUE
696 CCDEPMODE
697 am__nodep
698 AMDEPBACKSLASH
699 AMDEP_FALSE
700 AMDEP_TRUE
701 am__quote
702 am__include
703 DEPDIR
704 OBJEXT
705 EXEEXT
706 ac_ct_CC
707 CPPFLAGS
708 LDFLAGS
709 CFLAGS
710 CC
711 LIBTOOL
712 OBJDUMP
713 DLLTOOL
714 AS
715 host_os
716 host_vendor
717 host_cpu
718 host
719 build_os
720 build_vendor
721 build_cpu
722 build
723 AM_BACKSLASH
724 AM_DEFAULT_VERBOSITY
725 AM_DEFAULT_V
726 AM_V
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
732 AWK
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_alias
751 host_alias
752 build_alias
753 LIBS
754 ECHO_T
755 ECHO_N
756 ECHO_C
757 DEFS
758 mandir
759 localedir
760 libdir
761 psdir
762 pdfdir
763 dvidir
764 htmldir
765 infodir
766 docdir
767 oldincludedir
768 includedir
769 localstatedir
770 sharedstatedir
771 sysconfdir
772 datadir
773 datarootdir
774 libexecdir
775 sbindir
776 bindir
777 program_transform_name
778 prefix
779 exec_prefix
780 PACKAGE_URL
781 PACKAGE_BUGREPORT
782 PACKAGE_STRING
783 PACKAGE_VERSION
784 PACKAGE_TARNAME
785 PACKAGE_NAME
786 PATH_SEPARATOR
787 SHELL'
788 ac_subst_files=''
789 ac_user_opts='
790 enable_option_checking
791 enable_silent_rules
792 enable_shared
793 enable_static
794 with_pic
795 enable_fast_install
796 enable_dependency_tracking
797 with_gnu_ld
798 with_sysroot
799 enable_libtool_lock
800 enable_nls
801 enable_rpath
802 with_libiconv_prefix
803 with_libintl_prefix
804 enable_strict_spec
805 enable_sloppy_spec
806 enable_doc
807 with_doxygen
808 enable_tests
809 enable_coverage
810 '
811       ac_precious_vars='build_alias
812 host_alias
813 target_alias
814 CC
815 CFLAGS
816 LDFLAGS
817 LIBS
818 CPPFLAGS
819 CPP
820 PKG_CONFIG
821 PKG_CONFIG_PATH
822 PKG_CONFIG_LIBDIR
823 EVIL_CFLAGS
824 EVIL_LIBS
825 EFREET_CFLAGS
826 EFREET_LIBS
827 EINA_CFLAGS
828 EINA_LIBS
829 CHECK_CFLAGS
830 CHECK_LIBS'
831
832
833 # Initialize some variables set by options.
834 ac_init_help=
835 ac_init_version=false
836 ac_unrecognized_opts=
837 ac_unrecognized_sep=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
840 cache_file=/dev/null
841 exec_prefix=NONE
842 no_create=
843 no_recursion=
844 prefix=NONE
845 program_prefix=NONE
846 program_suffix=NONE
847 program_transform_name=s,x,x,
848 silent=
849 site=
850 srcdir=
851 verbose=
852 x_includes=NONE
853 x_libraries=NONE
854
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir='${exec_prefix}/bin'
862 sbindir='${exec_prefix}/sbin'
863 libexecdir='${exec_prefix}/libexec'
864 datarootdir='${prefix}/share'
865 datadir='${datarootdir}'
866 sysconfdir='${prefix}/etc'
867 sharedstatedir='${prefix}/com'
868 localstatedir='${prefix}/var'
869 includedir='${prefix}/include'
870 oldincludedir='/usr/include'
871 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
872 infodir='${datarootdir}/info'
873 htmldir='${docdir}'
874 dvidir='${docdir}'
875 pdfdir='${docdir}'
876 psdir='${docdir}'
877 libdir='${exec_prefix}/lib'
878 localedir='${datarootdir}/locale'
879 mandir='${datarootdir}/man'
880
881 ac_prev=
882 ac_dashdash=
883 for ac_option
884 do
885   # If the previous option needs an argument, assign it.
886   if test -n "$ac_prev"; then
887     eval $ac_prev=\$ac_option
888     ac_prev=
889     continue
890   fi
891
892   case $ac_option in
893   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894   *=)   ac_optarg= ;;
895   *)    ac_optarg=yes ;;
896   esac
897
898   # Accept the important Cygnus configure options, so we can diagnose typos.
899
900   case $ac_dashdash$ac_option in
901   --)
902     ac_dashdash=yes ;;
903
904   -bindir | --bindir | --bindi | --bind | --bin | --bi)
905     ac_prev=bindir ;;
906   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
907     bindir=$ac_optarg ;;
908
909   -build | --build | --buil | --bui | --bu)
910     ac_prev=build_alias ;;
911   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
912     build_alias=$ac_optarg ;;
913
914   -cache-file | --cache-file | --cache-fil | --cache-fi \
915   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
916     ac_prev=cache_file ;;
917   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
918   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
919     cache_file=$ac_optarg ;;
920
921   --config-cache | -C)
922     cache_file=config.cache ;;
923
924   -datadir | --datadir | --datadi | --datad)
925     ac_prev=datadir ;;
926   -datadir=* | --datadir=* | --datadi=* | --datad=*)
927     datadir=$ac_optarg ;;
928
929   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
930   | --dataroo | --dataro | --datar)
931     ac_prev=datarootdir ;;
932   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
933   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
934     datarootdir=$ac_optarg ;;
935
936   -disable-* | --disable-*)
937     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938     # Reject names that are not valid shell variable names.
939     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940       as_fn_error $? "invalid feature name: $ac_useropt"
941     ac_useropt_orig=$ac_useropt
942     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943     case $ac_user_opts in
944       *"
945 "enable_$ac_useropt"
946 "*) ;;
947       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948          ac_unrecognized_sep=', ';;
949     esac
950     eval enable_$ac_useropt=no ;;
951
952   -docdir | --docdir | --docdi | --doc | --do)
953     ac_prev=docdir ;;
954   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
955     docdir=$ac_optarg ;;
956
957   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
958     ac_prev=dvidir ;;
959   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
960     dvidir=$ac_optarg ;;
961
962   -enable-* | --enable-*)
963     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964     # Reject names that are not valid shell variable names.
965     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966       as_fn_error $? "invalid feature name: $ac_useropt"
967     ac_useropt_orig=$ac_useropt
968     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969     case $ac_user_opts in
970       *"
971 "enable_$ac_useropt"
972 "*) ;;
973       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974          ac_unrecognized_sep=', ';;
975     esac
976     eval enable_$ac_useropt=\$ac_optarg ;;
977
978   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980   | --exec | --exe | --ex)
981     ac_prev=exec_prefix ;;
982   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
983   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
984   | --exec=* | --exe=* | --ex=*)
985     exec_prefix=$ac_optarg ;;
986
987   -gas | --gas | --ga | --g)
988     # Obsolete; use --with-gas.
989     with_gas=yes ;;
990
991   -help | --help | --hel | --he | -h)
992     ac_init_help=long ;;
993   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
994     ac_init_help=recursive ;;
995   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
996     ac_init_help=short ;;
997
998   -host | --host | --hos | --ho)
999     ac_prev=host_alias ;;
1000   -host=* | --host=* | --hos=* | --ho=*)
1001     host_alias=$ac_optarg ;;
1002
1003   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004     ac_prev=htmldir ;;
1005   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006   | --ht=*)
1007     htmldir=$ac_optarg ;;
1008
1009   -includedir | --includedir | --includedi | --included | --include \
1010   | --includ | --inclu | --incl | --inc)
1011     ac_prev=includedir ;;
1012   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013   | --includ=* | --inclu=* | --incl=* | --inc=*)
1014     includedir=$ac_optarg ;;
1015
1016   -infodir | --infodir | --infodi | --infod | --info | --inf)
1017     ac_prev=infodir ;;
1018   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1019     infodir=$ac_optarg ;;
1020
1021   -libdir | --libdir | --libdi | --libd)
1022     ac_prev=libdir ;;
1023   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1024     libdir=$ac_optarg ;;
1025
1026   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1027   | --libexe | --libex | --libe)
1028     ac_prev=libexecdir ;;
1029   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1030   | --libexe=* | --libex=* | --libe=*)
1031     libexecdir=$ac_optarg ;;
1032
1033   -localedir | --localedir | --localedi | --localed | --locale)
1034     ac_prev=localedir ;;
1035   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1036     localedir=$ac_optarg ;;
1037
1038   -localstatedir | --localstatedir | --localstatedi | --localstated \
1039   | --localstate | --localstat | --localsta | --localst | --locals)
1040     ac_prev=localstatedir ;;
1041   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1042   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1043     localstatedir=$ac_optarg ;;
1044
1045   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1046     ac_prev=mandir ;;
1047   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1048     mandir=$ac_optarg ;;
1049
1050   -nfp | --nfp | --nf)
1051     # Obsolete; use --without-fp.
1052     with_fp=no ;;
1053
1054   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1055   | --no-cr | --no-c | -n)
1056     no_create=yes ;;
1057
1058   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060     no_recursion=yes ;;
1061
1062   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1063   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1064   | --oldin | --oldi | --old | --ol | --o)
1065     ac_prev=oldincludedir ;;
1066   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1067   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1068   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1069     oldincludedir=$ac_optarg ;;
1070
1071   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1072     ac_prev=prefix ;;
1073   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1074     prefix=$ac_optarg ;;
1075
1076   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1077   | --program-pre | --program-pr | --program-p)
1078     ac_prev=program_prefix ;;
1079   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1080   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1081     program_prefix=$ac_optarg ;;
1082
1083   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1084   | --program-suf | --program-su | --program-s)
1085     ac_prev=program_suffix ;;
1086   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1087   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1088     program_suffix=$ac_optarg ;;
1089
1090   -program-transform-name | --program-transform-name \
1091   | --program-transform-nam | --program-transform-na \
1092   | --program-transform-n | --program-transform- \
1093   | --program-transform | --program-transfor \
1094   | --program-transfo | --program-transf \
1095   | --program-trans | --program-tran \
1096   | --progr-tra | --program-tr | --program-t)
1097     ac_prev=program_transform_name ;;
1098   -program-transform-name=* | --program-transform-name=* \
1099   | --program-transform-nam=* | --program-transform-na=* \
1100   | --program-transform-n=* | --program-transform-=* \
1101   | --program-transform=* | --program-transfor=* \
1102   | --program-transfo=* | --program-transf=* \
1103   | --program-trans=* | --program-tran=* \
1104   | --progr-tra=* | --program-tr=* | --program-t=*)
1105     program_transform_name=$ac_optarg ;;
1106
1107   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1108     ac_prev=pdfdir ;;
1109   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1110     pdfdir=$ac_optarg ;;
1111
1112   -psdir | --psdir | --psdi | --psd | --ps)
1113     ac_prev=psdir ;;
1114   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1115     psdir=$ac_optarg ;;
1116
1117   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1118   | -silent | --silent | --silen | --sile | --sil)
1119     silent=yes ;;
1120
1121   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1122     ac_prev=sbindir ;;
1123   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1124   | --sbi=* | --sb=*)
1125     sbindir=$ac_optarg ;;
1126
1127   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1128   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1129   | --sharedst | --shareds | --shared | --share | --shar \
1130   | --sha | --sh)
1131     ac_prev=sharedstatedir ;;
1132   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1133   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1134   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1135   | --sha=* | --sh=*)
1136     sharedstatedir=$ac_optarg ;;
1137
1138   -site | --site | --sit)
1139     ac_prev=site ;;
1140   -site=* | --site=* | --sit=*)
1141     site=$ac_optarg ;;
1142
1143   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1144     ac_prev=srcdir ;;
1145   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1146     srcdir=$ac_optarg ;;
1147
1148   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1149   | --syscon | --sysco | --sysc | --sys | --sy)
1150     ac_prev=sysconfdir ;;
1151   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1152   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1153     sysconfdir=$ac_optarg ;;
1154
1155   -target | --target | --targe | --targ | --tar | --ta | --t)
1156     ac_prev=target_alias ;;
1157   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1158     target_alias=$ac_optarg ;;
1159
1160   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1161     verbose=yes ;;
1162
1163   -version | --version | --versio | --versi | --vers | -V)
1164     ac_init_version=: ;;
1165
1166   -with-* | --with-*)
1167     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168     # Reject names that are not valid shell variable names.
1169     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170       as_fn_error $? "invalid package name: $ac_useropt"
1171     ac_useropt_orig=$ac_useropt
1172     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173     case $ac_user_opts in
1174       *"
1175 "with_$ac_useropt"
1176 "*) ;;
1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178          ac_unrecognized_sep=', ';;
1179     esac
1180     eval with_$ac_useropt=\$ac_optarg ;;
1181
1182   -without-* | --without-*)
1183     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184     # Reject names that are not valid shell variable names.
1185     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186       as_fn_error $? "invalid package name: $ac_useropt"
1187     ac_useropt_orig=$ac_useropt
1188     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189     case $ac_user_opts in
1190       *"
1191 "with_$ac_useropt"
1192 "*) ;;
1193       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194          ac_unrecognized_sep=', ';;
1195     esac
1196     eval with_$ac_useropt=no ;;
1197
1198   --x)
1199     # Obsolete; use --with-x.
1200     with_x=yes ;;
1201
1202   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1203   | --x-incl | --x-inc | --x-in | --x-i)
1204     ac_prev=x_includes ;;
1205   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1206   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1207     x_includes=$ac_optarg ;;
1208
1209   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1210   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1211     ac_prev=x_libraries ;;
1212   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1213   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214     x_libraries=$ac_optarg ;;
1215
1216   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1217 Try \`$0 --help' for more information"
1218     ;;
1219
1220   *=*)
1221     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1222     # Reject names that are not valid shell variable names.
1223     case $ac_envvar in #(
1224       '' | [0-9]* | *[!_$as_cr_alnum]* )
1225       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1226     esac
1227     eval $ac_envvar=\$ac_optarg
1228     export $ac_envvar ;;
1229
1230   *)
1231     # FIXME: should be removed in autoconf 3.0.
1232     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236     ;;
1237
1238   esac
1239 done
1240
1241 if test -n "$ac_prev"; then
1242   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1243   as_fn_error $? "missing argument to $ac_option"
1244 fi
1245
1246 if test -n "$ac_unrecognized_opts"; then
1247   case $enable_option_checking in
1248     no) ;;
1249     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1250     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251   esac
1252 fi
1253
1254 # Check all directory arguments for consistency.
1255 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256                 datadir sysconfdir sharedstatedir localstatedir includedir \
1257                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258                 libdir localedir mandir
1259 do
1260   eval ac_val=\$$ac_var
1261   # Remove trailing slashes.
1262   case $ac_val in
1263     */ )
1264       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265       eval $ac_var=\$ac_val;;
1266   esac
1267   # Be sure to have absolute directory names.
1268   case $ac_val in
1269     [\\/$]* | ?:[\\/]* )  continue;;
1270     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271   esac
1272   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1273 done
1274
1275 # There might be people who depend on the old broken behavior: `$host'
1276 # used to hold the argument of --host etc.
1277 # FIXME: To remove some day.
1278 build=$build_alias
1279 host=$host_alias
1280 target=$target_alias
1281
1282 # FIXME: To remove some day.
1283 if test "x$host_alias" != x; then
1284   if test "x$build_alias" = x; then
1285     cross_compiling=maybe
1286     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1287     If a cross compiler is detected then cross compile mode will be used" >&2
1288   elif test "x$build_alias" != "x$host_alias"; then
1289     cross_compiling=yes
1290   fi
1291 fi
1292
1293 ac_tool_prefix=
1294 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1295
1296 test "$silent" = yes && exec 6>/dev/null
1297
1298
1299 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1300 ac_ls_di=`ls -di .` &&
1301 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1302   as_fn_error $? "working directory cannot be determined"
1303 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1304   as_fn_error $? "pwd does not report name of working directory"
1305
1306
1307 # Find the source files, if location was not specified.
1308 if test -z "$srcdir"; then
1309   ac_srcdir_defaulted=yes
1310   # Try the directory containing this script, then the parent directory.
1311   ac_confdir=`$as_dirname -- "$as_myself" ||
1312 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1313          X"$as_myself" : 'X\(//\)[^/]' \| \
1314          X"$as_myself" : 'X\(//\)$' \| \
1315          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1316 $as_echo X"$as_myself" |
1317     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1318             s//\1/
1319             q
1320           }
1321           /^X\(\/\/\)[^/].*/{
1322             s//\1/
1323             q
1324           }
1325           /^X\(\/\/\)$/{
1326             s//\1/
1327             q
1328           }
1329           /^X\(\/\).*/{
1330             s//\1/
1331             q
1332           }
1333           s/.*/./; q'`
1334   srcdir=$ac_confdir
1335   if test ! -r "$srcdir/$ac_unique_file"; then
1336     srcdir=..
1337   fi
1338 else
1339   ac_srcdir_defaulted=no
1340 fi
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1342   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1343   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1344 fi
1345 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1346 ac_abs_confdir=`(
1347         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1348         pwd)`
1349 # When building in place, set srcdir=.
1350 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351   srcdir=.
1352 fi
1353 # Remove unnecessary trailing slashes from srcdir.
1354 # Double slashes in file names in object file debugging info
1355 # mess up M-x gdb in Emacs.
1356 case $srcdir in
1357 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1358 esac
1359 for ac_var in $ac_precious_vars; do
1360   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1361   eval ac_env_${ac_var}_value=\$${ac_var}
1362   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1363   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1364 done
1365
1366 #
1367 # Report the --help message.
1368 #
1369 if test "$ac_init_help" = "long"; then
1370   # Omit some internal or obsolete options to make the list less imposing.
1371   # This message is too long to be a string in the A/UX 3.1 sh.
1372   cat <<_ACEOF
1373 \`configure' configures efreet 1.7.2 to adapt to many kinds of systems.
1374
1375 Usage: $0 [OPTION]... [VAR=VALUE]...
1376
1377 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1378 VAR=VALUE.  See below for descriptions of some of the useful variables.
1379
1380 Defaults for the options are specified in brackets.
1381
1382 Configuration:
1383   -h, --help              display this help and exit
1384       --help=short        display options specific to this package
1385       --help=recursive    display the short help of all the included packages
1386   -V, --version           display version information and exit
1387   -q, --quiet, --silent   do not print \`checking ...' messages
1388       --cache-file=FILE   cache test results in FILE [disabled]
1389   -C, --config-cache      alias for \`--cache-file=config.cache'
1390   -n, --no-create         do not create output files
1391       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1392
1393 Installation directories:
1394   --prefix=PREFIX         install architecture-independent files in PREFIX
1395                           [$ac_default_prefix]
1396   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1397                           [PREFIX]
1398
1399 By default, \`make install' will install all the files in
1400 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1401 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1402 for instance \`--prefix=\$HOME'.
1403
1404 For better control, use the options below.
1405
1406 Fine tuning of the installation directories:
1407   --bindir=DIR            user executables [EPREFIX/bin]
1408   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1409   --libexecdir=DIR        program executables [EPREFIX/libexec]
1410   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1411   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1412   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1413   --libdir=DIR            object code libraries [EPREFIX/lib]
1414   --includedir=DIR        C header files [PREFIX/include]
1415   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1416   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1417   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1418   --infodir=DIR           info documentation [DATAROOTDIR/info]
1419   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1420   --mandir=DIR            man documentation [DATAROOTDIR/man]
1421   --docdir=DIR            documentation root [DATAROOTDIR/doc/efreet]
1422   --htmldir=DIR           html documentation [DOCDIR]
1423   --dvidir=DIR            dvi documentation [DOCDIR]
1424   --pdfdir=DIR            pdf documentation [DOCDIR]
1425   --psdir=DIR             ps documentation [DOCDIR]
1426 _ACEOF
1427
1428   cat <<\_ACEOF
1429
1430 Program names:
1431   --program-prefix=PREFIX            prepend PREFIX to installed program names
1432   --program-suffix=SUFFIX            append SUFFIX to installed program names
1433   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1434
1435 System types:
1436   --build=BUILD     configure for building on BUILD [guessed]
1437   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1438 _ACEOF
1439 fi
1440
1441 if test -n "$ac_init_help"; then
1442   case $ac_init_help in
1443      short | recursive ) echo "Configuration of efreet 1.7.2:";;
1444    esac
1445   cat <<\_ACEOF
1446
1447 Optional Features:
1448   --disable-option-checking  ignore unrecognized --enable/--with options
1449   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1450   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1451   --enable-silent-rules          less verbose build output (undo: `make V=1')
1452   --disable-silent-rules         verbose build output (undo: `make V=0')
1453   --enable-shared[=PKGS]  build shared libraries [default=yes]
1454   --enable-static[=PKGS]  build static libraries [default=yes]
1455   --enable-fast-install[=PKGS]
1456                           optimize for fast installation [default=yes]
1457   --disable-dependency-tracking  speeds up one-time build
1458   --enable-dependency-tracking   do not reject slow dependency extractors
1459   --disable-libtool-lock  avoid locking (might break parallel builds)
1460   --disable-nls           do not use Native Language Support
1461   --disable-rpath         do not hardcode runtime library paths
1462   --enable-strict-spec    Enable strict spec compliance [default=disabled]
1463   --disable-sloppy-spec   Enable sloppy spec compliance [default=enabled]
1464   --disable-doc           Disable documentation build [default=enabled]
1465   --enable-tests          enable tests [default=disabled]
1466   --enable-coverage       enable coverage profiling instrumentation
1467                           [default=disabled]
1468
1469 Optional Packages:
1470   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1471   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1472   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1473                           both]
1474   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1475   --with-sysroot=DIR Search for dependent libraries within DIR
1476                         (or the compiler's sysroot if not specified).
1477   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1478   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1479   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1480   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1481   --without-libintl-prefix     don't search for libintl in includedir and libdir
1482   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1483
1484 Some influential environment variables:
1485   CC          C compiler command
1486   CFLAGS      C compiler flags
1487   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1488               nonstandard directory <lib dir>
1489   LIBS        libraries to pass to the linker, e.g. -l<library>
1490   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1491               you have headers in a nonstandard directory <include dir>
1492   CPP         C preprocessor
1493   PKG_CONFIG  path to pkg-config utility
1494   PKG_CONFIG_PATH
1495               directories to add to pkg-config's search path
1496   PKG_CONFIG_LIBDIR
1497               path overriding pkg-config's built-in search path
1498   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1499   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
1500   EFREET_CFLAGS
1501               C compiler flags for EFREET, overriding pkg-config
1502   EFREET_LIBS linker flags for EFREET, overriding pkg-config
1503   EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1504   EINA_LIBS   linker flags for EINA, overriding pkg-config
1505   CHECK_CFLAGS
1506               C compiler flags for CHECK, overriding pkg-config
1507   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1508
1509 Use these variables to override the choices made by `configure' or to help
1510 it to find libraries and programs with nonstandard names/locations.
1511
1512 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1513 _ACEOF
1514 ac_status=$?
1515 fi
1516
1517 if test "$ac_init_help" = "recursive"; then
1518   # If there are subdirs, report their specific --help.
1519   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1520     test -d "$ac_dir" ||
1521       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1522       continue
1523     ac_builddir=.
1524
1525 case "$ac_dir" in
1526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *)
1528   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1529   # A ".." for each directory in $ac_dir_suffix.
1530   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1531   case $ac_top_builddir_sub in
1532   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1534   esac ;;
1535 esac
1536 ac_abs_top_builddir=$ac_pwd
1537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1538 # for backward compatibility:
1539 ac_top_builddir=$ac_top_build_prefix
1540
1541 case $srcdir in
1542   .)  # We are building in place.
1543     ac_srcdir=.
1544     ac_top_srcdir=$ac_top_builddir_sub
1545     ac_abs_top_srcdir=$ac_pwd ;;
1546   [\\/]* | ?:[\\/]* )  # Absolute name.
1547     ac_srcdir=$srcdir$ac_dir_suffix;
1548     ac_top_srcdir=$srcdir
1549     ac_abs_top_srcdir=$srcdir ;;
1550   *) # Relative name.
1551     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1552     ac_top_srcdir=$ac_top_build_prefix$srcdir
1553     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1554 esac
1555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1556
1557     cd "$ac_dir" || { ac_status=$?; continue; }
1558     # Check for guested configure.
1559     if test -f "$ac_srcdir/configure.gnu"; then
1560       echo &&
1561       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1562     elif test -f "$ac_srcdir/configure"; then
1563       echo &&
1564       $SHELL "$ac_srcdir/configure" --help=recursive
1565     else
1566       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1567     fi || ac_status=$?
1568     cd "$ac_pwd" || { ac_status=$?; break; }
1569   done
1570 fi
1571
1572 test -n "$ac_init_help" && exit $ac_status
1573 if $ac_init_version; then
1574   cat <<\_ACEOF
1575 efreet configure 1.7.2
1576 generated by GNU Autoconf 2.68
1577
1578 Copyright (C) 2010 Free Software Foundation, Inc.
1579 This configure script is free software; the Free Software Foundation
1580 gives unlimited permission to copy, distribute and modify it.
1581 _ACEOF
1582   exit
1583 fi
1584
1585 ## ------------------------ ##
1586 ## Autoconf initialization. ##
1587 ## ------------------------ ##
1588
1589 # ac_fn_c_try_compile LINENO
1590 # --------------------------
1591 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1592 ac_fn_c_try_compile ()
1593 {
1594   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1595   rm -f conftest.$ac_objext
1596   if { { ac_try="$ac_compile"
1597 case "(($ac_try" in
1598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599   *) ac_try_echo=$ac_try;;
1600 esac
1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602 $as_echo "$ac_try_echo"; } >&5
1603   (eval "$ac_compile") 2>conftest.err
1604   ac_status=$?
1605   if test -s conftest.err; then
1606     grep -v '^ *+' conftest.err >conftest.er1
1607     cat conftest.er1 >&5
1608     mv -f conftest.er1 conftest.err
1609   fi
1610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611   test $ac_status = 0; } && {
1612          test -z "$ac_c_werror_flag" ||
1613          test ! -s conftest.err
1614        } && test -s conftest.$ac_objext; then :
1615   ac_retval=0
1616 else
1617   $as_echo "$as_me: failed program was:" >&5
1618 sed 's/^/| /' conftest.$ac_ext >&5
1619
1620         ac_retval=1
1621 fi
1622   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623   as_fn_set_status $ac_retval
1624
1625 } # ac_fn_c_try_compile
1626
1627 # ac_fn_c_try_link LINENO
1628 # -----------------------
1629 # Try to link conftest.$ac_ext, and return whether this succeeded.
1630 ac_fn_c_try_link ()
1631 {
1632   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633   rm -f conftest.$ac_objext conftest$ac_exeext
1634   if { { ac_try="$ac_link"
1635 case "(($ac_try" in
1636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637   *) ac_try_echo=$ac_try;;
1638 esac
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641   (eval "$ac_link") 2>conftest.err
1642   ac_status=$?
1643   if test -s conftest.err; then
1644     grep -v '^ *+' conftest.err >conftest.er1
1645     cat conftest.er1 >&5
1646     mv -f conftest.er1 conftest.err
1647   fi
1648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649   test $ac_status = 0; } && {
1650          test -z "$ac_c_werror_flag" ||
1651          test ! -s conftest.err
1652        } && test -s conftest$ac_exeext && {
1653          test "$cross_compiling" = yes ||
1654          $as_test_x conftest$ac_exeext
1655        }; then :
1656   ac_retval=0
1657 else
1658   $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1660
1661         ac_retval=1
1662 fi
1663   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1664   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1665   # interfere with the next link command; also delete a directory that is
1666   # left behind by Apple's compiler.  We do this before executing the actions.
1667   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669   as_fn_set_status $ac_retval
1670
1671 } # ac_fn_c_try_link
1672
1673 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1674 # -------------------------------------------------------
1675 # Tests whether HEADER exists and can be compiled using the include files in
1676 # INCLUDES, setting the cache variable VAR accordingly.
1677 ac_fn_c_check_header_compile ()
1678 {
1679   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681 $as_echo_n "checking for $2... " >&6; }
1682 if eval \${$3+:} false; then :
1683   $as_echo_n "(cached) " >&6
1684 else
1685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h.  */
1687 $4
1688 #include <$2>
1689 _ACEOF
1690 if ac_fn_c_try_compile "$LINENO"; then :
1691   eval "$3=yes"
1692 else
1693   eval "$3=no"
1694 fi
1695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1696 fi
1697 eval ac_res=\$$3
1698                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1699 $as_echo "$ac_res" >&6; }
1700   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701
1702 } # ac_fn_c_check_header_compile
1703
1704 # ac_fn_c_try_cpp LINENO
1705 # ----------------------
1706 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1707 ac_fn_c_try_cpp ()
1708 {
1709   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710   if { { ac_try="$ac_cpp conftest.$ac_ext"
1711 case "(($ac_try" in
1712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713   *) ac_try_echo=$ac_try;;
1714 esac
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1718   ac_status=$?
1719   if test -s conftest.err; then
1720     grep -v '^ *+' conftest.err >conftest.er1
1721     cat conftest.er1 >&5
1722     mv -f conftest.er1 conftest.err
1723   fi
1724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725   test $ac_status = 0; } > conftest.i && {
1726          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1727          test ! -s conftest.err
1728        }; then :
1729   ac_retval=0
1730 else
1731   $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1733
1734     ac_retval=1
1735 fi
1736   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737   as_fn_set_status $ac_retval
1738
1739 } # ac_fn_c_try_cpp
1740
1741 # ac_fn_c_try_run LINENO
1742 # ----------------------
1743 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1744 # that executables *can* be run.
1745 ac_fn_c_try_run ()
1746 {
1747   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748   if { { ac_try="$ac_link"
1749 case "(($ac_try" in
1750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751   *) ac_try_echo=$ac_try;;
1752 esac
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755   (eval "$ac_link") 2>&5
1756   ac_status=$?
1757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1759   { { case "(($ac_try" in
1760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1761   *) ac_try_echo=$ac_try;;
1762 esac
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765   (eval "$ac_try") 2>&5
1766   ac_status=$?
1767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768   test $ac_status = 0; }; }; then :
1769   ac_retval=0
1770 else
1771   $as_echo "$as_me: program exited with status $ac_status" >&5
1772        $as_echo "$as_me: failed program was:" >&5
1773 sed 's/^/| /' conftest.$ac_ext >&5
1774
1775        ac_retval=$ac_status
1776 fi
1777   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1778   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779   as_fn_set_status $ac_retval
1780
1781 } # ac_fn_c_try_run
1782
1783 # ac_fn_c_check_func LINENO FUNC VAR
1784 # ----------------------------------
1785 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1786 ac_fn_c_check_func ()
1787 {
1788   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790 $as_echo_n "checking for $2... " >&6; }
1791 if eval \${$3+:} false; then :
1792   $as_echo_n "(cached) " >&6
1793 else
1794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h.  */
1796 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1797    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1798 #define $2 innocuous_$2
1799
1800 /* System header to define __stub macros and hopefully few prototypes,
1801     which can conflict with char $2 (); below.
1802     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1803     <limits.h> exists even on freestanding compilers.  */
1804
1805 #ifdef __STDC__
1806 # include <limits.h>
1807 #else
1808 # include <assert.h>
1809 #endif
1810
1811 #undef $2
1812
1813 /* Override any GCC internal prototype to avoid an error.
1814    Use char because int might match the return type of a GCC
1815    builtin and then its argument prototype would still apply.  */
1816 #ifdef __cplusplus
1817 extern "C"
1818 #endif
1819 char $2 ();
1820 /* The GNU C library defines this for functions which it implements
1821     to always fail with ENOSYS.  Some functions are actually named
1822     something starting with __ and the normal name is an alias.  */
1823 #if defined __stub_$2 || defined __stub___$2
1824 choke me
1825 #endif
1826
1827 int
1828 main ()
1829 {
1830 return $2 ();
1831   ;
1832   return 0;
1833 }
1834 _ACEOF
1835 if ac_fn_c_try_link "$LINENO"; then :
1836   eval "$3=yes"
1837 else
1838   eval "$3=no"
1839 fi
1840 rm -f core conftest.err conftest.$ac_objext \
1841     conftest$ac_exeext conftest.$ac_ext
1842 fi
1843 eval ac_res=\$$3
1844                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845 $as_echo "$ac_res" >&6; }
1846   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847
1848 } # ac_fn_c_check_func
1849
1850 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1853 # the include files in INCLUDES and setting the cache variable VAR
1854 # accordingly.
1855 ac_fn_c_check_header_mongrel ()
1856 {
1857   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858   if eval \${$3+:} false; then :
1859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1860 $as_echo_n "checking for $2... " >&6; }
1861 if eval \${$3+:} false; then :
1862   $as_echo_n "(cached) " >&6
1863 fi
1864 eval ac_res=\$$3
1865                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867 else
1868   # Is the header compilable?
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1870 $as_echo_n "checking $2 usability... " >&6; }
1871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1872 /* end confdefs.h.  */
1873 $4
1874 #include <$2>
1875 _ACEOF
1876 if ac_fn_c_try_compile "$LINENO"; then :
1877   ac_header_compiler=yes
1878 else
1879   ac_header_compiler=no
1880 fi
1881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1883 $as_echo "$ac_header_compiler" >&6; }
1884
1885 # Is the header present?
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1887 $as_echo_n "checking $2 presence... " >&6; }
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h.  */
1890 #include <$2>
1891 _ACEOF
1892 if ac_fn_c_try_cpp "$LINENO"; then :
1893   ac_header_preproc=yes
1894 else
1895   ac_header_preproc=no
1896 fi
1897 rm -f conftest.err conftest.i conftest.$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1899 $as_echo "$ac_header_preproc" >&6; }
1900
1901 # So?  What about this header?
1902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1903   yes:no: )
1904     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1905 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1906     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1907 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1908     ;;
1909   no:yes:* )
1910     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1911 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1912     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1913 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1914     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1915 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1916     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1917 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1918     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1919 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1920 ( $as_echo "## -------------------------------------------------------- ##
1921 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1922 ## -------------------------------------------------------- ##"
1923      ) | sed "s/^/$as_me: WARNING:     /" >&2
1924     ;;
1925 esac
1926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1927 $as_echo_n "checking for $2... " >&6; }
1928 if eval \${$3+:} false; then :
1929   $as_echo_n "(cached) " >&6
1930 else
1931   eval "$3=\$ac_header_compiler"
1932 fi
1933 eval ac_res=\$$3
1934                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936 fi
1937   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938
1939 } # ac_fn_c_check_header_mongrel
1940
1941 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1942 # -------------------------------------------
1943 # Tests whether TYPE exists after having included INCLUDES, setting cache
1944 # variable VAR accordingly.
1945 ac_fn_c_check_type ()
1946 {
1947   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949 $as_echo_n "checking for $2... " >&6; }
1950 if eval \${$3+:} false; then :
1951   $as_echo_n "(cached) " >&6
1952 else
1953   eval "$3=no"
1954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h.  */
1956 $4
1957 int
1958 main ()
1959 {
1960 if (sizeof ($2))
1961          return 0;
1962   ;
1963   return 0;
1964 }
1965 _ACEOF
1966 if ac_fn_c_try_compile "$LINENO"; then :
1967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h.  */
1969 $4
1970 int
1971 main ()
1972 {
1973 if (sizeof (($2)))
1974             return 0;
1975   ;
1976   return 0;
1977 }
1978 _ACEOF
1979 if ac_fn_c_try_compile "$LINENO"; then :
1980
1981 else
1982   eval "$3=yes"
1983 fi
1984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985 fi
1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1987 fi
1988 eval ac_res=\$$3
1989                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1991   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1992
1993 } # ac_fn_c_check_type
1994 cat >config.log <<_ACEOF
1995 This file contains any messages produced by compilers while
1996 running configure, to aid debugging if configure makes a mistake.
1997
1998 It was created by efreet $as_me 1.7.2, which was
1999 generated by GNU Autoconf 2.68.  Invocation command line was
2000
2001   $ $0 $@
2002
2003 _ACEOF
2004 exec 5>>config.log
2005 {
2006 cat <<_ASUNAME
2007 ## --------- ##
2008 ## Platform. ##
2009 ## --------- ##
2010
2011 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2012 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2013 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2014 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2015 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2016
2017 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2018 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2019
2020 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2021 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2022 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2023 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2024 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2025 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2026 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2027
2028 _ASUNAME
2029
2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2031 for as_dir in $PATH
2032 do
2033   IFS=$as_save_IFS
2034   test -z "$as_dir" && as_dir=.
2035     $as_echo "PATH: $as_dir"
2036   done
2037 IFS=$as_save_IFS
2038
2039 } >&5
2040
2041 cat >&5 <<_ACEOF
2042
2043
2044 ## ----------- ##
2045 ## Core tests. ##
2046 ## ----------- ##
2047
2048 _ACEOF
2049
2050
2051 # Keep a trace of the command line.
2052 # Strip out --no-create and --no-recursion so they do not pile up.
2053 # Strip out --silent because we don't want to record it for future runs.
2054 # Also quote any args containing shell meta-characters.
2055 # Make two passes to allow for proper duplicate-argument suppression.
2056 ac_configure_args=
2057 ac_configure_args0=
2058 ac_configure_args1=
2059 ac_must_keep_next=false
2060 for ac_pass in 1 2
2061 do
2062   for ac_arg
2063   do
2064     case $ac_arg in
2065     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2066     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2067     | -silent | --silent | --silen | --sile | --sil)
2068       continue ;;
2069     *\'*)
2070       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2071     esac
2072     case $ac_pass in
2073     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2074     2)
2075       as_fn_append ac_configure_args1 " '$ac_arg'"
2076       if test $ac_must_keep_next = true; then
2077         ac_must_keep_next=false # Got value, back to normal.
2078       else
2079         case $ac_arg in
2080           *=* | --config-cache | -C | -disable-* | --disable-* \
2081           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2082           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2083           | -with-* | --with-* | -without-* | --without-* | --x)
2084             case "$ac_configure_args0 " in
2085               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2086             esac
2087             ;;
2088           -* ) ac_must_keep_next=true ;;
2089         esac
2090       fi
2091       as_fn_append ac_configure_args " '$ac_arg'"
2092       ;;
2093     esac
2094   done
2095 done
2096 { ac_configure_args0=; unset ac_configure_args0;}
2097 { ac_configure_args1=; unset ac_configure_args1;}
2098
2099 # When interrupted or exit'd, cleanup temporary files, and complete
2100 # config.log.  We remove comments because anyway the quotes in there
2101 # would cause problems or look ugly.
2102 # WARNING: Use '\'' to represent an apostrophe within the trap.
2103 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2104 trap 'exit_status=$?
2105   # Save into config.log some information that might help in debugging.
2106   {
2107     echo
2108
2109     $as_echo "## ---------------- ##
2110 ## Cache variables. ##
2111 ## ---------------- ##"
2112     echo
2113     # The following way of writing the cache mishandles newlines in values,
2114 (
2115   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2116     eval ac_val=\$$ac_var
2117     case $ac_val in #(
2118     *${as_nl}*)
2119       case $ac_var in #(
2120       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2121 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2122       esac
2123       case $ac_var in #(
2124       _ | IFS | as_nl) ;; #(
2125       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2126       *) { eval $ac_var=; unset $ac_var;} ;;
2127       esac ;;
2128     esac
2129   done
2130   (set) 2>&1 |
2131     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2132     *${as_nl}ac_space=\ *)
2133       sed -n \
2134         "s/'\''/'\''\\\\'\'''\''/g;
2135           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2136       ;; #(
2137     *)
2138       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2139       ;;
2140     esac |
2141     sort
2142 )
2143     echo
2144
2145     $as_echo "## ----------------- ##
2146 ## Output variables. ##
2147 ## ----------------- ##"
2148     echo
2149     for ac_var in $ac_subst_vars
2150     do
2151       eval ac_val=\$$ac_var
2152       case $ac_val in
2153       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2154       esac
2155       $as_echo "$ac_var='\''$ac_val'\''"
2156     done | sort
2157     echo
2158
2159     if test -n "$ac_subst_files"; then
2160       $as_echo "## ------------------- ##
2161 ## File substitutions. ##
2162 ## ------------------- ##"
2163       echo
2164       for ac_var in $ac_subst_files
2165       do
2166         eval ac_val=\$$ac_var
2167         case $ac_val in
2168         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2169         esac
2170         $as_echo "$ac_var='\''$ac_val'\''"
2171       done | sort
2172       echo
2173     fi
2174
2175     if test -s confdefs.h; then
2176       $as_echo "## ----------- ##
2177 ## confdefs.h. ##
2178 ## ----------- ##"
2179       echo
2180       cat confdefs.h
2181       echo
2182     fi
2183     test "$ac_signal" != 0 &&
2184       $as_echo "$as_me: caught signal $ac_signal"
2185     $as_echo "$as_me: exit $exit_status"
2186   } >&5
2187   rm -f core *.core core.conftest.* &&
2188     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2189     exit $exit_status
2190 ' 0
2191 for ac_signal in 1 2 13 15; do
2192   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2193 done
2194 ac_signal=0
2195
2196 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2197 rm -f -r conftest* confdefs.h
2198
2199 $as_echo "/* confdefs.h */" > confdefs.h
2200
2201 # Predefined preprocessor variables.
2202
2203 cat >>confdefs.h <<_ACEOF
2204 #define PACKAGE_NAME "$PACKAGE_NAME"
2205 _ACEOF
2206
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2209 _ACEOF
2210
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2213 _ACEOF
2214
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_STRING "$PACKAGE_STRING"
2217 _ACEOF
2218
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2221 _ACEOF
2222
2223 cat >>confdefs.h <<_ACEOF
2224 #define PACKAGE_URL "$PACKAGE_URL"
2225 _ACEOF
2226
2227
2228 # Let the site file select an alternate cache file if it wants to.
2229 # Prefer an explicitly selected file to automatically selected ones.
2230 ac_site_file1=NONE
2231 ac_site_file2=NONE
2232 if test -n "$CONFIG_SITE"; then
2233   # We do not want a PATH search for config.site.
2234   case $CONFIG_SITE in #((
2235     -*)  ac_site_file1=./$CONFIG_SITE;;
2236     */*) ac_site_file1=$CONFIG_SITE;;
2237     *)   ac_site_file1=./$CONFIG_SITE;;
2238   esac
2239 elif test "x$prefix" != xNONE; then
2240   ac_site_file1=$prefix/share/config.site
2241   ac_site_file2=$prefix/etc/config.site
2242 else
2243   ac_site_file1=$ac_default_prefix/share/config.site
2244   ac_site_file2=$ac_default_prefix/etc/config.site
2245 fi
2246 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2247 do
2248   test "x$ac_site_file" = xNONE && continue
2249   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2250     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2251 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2252     sed 's/^/| /' "$ac_site_file" >&5
2253     . "$ac_site_file" \
2254       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2256 as_fn_error $? "failed to load site script $ac_site_file
2257 See \`config.log' for more details" "$LINENO" 5; }
2258   fi
2259 done
2260
2261 if test -r "$cache_file"; then
2262   # Some versions of bash will fail to source /dev/null (special files
2263   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2264   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2265     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2266 $as_echo "$as_me: loading cache $cache_file" >&6;}
2267     case $cache_file in
2268       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2269       *)                      . "./$cache_file";;
2270     esac
2271   fi
2272 else
2273   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2274 $as_echo "$as_me: creating cache $cache_file" >&6;}
2275   >$cache_file
2276 fi
2277
2278 gt_needs="$gt_needs "
2279 # Check that the precious variables saved in the cache have kept the same
2280 # value.
2281 ac_cache_corrupted=false
2282 for ac_var in $ac_precious_vars; do
2283   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2284   eval ac_new_set=\$ac_env_${ac_var}_set
2285   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2286   eval ac_new_val=\$ac_env_${ac_var}_value
2287   case $ac_old_set,$ac_new_set in
2288     set,)
2289       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2290 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2291       ac_cache_corrupted=: ;;
2292     ,set)
2293       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2294 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2295       ac_cache_corrupted=: ;;
2296     ,);;
2297     *)
2298       if test "x$ac_old_val" != "x$ac_new_val"; then
2299         # differences in whitespace do not lead to failure.
2300         ac_old_val_w=`echo x $ac_old_val`
2301         ac_new_val_w=`echo x $ac_new_val`
2302         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2303           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2304 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2305           ac_cache_corrupted=:
2306         else
2307           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2308 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2309           eval $ac_var=\$ac_old_val
2310         fi
2311         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2312 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2313         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2314 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2315       fi;;
2316   esac
2317   # Pass precious variables to config.status.
2318   if test "$ac_new_set" = set; then
2319     case $ac_new_val in
2320     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2321     *) ac_arg=$ac_var=$ac_new_val ;;
2322     esac
2323     case " $ac_configure_args " in
2324       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2325       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2326     esac
2327   fi
2328 done
2329 if $ac_cache_corrupted; then
2330   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2332   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2333 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2334   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2335 fi
2336 ## -------------------- ##
2337 ## Main body of script. ##
2338 ## -------------------- ##
2339
2340 ac_ext=c
2341 ac_cpp='$CPP $CPPFLAGS'
2342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2345
2346
2347
2348
2349
2350
2351 ac_config_headers="$ac_config_headers config.h"
2352
2353
2354
2355
2356 am__api_version='1.11'
2357
2358 ac_aux_dir=
2359 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2360   if test -f "$ac_dir/install-sh"; then
2361     ac_aux_dir=$ac_dir
2362     ac_install_sh="$ac_aux_dir/install-sh -c"
2363     break
2364   elif test -f "$ac_dir/install.sh"; then
2365     ac_aux_dir=$ac_dir
2366     ac_install_sh="$ac_aux_dir/install.sh -c"
2367     break
2368   elif test -f "$ac_dir/shtool"; then
2369     ac_aux_dir=$ac_dir
2370     ac_install_sh="$ac_aux_dir/shtool install -c"
2371     break
2372   fi
2373 done
2374 if test -z "$ac_aux_dir"; then
2375   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2376 fi
2377
2378 # These three variables are undocumented and unsupported,
2379 # and are intended to be withdrawn in a future Autoconf release.
2380 # They can cause serious problems if a builder's source tree is in a directory
2381 # whose full name contains unusual characters.
2382 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2383 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2384 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2385
2386
2387 # Find a good install program.  We prefer a C program (faster),
2388 # so one script is as good as another.  But avoid the broken or
2389 # incompatible versions:
2390 # SysV /etc/install, /usr/sbin/install
2391 # SunOS /usr/etc/install
2392 # IRIX /sbin/install
2393 # AIX /bin/install
2394 # AmigaOS /C/install, which installs bootblocks on floppy discs
2395 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2398 # OS/2's system install, which has a completely different semantic
2399 # ./install, which can be erroneously created by make from ./install.sh.
2400 # Reject install programs that cannot install multiple files.
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2402 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2403 if test -z "$INSTALL"; then
2404 if ${ac_cv_path_install+:} false; then :
2405   $as_echo_n "(cached) " >&6
2406 else
2407   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 for as_dir in $PATH
2409 do
2410   IFS=$as_save_IFS
2411   test -z "$as_dir" && as_dir=.
2412     # Account for people who put trailing slashes in PATH elements.
2413 case $as_dir/ in #((
2414   ./ | .// | /[cC]/* | \
2415   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2416   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2417   /usr/ucb/* ) ;;
2418   *)
2419     # OSF1 and SCO ODT 3.0 have their own names for install.
2420     # Don't use installbsd from OSF since it installs stuff as root
2421     # by default.
2422     for ac_prog in ginstall scoinst install; do
2423       for ac_exec_ext in '' $ac_executable_extensions; do
2424         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2425           if test $ac_prog = install &&
2426             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2427             # AIX install.  It has an incompatible calling convention.
2428             :
2429           elif test $ac_prog = install &&
2430             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2431             # program-specific install script used by HP pwplus--don't use.
2432             :
2433           else
2434             rm -rf conftest.one conftest.two conftest.dir
2435             echo one > conftest.one
2436             echo two > conftest.two
2437             mkdir conftest.dir
2438             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2439               test -s conftest.one && test -s conftest.two &&
2440               test -s conftest.dir/conftest.one &&
2441               test -s conftest.dir/conftest.two
2442             then
2443               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2444               break 3
2445             fi
2446           fi
2447         fi
2448       done
2449     done
2450     ;;
2451 esac
2452
2453   done
2454 IFS=$as_save_IFS
2455
2456 rm -rf conftest.one conftest.two conftest.dir
2457
2458 fi
2459   if test "${ac_cv_path_install+set}" = set; then
2460     INSTALL=$ac_cv_path_install
2461   else
2462     # As a last resort, use the slow shell script.  Don't cache a
2463     # value for INSTALL within a source directory, because that will
2464     # break other packages using the cache if that directory is
2465     # removed, or if the value is a relative name.
2466     INSTALL=$ac_install_sh
2467   fi
2468 fi
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2470 $as_echo "$INSTALL" >&6; }
2471
2472 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2473 # It thinks the first close brace ends the variable substitution.
2474 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2475
2476 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2477
2478 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2479
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2481 $as_echo_n "checking whether build environment is sane... " >&6; }
2482 # Just in case
2483 sleep 1
2484 echo timestamp > conftest.file
2485 # Reject unsafe characters in $srcdir or the absolute working directory
2486 # name.  Accept space and tab only in the latter.
2487 am_lf='
2488 '
2489 case `pwd` in
2490   *[\\\"\#\$\&\'\`$am_lf]*)
2491     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2492 esac
2493 case $srcdir in
2494   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2495     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2496 esac
2497
2498 # Do `set' in a subshell so we don't clobber the current shell's
2499 # arguments.  Must try -L first in case configure is actually a
2500 # symlink; some systems play weird games with the mod time of symlinks
2501 # (eg FreeBSD returns the mod time of the symlink's containing
2502 # directory).
2503 if (
2504    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2505    if test "$*" = "X"; then
2506       # -L didn't work.
2507       set X `ls -t "$srcdir/configure" conftest.file`
2508    fi
2509    rm -f conftest.file
2510    if test "$*" != "X $srcdir/configure conftest.file" \
2511       && test "$*" != "X conftest.file $srcdir/configure"; then
2512
2513       # If neither matched, then we have a broken ls.  This can happen
2514       # if, for instance, CONFIG_SHELL is bash and it inherits a
2515       # broken ls alias from the environment.  This has actually
2516       # happened.  Such a system could not be considered "sane".
2517       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2518 alias in your environment" "$LINENO" 5
2519    fi
2520
2521    test "$2" = conftest.file
2522    )
2523 then
2524    # Ok.
2525    :
2526 else
2527    as_fn_error $? "newly created file is older than distributed files!
2528 Check your system clock" "$LINENO" 5
2529 fi
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2531 $as_echo "yes" >&6; }
2532 test "$program_prefix" != NONE &&
2533   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2534 # Use a double $ so make ignores it.
2535 test "$program_suffix" != NONE &&
2536   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2537 # Double any \ or $.
2538 # By default was `s,x,x', remove it if useless.
2539 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2540 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2541
2542 # expand $ac_aux_dir to an absolute path
2543 am_aux_dir=`cd $ac_aux_dir && pwd`
2544
2545 if test x"${MISSING+set}" != xset; then
2546   case $am_aux_dir in
2547   *\ * | *\     *)
2548     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2549   *)
2550     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2551   esac
2552 fi
2553 # Use eval to expand $SHELL
2554 if eval "$MISSING --run true"; then
2555   am_missing_run="$MISSING --run "
2556 else
2557   am_missing_run=
2558   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2559 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2560 fi
2561
2562 if test x"${install_sh}" != xset; then
2563   case $am_aux_dir in
2564   *\ * | *\     *)
2565     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2566   *)
2567     install_sh="\${SHELL} $am_aux_dir/install-sh"
2568   esac
2569 fi
2570
2571 # Installed binaries are usually stripped using `strip' when the user
2572 # run `make install-strip'.  However `strip' might not be the right
2573 # tool to use in cross-compilation environments, therefore Automake
2574 # will honor the `STRIP' environment variable to overrule this program.
2575 if test "$cross_compiling" != no; then
2576   if test -n "$ac_tool_prefix"; then
2577   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2578 set dummy ${ac_tool_prefix}strip; ac_word=$2
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2580 $as_echo_n "checking for $ac_word... " >&6; }
2581 if ${ac_cv_prog_STRIP+:} false; then :
2582   $as_echo_n "(cached) " >&6
2583 else
2584   if test -n "$STRIP"; then
2585   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2586 else
2587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588 for as_dir in $PATH
2589 do
2590   IFS=$as_save_IFS
2591   test -z "$as_dir" && as_dir=.
2592     for ac_exec_ext in '' $ac_executable_extensions; do
2593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2594     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2596     break 2
2597   fi
2598 done
2599   done
2600 IFS=$as_save_IFS
2601
2602 fi
2603 fi
2604 STRIP=$ac_cv_prog_STRIP
2605 if test -n "$STRIP"; then
2606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2607 $as_echo "$STRIP" >&6; }
2608 else
2609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2610 $as_echo "no" >&6; }
2611 fi
2612
2613
2614 fi
2615 if test -z "$ac_cv_prog_STRIP"; then
2616   ac_ct_STRIP=$STRIP
2617   # Extract the first word of "strip", so it can be a program name with args.
2618 set dummy strip; ac_word=$2
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620 $as_echo_n "checking for $ac_word... " >&6; }
2621 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2622   $as_echo_n "(cached) " >&6
2623 else
2624   if test -n "$ac_ct_STRIP"; then
2625   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2626 else
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628 for as_dir in $PATH
2629 do
2630   IFS=$as_save_IFS
2631   test -z "$as_dir" && as_dir=.
2632     for ac_exec_ext in '' $ac_executable_extensions; do
2633   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2634     ac_cv_prog_ac_ct_STRIP="strip"
2635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2636     break 2
2637   fi
2638 done
2639   done
2640 IFS=$as_save_IFS
2641
2642 fi
2643 fi
2644 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2645 if test -n "$ac_ct_STRIP"; then
2646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2647 $as_echo "$ac_ct_STRIP" >&6; }
2648 else
2649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2651 fi
2652
2653   if test "x$ac_ct_STRIP" = x; then
2654     STRIP=":"
2655   else
2656     case $cross_compiling:$ac_tool_warned in
2657 yes:)
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2660 ac_tool_warned=yes ;;
2661 esac
2662     STRIP=$ac_ct_STRIP
2663   fi
2664 else
2665   STRIP="$ac_cv_prog_STRIP"
2666 fi
2667
2668 fi
2669 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2670
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2672 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2673 if test -z "$MKDIR_P"; then
2674   if ${ac_cv_path_mkdir+:} false; then :
2675   $as_echo_n "(cached) " >&6
2676 else
2677   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2679 do
2680   IFS=$as_save_IFS
2681   test -z "$as_dir" && as_dir=.
2682     for ac_prog in mkdir gmkdir; do
2683          for ac_exec_ext in '' $ac_executable_extensions; do
2684            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2685            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2686              'mkdir (GNU coreutils) '* | \
2687              'mkdir (coreutils) '* | \
2688              'mkdir (fileutils) '4.1*)
2689                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2690                break 3;;
2691            esac
2692          done
2693        done
2694   done
2695 IFS=$as_save_IFS
2696
2697 fi
2698
2699   test -d ./--version && rmdir ./--version
2700   if test "${ac_cv_path_mkdir+set}" = set; then
2701     MKDIR_P="$ac_cv_path_mkdir -p"
2702   else
2703     # As a last resort, use the slow shell script.  Don't cache a
2704     # value for MKDIR_P within a source directory, because that will
2705     # break other packages using the cache if that directory is
2706     # removed, or if the value is a relative name.
2707     MKDIR_P="$ac_install_sh -d"
2708   fi
2709 fi
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2711 $as_echo "$MKDIR_P" >&6; }
2712
2713 mkdir_p="$MKDIR_P"
2714 case $mkdir_p in
2715   [\\/$]* | ?:[\\/]*) ;;
2716   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2717 esac
2718
2719 for ac_prog in gawk mawk nawk awk
2720 do
2721   # Extract the first word of "$ac_prog", so it can be a program name with args.
2722 set dummy $ac_prog; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if ${ac_cv_prog_AWK+:} false; then :
2726   $as_echo_n "(cached) " >&6
2727 else
2728   if test -n "$AWK"; then
2729   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2730 else
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2732 for as_dir in $PATH
2733 do
2734   IFS=$as_save_IFS
2735   test -z "$as_dir" && as_dir=.
2736     for ac_exec_ext in '' $ac_executable_extensions; do
2737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738     ac_cv_prog_AWK="$ac_prog"
2739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2740     break 2
2741   fi
2742 done
2743   done
2744 IFS=$as_save_IFS
2745
2746 fi
2747 fi
2748 AWK=$ac_cv_prog_AWK
2749 if test -n "$AWK"; then
2750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2751 $as_echo "$AWK" >&6; }
2752 else
2753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754 $as_echo "no" >&6; }
2755 fi
2756
2757
2758   test -n "$AWK" && break
2759 done
2760
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2762 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2763 set x ${MAKE-make}
2764 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2765 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2766   $as_echo_n "(cached) " >&6
2767 else
2768   cat >conftest.make <<\_ACEOF
2769 SHELL = /bin/sh
2770 all:
2771         @echo '@@@%%%=$(MAKE)=@@@%%%'
2772 _ACEOF
2773 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2774 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2775   *@@@%%%=?*=@@@%%%*)
2776     eval ac_cv_prog_make_${ac_make}_set=yes;;
2777   *)
2778     eval ac_cv_prog_make_${ac_make}_set=no;;
2779 esac
2780 rm -f conftest.make
2781 fi
2782 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2784 $as_echo "yes" >&6; }
2785   SET_MAKE=
2786 else
2787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788 $as_echo "no" >&6; }
2789   SET_MAKE="MAKE=${MAKE-make}"
2790 fi
2791
2792 rm -rf .tst 2>/dev/null
2793 mkdir .tst 2>/dev/null
2794 if test -d .tst; then
2795   am__leading_dot=.
2796 else
2797   am__leading_dot=_
2798 fi
2799 rmdir .tst 2>/dev/null
2800
2801 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2802   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2803   # is not polluted with repeated "-I."
2804   am__isrc=' -I$(srcdir)'
2805   # test to see if srcdir already configured
2806   if test -f $srcdir/config.status; then
2807     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2808   fi
2809 fi
2810
2811 # test whether we have cygpath
2812 if test -z "$CYGPATH_W"; then
2813   if (cygpath --version) >/dev/null 2>/dev/null; then
2814     CYGPATH_W='cygpath -w'
2815   else
2816     CYGPATH_W=echo
2817   fi
2818 fi
2819
2820
2821 # Define the identity of the package.
2822  PACKAGE='efreet'
2823  VERSION='1.7.2'
2824
2825
2826 cat >>confdefs.h <<_ACEOF
2827 #define PACKAGE "$PACKAGE"
2828 _ACEOF
2829
2830
2831 cat >>confdefs.h <<_ACEOF
2832 #define VERSION "$VERSION"
2833 _ACEOF
2834
2835 # Some tools Automake needs.
2836
2837 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2838
2839
2840 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2841
2842
2843 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2844
2845
2846 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2847
2848
2849 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2850
2851 # We need awk for the "check" target.  The system "awk" is bad on
2852 # some platforms.
2853 # Always define AMTAR for backward compatibility.  Yes, it's still used
2854 # in the wild :-(  We should find a proper way to deprecate it ...
2855 AMTAR='$${TAR-tar}'
2856
2857 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2858
2859
2860
2861
2862
2863 # Check whether --enable-silent-rules was given.
2864 if test "${enable_silent_rules+set}" = set; then :
2865   enableval=$enable_silent_rules;
2866 fi
2867
2868 case $enable_silent_rules in
2869 yes) AM_DEFAULT_VERBOSITY=0;;
2870 no)  AM_DEFAULT_VERBOSITY=1;;
2871 *)   AM_DEFAULT_VERBOSITY=0;;
2872 esac
2873 am_make=${MAKE-make}
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2875 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2876 if ${am_cv_make_support_nested_variables+:} false; then :
2877   $as_echo_n "(cached) " >&6
2878 else
2879   if $as_echo 'TRUE=$(BAR$(V))
2880 BAR0=false
2881 BAR1=true
2882 V=1
2883 am__doit:
2884         @$(TRUE)
2885 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2886   am_cv_make_support_nested_variables=yes
2887 else
2888   am_cv_make_support_nested_variables=no
2889 fi
2890 fi
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2892 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2893 if test $am_cv_make_support_nested_variables = yes; then
2894     AM_V='$(V)'
2895   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2896 else
2897   AM_V=$AM_DEFAULT_VERBOSITY
2898   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2899 fi
2900 AM_BACKSLASH='\'
2901
2902
2903 # Make sure we can run config.sub.
2904 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2905   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2906
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2908 $as_echo_n "checking build system type... " >&6; }
2909 if ${ac_cv_build+:} false; then :
2910   $as_echo_n "(cached) " >&6
2911 else
2912   ac_build_alias=$build_alias
2913 test "x$ac_build_alias" = x &&
2914   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2915 test "x$ac_build_alias" = x &&
2916   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2917 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2918   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2919
2920 fi
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2922 $as_echo "$ac_cv_build" >&6; }
2923 case $ac_cv_build in
2924 *-*-*) ;;
2925 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2926 esac
2927 build=$ac_cv_build
2928 ac_save_IFS=$IFS; IFS='-'
2929 set x $ac_cv_build
2930 shift
2931 build_cpu=$1
2932 build_vendor=$2
2933 shift; shift
2934 # Remember, the first character of IFS is used to create $*,
2935 # except with old shells:
2936 build_os=$*
2937 IFS=$ac_save_IFS
2938 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2939
2940
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2942 $as_echo_n "checking host system type... " >&6; }
2943 if ${ac_cv_host+:} false; then :
2944   $as_echo_n "(cached) " >&6
2945 else
2946   if test "x$host_alias" = x; then
2947   ac_cv_host=$ac_cv_build
2948 else
2949   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2950     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2951 fi
2952
2953 fi
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2955 $as_echo "$ac_cv_host" >&6; }
2956 case $ac_cv_host in
2957 *-*-*) ;;
2958 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2959 esac
2960 host=$ac_cv_host
2961 ac_save_IFS=$IFS; IFS='-'
2962 set x $ac_cv_host
2963 shift
2964 host_cpu=$1
2965 host_vendor=$2
2966 shift; shift
2967 # Remember, the first character of IFS is used to create $*,
2968 # except with old shells:
2969 host_os=$*
2970 IFS=$ac_save_IFS
2971 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2972
2973
2974 enable_win32_dll=yes
2975
2976 case $host in
2977 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
2978   if test -n "$ac_tool_prefix"; then
2979   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2980 set dummy ${ac_tool_prefix}as; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_AS+:} false; then :
2984   $as_echo_n "(cached) " >&6
2985 else
2986   if test -n "$AS"; then
2987   ac_cv_prog_AS="$AS" # Let the user override the test.
2988 else
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 for as_dir in $PATH
2991 do
2992   IFS=$as_save_IFS
2993   test -z "$as_dir" && as_dir=.
2994     for ac_exec_ext in '' $ac_executable_extensions; do
2995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2996     ac_cv_prog_AS="${ac_tool_prefix}as"
2997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998     break 2
2999   fi
3000 done
3001   done
3002 IFS=$as_save_IFS
3003
3004 fi
3005 fi
3006 AS=$ac_cv_prog_AS
3007 if test -n "$AS"; then
3008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3009 $as_echo "$AS" >&6; }
3010 else
3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3013 fi
3014
3015
3016 fi
3017 if test -z "$ac_cv_prog_AS"; then
3018   ac_ct_AS=$AS
3019   # Extract the first word of "as", so it can be a program name with args.
3020 set dummy as; ac_word=$2
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022 $as_echo_n "checking for $ac_word... " >&6; }
3023 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3024   $as_echo_n "(cached) " >&6
3025 else
3026   if test -n "$ac_ct_AS"; then
3027   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3028 else
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 for as_dir in $PATH
3031 do
3032   IFS=$as_save_IFS
3033   test -z "$as_dir" && as_dir=.
3034     for ac_exec_ext in '' $ac_executable_extensions; do
3035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036     ac_cv_prog_ac_ct_AS="as"
3037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038     break 2
3039   fi
3040 done
3041   done
3042 IFS=$as_save_IFS
3043
3044 fi
3045 fi
3046 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3047 if test -n "$ac_ct_AS"; then
3048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3049 $as_echo "$ac_ct_AS" >&6; }
3050 else
3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3053 fi
3054
3055   if test "x$ac_ct_AS" = x; then
3056     AS="false"
3057   else
3058     case $cross_compiling:$ac_tool_warned in
3059 yes:)
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3062 ac_tool_warned=yes ;;
3063 esac
3064     AS=$ac_ct_AS
3065   fi
3066 else
3067   AS="$ac_cv_prog_AS"
3068 fi
3069
3070   if test -n "$ac_tool_prefix"; then
3071   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3072 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if ${ac_cv_prog_DLLTOOL+:} false; then :
3076   $as_echo_n "(cached) " >&6
3077 else
3078   if test -n "$DLLTOOL"; then
3079   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3080 else
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 for as_dir in $PATH
3083 do
3084   IFS=$as_save_IFS
3085   test -z "$as_dir" && as_dir=.
3086     for ac_exec_ext in '' $ac_executable_extensions; do
3087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3088     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090     break 2
3091   fi
3092 done
3093   done
3094 IFS=$as_save_IFS
3095
3096 fi
3097 fi
3098 DLLTOOL=$ac_cv_prog_DLLTOOL
3099 if test -n "$DLLTOOL"; then
3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3101 $as_echo "$DLLTOOL" >&6; }
3102 else
3103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3105 fi
3106
3107
3108 fi
3109 if test -z "$ac_cv_prog_DLLTOOL"; then
3110   ac_ct_DLLTOOL=$DLLTOOL
3111   # Extract the first word of "dlltool", so it can be a program name with args.
3112 set dummy dlltool; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3116   $as_echo_n "(cached) " >&6
3117 else
3118   if test -n "$ac_ct_DLLTOOL"; then
3119   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3120 else
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 for as_dir in $PATH
3123 do
3124   IFS=$as_save_IFS
3125   test -z "$as_dir" && as_dir=.
3126     for ac_exec_ext in '' $ac_executable_extensions; do
3127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130     break 2
3131   fi
3132 done
3133   done
3134 IFS=$as_save_IFS
3135
3136 fi
3137 fi
3138 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3139 if test -n "$ac_ct_DLLTOOL"; then
3140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3141 $as_echo "$ac_ct_DLLTOOL" >&6; }
3142 else
3143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3145 fi
3146
3147   if test "x$ac_ct_DLLTOOL" = x; then
3148     DLLTOOL="false"
3149   else
3150     case $cross_compiling:$ac_tool_warned in
3151 yes:)
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3154 ac_tool_warned=yes ;;
3155 esac
3156     DLLTOOL=$ac_ct_DLLTOOL
3157   fi
3158 else
3159   DLLTOOL="$ac_cv_prog_DLLTOOL"
3160 fi
3161
3162   if test -n "$ac_tool_prefix"; then
3163   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3164 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3166 $as_echo_n "checking for $ac_word... " >&6; }
3167 if ${ac_cv_prog_OBJDUMP+:} false; then :
3168   $as_echo_n "(cached) " >&6
3169 else
3170   if test -n "$OBJDUMP"; then
3171   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3172 else
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 for as_dir in $PATH
3175 do
3176   IFS=$as_save_IFS
3177   test -z "$as_dir" && as_dir=.
3178     for ac_exec_ext in '' $ac_executable_extensions; do
3179   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3180     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182     break 2
3183   fi
3184 done
3185   done
3186 IFS=$as_save_IFS
3187
3188 fi
3189 fi
3190 OBJDUMP=$ac_cv_prog_OBJDUMP
3191 if test -n "$OBJDUMP"; then
3192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3193 $as_echo "$OBJDUMP" >&6; }
3194 else
3195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3196 $as_echo "no" >&6; }
3197 fi
3198
3199
3200 fi
3201 if test -z "$ac_cv_prog_OBJDUMP"; then
3202   ac_ct_OBJDUMP=$OBJDUMP
3203   # Extract the first word of "objdump", so it can be a program name with args.
3204 set dummy objdump; ac_word=$2
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3206 $as_echo_n "checking for $ac_word... " >&6; }
3207 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3208   $as_echo_n "(cached) " >&6
3209 else
3210   if test -n "$ac_ct_OBJDUMP"; then
3211   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3212 else
3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214 for as_dir in $PATH
3215 do
3216   IFS=$as_save_IFS
3217   test -z "$as_dir" && as_dir=.
3218     for ac_exec_ext in '' $ac_executable_extensions; do
3219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222     break 2
3223   fi
3224 done
3225   done
3226 IFS=$as_save_IFS
3227
3228 fi
3229 fi
3230 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3231 if test -n "$ac_ct_OBJDUMP"; then
3232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3233 $as_echo "$ac_ct_OBJDUMP" >&6; }
3234 else
3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3237 fi
3238
3239   if test "x$ac_ct_OBJDUMP" = x; then
3240     OBJDUMP="false"
3241   else
3242     case $cross_compiling:$ac_tool_warned in
3243 yes:)
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3246 ac_tool_warned=yes ;;
3247 esac
3248     OBJDUMP=$ac_ct_OBJDUMP
3249   fi
3250 else
3251   OBJDUMP="$ac_cv_prog_OBJDUMP"
3252 fi
3253
3254   ;;
3255 esac
3256
3257 test -z "$AS" && AS=as
3258
3259
3260
3261
3262
3263 test -z "$DLLTOOL" && DLLTOOL=dlltool
3264
3265
3266
3267
3268
3269 test -z "$OBJDUMP" && OBJDUMP=objdump
3270
3271
3272
3273
3274
3275
3276
3277 case `pwd` in
3278   *\ * | *\     *)
3279     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3280 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3281 esac
3282
3283
3284
3285 macro_version='2.4.2'
3286 macro_revision='1.3337'
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300 ltmain="$ac_aux_dir/ltmain.sh"
3301
3302 # Backslashify metacharacters that are still active within
3303 # double-quoted strings.
3304 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3305
3306 # Same as above, but do not quote variable references.
3307 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3308
3309 # Sed substitution to delay expansion of an escaped shell variable in a
3310 # double_quote_subst'ed string.
3311 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3312
3313 # Sed substitution to delay expansion of an escaped single quote.
3314 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3315
3316 # Sed substitution to avoid accidental globbing in evaled expressions
3317 no_glob_subst='s/\*/\\\*/g'
3318
3319 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3320 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3321 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3322
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3324 $as_echo_n "checking how to print strings... " >&6; }
3325 # Test print first, because it will be a builtin if present.
3326 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3327    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3328   ECHO='print -r --'
3329 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3330   ECHO='printf %s\n'
3331 else
3332   # Use this function as a fallback that always works.
3333   func_fallback_echo ()
3334   {
3335     eval 'cat <<_LTECHO_EOF
3336 $1
3337 _LTECHO_EOF'
3338   }
3339   ECHO='func_fallback_echo'
3340 fi
3341
3342 # func_echo_all arg...
3343 # Invoke $ECHO with all args, space-separated.
3344 func_echo_all ()
3345 {
3346     $ECHO ""
3347 }
3348
3349 case "$ECHO" in
3350   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3351 $as_echo "printf" >&6; } ;;
3352   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3353 $as_echo "print -r" >&6; } ;;
3354   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3355 $as_echo "cat" >&6; } ;;
3356 esac
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371 DEPDIR="${am__leading_dot}deps"
3372
3373 ac_config_commands="$ac_config_commands depfiles"
3374
3375
3376 am_make=${MAKE-make}
3377 cat > confinc << 'END'
3378 am__doit:
3379         @echo this is the am__doit target
3380 .PHONY: am__doit
3381 END
3382 # If we don't find an include directive, just comment out the code.
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3384 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3385 am__include="#"
3386 am__quote=
3387 _am_result=none
3388 # First try GNU make style include.
3389 echo "include confinc" > confmf
3390 # Ignore all kinds of additional output from `make'.
3391 case `$am_make -s -f confmf 2> /dev/null` in #(
3392 *the\ am__doit\ target*)
3393   am__include=include
3394   am__quote=
3395   _am_result=GNU
3396   ;;
3397 esac
3398 # Now try BSD make style include.
3399 if test "$am__include" = "#"; then
3400    echo '.include "confinc"' > confmf
3401    case `$am_make -s -f confmf 2> /dev/null` in #(
3402    *the\ am__doit\ target*)
3403      am__include=.include
3404      am__quote="\""
3405      _am_result=BSD
3406      ;;
3407    esac
3408 fi
3409
3410
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3412 $as_echo "$_am_result" >&6; }
3413 rm -f confinc confmf
3414
3415 # Check whether --enable-dependency-tracking was given.
3416 if test "${enable_dependency_tracking+set}" = set; then :
3417   enableval=$enable_dependency_tracking;
3418 fi
3419
3420 if test "x$enable_dependency_tracking" != xno; then
3421   am_depcomp="$ac_aux_dir/depcomp"
3422   AMDEPBACKSLASH='\'
3423   am__nodep='_no'
3424 fi
3425  if test "x$enable_dependency_tracking" != xno; then
3426   AMDEP_TRUE=
3427   AMDEP_FALSE='#'
3428 else
3429   AMDEP_TRUE='#'
3430   AMDEP_FALSE=
3431 fi
3432
3433
3434 ac_ext=c
3435 ac_cpp='$CPP $CPPFLAGS'
3436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3439 if test -n "$ac_tool_prefix"; then
3440   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3441 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3443 $as_echo_n "checking for $ac_word... " >&6; }
3444 if ${ac_cv_prog_CC+:} false; then :
3445   $as_echo_n "(cached) " >&6
3446 else
3447   if test -n "$CC"; then
3448   ac_cv_prog_CC="$CC" # Let the user override the test.
3449 else
3450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451 for as_dir in $PATH
3452 do
3453   IFS=$as_save_IFS
3454   test -z "$as_dir" && as_dir=.
3455     for ac_exec_ext in '' $ac_executable_extensions; do
3456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3457     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3459     break 2
3460   fi
3461 done
3462   done
3463 IFS=$as_save_IFS
3464
3465 fi
3466 fi
3467 CC=$ac_cv_prog_CC
3468 if test -n "$CC"; then
3469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3470 $as_echo "$CC" >&6; }
3471 else
3472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473 $as_echo "no" >&6; }
3474 fi
3475
3476
3477 fi
3478 if test -z "$ac_cv_prog_CC"; then
3479   ac_ct_CC=$CC
3480   # Extract the first word of "gcc", so it can be a program name with args.
3481 set dummy gcc; ac_word=$2
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3483 $as_echo_n "checking for $ac_word... " >&6; }
3484 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3485   $as_echo_n "(cached) " >&6
3486 else
3487   if test -n "$ac_ct_CC"; then
3488   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3489 else
3490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491 for as_dir in $PATH
3492 do
3493   IFS=$as_save_IFS
3494   test -z "$as_dir" && as_dir=.
3495     for ac_exec_ext in '' $ac_executable_extensions; do
3496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3497     ac_cv_prog_ac_ct_CC="gcc"
3498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3499     break 2
3500   fi
3501 done
3502   done
3503 IFS=$as_save_IFS
3504
3505 fi
3506 fi
3507 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3508 if test -n "$ac_ct_CC"; then
3509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3510 $as_echo "$ac_ct_CC" >&6; }
3511 else
3512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3513 $as_echo "no" >&6; }
3514 fi
3515
3516   if test "x$ac_ct_CC" = x; then
3517     CC=""
3518   else
3519     case $cross_compiling:$ac_tool_warned in
3520 yes:)
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3523 ac_tool_warned=yes ;;
3524 esac
3525     CC=$ac_ct_CC
3526   fi
3527 else
3528   CC="$ac_cv_prog_CC"
3529 fi
3530
3531 if test -z "$CC"; then
3532           if test -n "$ac_tool_prefix"; then
3533     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3534 set dummy ${ac_tool_prefix}cc; ac_word=$2
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if ${ac_cv_prog_CC+:} false; then :
3538   $as_echo_n "(cached) " >&6
3539 else
3540   if test -n "$CC"; then
3541   ac_cv_prog_CC="$CC" # Let the user override the test.
3542 else
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 for as_dir in $PATH
3545 do
3546   IFS=$as_save_IFS
3547   test -z "$as_dir" && as_dir=.
3548     for ac_exec_ext in '' $ac_executable_extensions; do
3549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3550     ac_cv_prog_CC="${ac_tool_prefix}cc"
3551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3552     break 2
3553   fi
3554 done
3555   done
3556 IFS=$as_save_IFS
3557
3558 fi
3559 fi
3560 CC=$ac_cv_prog_CC
3561 if test -n "$CC"; then
3562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3563 $as_echo "$CC" >&6; }
3564 else
3565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3567 fi
3568
3569
3570   fi
3571 fi
3572 if test -z "$CC"; then
3573   # Extract the first word of "cc", so it can be a program name with args.
3574 set dummy cc; ac_word=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if ${ac_cv_prog_CC+:} false; then :
3578   $as_echo_n "(cached) " >&6
3579 else
3580   if test -n "$CC"; then
3581   ac_cv_prog_CC="$CC" # Let the user override the test.
3582 else
3583   ac_prog_rejected=no
3584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585 for as_dir in $PATH
3586 do
3587   IFS=$as_save_IFS
3588   test -z "$as_dir" && as_dir=.
3589     for ac_exec_ext in '' $ac_executable_extensions; do
3590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3591     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3592        ac_prog_rejected=yes
3593        continue
3594      fi
3595     ac_cv_prog_CC="cc"
3596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3597     break 2
3598   fi
3599 done
3600   done
3601 IFS=$as_save_IFS
3602
3603 if test $ac_prog_rejected = yes; then
3604   # We found a bogon in the path, so make sure we never use it.
3605   set dummy $ac_cv_prog_CC
3606   shift
3607   if test $# != 0; then
3608     # We chose a different compiler from the bogus one.
3609     # However, it has the same basename, so the bogon will be chosen
3610     # first if we set CC to just the basename; use the full file name.
3611     shift
3612     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3613   fi
3614 fi
3615 fi
3616 fi
3617 CC=$ac_cv_prog_CC
3618 if test -n "$CC"; then
3619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3620 $as_echo "$CC" >&6; }
3621 else
3622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3624 fi
3625
3626
3627 fi
3628 if test -z "$CC"; then
3629   if test -n "$ac_tool_prefix"; then
3630   for ac_prog in cl.exe
3631   do
3632     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3633 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if ${ac_cv_prog_CC+:} false; then :
3637   $as_echo_n "(cached) " >&6
3638 else
3639   if test -n "$CC"; then
3640   ac_cv_prog_CC="$CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3644 do
3645   IFS=$as_save_IFS
3646   test -z "$as_dir" && as_dir=.
3647     for ac_exec_ext in '' $ac_executable_extensions; do
3648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651     break 2
3652   fi
3653 done
3654   done
3655 IFS=$as_save_IFS
3656
3657 fi
3658 fi
3659 CC=$ac_cv_prog_CC
3660 if test -n "$CC"; then
3661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3663 else
3664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3666 fi
3667
3668
3669     test -n "$CC" && break
3670   done
3671 fi
3672 if test -z "$CC"; then
3673   ac_ct_CC=$CC
3674   for ac_prog in cl.exe
3675 do
3676   # Extract the first word of "$ac_prog", so it can be a program name with args.
3677 set dummy $ac_prog; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3681   $as_echo_n "(cached) " >&6
3682 else
3683   if test -n "$ac_ct_CC"; then
3684   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3685 else
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH
3688 do
3689   IFS=$as_save_IFS
3690   test -z "$as_dir" && as_dir=.
3691     for ac_exec_ext in '' $ac_executable_extensions; do
3692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693     ac_cv_prog_ac_ct_CC="$ac_prog"
3694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695     break 2
3696   fi
3697 done
3698   done
3699 IFS=$as_save_IFS
3700
3701 fi
3702 fi
3703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3704 if test -n "$ac_ct_CC"; then
3705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3706 $as_echo "$ac_ct_CC" >&6; }
3707 else
3708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3710 fi
3711
3712
3713   test -n "$ac_ct_CC" && break
3714 done
3715
3716   if test "x$ac_ct_CC" = x; then
3717     CC=""
3718   else
3719     case $cross_compiling:$ac_tool_warned in
3720 yes:)
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3723 ac_tool_warned=yes ;;
3724 esac
3725     CC=$ac_ct_CC
3726   fi
3727 fi
3728
3729 fi
3730
3731
3732 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3734 as_fn_error $? "no acceptable C compiler found in \$PATH
3735 See \`config.log' for more details" "$LINENO" 5; }
3736
3737 # Provide some information about the compiler.
3738 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3739 set X $ac_compile
3740 ac_compiler=$2
3741 for ac_option in --version -v -V -qversion; do
3742   { { ac_try="$ac_compiler $ac_option >&5"
3743 case "(($ac_try" in
3744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3745   *) ac_try_echo=$ac_try;;
3746 esac
3747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3748 $as_echo "$ac_try_echo"; } >&5
3749   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3750   ac_status=$?
3751   if test -s conftest.err; then
3752     sed '10a\
3753 ... rest of stderr output deleted ...
3754          10q' conftest.err >conftest.er1
3755     cat conftest.er1 >&5
3756   fi
3757   rm -f conftest.er1 conftest.err
3758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3759   test $ac_status = 0; }
3760 done
3761
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h.  */
3764
3765 int
3766 main ()
3767 {
3768
3769   ;
3770   return 0;
3771 }
3772 _ACEOF
3773 ac_clean_files_save=$ac_clean_files
3774 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3775 # Try to create an executable without -o first, disregard a.out.
3776 # It will help us diagnose broken compilers, and finding out an intuition
3777 # of exeext.
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3779 $as_echo_n "checking whether the C compiler works... " >&6; }
3780 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3781
3782 # The possible output files:
3783 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3784
3785 ac_rmfiles=
3786 for ac_file in $ac_files
3787 do
3788   case $ac_file in
3789     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3790     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3791   esac
3792 done
3793 rm -f $ac_rmfiles
3794
3795 if { { ac_try="$ac_link_default"
3796 case "(($ac_try" in
3797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798   *) ac_try_echo=$ac_try;;
3799 esac
3800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3801 $as_echo "$ac_try_echo"; } >&5
3802   (eval "$ac_link_default") 2>&5
3803   ac_status=$?
3804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3805   test $ac_status = 0; }; then :
3806   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3807 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3808 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3809 # so that the user can short-circuit this test for compilers unknown to
3810 # Autoconf.
3811 for ac_file in $ac_files ''
3812 do
3813   test -f "$ac_file" || continue
3814   case $ac_file in
3815     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3816         ;;
3817     [ab].out )
3818         # We found the default executable, but exeext='' is most
3819         # certainly right.
3820         break;;
3821     *.* )
3822         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3823         then :; else
3824            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3825         fi
3826         # We set ac_cv_exeext here because the later test for it is not
3827         # safe: cross compilers may not add the suffix if given an `-o'
3828         # argument, so we may need to know it at that point already.
3829         # Even if this section looks crufty: it has the advantage of
3830         # actually working.
3831         break;;
3832     * )
3833         break;;
3834   esac
3835 done
3836 test "$ac_cv_exeext" = no && ac_cv_exeext=
3837
3838 else
3839   ac_file=''
3840 fi
3841 if test -z "$ac_file"; then :
3842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3844 $as_echo "$as_me: failed program was:" >&5
3845 sed 's/^/| /' conftest.$ac_ext >&5
3846
3847 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3849 as_fn_error 77 "C compiler cannot create executables
3850 See \`config.log' for more details" "$LINENO" 5; }
3851 else
3852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3853 $as_echo "yes" >&6; }
3854 fi
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3856 $as_echo_n "checking for C compiler default output file name... " >&6; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3858 $as_echo "$ac_file" >&6; }
3859 ac_exeext=$ac_cv_exeext
3860
3861 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3862 ac_clean_files=$ac_clean_files_save
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3864 $as_echo_n "checking for suffix of executables... " >&6; }
3865 if { { ac_try="$ac_link"
3866 case "(($ac_try" in
3867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868   *) ac_try_echo=$ac_try;;
3869 esac
3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 $as_echo "$ac_try_echo"; } >&5
3872   (eval "$ac_link") 2>&5
3873   ac_status=$?
3874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875   test $ac_status = 0; }; then :
3876   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3877 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3878 # work properly (i.e., refer to `conftest.exe'), while it won't with
3879 # `rm'.
3880 for ac_file in conftest.exe conftest conftest.*; do
3881   test -f "$ac_file" || continue
3882   case $ac_file in
3883     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3884     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3885           break;;
3886     * ) break;;
3887   esac
3888 done
3889 else
3890   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3893 See \`config.log' for more details" "$LINENO" 5; }
3894 fi
3895 rm -f conftest conftest$ac_cv_exeext
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3897 $as_echo "$ac_cv_exeext" >&6; }
3898
3899 rm -f conftest.$ac_ext
3900 EXEEXT=$ac_cv_exeext
3901 ac_exeext=$EXEEXT
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h.  */
3904 #include <stdio.h>
3905 int
3906 main ()
3907 {
3908 FILE *f = fopen ("conftest.out", "w");
3909  return ferror (f) || fclose (f) != 0;
3910
3911   ;
3912   return 0;
3913 }
3914 _ACEOF
3915 ac_clean_files="$ac_clean_files conftest.out"
3916 # Check that the compiler produces executables we can run.  If not, either
3917 # the compiler is broken, or we cross compile.
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3919 $as_echo_n "checking whether we are cross compiling... " >&6; }
3920 if test "$cross_compiling" != yes; then
3921   { { ac_try="$ac_link"
3922 case "(($ac_try" in
3923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924   *) ac_try_echo=$ac_try;;
3925 esac
3926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3927 $as_echo "$ac_try_echo"; } >&5
3928   (eval "$ac_link") 2>&5
3929   ac_status=$?
3930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3931   test $ac_status = 0; }
3932   if { ac_try='./conftest$ac_cv_exeext'
3933   { { case "(($ac_try" in
3934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3935   *) ac_try_echo=$ac_try;;
3936 esac
3937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939   (eval "$ac_try") 2>&5
3940   ac_status=$?
3941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3942   test $ac_status = 0; }; }; then
3943     cross_compiling=no
3944   else
3945     if test "$cross_compiling" = maybe; then
3946         cross_compiling=yes
3947     else
3948         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3950 as_fn_error $? "cannot run C compiled programs.
3951 If you meant to cross compile, use \`--host'.
3952 See \`config.log' for more details" "$LINENO" 5; }
3953     fi
3954   fi
3955 fi
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3957 $as_echo "$cross_compiling" >&6; }
3958
3959 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3960 ac_clean_files=$ac_clean_files_save
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3962 $as_echo_n "checking for suffix of object files... " >&6; }
3963 if ${ac_cv_objext+:} false; then :
3964   $as_echo_n "(cached) " >&6
3965 else
3966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h.  */
3968
3969 int
3970 main ()
3971 {
3972
3973   ;
3974   return 0;
3975 }
3976 _ACEOF
3977 rm -f conftest.o conftest.obj
3978 if { { ac_try="$ac_compile"
3979 case "(($ac_try" in
3980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981   *) ac_try_echo=$ac_try;;
3982 esac
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3985   (eval "$ac_compile") 2>&5
3986   ac_status=$?
3987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988   test $ac_status = 0; }; then :
3989   for ac_file in conftest.o conftest.obj conftest.*; do
3990   test -f "$ac_file" || continue;
3991   case $ac_file in
3992     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3993     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3994        break;;
3995   esac
3996 done
3997 else
3998   $as_echo "$as_me: failed program was:" >&5
3999 sed 's/^/| /' conftest.$ac_ext >&5
4000
4001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4003 as_fn_error $? "cannot compute suffix of object files: cannot compile
4004 See \`config.log' for more details" "$LINENO" 5; }
4005 fi
4006 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4007 fi
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4009 $as_echo "$ac_cv_objext" >&6; }
4010 OBJEXT=$ac_cv_objext
4011 ac_objext=$OBJEXT
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4013 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4014 if ${ac_cv_c_compiler_gnu+:} false; then :
4015   $as_echo_n "(cached) " >&6
4016 else
4017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h.  */
4019
4020 int
4021 main ()
4022 {
4023 #ifndef __GNUC__
4024        choke me
4025 #endif
4026
4027   ;
4028   return 0;
4029 }
4030 _ACEOF
4031 if ac_fn_c_try_compile "$LINENO"; then :
4032   ac_compiler_gnu=yes
4033 else
4034   ac_compiler_gnu=no
4035 fi
4036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4038
4039 fi
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4041 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4042 if test $ac_compiler_gnu = yes; then
4043   GCC=yes
4044 else
4045   GCC=
4046 fi
4047 ac_test_CFLAGS=${CFLAGS+set}
4048 ac_save_CFLAGS=$CFLAGS
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4050 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4051 if ${ac_cv_prog_cc_g+:} false; then :
4052   $as_echo_n "(cached) " >&6
4053 else
4054   ac_save_c_werror_flag=$ac_c_werror_flag
4055    ac_c_werror_flag=yes
4056    ac_cv_prog_cc_g=no
4057    CFLAGS="-g"
4058    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h.  */
4060
4061 int
4062 main ()
4063 {
4064
4065   ;
4066   return 0;
4067 }
4068 _ACEOF
4069 if ac_fn_c_try_compile "$LINENO"; then :
4070   ac_cv_prog_cc_g=yes
4071 else
4072   CFLAGS=""
4073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h.  */
4075
4076 int
4077 main ()
4078 {
4079
4080   ;
4081   return 0;
4082 }
4083 _ACEOF
4084 if ac_fn_c_try_compile "$LINENO"; then :
4085
4086 else
4087   ac_c_werror_flag=$ac_save_c_werror_flag
4088          CFLAGS="-g"
4089          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h.  */
4091
4092 int
4093 main ()
4094 {
4095
4096   ;
4097   return 0;
4098 }
4099 _ACEOF
4100 if ac_fn_c_try_compile "$LINENO"; then :
4101   ac_cv_prog_cc_g=yes
4102 fi
4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104 fi
4105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4106 fi
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108    ac_c_werror_flag=$ac_save_c_werror_flag
4109 fi
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4111 $as_echo "$ac_cv_prog_cc_g" >&6; }
4112 if test "$ac_test_CFLAGS" = set; then
4113   CFLAGS=$ac_save_CFLAGS
4114 elif test $ac_cv_prog_cc_g = yes; then
4115   if test "$GCC" = yes; then
4116     CFLAGS="-g -O2"
4117   else
4118     CFLAGS="-g"
4119   fi
4120 else
4121   if test "$GCC" = yes; then
4122     CFLAGS="-O2"
4123   else
4124     CFLAGS=
4125   fi
4126 fi
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4128 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4129 if ${ac_cv_prog_cc_c89+:} false; then :
4130   $as_echo_n "(cached) " >&6
4131 else
4132   ac_cv_prog_cc_c89=no
4133 ac_save_CC=$CC
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h.  */
4136 #include <stdarg.h>
4137 #include <stdio.h>
4138 #include <sys/types.h>
4139 #include <sys/stat.h>
4140 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4141 struct buf { int x; };
4142 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4143 static char *e (p, i)
4144      char **p;
4145      int i;
4146 {
4147   return p[i];
4148 }
4149 static char *f (char * (*g) (char **, int), char **p, ...)
4150 {
4151   char *s;
4152   va_list v;
4153   va_start (v,p);
4154   s = g (p, va_arg (v,int));
4155   va_end (v);
4156   return s;
4157 }
4158
4159 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4160    function prototypes and stuff, but not '\xHH' hex character constants.
4161    These don't provoke an error unfortunately, instead are silently treated
4162    as 'x'.  The following induces an error, until -std is added to get
4163    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4164    array size at least.  It's necessary to write '\x00'==0 to get something
4165    that's true only with -std.  */
4166 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4167
4168 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4169    inside strings and character constants.  */
4170 #define FOO(x) 'x'
4171 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4172
4173 int test (int i, double x);
4174 struct s1 {int (*f) (int a);};
4175 struct s2 {int (*f) (double a);};
4176 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4177 int argc;
4178 char **argv;
4179 int
4180 main ()
4181 {
4182 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4183   ;
4184   return 0;
4185 }
4186 _ACEOF
4187 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4188         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4189 do
4190   CC="$ac_save_CC $ac_arg"
4191   if ac_fn_c_try_compile "$LINENO"; then :
4192   ac_cv_prog_cc_c89=$ac_arg
4193 fi
4194 rm -f core conftest.err conftest.$ac_objext
4195   test "x$ac_cv_prog_cc_c89" != "xno" && break
4196 done
4197 rm -f conftest.$ac_ext
4198 CC=$ac_save_CC
4199
4200 fi
4201 # AC_CACHE_VAL
4202 case "x$ac_cv_prog_cc_c89" in
4203   x)
4204     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4205 $as_echo "none needed" >&6; } ;;
4206   xno)
4207     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4208 $as_echo "unsupported" >&6; } ;;
4209   *)
4210     CC="$CC $ac_cv_prog_cc_c89"
4211     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4212 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4213 esac
4214 if test "x$ac_cv_prog_cc_c89" != xno; then :
4215
4216 fi
4217
4218 ac_ext=c
4219 ac_cpp='$CPP $CPPFLAGS'
4220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4223
4224 depcc="$CC"   am_compiler_list=
4225
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4227 $as_echo_n "checking dependency style of $depcc... " >&6; }
4228 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4229   $as_echo_n "(cached) " >&6
4230 else
4231   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4232   # We make a subdir and do the tests there.  Otherwise we can end up
4233   # making bogus files that we don't know about and never remove.  For
4234   # instance it was reported that on HP-UX the gcc test will end up
4235   # making a dummy file named `D' -- because `-MD' means `put the output
4236   # in D'.
4237   rm -rf conftest.dir
4238   mkdir conftest.dir
4239   # Copy depcomp to subdir because otherwise we won't find it if we're
4240   # using a relative directory.
4241   cp "$am_depcomp" conftest.dir
4242   cd conftest.dir
4243   # We will build objects and dependencies in a subdirectory because
4244   # it helps to detect inapplicable dependency modes.  For instance
4245   # both Tru64's cc and ICC support -MD to output dependencies as a
4246   # side effect of compilation, but ICC will put the dependencies in
4247   # the current directory while Tru64 will put them in the object
4248   # directory.
4249   mkdir sub
4250
4251   am_cv_CC_dependencies_compiler_type=none
4252   if test "$am_compiler_list" = ""; then
4253      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4254   fi
4255   am__universal=false
4256   case " $depcc " in #(
4257      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4258      esac
4259
4260   for depmode in $am_compiler_list; do
4261     # Setup a source with many dependencies, because some compilers
4262     # like to wrap large dependency lists on column 80 (with \), and
4263     # we should not choose a depcomp mode which is confused by this.
4264     #
4265     # We need to recreate these files for each test, as the compiler may
4266     # overwrite some of them when testing with obscure command lines.
4267     # This happens at least with the AIX C compiler.
4268     : > sub/conftest.c
4269     for i in 1 2 3 4 5 6; do
4270       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4271       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4272       # Solaris 8's {/usr,}/bin/sh.
4273       touch sub/conftst$i.h
4274     done
4275     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4276
4277     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4278     # mode.  It turns out that the SunPro C++ compiler does not properly
4279     # handle `-M -o', and we need to detect this.  Also, some Intel
4280     # versions had trouble with output in subdirs
4281     am__obj=sub/conftest.${OBJEXT-o}
4282     am__minus_obj="-o $am__obj"
4283     case $depmode in
4284     gcc)
4285       # This depmode causes a compiler race in universal mode.
4286       test "$am__universal" = false || continue
4287       ;;
4288     nosideeffect)
4289       # after this tag, mechanisms are not by side-effect, so they'll
4290       # only be used when explicitly requested
4291       if test "x$enable_dependency_tracking" = xyes; then
4292         continue
4293       else
4294         break
4295       fi
4296       ;;
4297     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4298       # This compiler won't grok `-c -o', but also, the minuso test has
4299       # not run yet.  These depmodes are late enough in the game, and
4300       # so weak that their functioning should not be impacted.
4301       am__obj=conftest.${OBJEXT-o}
4302       am__minus_obj=
4303       ;;
4304     none) break ;;
4305     esac
4306     if depmode=$depmode \
4307        source=sub/conftest.c object=$am__obj \
4308        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4309        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4310          >/dev/null 2>conftest.err &&
4311        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4312        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4313        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4314        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4315       # icc doesn't choke on unknown options, it will just issue warnings
4316       # or remarks (even with -Werror).  So we grep stderr for any message
4317       # that says an option was ignored or not supported.
4318       # When given -MP, icc 7.0 and 7.1 complain thusly:
4319       #   icc: Command line warning: ignoring option '-M'; no argument required
4320       # The diagnosis changed in icc 8.0:
4321       #   icc: Command line remark: option '-MP' not supported
4322       if (grep 'ignoring option' conftest.err ||
4323           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4324         am_cv_CC_dependencies_compiler_type=$depmode
4325         break
4326       fi
4327     fi
4328   done
4329
4330   cd ..
4331   rm -rf conftest.dir
4332 else
4333   am_cv_CC_dependencies_compiler_type=none
4334 fi
4335
4336 fi
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4338 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4339 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4340
4341  if
4342   test "x$enable_dependency_tracking" != xno \
4343   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4344   am__fastdepCC_TRUE=
4345   am__fastdepCC_FALSE='#'
4346 else
4347   am__fastdepCC_TRUE='#'
4348   am__fastdepCC_FALSE=
4349 fi
4350
4351
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4353 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4354 if ${ac_cv_path_SED+:} false; then :
4355   $as_echo_n "(cached) " >&6
4356 else
4357             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4358      for ac_i in 1 2 3 4 5 6 7; do
4359        ac_script="$ac_script$as_nl$ac_script"
4360      done
4361      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4362      { ac_script=; unset ac_script;}
4363      if test -z "$SED"; then
4364   ac_path_SED_found=false
4365   # Loop through the user's path and test for each of PROGNAME-LIST
4366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 for as_dir in $PATH
4368 do
4369   IFS=$as_save_IFS
4370   test -z "$as_dir" && as_dir=.
4371     for ac_prog in sed gsed; do
4372     for ac_exec_ext in '' $ac_executable_extensions; do
4373       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4374       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4375 # Check for GNU ac_path_SED and select it if it is found.
4376   # Check for GNU $ac_path_SED
4377 case `"$ac_path_SED" --version 2>&1` in
4378 *GNU*)
4379   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4380 *)
4381   ac_count=0
4382   $as_echo_n 0123456789 >"conftest.in"
4383   while :
4384   do
4385     cat "conftest.in" "conftest.in" >"conftest.tmp"
4386     mv "conftest.tmp" "conftest.in"
4387     cp "conftest.in" "conftest.nl"
4388     $as_echo '' >> "conftest.nl"
4389     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4390     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4391     as_fn_arith $ac_count + 1 && ac_count=$as_val
4392     if test $ac_count -gt ${ac_path_SED_max-0}; then
4393       # Best one so far, save it but keep looking for a better one
4394       ac_cv_path_SED="$ac_path_SED"
4395       ac_path_SED_max=$ac_count
4396     fi
4397     # 10*(2^10) chars as input seems more than enough
4398     test $ac_count -gt 10 && break
4399   done
4400   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4401 esac
4402
4403       $ac_path_SED_found && break 3
4404     done
4405   done
4406   done
4407 IFS=$as_save_IFS
4408   if test -z "$ac_cv_path_SED"; then
4409     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4410   fi
4411 else
4412   ac_cv_path_SED=$SED
4413 fi
4414
4415 fi
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4417 $as_echo "$ac_cv_path_SED" >&6; }
4418  SED="$ac_cv_path_SED"
4419   rm -f conftest.sed
4420
4421 test -z "$SED" && SED=sed
4422 Xsed="$SED -e 1s/^X//"
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4435 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4436 if ${ac_cv_path_GREP+:} false; then :
4437   $as_echo_n "(cached) " >&6
4438 else
4439   if test -z "$GREP"; then
4440   ac_path_GREP_found=false
4441   # Loop through the user's path and test for each of PROGNAME-LIST
4442   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4444 do
4445   IFS=$as_save_IFS
4446   test -z "$as_dir" && as_dir=.
4447     for ac_prog in grep ggrep; do
4448     for ac_exec_ext in '' $ac_executable_extensions; do
4449       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4450       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4451 # Check for GNU ac_path_GREP and select it if it is found.
4452   # Check for GNU $ac_path_GREP
4453 case `"$ac_path_GREP" --version 2>&1` in
4454 *GNU*)
4455   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4456 *)
4457   ac_count=0
4458   $as_echo_n 0123456789 >"conftest.in"
4459   while :
4460   do
4461     cat "conftest.in" "conftest.in" >"conftest.tmp"
4462     mv "conftest.tmp" "conftest.in"
4463     cp "conftest.in" "conftest.nl"
4464     $as_echo 'GREP' >> "conftest.nl"
4465     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4466     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4467     as_fn_arith $ac_count + 1 && ac_count=$as_val
4468     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4469       # Best one so far, save it but keep looking for a better one
4470       ac_cv_path_GREP="$ac_path_GREP"
4471       ac_path_GREP_max=$ac_count
4472     fi
4473     # 10*(2^10) chars as input seems more than enough
4474     test $ac_count -gt 10 && break
4475   done
4476   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4477 esac
4478
4479       $ac_path_GREP_found && break 3
4480     done
4481   done
4482   done
4483 IFS=$as_save_IFS
4484   if test -z "$ac_cv_path_GREP"; then
4485     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4486   fi
4487 else
4488   ac_cv_path_GREP=$GREP
4489 fi
4490
4491 fi
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4493 $as_echo "$ac_cv_path_GREP" >&6; }
4494  GREP="$ac_cv_path_GREP"
4495
4496
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4498 $as_echo_n "checking for egrep... " >&6; }
4499 if ${ac_cv_path_EGREP+:} false; then :
4500   $as_echo_n "(cached) " >&6
4501 else
4502   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4503    then ac_cv_path_EGREP="$GREP -E"
4504    else
4505      if test -z "$EGREP"; then
4506   ac_path_EGREP_found=false
4507   # Loop through the user's path and test for each of PROGNAME-LIST
4508   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4510 do
4511   IFS=$as_save_IFS
4512   test -z "$as_dir" && as_dir=.
4513     for ac_prog in egrep; do
4514     for ac_exec_ext in '' $ac_executable_extensions; do
4515       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4516       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4517 # Check for GNU ac_path_EGREP and select it if it is found.
4518   # Check for GNU $ac_path_EGREP
4519 case `"$ac_path_EGREP" --version 2>&1` in
4520 *GNU*)
4521   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4522 *)
4523   ac_count=0
4524   $as_echo_n 0123456789 >"conftest.in"
4525   while :
4526   do
4527     cat "conftest.in" "conftest.in" >"conftest.tmp"
4528     mv "conftest.tmp" "conftest.in"
4529     cp "conftest.in" "conftest.nl"
4530     $as_echo 'EGREP' >> "conftest.nl"
4531     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4532     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4533     as_fn_arith $ac_count + 1 && ac_count=$as_val
4534     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4535       # Best one so far, save it but keep looking for a better one
4536       ac_cv_path_EGREP="$ac_path_EGREP"
4537       ac_path_EGREP_max=$ac_count
4538     fi
4539     # 10*(2^10) chars as input seems more than enough
4540     test $ac_count -gt 10 && break
4541   done
4542   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4543 esac
4544
4545       $ac_path_EGREP_found && break 3
4546     done
4547   done
4548   done
4549 IFS=$as_save_IFS
4550   if test -z "$ac_cv_path_EGREP"; then
4551     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4552   fi
4553 else
4554   ac_cv_path_EGREP=$EGREP
4555 fi
4556
4557    fi
4558 fi
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4560 $as_echo "$ac_cv_path_EGREP" >&6; }
4561  EGREP="$ac_cv_path_EGREP"
4562
4563
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4565 $as_echo_n "checking for fgrep... " >&6; }
4566 if ${ac_cv_path_FGREP+:} false; then :
4567   $as_echo_n "(cached) " >&6
4568 else
4569   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4570    then ac_cv_path_FGREP="$GREP -F"
4571    else
4572      if test -z "$FGREP"; then
4573   ac_path_FGREP_found=false
4574   # Loop through the user's path and test for each of PROGNAME-LIST
4575   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4577 do
4578   IFS=$as_save_IFS
4579   test -z "$as_dir" && as_dir=.
4580     for ac_prog in fgrep; do
4581     for ac_exec_ext in '' $ac_executable_extensions; do
4582       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4583       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4584 # Check for GNU ac_path_FGREP and select it if it is found.
4585   # Check for GNU $ac_path_FGREP
4586 case `"$ac_path_FGREP" --version 2>&1` in
4587 *GNU*)
4588   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4589 *)
4590   ac_count=0
4591   $as_echo_n 0123456789 >"conftest.in"
4592   while :
4593   do
4594     cat "conftest.in" "conftest.in" >"conftest.tmp"
4595     mv "conftest.tmp" "conftest.in"
4596     cp "conftest.in" "conftest.nl"
4597     $as_echo 'FGREP' >> "conftest.nl"
4598     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4599     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4600     as_fn_arith $ac_count + 1 && ac_count=$as_val
4601     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4602       # Best one so far, save it but keep looking for a better one
4603       ac_cv_path_FGREP="$ac_path_FGREP"
4604       ac_path_FGREP_max=$ac_count
4605     fi
4606     # 10*(2^10) chars as input seems more than enough
4607     test $ac_count -gt 10 && break
4608   done
4609   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4610 esac
4611
4612       $ac_path_FGREP_found && break 3
4613     done
4614   done
4615   done
4616 IFS=$as_save_IFS
4617   if test -z "$ac_cv_path_FGREP"; then
4618     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4619   fi
4620 else
4621   ac_cv_path_FGREP=$FGREP
4622 fi
4623
4624    fi
4625 fi
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4627 $as_echo "$ac_cv_path_FGREP" >&6; }
4628  FGREP="$ac_cv_path_FGREP"
4629
4630
4631 test -z "$GREP" && GREP=grep
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651 # Check whether --with-gnu-ld was given.
4652 if test "${with_gnu_ld+set}" = set; then :
4653   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4654 else
4655   with_gnu_ld=no
4656 fi
4657
4658 ac_prog=ld
4659 if test "$GCC" = yes; then
4660   # Check if gcc -print-prog-name=ld gives a path.
4661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4662 $as_echo_n "checking for ld used by $CC... " >&6; }
4663   case $host in
4664   *-*-mingw*)
4665     # gcc leaves a trailing carriage return which upsets mingw
4666     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4667   *)
4668     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4669   esac
4670   case $ac_prog in
4671     # Accept absolute paths.
4672     [\\/]* | ?:[\\/]*)
4673       re_direlt='/[^/][^/]*/\.\./'
4674       # Canonicalize the pathname of ld
4675       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4676       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4677         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4678       done
4679       test -z "$LD" && LD="$ac_prog"
4680       ;;
4681   "")
4682     # If it fails, then pretend we aren't using GCC.
4683     ac_prog=ld
4684     ;;
4685   *)
4686     # If it is relative, then search for the first ld in PATH.
4687     with_gnu_ld=unknown
4688     ;;
4689   esac
4690 elif test "$with_gnu_ld" = yes; then
4691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4692 $as_echo_n "checking for GNU ld... " >&6; }
4693 else
4694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4695 $as_echo_n "checking for non-GNU ld... " >&6; }
4696 fi
4697 if ${lt_cv_path_LD+:} false; then :
4698   $as_echo_n "(cached) " >&6
4699 else
4700   if test -z "$LD"; then
4701   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4702   for ac_dir in $PATH; do
4703     IFS="$lt_save_ifs"
4704     test -z "$ac_dir" && ac_dir=.
4705     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4706       lt_cv_path_LD="$ac_dir/$ac_prog"
4707       # Check to see if the program is GNU ld.  I'd rather use --version,
4708       # but apparently some variants of GNU ld only accept -v.
4709       # Break only if it was the GNU/non-GNU ld that we prefer.
4710       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4711       *GNU* | *'with BFD'*)
4712         test "$with_gnu_ld" != no && break
4713         ;;
4714       *)
4715         test "$with_gnu_ld" != yes && break
4716         ;;
4717       esac
4718     fi
4719   done
4720   IFS="$lt_save_ifs"
4721 else
4722   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4723 fi
4724 fi
4725
4726 LD="$lt_cv_path_LD"
4727 if test -n "$LD"; then
4728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4729 $as_echo "$LD" >&6; }
4730 else
4731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4733 fi
4734 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4736 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4737 if ${lt_cv_prog_gnu_ld+:} false; then :
4738   $as_echo_n "(cached) " >&6
4739 else
4740   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4741 case `$LD -v 2>&1 </dev/null` in
4742 *GNU* | *'with BFD'*)
4743   lt_cv_prog_gnu_ld=yes
4744   ;;
4745 *)
4746   lt_cv_prog_gnu_ld=no
4747   ;;
4748 esac
4749 fi
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4751 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4752 with_gnu_ld=$lt_cv_prog_gnu_ld
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4763 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4764 if ${lt_cv_path_NM+:} false; then :
4765   $as_echo_n "(cached) " >&6
4766 else
4767   if test -n "$NM"; then
4768   # Let the user override the test.
4769   lt_cv_path_NM="$NM"
4770 else
4771   lt_nm_to_check="${ac_tool_prefix}nm"
4772   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4773     lt_nm_to_check="$lt_nm_to_check nm"
4774   fi
4775   for lt_tmp_nm in $lt_nm_to_check; do
4776     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4777     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4778       IFS="$lt_save_ifs"
4779       test -z "$ac_dir" && ac_dir=.
4780       tmp_nm="$ac_dir/$lt_tmp_nm"
4781       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4782         # Check to see if the nm accepts a BSD-compat flag.
4783         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4784         #   nm: unknown option "B" ignored
4785         # Tru64's nm complains that /dev/null is an invalid object file
4786         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4787         */dev/null* | *'Invalid file or object type'*)
4788           lt_cv_path_NM="$tmp_nm -B"
4789           break
4790           ;;
4791         *)
4792           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4793           */dev/null*)
4794             lt_cv_path_NM="$tmp_nm -p"
4795             break
4796             ;;
4797           *)
4798             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4799             continue # so that we can try to find one that supports BSD flags
4800             ;;
4801           esac
4802           ;;
4803         esac
4804       fi
4805     done
4806     IFS="$lt_save_ifs"
4807   done
4808   : ${lt_cv_path_NM=no}
4809 fi
4810 fi
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4812 $as_echo "$lt_cv_path_NM" >&6; }
4813 if test "$lt_cv_path_NM" != "no"; then
4814   NM="$lt_cv_path_NM"
4815 else
4816   # Didn't find any BSD compatible name lister, look for dumpbin.
4817   if test -n "$DUMPBIN"; then :
4818     # Let the user override the test.
4819   else
4820     if test -n "$ac_tool_prefix"; then
4821   for ac_prog in dumpbin "link -dump"
4822   do
4823     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4824 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if ${ac_cv_prog_DUMPBIN+:} false; then :
4828   $as_echo_n "(cached) " >&6
4829 else
4830   if test -n "$DUMPBIN"; then
4831   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4832 else
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 for as_dir in $PATH
4835 do
4836   IFS=$as_save_IFS
4837   test -z "$as_dir" && as_dir=.
4838     for ac_exec_ext in '' $ac_executable_extensions; do
4839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4840     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4842     break 2
4843   fi
4844 done
4845   done
4846 IFS=$as_save_IFS
4847
4848 fi
4849 fi
4850 DUMPBIN=$ac_cv_prog_DUMPBIN
4851 if test -n "$DUMPBIN"; then
4852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4853 $as_echo "$DUMPBIN" >&6; }
4854 else
4855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4857 fi
4858
4859
4860     test -n "$DUMPBIN" && break
4861   done
4862 fi
4863 if test -z "$DUMPBIN"; then
4864   ac_ct_DUMPBIN=$DUMPBIN
4865   for ac_prog in dumpbin "link -dump"
4866 do
4867   # Extract the first word of "$ac_prog", so it can be a program name with args.
4868 set dummy $ac_prog; ac_word=$2
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 $as_echo_n "checking for $ac_word... " >&6; }
4871 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4872   $as_echo_n "(cached) " >&6
4873 else
4874   if test -n "$ac_ct_DUMPBIN"; then
4875   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4876 else
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 for as_dir in $PATH
4879 do
4880   IFS=$as_save_IFS
4881   test -z "$as_dir" && as_dir=.
4882     for ac_exec_ext in '' $ac_executable_extensions; do
4883   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4884     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4886     break 2
4887   fi
4888 done
4889   done
4890 IFS=$as_save_IFS
4891
4892 fi
4893 fi
4894 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4895 if test -n "$ac_ct_DUMPBIN"; then
4896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4897 $as_echo "$ac_ct_DUMPBIN" >&6; }
4898 else
4899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900 $as_echo "no" >&6; }
4901 fi
4902
4903
4904   test -n "$ac_ct_DUMPBIN" && break
4905 done
4906
4907   if test "x$ac_ct_DUMPBIN" = x; then
4908     DUMPBIN=":"
4909   else
4910     case $cross_compiling:$ac_tool_warned in
4911 yes:)
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4914 ac_tool_warned=yes ;;
4915 esac
4916     DUMPBIN=$ac_ct_DUMPBIN
4917   fi
4918 fi
4919
4920     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4921     *COFF*)
4922       DUMPBIN="$DUMPBIN -symbols"
4923       ;;
4924     *)
4925       DUMPBIN=:
4926       ;;
4927     esac
4928   fi
4929
4930   if test "$DUMPBIN" != ":"; then
4931     NM="$DUMPBIN"
4932   fi
4933 fi
4934 test -z "$NM" && NM=nm
4935
4936
4937
4938
4939
4940
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4942 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4943 if ${lt_cv_nm_interface+:} false; then :
4944   $as_echo_n "(cached) " >&6
4945 else
4946   lt_cv_nm_interface="BSD nm"
4947   echo "int some_variable = 0;" > conftest.$ac_ext
4948   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4949   (eval "$ac_compile" 2>conftest.err)
4950   cat conftest.err >&5
4951   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4952   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4953   cat conftest.err >&5
4954   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4955   cat conftest.out >&5
4956   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4957     lt_cv_nm_interface="MS dumpbin"
4958   fi
4959   rm -f conftest*
4960 fi
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4962 $as_echo "$lt_cv_nm_interface" >&6; }
4963
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4965 $as_echo_n "checking whether ln -s works... " >&6; }
4966 LN_S=$as_ln_s
4967 if test "$LN_S" = "ln -s"; then
4968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4969 $as_echo "yes" >&6; }
4970 else
4971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4972 $as_echo "no, using $LN_S" >&6; }
4973 fi
4974
4975 # find the maximum length of command line arguments
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4977 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4978 if ${lt_cv_sys_max_cmd_len+:} false; then :
4979   $as_echo_n "(cached) " >&6
4980 else
4981     i=0
4982   teststring="ABCD"
4983
4984   case $build_os in
4985   msdosdjgpp*)
4986     # On DJGPP, this test can blow up pretty badly due to problems in libc
4987     # (any single argument exceeding 2000 bytes causes a buffer overrun
4988     # during glob expansion).  Even if it were fixed, the result of this
4989     # check would be larger than it should be.
4990     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4991     ;;
4992
4993   gnu*)
4994     # Under GNU Hurd, this test is not required because there is
4995     # no limit to the length of command line arguments.
4996     # Libtool will interpret -1 as no limit whatsoever
4997     lt_cv_sys_max_cmd_len=-1;
4998     ;;
4999
5000   cygwin* | mingw* | cegcc*)
5001     # On Win9x/ME, this test blows up -- it succeeds, but takes
5002     # about 5 minutes as the teststring grows exponentially.
5003     # Worse, since 9x/ME are not pre-emptively multitasking,
5004     # you end up with a "frozen" computer, even though with patience
5005     # the test eventually succeeds (with a max line length of 256k).
5006     # Instead, let's just punt: use the minimum linelength reported by
5007     # all of the supported platforms: 8192 (on NT/2K/XP).
5008     lt_cv_sys_max_cmd_len=8192;
5009     ;;
5010
5011   mint*)
5012     # On MiNT this can take a long time and run out of memory.
5013     lt_cv_sys_max_cmd_len=8192;
5014     ;;
5015
5016   amigaos*)
5017     # On AmigaOS with pdksh, this test takes hours, literally.
5018     # So we just punt and use a minimum line length of 8192.
5019     lt_cv_sys_max_cmd_len=8192;
5020     ;;
5021
5022   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5023     # This has been around since 386BSD, at least.  Likely further.
5024     if test -x /sbin/sysctl; then
5025       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5026     elif test -x /usr/sbin/sysctl; then
5027       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5028     else
5029       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5030     fi
5031     # And add a safety zone
5032     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5033     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5034     ;;
5035
5036   interix*)
5037     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5038     lt_cv_sys_max_cmd_len=196608
5039     ;;
5040
5041   os2*)
5042     # The test takes a long time on OS/2.
5043     lt_cv_sys_max_cmd_len=8192
5044     ;;
5045
5046   osf*)
5047     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5048     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5049     # nice to cause kernel panics so lets avoid the loop below.
5050     # First set a reasonable default.
5051     lt_cv_sys_max_cmd_len=16384
5052     #
5053     if test -x /sbin/sysconfig; then
5054       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5055         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5056       esac
5057     fi
5058     ;;
5059   sco3.2v5*)
5060     lt_cv_sys_max_cmd_len=102400
5061     ;;
5062   sysv5* | sco5v6* | sysv4.2uw2*)
5063     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5064     if test -n "$kargmax"; then
5065       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5066     else
5067       lt_cv_sys_max_cmd_len=32768
5068     fi
5069     ;;
5070   *)
5071     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5072     if test -n "$lt_cv_sys_max_cmd_len"; then
5073       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5074       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5075     else
5076       # Make teststring a little bigger before we do anything with it.
5077       # a 1K string should be a reasonable start.
5078       for i in 1 2 3 4 5 6 7 8 ; do
5079         teststring=$teststring$teststring
5080       done
5081       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5082       # If test is not a shell built-in, we'll probably end up computing a
5083       # maximum length that is only half of the actual maximum length, but
5084       # we can't tell.
5085       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5086                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5087               test $i != 17 # 1/2 MB should be enough
5088       do
5089         i=`expr $i + 1`
5090         teststring=$teststring$teststring
5091       done
5092       # Only check the string length outside the loop.
5093       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5094       teststring=
5095       # Add a significant safety factor because C++ compilers can tack on
5096       # massive amounts of additional arguments before passing them to the
5097       # linker.  It appears as though 1/2 is a usable value.
5098       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5099     fi
5100     ;;
5101   esac
5102
5103 fi
5104
5105 if test -n $lt_cv_sys_max_cmd_len ; then
5106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5107 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5108 else
5109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5110 $as_echo "none" >&6; }
5111 fi
5112 max_cmd_len=$lt_cv_sys_max_cmd_len
5113
5114
5115
5116
5117
5118
5119 : ${CP="cp -f"}
5120 : ${MV="mv -f"}
5121 : ${RM="rm -f"}
5122
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5124 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5125 # Try some XSI features
5126 xsi_shell=no
5127 ( _lt_dummy="a/b/c"
5128   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5129       = c,a/b,b/c, \
5130     && eval 'test $(( 1 + 1 )) -eq 2 \
5131     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5132   && xsi_shell=yes
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5134 $as_echo "$xsi_shell" >&6; }
5135
5136
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5138 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5139 lt_shell_append=no
5140 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5141     >/dev/null 2>&1 \
5142   && lt_shell_append=yes
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5144 $as_echo "$lt_shell_append" >&6; }
5145
5146
5147 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5148   lt_unset=unset
5149 else
5150   lt_unset=false
5151 fi
5152
5153
5154
5155
5156
5157 # test EBCDIC or ASCII
5158 case `echo X|tr X '\101'` in
5159  A) # ASCII based system
5160     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5161   lt_SP2NL='tr \040 \012'
5162   lt_NL2SP='tr \015\012 \040\040'
5163   ;;
5164  *) # EBCDIC based system
5165   lt_SP2NL='tr \100 \n'
5166   lt_NL2SP='tr \r\n \100\100'
5167   ;;
5168 esac
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5179 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5180 if ${lt_cv_to_host_file_cmd+:} false; then :
5181   $as_echo_n "(cached) " >&6
5182 else
5183   case $host in
5184   *-*-mingw* )
5185     case $build in
5186       *-*-mingw* ) # actually msys
5187         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5188         ;;
5189       *-*-cygwin* )
5190         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5191         ;;
5192       * ) # otherwise, assume *nix
5193         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5194         ;;
5195     esac
5196     ;;
5197   *-*-cygwin* )
5198     case $build in
5199       *-*-mingw* ) # actually msys
5200         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5201         ;;
5202       *-*-cygwin* )
5203         lt_cv_to_host_file_cmd=func_convert_file_noop
5204         ;;
5205       * ) # otherwise, assume *nix
5206         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5207         ;;
5208     esac
5209     ;;
5210   * ) # unhandled hosts (and "normal" native builds)
5211     lt_cv_to_host_file_cmd=func_convert_file_noop
5212     ;;
5213 esac
5214
5215 fi
5216
5217 to_host_file_cmd=$lt_cv_to_host_file_cmd
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5219 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5220
5221
5222
5223
5224
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5226 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5227 if ${lt_cv_to_tool_file_cmd+:} false; then :
5228   $as_echo_n "(cached) " >&6
5229 else
5230   #assume ordinary cross tools, or native build.
5231 lt_cv_to_tool_file_cmd=func_convert_file_noop
5232 case $host in
5233   *-*-mingw* )
5234     case $build in
5235       *-*-mingw* ) # actually msys
5236         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5237         ;;
5238     esac
5239     ;;
5240 esac
5241
5242 fi
5243
5244 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5246 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5247
5248
5249
5250
5251
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5253 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5254 if ${lt_cv_ld_reload_flag+:} false; then :
5255   $as_echo_n "(cached) " >&6
5256 else
5257   lt_cv_ld_reload_flag='-r'
5258 fi
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5260 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5261 reload_flag=$lt_cv_ld_reload_flag
5262 case $reload_flag in
5263 "" | " "*) ;;
5264 *) reload_flag=" $reload_flag" ;;
5265 esac
5266 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5267 case $host_os in
5268   cygwin* | mingw* | pw32* | cegcc*)
5269     if test "$GCC" != yes; then
5270       reload_cmds=false
5271     fi
5272     ;;
5273   darwin*)
5274     if test "$GCC" = yes; then
5275       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5276     else
5277       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5278     fi
5279     ;;
5280 esac
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290 if test -n "$ac_tool_prefix"; then
5291   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5292 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if ${ac_cv_prog_OBJDUMP+:} false; then :
5296   $as_echo_n "(cached) " >&6
5297 else
5298   if test -n "$OBJDUMP"; then
5299   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5300 else
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 for as_dir in $PATH
5303 do
5304   IFS=$as_save_IFS
5305   test -z "$as_dir" && as_dir=.
5306     for ac_exec_ext in '' $ac_executable_extensions; do
5307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5308     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310     break 2
5311   fi
5312 done
5313   done
5314 IFS=$as_save_IFS
5315
5316 fi
5317 fi
5318 OBJDUMP=$ac_cv_prog_OBJDUMP
5319 if test -n "$OBJDUMP"; then
5320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5321 $as_echo "$OBJDUMP" >&6; }
5322 else
5323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5325 fi
5326
5327
5328 fi
5329 if test -z "$ac_cv_prog_OBJDUMP"; then
5330   ac_ct_OBJDUMP=$OBJDUMP
5331   # Extract the first word of "objdump", so it can be a program name with args.
5332 set dummy objdump; ac_word=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5336   $as_echo_n "(cached) " >&6
5337 else
5338   if test -n "$ac_ct_OBJDUMP"; then
5339   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5340 else
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5342 for as_dir in $PATH
5343 do
5344   IFS=$as_save_IFS
5345   test -z "$as_dir" && as_dir=.
5346     for ac_exec_ext in '' $ac_executable_extensions; do
5347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5350     break 2
5351   fi
5352 done
5353   done
5354 IFS=$as_save_IFS
5355
5356 fi
5357 fi
5358 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5359 if test -n "$ac_ct_OBJDUMP"; then
5360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5361 $as_echo "$ac_ct_OBJDUMP" >&6; }
5362 else
5363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5365 fi
5366
5367   if test "x$ac_ct_OBJDUMP" = x; then
5368     OBJDUMP="false"
5369   else
5370     case $cross_compiling:$ac_tool_warned in
5371 yes:)
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5374 ac_tool_warned=yes ;;
5375 esac
5376     OBJDUMP=$ac_ct_OBJDUMP
5377   fi
5378 else
5379   OBJDUMP="$ac_cv_prog_OBJDUMP"
5380 fi
5381
5382 test -z "$OBJDUMP" && OBJDUMP=objdump
5383
5384
5385
5386
5387
5388
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5390 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5391 if ${lt_cv_deplibs_check_method+:} false; then :
5392   $as_echo_n "(cached) " >&6
5393 else
5394   lt_cv_file_magic_cmd='$MAGIC_CMD'
5395 lt_cv_file_magic_test_file=
5396 lt_cv_deplibs_check_method='unknown'
5397 # Need to set the preceding variable on all platforms that support
5398 # interlibrary dependencies.
5399 # 'none' -- dependencies not supported.
5400 # `unknown' -- same as none, but documents that we really don't know.
5401 # 'pass_all' -- all dependencies passed with no checks.
5402 # 'test_compile' -- check by making test program.
5403 # 'file_magic [[regex]]' -- check by looking for files in library path
5404 # which responds to the $file_magic_cmd with a given extended regex.
5405 # If you have `file' or equivalent on your system and you're not sure
5406 # whether `pass_all' will *always* work, you probably want this one.
5407
5408 case $host_os in
5409 aix[4-9]*)
5410   lt_cv_deplibs_check_method=pass_all
5411   ;;
5412
5413 beos*)
5414   lt_cv_deplibs_check_method=pass_all
5415   ;;
5416
5417 bsdi[45]*)
5418   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5419   lt_cv_file_magic_cmd='/usr/bin/file -L'
5420   lt_cv_file_magic_test_file=/shlib/libc.so
5421   ;;
5422
5423 cygwin*)
5424   # func_win32_libid is a shell function defined in ltmain.sh
5425   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5426   lt_cv_file_magic_cmd='func_win32_libid'
5427   ;;
5428
5429 mingw* | pw32*)
5430   # Base MSYS/MinGW do not provide the 'file' command needed by
5431   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5432   # unless we find 'file', for example because we are cross-compiling.
5433   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5434   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5435     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5436     lt_cv_file_magic_cmd='func_win32_libid'
5437   else
5438     # Keep this pattern in sync with the one in func_win32_libid.
5439     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5440     lt_cv_file_magic_cmd='$OBJDUMP -f'
5441   fi
5442   ;;
5443
5444 cegcc*)
5445   # use the weaker test based on 'objdump'. See mingw*.
5446   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5447   lt_cv_file_magic_cmd='$OBJDUMP -f'
5448   ;;
5449
5450 darwin* | rhapsody*)
5451   lt_cv_deplibs_check_method=pass_all
5452   ;;
5453
5454 freebsd* | dragonfly*)
5455   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5456     case $host_cpu in
5457     i*86 )
5458       # Not sure whether the presence of OpenBSD here was a mistake.
5459       # Let's accept both of them until this is cleared up.
5460       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5461       lt_cv_file_magic_cmd=/usr/bin/file
5462       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5463       ;;
5464     esac
5465   else
5466     lt_cv_deplibs_check_method=pass_all
5467   fi
5468   ;;
5469
5470 gnu*)
5471   lt_cv_deplibs_check_method=pass_all
5472   ;;
5473
5474 haiku*)
5475   lt_cv_deplibs_check_method=pass_all
5476   ;;
5477
5478 hpux10.20* | hpux11*)
5479   lt_cv_file_magic_cmd=/usr/bin/file
5480   case $host_cpu in
5481   ia64*)
5482     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5483     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5484     ;;
5485   hppa*64*)
5486     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]'
5487     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5488     ;;
5489   *)
5490     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5491     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5492     ;;
5493   esac
5494   ;;
5495
5496 interix[3-9]*)
5497   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5498   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5499   ;;
5500
5501 irix5* | irix6* | nonstopux*)
5502   case $LD in
5503   *-32|*"-32 ") libmagic=32-bit;;
5504   *-n32|*"-n32 ") libmagic=N32;;
5505   *-64|*"-64 ") libmagic=64-bit;;
5506   *) libmagic=never-match;;
5507   esac
5508   lt_cv_deplibs_check_method=pass_all
5509   ;;
5510
5511 # This must be glibc/ELF.
5512 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5513   lt_cv_deplibs_check_method=pass_all
5514   ;;
5515
5516 netbsd* | netbsdelf*-gnu)
5517   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5518     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5519   else
5520     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5521   fi
5522   ;;
5523
5524 newos6*)
5525   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5526   lt_cv_file_magic_cmd=/usr/bin/file
5527   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5528   ;;
5529
5530 *nto* | *qnx*)
5531   lt_cv_deplibs_check_method=pass_all
5532   ;;
5533
5534 openbsd*)
5535   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5536     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5537   else
5538     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5539   fi
5540   ;;
5541
5542 osf3* | osf4* | osf5*)
5543   lt_cv_deplibs_check_method=pass_all
5544   ;;
5545
5546 rdos*)
5547   lt_cv_deplibs_check_method=pass_all
5548   ;;
5549
5550 solaris*)
5551   lt_cv_deplibs_check_method=pass_all
5552   ;;
5553
5554 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5555   lt_cv_deplibs_check_method=pass_all
5556   ;;
5557
5558 sysv4 | sysv4.3*)
5559   case $host_vendor in
5560   motorola)
5561     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]'
5562     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5563     ;;
5564   ncr)
5565     lt_cv_deplibs_check_method=pass_all
5566     ;;
5567   sequent)
5568     lt_cv_file_magic_cmd='/bin/file'
5569     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5570     ;;
5571   sni)
5572     lt_cv_file_magic_cmd='/bin/file'
5573     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5574     lt_cv_file_magic_test_file=/lib/libc.so
5575     ;;
5576   siemens)
5577     lt_cv_deplibs_check_method=pass_all
5578     ;;
5579   pc)
5580     lt_cv_deplibs_check_method=pass_all
5581     ;;
5582   esac
5583   ;;
5584
5585 tpf*)
5586   lt_cv_deplibs_check_method=pass_all
5587   ;;
5588 esac
5589
5590 fi
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5592 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5593
5594 file_magic_glob=
5595 want_nocaseglob=no
5596 if test "$build" = "$host"; then
5597   case $host_os in
5598   mingw* | pw32*)
5599     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5600       want_nocaseglob=yes
5601     else
5602       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5603     fi
5604     ;;
5605   esac
5606 fi
5607
5608 file_magic_cmd=$lt_cv_file_magic_cmd
5609 deplibs_check_method=$lt_cv_deplibs_check_method
5610 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633 if test -n "$ac_tool_prefix"; then
5634   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5635 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_DLLTOOL+:} false; then :
5639   $as_echo_n "(cached) " >&6
5640 else
5641   if test -n "$DLLTOOL"; then
5642   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5646 do
5647   IFS=$as_save_IFS
5648   test -z "$as_dir" && as_dir=.
5649     for ac_exec_ext in '' $ac_executable_extensions; do
5650   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5651     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653     break 2
5654   fi
5655 done
5656   done
5657 IFS=$as_save_IFS
5658
5659 fi
5660 fi
5661 DLLTOOL=$ac_cv_prog_DLLTOOL
5662 if test -n "$DLLTOOL"; then
5663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5664 $as_echo "$DLLTOOL" >&6; }
5665 else
5666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5668 fi
5669
5670
5671 fi
5672 if test -z "$ac_cv_prog_DLLTOOL"; then
5673   ac_ct_DLLTOOL=$DLLTOOL
5674   # Extract the first word of "dlltool", so it can be a program name with args.
5675 set dummy dlltool; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5679   $as_echo_n "(cached) " >&6
5680 else
5681   if test -n "$ac_ct_DLLTOOL"; then
5682   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5686 do
5687   IFS=$as_save_IFS
5688   test -z "$as_dir" && as_dir=.
5689     for ac_exec_ext in '' $ac_executable_extensions; do
5690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693     break 2
5694   fi
5695 done
5696   done
5697 IFS=$as_save_IFS
5698
5699 fi
5700 fi
5701 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5702 if test -n "$ac_ct_DLLTOOL"; then
5703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5704 $as_echo "$ac_ct_DLLTOOL" >&6; }
5705 else
5706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5708 fi
5709
5710   if test "x$ac_ct_DLLTOOL" = x; then
5711     DLLTOOL="false"
5712   else
5713     case $cross_compiling:$ac_tool_warned in
5714 yes:)
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5717 ac_tool_warned=yes ;;
5718 esac
5719     DLLTOOL=$ac_ct_DLLTOOL
5720   fi
5721 else
5722   DLLTOOL="$ac_cv_prog_DLLTOOL"
5723 fi
5724
5725 test -z "$DLLTOOL" && DLLTOOL=dlltool
5726
5727
5728
5729
5730
5731
5732
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5734 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5735 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5736   $as_echo_n "(cached) " >&6
5737 else
5738   lt_cv_sharedlib_from_linklib_cmd='unknown'
5739
5740 case $host_os in
5741 cygwin* | mingw* | pw32* | cegcc*)
5742   # two different shell functions defined in ltmain.sh
5743   # decide which to use based on capabilities of $DLLTOOL
5744   case `$DLLTOOL --help 2>&1` in
5745   *--identify-strict*)
5746     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5747     ;;
5748   *)
5749     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5750     ;;
5751   esac
5752   ;;
5753 *)
5754   # fallback: assume linklib IS sharedlib
5755   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5756   ;;
5757 esac
5758
5759 fi
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5761 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5762 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5763 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5764
5765
5766
5767
5768
5769
5770
5771
5772 if test -n "$ac_tool_prefix"; then
5773   for ac_prog in ar
5774   do
5775     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5776 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if ${ac_cv_prog_AR+:} false; then :
5780   $as_echo_n "(cached) " >&6
5781 else
5782   if test -n "$AR"; then
5783   ac_cv_prog_AR="$AR" # Let the user override the test.
5784 else
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 for as_dir in $PATH
5787 do
5788   IFS=$as_save_IFS
5789   test -z "$as_dir" && as_dir=.
5790     for ac_exec_ext in '' $ac_executable_extensions; do
5791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5792     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794     break 2
5795   fi
5796 done
5797   done
5798 IFS=$as_save_IFS
5799
5800 fi
5801 fi
5802 AR=$ac_cv_prog_AR
5803 if test -n "$AR"; then
5804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5805 $as_echo "$AR" >&6; }
5806 else
5807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5809 fi
5810
5811
5812     test -n "$AR" && break
5813   done
5814 fi
5815 if test -z "$AR"; then
5816   ac_ct_AR=$AR
5817   for ac_prog in ar
5818 do
5819   # Extract the first word of "$ac_prog", so it can be a program name with args.
5820 set dummy $ac_prog; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5824   $as_echo_n "(cached) " >&6
5825 else
5826   if test -n "$ac_ct_AR"; then
5827   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5831 do
5832   IFS=$as_save_IFS
5833   test -z "$as_dir" && as_dir=.
5834     for ac_exec_ext in '' $ac_executable_extensions; do
5835   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5836     ac_cv_prog_ac_ct_AR="$ac_prog"
5837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838     break 2
5839   fi
5840 done
5841   done
5842 IFS=$as_save_IFS
5843
5844 fi
5845 fi
5846 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5847 if test -n "$ac_ct_AR"; then
5848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5849 $as_echo "$ac_ct_AR" >&6; }
5850 else
5851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5853 fi
5854
5855
5856   test -n "$ac_ct_AR" && break
5857 done
5858
5859   if test "x$ac_ct_AR" = x; then
5860     AR="false"
5861   else
5862     case $cross_compiling:$ac_tool_warned in
5863 yes:)
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5866 ac_tool_warned=yes ;;
5867 esac
5868     AR=$ac_ct_AR
5869   fi
5870 fi
5871
5872 : ${AR=ar}
5873 : ${AR_FLAGS=cru}
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5886 $as_echo_n "checking for archiver @FILE support... " >&6; }
5887 if ${lt_cv_ar_at_file+:} false; then :
5888   $as_echo_n "(cached) " >&6
5889 else
5890   lt_cv_ar_at_file=no
5891    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5892 /* end confdefs.h.  */
5893
5894 int
5895 main ()
5896 {
5897
5898   ;
5899   return 0;
5900 }
5901 _ACEOF
5902 if ac_fn_c_try_compile "$LINENO"; then :
5903   echo conftest.$ac_objext > conftest.lst
5904       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5905       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5906   (eval $lt_ar_try) 2>&5
5907   ac_status=$?
5908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5909   test $ac_status = 0; }
5910       if test "$ac_status" -eq 0; then
5911         # Ensure the archiver fails upon bogus file names.
5912         rm -f conftest.$ac_objext libconftest.a
5913         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5914   (eval $lt_ar_try) 2>&5
5915   ac_status=$?
5916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5917   test $ac_status = 0; }
5918         if test "$ac_status" -ne 0; then
5919           lt_cv_ar_at_file=@
5920         fi
5921       fi
5922       rm -f conftest.* libconftest.a
5923
5924 fi
5925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5926
5927 fi
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5929 $as_echo "$lt_cv_ar_at_file" >&6; }
5930
5931 if test "x$lt_cv_ar_at_file" = xno; then
5932   archiver_list_spec=
5933 else
5934   archiver_list_spec=$lt_cv_ar_at_file
5935 fi
5936
5937
5938
5939
5940
5941
5942
5943 if test -n "$ac_tool_prefix"; then
5944   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5945 set dummy ${ac_tool_prefix}strip; ac_word=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if ${ac_cv_prog_STRIP+:} false; then :
5949   $as_echo_n "(cached) " >&6
5950 else
5951   if test -n "$STRIP"; then
5952   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5953 else
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in $PATH
5956 do
5957   IFS=$as_save_IFS
5958   test -z "$as_dir" && as_dir=.
5959     for ac_exec_ext in '' $ac_executable_extensions; do
5960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5961     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963     break 2
5964   fi
5965 done
5966   done
5967 IFS=$as_save_IFS
5968
5969 fi
5970 fi
5971 STRIP=$ac_cv_prog_STRIP
5972 if test -n "$STRIP"; then
5973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5974 $as_echo "$STRIP" >&6; }
5975 else
5976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 $as_echo "no" >&6; }
5978 fi
5979
5980
5981 fi
5982 if test -z "$ac_cv_prog_STRIP"; then
5983   ac_ct_STRIP=$STRIP
5984   # Extract the first word of "strip", so it can be a program name with args.
5985 set dummy strip; ac_word=$2
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5987 $as_echo_n "checking for $ac_word... " >&6; }
5988 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5989   $as_echo_n "(cached) " >&6
5990 else
5991   if test -n "$ac_ct_STRIP"; then
5992   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5993 else
5994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5995 for as_dir in $PATH
5996 do
5997   IFS=$as_save_IFS
5998   test -z "$as_dir" && as_dir=.
5999     for ac_exec_ext in '' $ac_executable_extensions; do
6000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6001     ac_cv_prog_ac_ct_STRIP="strip"
6002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6003     break 2
6004   fi
6005 done
6006   done
6007 IFS=$as_save_IFS
6008
6009 fi
6010 fi
6011 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6012 if test -n "$ac_ct_STRIP"; then
6013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6014 $as_echo "$ac_ct_STRIP" >&6; }
6015 else
6016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6017 $as_echo "no" >&6; }
6018 fi
6019
6020   if test "x$ac_ct_STRIP" = x; then
6021     STRIP=":"
6022   else
6023     case $cross_compiling:$ac_tool_warned in
6024 yes:)
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6027 ac_tool_warned=yes ;;
6028 esac
6029     STRIP=$ac_ct_STRIP
6030   fi
6031 else
6032   STRIP="$ac_cv_prog_STRIP"
6033 fi
6034
6035 test -z "$STRIP" && STRIP=:
6036
6037
6038
6039
6040
6041
6042 if test -n "$ac_tool_prefix"; then
6043   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6044 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_RANLIB+:} false; then :
6048   $as_echo_n "(cached) " >&6
6049 else
6050   if test -n "$RANLIB"; then
6051   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6052 else
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6055 do
6056   IFS=$as_save_IFS
6057   test -z "$as_dir" && as_dir=.
6058     for ac_exec_ext in '' $ac_executable_extensions; do
6059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6060     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062     break 2
6063   fi
6064 done
6065   done
6066 IFS=$as_save_IFS
6067
6068 fi
6069 fi
6070 RANLIB=$ac_cv_prog_RANLIB
6071 if test -n "$RANLIB"; then
6072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6073 $as_echo "$RANLIB" >&6; }
6074 else
6075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6077 fi
6078
6079
6080 fi
6081 if test -z "$ac_cv_prog_RANLIB"; then
6082   ac_ct_RANLIB=$RANLIB
6083   # Extract the first word of "ranlib", so it can be a program name with args.
6084 set dummy ranlib; ac_word=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; }
6087 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6088   $as_echo_n "(cached) " >&6
6089 else
6090   if test -n "$ac_ct_RANLIB"; then
6091   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6092 else
6093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6094 for as_dir in $PATH
6095 do
6096   IFS=$as_save_IFS
6097   test -z "$as_dir" && as_dir=.
6098     for ac_exec_ext in '' $ac_executable_extensions; do
6099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6100     ac_cv_prog_ac_ct_RANLIB="ranlib"
6101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6102     break 2
6103   fi
6104 done
6105   done
6106 IFS=$as_save_IFS
6107
6108 fi
6109 fi
6110 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6111 if test -n "$ac_ct_RANLIB"; then
6112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6113 $as_echo "$ac_ct_RANLIB" >&6; }
6114 else
6115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6117 fi
6118
6119   if test "x$ac_ct_RANLIB" = x; then
6120     RANLIB=":"
6121   else
6122     case $cross_compiling:$ac_tool_warned in
6123 yes:)
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6126 ac_tool_warned=yes ;;
6127 esac
6128     RANLIB=$ac_ct_RANLIB
6129   fi
6130 else
6131   RANLIB="$ac_cv_prog_RANLIB"
6132 fi
6133
6134 test -z "$RANLIB" && RANLIB=:
6135
6136
6137
6138
6139
6140
6141 # Determine commands to create old-style static archives.
6142 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6143 old_postinstall_cmds='chmod 644 $oldlib'
6144 old_postuninstall_cmds=
6145
6146 if test -n "$RANLIB"; then
6147   case $host_os in
6148   openbsd*)
6149     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6150     ;;
6151   *)
6152     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6153     ;;
6154   esac
6155   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6156 fi
6157
6158 case $host_os in
6159   darwin*)
6160     lock_old_archive_extraction=yes ;;
6161   *)
6162     lock_old_archive_extraction=no ;;
6163 esac
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203 # If no C compiler was specified, use CC.
6204 LTCC=${LTCC-"$CC"}
6205
6206 # If no C compiler flags were specified, use CFLAGS.
6207 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6208
6209 # Allow CC to be a program name with arguments.
6210 compiler=$CC
6211
6212
6213 # Check for command to grab the raw symbol name followed by C symbol from nm.
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6215 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6216 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6217   $as_echo_n "(cached) " >&6
6218 else
6219
6220 # These are sane defaults that work on at least a few old systems.
6221 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6222
6223 # Character class describing NM global symbol codes.
6224 symcode='[BCDEGRST]'
6225
6226 # Regexp to match symbols that can be accessed directly from C.
6227 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6228
6229 # Define system-specific variables.
6230 case $host_os in
6231 aix*)
6232   symcode='[BCDT]'
6233   ;;
6234 cygwin* | mingw* | pw32* | cegcc*)
6235   symcode='[ABCDGISTW]'
6236   ;;
6237 hpux*)
6238   if test "$host_cpu" = ia64; then
6239     symcode='[ABCDEGRST]'
6240   fi
6241   ;;
6242 irix* | nonstopux*)
6243   symcode='[BCDEGRST]'
6244   ;;
6245 osf*)
6246   symcode='[BCDEGQRST]'
6247   ;;
6248 solaris*)
6249   symcode='[BDRT]'
6250   ;;
6251 sco3.2v5*)
6252   symcode='[DT]'
6253   ;;
6254 sysv4.2uw2*)
6255   symcode='[DT]'
6256   ;;
6257 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6258   symcode='[ABDT]'
6259   ;;
6260 sysv4)
6261   symcode='[DFNSTU]'
6262   ;;
6263 esac
6264
6265 # If we're using GNU nm, then use its standard symbol codes.
6266 case `$NM -V 2>&1` in
6267 *GNU* | *'with BFD'*)
6268   symcode='[ABCDGIRSTW]' ;;
6269 esac
6270
6271 # Transform an extracted symbol line into a proper C declaration.
6272 # Some systems (esp. on ia64) link data and code symbols differently,
6273 # so use this general approach.
6274 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6275
6276 # Transform an extracted symbol line into symbol name and symbol address
6277 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6278 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'"
6279
6280 # Handle CRLF in mingw tool chain
6281 opt_cr=
6282 case $build_os in
6283 mingw*)
6284   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6285   ;;
6286 esac
6287
6288 # Try without a prefix underscore, then with it.
6289 for ac_symprfx in "" "_"; do
6290
6291   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6292   symxfrm="\\1 $ac_symprfx\\2 \\2"
6293
6294   # Write the raw and C identifiers.
6295   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6296     # Fake it for dumpbin and say T for any non-static function
6297     # and D for any global variable.
6298     # Also find C++ and __fastcall symbols from MSVC++,
6299     # which start with @ or ?.
6300     lt_cv_sys_global_symbol_pipe="$AWK '"\
6301 "     {last_section=section; section=\$ 3};"\
6302 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6303 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6304 "     \$ 0!~/External *\|/{next};"\
6305 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6306 "     {if(hide[section]) next};"\
6307 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6308 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6309 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6310 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6311 "     ' prfx=^$ac_symprfx"
6312   else
6313     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6314   fi
6315   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6316
6317   # Check to see that the pipe works correctly.
6318   pipe_works=no
6319
6320   rm -f conftest*
6321   cat > conftest.$ac_ext <<_LT_EOF
6322 #ifdef __cplusplus
6323 extern "C" {
6324 #endif
6325 char nm_test_var;
6326 void nm_test_func(void);
6327 void nm_test_func(void){}
6328 #ifdef __cplusplus
6329 }
6330 #endif
6331 int main(){nm_test_var='a';nm_test_func();return(0);}
6332 _LT_EOF
6333
6334   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6335   (eval $ac_compile) 2>&5
6336   ac_status=$?
6337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6338   test $ac_status = 0; }; then
6339     # Now try to grab the symbols.
6340     nlist=conftest.nm
6341     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6342   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6343   ac_status=$?
6344   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6345   test $ac_status = 0; } && test -s "$nlist"; then
6346       # Try sorting and uniquifying the output.
6347       if sort "$nlist" | uniq > "$nlist"T; then
6348         mv -f "$nlist"T "$nlist"
6349       else
6350         rm -f "$nlist"T
6351       fi
6352
6353       # Make sure that we snagged all the symbols we need.
6354       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6355         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6356           cat <<_LT_EOF > conftest.$ac_ext
6357 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6358 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6359 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6360    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6361 # define LT_DLSYM_CONST
6362 #elif defined(__osf__)
6363 /* This system does not cope well with relocations in const data.  */
6364 # define LT_DLSYM_CONST
6365 #else
6366 # define LT_DLSYM_CONST const
6367 #endif
6368
6369 #ifdef __cplusplus
6370 extern "C" {
6371 #endif
6372
6373 _LT_EOF
6374           # Now generate the symbol file.
6375           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6376
6377           cat <<_LT_EOF >> conftest.$ac_ext
6378
6379 /* The mapping between symbol names and symbols.  */
6380 LT_DLSYM_CONST struct {
6381   const char *name;
6382   void       *address;
6383 }
6384 lt__PROGRAM__LTX_preloaded_symbols[] =
6385 {
6386   { "@PROGRAM@", (void *) 0 },
6387 _LT_EOF
6388           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6389           cat <<\_LT_EOF >> conftest.$ac_ext
6390   {0, (void *) 0}
6391 };
6392
6393 /* This works around a problem in FreeBSD linker */
6394 #ifdef FREEBSD_WORKAROUND
6395 static const void *lt_preloaded_setup() {
6396   return lt__PROGRAM__LTX_preloaded_symbols;
6397 }
6398 #endif
6399
6400 #ifdef __cplusplus
6401 }
6402 #endif
6403 _LT_EOF
6404           # Now try linking the two files.
6405           mv conftest.$ac_objext conftstm.$ac_objext
6406           lt_globsym_save_LIBS=$LIBS
6407           lt_globsym_save_CFLAGS=$CFLAGS
6408           LIBS="conftstm.$ac_objext"
6409           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6410           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6411   (eval $ac_link) 2>&5
6412   ac_status=$?
6413   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6414   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6415             pipe_works=yes
6416           fi
6417           LIBS=$lt_globsym_save_LIBS
6418           CFLAGS=$lt_globsym_save_CFLAGS
6419         else
6420           echo "cannot find nm_test_func in $nlist" >&5
6421         fi
6422       else
6423         echo "cannot find nm_test_var in $nlist" >&5
6424       fi
6425     else
6426       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6427     fi
6428   else
6429     echo "$progname: failed program was:" >&5
6430     cat conftest.$ac_ext >&5
6431   fi
6432   rm -rf conftest* conftst*
6433
6434   # Do not use the global_symbol_pipe unless it works.
6435   if test "$pipe_works" = yes; then
6436     break
6437   else
6438     lt_cv_sys_global_symbol_pipe=
6439   fi
6440 done
6441
6442 fi
6443
6444 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6445   lt_cv_sys_global_symbol_to_cdecl=
6446 fi
6447 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6449 $as_echo "failed" >&6; }
6450 else
6451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6452 $as_echo "ok" >&6; }
6453 fi
6454
6455 # Response file support.
6456 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6457   nm_file_list_spec='@'
6458 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6459   nm_file_list_spec='@'
6460 fi
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6489 $as_echo_n "checking for sysroot... " >&6; }
6490
6491 # Check whether --with-sysroot was given.
6492 if test "${with_sysroot+set}" = set; then :
6493   withval=$with_sysroot;
6494 else
6495   with_sysroot=no
6496 fi
6497
6498
6499 lt_sysroot=
6500 case ${with_sysroot} in #(
6501  yes)
6502    if test "$GCC" = yes; then
6503      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6504    fi
6505    ;; #(
6506  /*)
6507    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6508    ;; #(
6509  no|'')
6510    ;; #(
6511  *)
6512    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6513 $as_echo "${with_sysroot}" >&6; }
6514    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6515    ;;
6516 esac
6517
6518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6519 $as_echo "${lt_sysroot:-no}" >&6; }
6520
6521
6522
6523
6524
6525 # Check whether --enable-libtool-lock was given.
6526 if test "${enable_libtool_lock+set}" = set; then :
6527   enableval=$enable_libtool_lock;
6528 fi
6529
6530 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6531
6532 # Some flags need to be propagated to the compiler or linker for good
6533 # libtool support.
6534 case $host in
6535 ia64-*-hpux*)
6536   # Find out which ABI we are using.
6537   echo 'int i;' > conftest.$ac_ext
6538   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6539   (eval $ac_compile) 2>&5
6540   ac_status=$?
6541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6542   test $ac_status = 0; }; then
6543     case `/usr/bin/file conftest.$ac_objext` in
6544       *ELF-32*)
6545         HPUX_IA64_MODE="32"
6546         ;;
6547       *ELF-64*)
6548         HPUX_IA64_MODE="64"
6549         ;;
6550     esac
6551   fi
6552   rm -rf conftest*
6553   ;;
6554 *-*-irix6*)
6555   # Find out which ABI we are using.
6556   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6557   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6558   (eval $ac_compile) 2>&5
6559   ac_status=$?
6560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6561   test $ac_status = 0; }; then
6562     if test "$lt_cv_prog_gnu_ld" = yes; then
6563       case `/usr/bin/file conftest.$ac_objext` in
6564         *32-bit*)
6565           LD="${LD-ld} -melf32bsmip"
6566           ;;
6567         *N32*)
6568           LD="${LD-ld} -melf32bmipn32"
6569           ;;
6570         *64-bit*)
6571           LD="${LD-ld} -melf64bmip"
6572         ;;
6573       esac
6574     else
6575       case `/usr/bin/file conftest.$ac_objext` in
6576         *32-bit*)
6577           LD="${LD-ld} -32"
6578           ;;
6579         *N32*)
6580           LD="${LD-ld} -n32"
6581           ;;
6582         *64-bit*)
6583           LD="${LD-ld} -64"
6584           ;;
6585       esac
6586     fi
6587   fi
6588   rm -rf conftest*
6589   ;;
6590
6591 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6592 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6593   # Find out which ABI we are using.
6594   echo 'int i;' > conftest.$ac_ext
6595   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6596   (eval $ac_compile) 2>&5
6597   ac_status=$?
6598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6599   test $ac_status = 0; }; then
6600     case `/usr/bin/file conftest.o` in
6601       *32-bit*)
6602         case $host in
6603           x86_64-*kfreebsd*-gnu)
6604             LD="${LD-ld} -m elf_i386_fbsd"
6605             ;;
6606           x86_64-*linux*)
6607             LD="${LD-ld} -m elf_i386"
6608             ;;
6609           ppc64-*linux*|powerpc64-*linux*)
6610             LD="${LD-ld} -m elf32ppclinux"
6611             ;;
6612           s390x-*linux*)
6613             LD="${LD-ld} -m elf_s390"
6614             ;;
6615           sparc64-*linux*)
6616             LD="${LD-ld} -m elf32_sparc"
6617             ;;
6618         esac
6619         ;;
6620       *64-bit*)
6621         case $host in
6622           x86_64-*kfreebsd*-gnu)
6623             LD="${LD-ld} -m elf_x86_64_fbsd"
6624             ;;
6625           x86_64-*linux*)
6626             LD="${LD-ld} -m elf_x86_64"
6627             ;;
6628           ppc*-*linux*|powerpc*-*linux*)
6629             LD="${LD-ld} -m elf64ppc"
6630             ;;
6631           s390*-*linux*|s390*-*tpf*)
6632             LD="${LD-ld} -m elf64_s390"
6633             ;;
6634           sparc*-*linux*)
6635             LD="${LD-ld} -m elf64_sparc"
6636             ;;
6637         esac
6638         ;;
6639     esac
6640   fi
6641   rm -rf conftest*
6642   ;;
6643
6644 *-*-sco3.2v5*)
6645   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6646   SAVE_CFLAGS="$CFLAGS"
6647   CFLAGS="$CFLAGS -belf"
6648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6649 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6650 if ${lt_cv_cc_needs_belf+:} false; then :
6651   $as_echo_n "(cached) " >&6
6652 else
6653   ac_ext=c
6654 ac_cpp='$CPP $CPPFLAGS'
6655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6658
6659      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h.  */
6661
6662 int
6663 main ()
6664 {
6665
6666   ;
6667   return 0;
6668 }
6669 _ACEOF
6670 if ac_fn_c_try_link "$LINENO"; then :
6671   lt_cv_cc_needs_belf=yes
6672 else
6673   lt_cv_cc_needs_belf=no
6674 fi
6675 rm -f core conftest.err conftest.$ac_objext \
6676     conftest$ac_exeext conftest.$ac_ext
6677      ac_ext=c
6678 ac_cpp='$CPP $CPPFLAGS'
6679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6682
6683 fi
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6685 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6686   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6687     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6688     CFLAGS="$SAVE_CFLAGS"
6689   fi
6690   ;;
6691 *-*solaris*)
6692   # Find out which ABI we are using.
6693   echo 'int i;' > conftest.$ac_ext
6694   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6695   (eval $ac_compile) 2>&5
6696   ac_status=$?
6697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6698   test $ac_status = 0; }; then
6699     case `/usr/bin/file conftest.o` in
6700     *64-bit*)
6701       case $lt_cv_prog_gnu_ld in
6702       yes*)
6703         case $host in
6704         i?86-*-solaris*)
6705           LD="${LD-ld} -m elf_x86_64"
6706           ;;
6707         sparc*-*-solaris*)
6708           LD="${LD-ld} -m elf64_sparc"
6709           ;;
6710         esac
6711         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6712         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6713           LD="${LD-ld}_sol2"
6714         fi
6715         ;;
6716       *)
6717         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6718           LD="${LD-ld} -64"
6719         fi
6720         ;;
6721       esac
6722       ;;
6723     esac
6724   fi
6725   rm -rf conftest*
6726   ;;
6727 esac
6728
6729 need_locks="$enable_libtool_lock"
6730
6731 if test -n "$ac_tool_prefix"; then
6732   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6733 set dummy ${ac_tool_prefix}mt; ac_word=$2
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735 $as_echo_n "checking for $ac_word... " >&6; }
6736 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6737   $as_echo_n "(cached) " >&6
6738 else
6739   if test -n "$MANIFEST_TOOL"; then
6740   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6741 else
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743 for as_dir in $PATH
6744 do
6745   IFS=$as_save_IFS
6746   test -z "$as_dir" && as_dir=.
6747     for ac_exec_ext in '' $ac_executable_extensions; do
6748   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6749     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6751     break 2
6752   fi
6753 done
6754   done
6755 IFS=$as_save_IFS
6756
6757 fi
6758 fi
6759 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6760 if test -n "$MANIFEST_TOOL"; then
6761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6762 $as_echo "$MANIFEST_TOOL" >&6; }
6763 else
6764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 $as_echo "no" >&6; }
6766 fi
6767
6768
6769 fi
6770 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6771   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6772   # Extract the first word of "mt", so it can be a program name with args.
6773 set dummy mt; ac_word=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6775 $as_echo_n "checking for $ac_word... " >&6; }
6776 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6777   $as_echo_n "(cached) " >&6
6778 else
6779   if test -n "$ac_ct_MANIFEST_TOOL"; then
6780   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6781 else
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 for as_dir in $PATH
6784 do
6785   IFS=$as_save_IFS
6786   test -z "$as_dir" && as_dir=.
6787     for ac_exec_ext in '' $ac_executable_extensions; do
6788   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6789     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6791     break 2
6792   fi
6793 done
6794   done
6795 IFS=$as_save_IFS
6796
6797 fi
6798 fi
6799 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6800 if test -n "$ac_ct_MANIFEST_TOOL"; then
6801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6802 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6803 else
6804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6806 fi
6807
6808   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6809     MANIFEST_TOOL=":"
6810   else
6811     case $cross_compiling:$ac_tool_warned in
6812 yes:)
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6815 ac_tool_warned=yes ;;
6816 esac
6817     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6818   fi
6819 else
6820   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6821 fi
6822
6823 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6825 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6826 if ${lt_cv_path_mainfest_tool+:} false; then :
6827   $as_echo_n "(cached) " >&6
6828 else
6829   lt_cv_path_mainfest_tool=no
6830   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6831   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6832   cat conftest.err >&5
6833   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6834     lt_cv_path_mainfest_tool=yes
6835   fi
6836   rm -f conftest*
6837 fi
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6839 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6840 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6841   MANIFEST_TOOL=:
6842 fi
6843
6844
6845
6846
6847
6848
6849   case $host_os in
6850     rhapsody* | darwin*)
6851     if test -n "$ac_tool_prefix"; then
6852   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6853 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6857   $as_echo_n "(cached) " >&6
6858 else
6859   if test -n "$DSYMUTIL"; then
6860   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6861 else
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 for as_dir in $PATH
6864 do
6865   IFS=$as_save_IFS
6866   test -z "$as_dir" && as_dir=.
6867     for ac_exec_ext in '' $ac_executable_extensions; do
6868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871     break 2
6872   fi
6873 done
6874   done
6875 IFS=$as_save_IFS
6876
6877 fi
6878 fi
6879 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6880 if test -n "$DSYMUTIL"; then
6881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6882 $as_echo "$DSYMUTIL" >&6; }
6883 else
6884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6886 fi
6887
6888
6889 fi
6890 if test -z "$ac_cv_prog_DSYMUTIL"; then
6891   ac_ct_DSYMUTIL=$DSYMUTIL
6892   # Extract the first word of "dsymutil", so it can be a program name with args.
6893 set dummy dsymutil; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6897   $as_echo_n "(cached) " >&6
6898 else
6899   if test -n "$ac_ct_DSYMUTIL"; then
6900   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6901 else
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 for as_dir in $PATH
6904 do
6905   IFS=$as_save_IFS
6906   test -z "$as_dir" && as_dir=.
6907     for ac_exec_ext in '' $ac_executable_extensions; do
6908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911     break 2
6912   fi
6913 done
6914   done
6915 IFS=$as_save_IFS
6916
6917 fi
6918 fi
6919 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6920 if test -n "$ac_ct_DSYMUTIL"; then
6921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6922 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6923 else
6924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6926 fi
6927
6928   if test "x$ac_ct_DSYMUTIL" = x; then
6929     DSYMUTIL=":"
6930   else
6931     case $cross_compiling:$ac_tool_warned in
6932 yes:)
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935 ac_tool_warned=yes ;;
6936 esac
6937     DSYMUTIL=$ac_ct_DSYMUTIL
6938   fi
6939 else
6940   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6941 fi
6942
6943     if test -n "$ac_tool_prefix"; then
6944   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6945 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_prog_NMEDIT+:} false; then :
6949   $as_echo_n "(cached) " >&6
6950 else
6951   if test -n "$NMEDIT"; then
6952   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6953 else
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 for as_dir in $PATH
6956 do
6957   IFS=$as_save_IFS
6958   test -z "$as_dir" && as_dir=.
6959     for ac_exec_ext in '' $ac_executable_extensions; do
6960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963     break 2
6964   fi
6965 done
6966   done
6967 IFS=$as_save_IFS
6968
6969 fi
6970 fi
6971 NMEDIT=$ac_cv_prog_NMEDIT
6972 if test -n "$NMEDIT"; then
6973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6974 $as_echo "$NMEDIT" >&6; }
6975 else
6976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6978 fi
6979
6980
6981 fi
6982 if test -z "$ac_cv_prog_NMEDIT"; then
6983   ac_ct_NMEDIT=$NMEDIT
6984   # Extract the first word of "nmedit", so it can be a program name with args.
6985 set dummy nmedit; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6989   $as_echo_n "(cached) " >&6
6990 else
6991   if test -n "$ac_ct_NMEDIT"; then
6992   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6993 else
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 for as_dir in $PATH
6996 do
6997   IFS=$as_save_IFS
6998   test -z "$as_dir" && as_dir=.
6999     for ac_exec_ext in '' $ac_executable_extensions; do
7000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7001     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003     break 2
7004   fi
7005 done
7006   done
7007 IFS=$as_save_IFS
7008
7009 fi
7010 fi
7011 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7012 if test -n "$ac_ct_NMEDIT"; then
7013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7014 $as_echo "$ac_ct_NMEDIT" >&6; }
7015 else
7016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7018 fi
7019
7020   if test "x$ac_ct_NMEDIT" = x; then
7021     NMEDIT=":"
7022   else
7023     case $cross_compiling:$ac_tool_warned in
7024 yes:)
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7027 ac_tool_warned=yes ;;
7028 esac
7029     NMEDIT=$ac_ct_NMEDIT
7030   fi
7031 else
7032   NMEDIT="$ac_cv_prog_NMEDIT"
7033 fi
7034
7035     if test -n "$ac_tool_prefix"; then
7036   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7037 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if ${ac_cv_prog_LIPO+:} false; then :
7041   $as_echo_n "(cached) " >&6
7042 else
7043   if test -n "$LIPO"; then
7044   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7045 else
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in $PATH
7048 do
7049   IFS=$as_save_IFS
7050   test -z "$as_dir" && as_dir=.
7051     for ac_exec_ext in '' $ac_executable_extensions; do
7052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055     break 2
7056   fi
7057 done
7058   done
7059 IFS=$as_save_IFS
7060
7061 fi
7062 fi
7063 LIPO=$ac_cv_prog_LIPO
7064 if test -n "$LIPO"; then
7065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7066 $as_echo "$LIPO" >&6; }
7067 else
7068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7070 fi
7071
7072
7073 fi
7074 if test -z "$ac_cv_prog_LIPO"; then
7075   ac_ct_LIPO=$LIPO
7076   # Extract the first word of "lipo", so it can be a program name with args.
7077 set dummy lipo; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 $as_echo_n "checking for $ac_word... " >&6; }
7080 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7081   $as_echo_n "(cached) " >&6
7082 else
7083   if test -n "$ac_ct_LIPO"; then
7084   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7085 else
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 for as_dir in $PATH
7088 do
7089   IFS=$as_save_IFS
7090   test -z "$as_dir" && as_dir=.
7091     for ac_exec_ext in '' $ac_executable_extensions; do
7092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7093     ac_cv_prog_ac_ct_LIPO="lipo"
7094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7095     break 2
7096   fi
7097 done
7098   done
7099 IFS=$as_save_IFS
7100
7101 fi
7102 fi
7103 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7104 if test -n "$ac_ct_LIPO"; then
7105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7106 $as_echo "$ac_ct_LIPO" >&6; }
7107 else
7108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7110 fi
7111
7112   if test "x$ac_ct_LIPO" = x; then
7113     LIPO=":"
7114   else
7115     case $cross_compiling:$ac_tool_warned in
7116 yes:)
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7119 ac_tool_warned=yes ;;
7120 esac
7121     LIPO=$ac_ct_LIPO
7122   fi
7123 else
7124   LIPO="$ac_cv_prog_LIPO"
7125 fi
7126
7127     if test -n "$ac_tool_prefix"; then
7128   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7129 set dummy ${ac_tool_prefix}otool; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if ${ac_cv_prog_OTOOL+:} false; then :
7133   $as_echo_n "(cached) " >&6
7134 else
7135   if test -n "$OTOOL"; then
7136   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7137 else
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 for as_dir in $PATH
7140 do
7141   IFS=$as_save_IFS
7142   test -z "$as_dir" && as_dir=.
7143     for ac_exec_ext in '' $ac_executable_extensions; do
7144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7145     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147     break 2
7148   fi
7149 done
7150   done
7151 IFS=$as_save_IFS
7152
7153 fi
7154 fi
7155 OTOOL=$ac_cv_prog_OTOOL
7156 if test -n "$OTOOL"; then
7157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7158 $as_echo "$OTOOL" >&6; }
7159 else
7160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7162 fi
7163
7164
7165 fi
7166 if test -z "$ac_cv_prog_OTOOL"; then
7167   ac_ct_OTOOL=$OTOOL
7168   # Extract the first word of "otool", so it can be a program name with args.
7169 set dummy otool; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 $as_echo_n "checking for $ac_word... " >&6; }
7172 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7173   $as_echo_n "(cached) " >&6
7174 else
7175   if test -n "$ac_ct_OTOOL"; then
7176   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7177 else
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 for as_dir in $PATH
7180 do
7181   IFS=$as_save_IFS
7182   test -z "$as_dir" && as_dir=.
7183     for ac_exec_ext in '' $ac_executable_extensions; do
7184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7185     ac_cv_prog_ac_ct_OTOOL="otool"
7186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7187     break 2
7188   fi
7189 done
7190   done
7191 IFS=$as_save_IFS
7192
7193 fi
7194 fi
7195 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7196 if test -n "$ac_ct_OTOOL"; then
7197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7198 $as_echo "$ac_ct_OTOOL" >&6; }
7199 else
7200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7202 fi
7203
7204   if test "x$ac_ct_OTOOL" = x; then
7205     OTOOL=":"
7206   else
7207     case $cross_compiling:$ac_tool_warned in
7208 yes:)
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7211 ac_tool_warned=yes ;;
7212 esac
7213     OTOOL=$ac_ct_OTOOL
7214   fi
7215 else
7216   OTOOL="$ac_cv_prog_OTOOL"
7217 fi
7218
7219     if test -n "$ac_tool_prefix"; then
7220   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7221 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if ${ac_cv_prog_OTOOL64+:} false; then :
7225   $as_echo_n "(cached) " >&6
7226 else
7227   if test -n "$OTOOL64"; then
7228   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7229 else
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 for as_dir in $PATH
7232 do
7233   IFS=$as_save_IFS
7234   test -z "$as_dir" && as_dir=.
7235     for ac_exec_ext in '' $ac_executable_extensions; do
7236   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7237     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7239     break 2
7240   fi
7241 done
7242   done
7243 IFS=$as_save_IFS
7244
7245 fi
7246 fi
7247 OTOOL64=$ac_cv_prog_OTOOL64
7248 if test -n "$OTOOL64"; then
7249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7250 $as_echo "$OTOOL64" >&6; }
7251 else
7252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7254 fi
7255
7256
7257 fi
7258 if test -z "$ac_cv_prog_OTOOL64"; then
7259   ac_ct_OTOOL64=$OTOOL64
7260   # Extract the first word of "otool64", so it can be a program name with args.
7261 set dummy otool64; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7265   $as_echo_n "(cached) " >&6
7266 else
7267   if test -n "$ac_ct_OTOOL64"; then
7268   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7269 else
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 for as_dir in $PATH
7272 do
7273   IFS=$as_save_IFS
7274   test -z "$as_dir" && as_dir=.
7275     for ac_exec_ext in '' $ac_executable_extensions; do
7276   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7277     ac_cv_prog_ac_ct_OTOOL64="otool64"
7278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7279     break 2
7280   fi
7281 done
7282   done
7283 IFS=$as_save_IFS
7284
7285 fi
7286 fi
7287 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7288 if test -n "$ac_ct_OTOOL64"; then
7289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7290 $as_echo "$ac_ct_OTOOL64" >&6; }
7291 else
7292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7294 fi
7295
7296   if test "x$ac_ct_OTOOL64" = x; then
7297     OTOOL64=":"
7298   else
7299     case $cross_compiling:$ac_tool_warned in
7300 yes:)
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7303 ac_tool_warned=yes ;;
7304 esac
7305     OTOOL64=$ac_ct_OTOOL64
7306   fi
7307 else
7308   OTOOL64="$ac_cv_prog_OTOOL64"
7309 fi
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7338 $as_echo_n "checking for -single_module linker flag... " >&6; }
7339 if ${lt_cv_apple_cc_single_mod+:} false; then :
7340   $as_echo_n "(cached) " >&6
7341 else
7342   lt_cv_apple_cc_single_mod=no
7343       if test -z "${LT_MULTI_MODULE}"; then
7344         # By default we will add the -single_module flag. You can override
7345         # by either setting the environment variable LT_MULTI_MODULE
7346         # non-empty at configure time, or by adding -multi_module to the
7347         # link flags.
7348         rm -rf libconftest.dylib*
7349         echo "int foo(void){return 1;}" > conftest.c
7350         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7351 -dynamiclib -Wl,-single_module conftest.c" >&5
7352         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7353           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7354         _lt_result=$?
7355         # If there is a non-empty error log, and "single_module"
7356         # appears in it, assume the flag caused a linker warning
7357         if test -s conftest.err && $GREP single_module conftest.err; then
7358           cat conftest.err >&5
7359         # Otherwise, if the output was created with a 0 exit code from
7360         # the compiler, it worked.
7361         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7362           lt_cv_apple_cc_single_mod=yes
7363         else
7364           cat conftest.err >&5
7365         fi
7366         rm -rf libconftest.dylib*
7367         rm -f conftest.*
7368       fi
7369 fi
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7371 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7372
7373     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7374 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7375 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7376   $as_echo_n "(cached) " >&6
7377 else
7378   lt_cv_ld_exported_symbols_list=no
7379       save_LDFLAGS=$LDFLAGS
7380       echo "_main" > conftest.sym
7381       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7383 /* end confdefs.h.  */
7384
7385 int
7386 main ()
7387 {
7388
7389   ;
7390   return 0;
7391 }
7392 _ACEOF
7393 if ac_fn_c_try_link "$LINENO"; then :
7394   lt_cv_ld_exported_symbols_list=yes
7395 else
7396   lt_cv_ld_exported_symbols_list=no
7397 fi
7398 rm -f core conftest.err conftest.$ac_objext \
7399     conftest$ac_exeext conftest.$ac_ext
7400         LDFLAGS="$save_LDFLAGS"
7401
7402 fi
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7404 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7405
7406     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7407 $as_echo_n "checking for -force_load linker flag... " >&6; }
7408 if ${lt_cv_ld_force_load+:} false; then :
7409   $as_echo_n "(cached) " >&6
7410 else
7411   lt_cv_ld_force_load=no
7412       cat > conftest.c << _LT_EOF
7413 int forced_loaded() { return 2;}
7414 _LT_EOF
7415       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7416       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7417       echo "$AR cru libconftest.a conftest.o" >&5
7418       $AR cru libconftest.a conftest.o 2>&5
7419       echo "$RANLIB libconftest.a" >&5
7420       $RANLIB libconftest.a 2>&5
7421       cat > conftest.c << _LT_EOF
7422 int main() { return 0;}
7423 _LT_EOF
7424       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7425       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7426       _lt_result=$?
7427       if test -s conftest.err && $GREP force_load conftest.err; then
7428         cat conftest.err >&5
7429       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7430         lt_cv_ld_force_load=yes
7431       else
7432         cat conftest.err >&5
7433       fi
7434         rm -f conftest.err libconftest.a conftest conftest.c
7435         rm -rf conftest.dSYM
7436
7437 fi
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7439 $as_echo "$lt_cv_ld_force_load" >&6; }
7440     case $host_os in
7441     rhapsody* | darwin1.[012])
7442       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7443     darwin1.*)
7444       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7445     darwin*) # darwin 5.x on
7446       # if running on 10.5 or later, the deployment target defaults
7447       # to the OS version, if on x86, and 10.4, the deployment
7448       # target defaults to 10.4. Don't you love it?
7449       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7450         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7451           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7452         10.[012]*)
7453           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7454         10.*)
7455           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7456       esac
7457     ;;
7458   esac
7459     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7460       _lt_dar_single_mod='$single_module'
7461     fi
7462     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7463       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7464     else
7465       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7466     fi
7467     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7468       _lt_dsymutil='~$DSYMUTIL $lib || :'
7469     else
7470       _lt_dsymutil=
7471     fi
7472     ;;
7473   esac
7474
7475 ac_ext=c
7476 ac_cpp='$CPP $CPPFLAGS'
7477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7481 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7482 # On Suns, sometimes $CPP names a directory.
7483 if test -n "$CPP" && test -d "$CPP"; then
7484   CPP=
7485 fi
7486 if test -z "$CPP"; then
7487   if ${ac_cv_prog_CPP+:} false; then :
7488   $as_echo_n "(cached) " >&6
7489 else
7490       # Double quotes because CPP needs to be expanded
7491     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7492     do
7493       ac_preproc_ok=false
7494 for ac_c_preproc_warn_flag in '' yes
7495 do
7496   # Use a header file that comes with gcc, so configuring glibc
7497   # with a fresh cross-compiler works.
7498   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7499   # <limits.h> exists even on freestanding compilers.
7500   # On the NeXT, cc -E runs the code through the compiler's parser,
7501   # not just through cpp. "Syntax error" is here to catch this case.
7502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h.  */
7504 #ifdef __STDC__
7505 # include <limits.h>
7506 #else
7507 # include <assert.h>
7508 #endif
7509                      Syntax error
7510 _ACEOF
7511 if ac_fn_c_try_cpp "$LINENO"; then :
7512
7513 else
7514   # Broken: fails on valid input.
7515 continue
7516 fi
7517 rm -f conftest.err conftest.i conftest.$ac_ext
7518
7519   # OK, works on sane cases.  Now check whether nonexistent headers
7520   # can be detected and how.
7521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7522 /* end confdefs.h.  */
7523 #include <ac_nonexistent.h>
7524 _ACEOF
7525 if ac_fn_c_try_cpp "$LINENO"; then :
7526   # Broken: success on invalid input.
7527 continue
7528 else
7529   # Passes both tests.
7530 ac_preproc_ok=:
7531 break
7532 fi
7533 rm -f conftest.err conftest.i conftest.$ac_ext
7534
7535 done
7536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7537 rm -f conftest.i conftest.err conftest.$ac_ext
7538 if $ac_preproc_ok; then :
7539   break
7540 fi
7541
7542     done
7543     ac_cv_prog_CPP=$CPP
7544
7545 fi
7546   CPP=$ac_cv_prog_CPP
7547 else
7548   ac_cv_prog_CPP=$CPP
7549 fi
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7551 $as_echo "$CPP" >&6; }
7552 ac_preproc_ok=false
7553 for ac_c_preproc_warn_flag in '' yes
7554 do
7555   # Use a header file that comes with gcc, so configuring glibc
7556   # with a fresh cross-compiler works.
7557   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7558   # <limits.h> exists even on freestanding compilers.
7559   # On the NeXT, cc -E runs the code through the compiler's parser,
7560   # not just through cpp. "Syntax error" is here to catch this case.
7561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h.  */
7563 #ifdef __STDC__
7564 # include <limits.h>
7565 #else
7566 # include <assert.h>
7567 #endif
7568                      Syntax error
7569 _ACEOF
7570 if ac_fn_c_try_cpp "$LINENO"; then :
7571
7572 else
7573   # Broken: fails on valid input.
7574 continue
7575 fi
7576 rm -f conftest.err conftest.i conftest.$ac_ext
7577
7578   # OK, works on sane cases.  Now check whether nonexistent headers
7579   # can be detected and how.
7580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h.  */
7582 #include <ac_nonexistent.h>
7583 _ACEOF
7584 if ac_fn_c_try_cpp "$LINENO"; then :
7585   # Broken: success on invalid input.
7586 continue
7587 else
7588   # Passes both tests.
7589 ac_preproc_ok=:
7590 break
7591 fi
7592 rm -f conftest.err conftest.i conftest.$ac_ext
7593
7594 done
7595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7596 rm -f conftest.i conftest.err conftest.$ac_ext
7597 if $ac_preproc_ok; then :
7598
7599 else
7600   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7602 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7603 See \`config.log' for more details" "$LINENO" 5; }
7604 fi
7605
7606 ac_ext=c
7607 ac_cpp='$CPP $CPPFLAGS'
7608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7611
7612
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7614 $as_echo_n "checking for ANSI C header files... " >&6; }
7615 if ${ac_cv_header_stdc+:} false; then :
7616   $as_echo_n "(cached) " >&6
7617 else
7618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h.  */
7620 #include <stdlib.h>
7621 #include <stdarg.h>
7622 #include <string.h>
7623 #include <float.h>
7624
7625 int
7626 main ()
7627 {
7628
7629   ;
7630   return 0;
7631 }
7632 _ACEOF
7633 if ac_fn_c_try_compile "$LINENO"; then :
7634   ac_cv_header_stdc=yes
7635 else
7636   ac_cv_header_stdc=no
7637 fi
7638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7639
7640 if test $ac_cv_header_stdc = yes; then
7641   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7643 /* end confdefs.h.  */
7644 #include <string.h>
7645
7646 _ACEOF
7647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7648   $EGREP "memchr" >/dev/null 2>&1; then :
7649
7650 else
7651   ac_cv_header_stdc=no
7652 fi
7653 rm -f conftest*
7654
7655 fi
7656
7657 if test $ac_cv_header_stdc = yes; then
7658   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h.  */
7661 #include <stdlib.h>
7662
7663 _ACEOF
7664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7665   $EGREP "free" >/dev/null 2>&1; then :
7666
7667 else
7668   ac_cv_header_stdc=no
7669 fi
7670 rm -f conftest*
7671
7672 fi
7673
7674 if test $ac_cv_header_stdc = yes; then
7675   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7676   if test "$cross_compiling" = yes; then :
7677   :
7678 else
7679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7680 /* end confdefs.h.  */
7681 #include <ctype.h>
7682 #include <stdlib.h>
7683 #if ((' ' & 0x0FF) == 0x020)
7684 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7685 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7686 #else
7687 # define ISLOWER(c) \
7688                    (('a' <= (c) && (c) <= 'i') \
7689                      || ('j' <= (c) && (c) <= 'r') \
7690                      || ('s' <= (c) && (c) <= 'z'))
7691 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7692 #endif
7693
7694 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7695 int
7696 main ()
7697 {
7698   int i;
7699   for (i = 0; i < 256; i++)
7700     if (XOR (islower (i), ISLOWER (i))
7701         || toupper (i) != TOUPPER (i))
7702       return 2;
7703   return 0;
7704 }
7705 _ACEOF
7706 if ac_fn_c_try_run "$LINENO"; then :
7707
7708 else
7709   ac_cv_header_stdc=no
7710 fi
7711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7712   conftest.$ac_objext conftest.beam conftest.$ac_ext
7713 fi
7714
7715 fi
7716 fi
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7718 $as_echo "$ac_cv_header_stdc" >&6; }
7719 if test $ac_cv_header_stdc = yes; then
7720
7721 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7722
7723 fi
7724
7725 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7726 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7727                   inttypes.h stdint.h unistd.h
7728 do :
7729   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7730 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7731 "
7732 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7733   cat >>confdefs.h <<_ACEOF
7734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7735 _ACEOF
7736
7737 fi
7738
7739 done
7740
7741
7742 for ac_header in dlfcn.h
7743 do :
7744   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7745 "
7746 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7747   cat >>confdefs.h <<_ACEOF
7748 #define HAVE_DLFCN_H 1
7749 _ACEOF
7750
7751 fi
7752
7753 done
7754
7755
7756
7757
7758
7759 # Set options
7760
7761
7762
7763         enable_dlopen=no
7764
7765
7766
7767             # Check whether --enable-shared was given.
7768 if test "${enable_shared+set}" = set; then :
7769   enableval=$enable_shared; p=${PACKAGE-default}
7770     case $enableval in
7771     yes) enable_shared=yes ;;
7772     no) enable_shared=no ;;
7773     *)
7774       enable_shared=no
7775       # Look at the argument we got.  We use all the common list separators.
7776       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7777       for pkg in $enableval; do
7778         IFS="$lt_save_ifs"
7779         if test "X$pkg" = "X$p"; then
7780           enable_shared=yes
7781         fi
7782       done
7783       IFS="$lt_save_ifs"
7784       ;;
7785     esac
7786 else
7787   enable_shared=yes
7788 fi
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798   # Check whether --enable-static was given.
7799 if test "${enable_static+set}" = set; then :
7800   enableval=$enable_static; p=${PACKAGE-default}
7801     case $enableval in
7802     yes) enable_static=yes ;;
7803     no) enable_static=no ;;
7804     *)
7805      enable_static=no
7806       # Look at the argument we got.  We use all the common list separators.
7807       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7808       for pkg in $enableval; do
7809         IFS="$lt_save_ifs"
7810         if test "X$pkg" = "X$p"; then
7811           enable_static=yes
7812         fi
7813       done
7814       IFS="$lt_save_ifs"
7815       ;;
7816     esac
7817 else
7818   enable_static=yes
7819 fi
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830 # Check whether --with-pic was given.
7831 if test "${with_pic+set}" = set; then :
7832   withval=$with_pic; lt_p=${PACKAGE-default}
7833     case $withval in
7834     yes|no) pic_mode=$withval ;;
7835     *)
7836       pic_mode=default
7837       # Look at the argument we got.  We use all the common list separators.
7838       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7839       for lt_pkg in $withval; do
7840         IFS="$lt_save_ifs"
7841         if test "X$lt_pkg" = "X$lt_p"; then
7842           pic_mode=yes
7843         fi
7844       done
7845       IFS="$lt_save_ifs"
7846       ;;
7847     esac
7848 else
7849   pic_mode=default
7850 fi
7851
7852
7853 test -z "$pic_mode" && pic_mode=default
7854
7855
7856
7857
7858
7859
7860
7861   # Check whether --enable-fast-install was given.
7862 if test "${enable_fast_install+set}" = set; then :
7863   enableval=$enable_fast_install; p=${PACKAGE-default}
7864     case $enableval in
7865     yes) enable_fast_install=yes ;;
7866     no) enable_fast_install=no ;;
7867     *)
7868       enable_fast_install=no
7869       # Look at the argument we got.  We use all the common list separators.
7870       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7871       for pkg in $enableval; do
7872         IFS="$lt_save_ifs"
7873         if test "X$pkg" = "X$p"; then
7874           enable_fast_install=yes
7875         fi
7876       done
7877       IFS="$lt_save_ifs"
7878       ;;
7879     esac
7880 else
7881   enable_fast_install=yes
7882 fi
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894 # This can be used to rebuild libtool when needed
7895 LIBTOOL_DEPS="$ltmain"
7896
7897 # Always use our own libtool.
7898 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929 test -z "$LN_S" && LN_S="ln -s"
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944 if test -n "${ZSH_VERSION+set}" ; then
7945    setopt NO_GLOB_SUBST
7946 fi
7947
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7949 $as_echo_n "checking for objdir... " >&6; }
7950 if ${lt_cv_objdir+:} false; then :
7951   $as_echo_n "(cached) " >&6
7952 else
7953   rm -f .libs 2>/dev/null
7954 mkdir .libs 2>/dev/null
7955 if test -d .libs; then
7956   lt_cv_objdir=.libs
7957 else
7958   # MS-DOS does not allow filenames that begin with a dot.
7959   lt_cv_objdir=_libs
7960 fi
7961 rmdir .libs 2>/dev/null
7962 fi
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7964 $as_echo "$lt_cv_objdir" >&6; }
7965 objdir=$lt_cv_objdir
7966
7967
7968
7969
7970
7971 cat >>confdefs.h <<_ACEOF
7972 #define LT_OBJDIR "$lt_cv_objdir/"
7973 _ACEOF
7974
7975
7976
7977
7978 case $host_os in
7979 aix3*)
7980   # AIX sometimes has problems with the GCC collect2 program.  For some
7981   # reason, if we set the COLLECT_NAMES environment variable, the problems
7982   # vanish in a puff of smoke.
7983   if test "X${COLLECT_NAMES+set}" != Xset; then
7984     COLLECT_NAMES=
7985     export COLLECT_NAMES
7986   fi
7987   ;;
7988 esac
7989
7990 # Global variables:
7991 ofile=libtool
7992 can_build_shared=yes
7993
7994 # All known linkers require a `.a' archive for static linking (except MSVC,
7995 # which needs '.lib').
7996 libext=a
7997
7998 with_gnu_ld="$lt_cv_prog_gnu_ld"
7999
8000 old_CC="$CC"
8001 old_CFLAGS="$CFLAGS"
8002
8003 # Set sane defaults for various variables
8004 test -z "$CC" && CC=cc
8005 test -z "$LTCC" && LTCC=$CC
8006 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8007 test -z "$LD" && LD=ld
8008 test -z "$ac_objext" && ac_objext=o
8009
8010 for cc_temp in $compiler""; do
8011   case $cc_temp in
8012     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8013     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8014     \-*) ;;
8015     *) break;;
8016   esac
8017 done
8018 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8019
8020
8021 # Only perform the check for file, if the check method requires it
8022 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8023 case $deplibs_check_method in
8024 file_magic*)
8025   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8026     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8027 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8028 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8029   $as_echo_n "(cached) " >&6
8030 else
8031   case $MAGIC_CMD in
8032 [\\/*] |  ?:[\\/]*)
8033   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8034   ;;
8035 *)
8036   lt_save_MAGIC_CMD="$MAGIC_CMD"
8037   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8038   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8039   for ac_dir in $ac_dummy; do
8040     IFS="$lt_save_ifs"
8041     test -z "$ac_dir" && ac_dir=.
8042     if test -f $ac_dir/${ac_tool_prefix}file; then
8043       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8044       if test -n "$file_magic_test_file"; then
8045         case $deplibs_check_method in
8046         "file_magic "*)
8047           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8048           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8049           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8050             $EGREP "$file_magic_regex" > /dev/null; then
8051             :
8052           else
8053             cat <<_LT_EOF 1>&2
8054
8055 *** Warning: the command libtool uses to detect shared libraries,
8056 *** $file_magic_cmd, produces output that libtool cannot recognize.
8057 *** The result is that libtool may fail to recognize shared libraries
8058 *** as such.  This will affect the creation of libtool libraries that
8059 *** depend on shared libraries, but programs linked with such libtool
8060 *** libraries will work regardless of this problem.  Nevertheless, you
8061 *** may want to report the problem to your system manager and/or to
8062 *** bug-libtool@gnu.org
8063
8064 _LT_EOF
8065           fi ;;
8066         esac
8067       fi
8068       break
8069     fi
8070   done
8071   IFS="$lt_save_ifs"
8072   MAGIC_CMD="$lt_save_MAGIC_CMD"
8073   ;;
8074 esac
8075 fi
8076
8077 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8078 if test -n "$MAGIC_CMD"; then
8079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8080 $as_echo "$MAGIC_CMD" >&6; }
8081 else
8082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8084 fi
8085
8086
8087
8088
8089
8090 if test -z "$lt_cv_path_MAGIC_CMD"; then
8091   if test -n "$ac_tool_prefix"; then
8092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8093 $as_echo_n "checking for file... " >&6; }
8094 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8095   $as_echo_n "(cached) " >&6
8096 else
8097   case $MAGIC_CMD in
8098 [\\/*] |  ?:[\\/]*)
8099   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8100   ;;
8101 *)
8102   lt_save_MAGIC_CMD="$MAGIC_CMD"
8103   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8104   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8105   for ac_dir in $ac_dummy; do
8106     IFS="$lt_save_ifs"
8107     test -z "$ac_dir" && ac_dir=.
8108     if test -f $ac_dir/file; then
8109       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8110       if test -n "$file_magic_test_file"; then
8111         case $deplibs_check_method in
8112         "file_magic "*)
8113           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8114           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8115           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8116             $EGREP "$file_magic_regex" > /dev/null; then
8117             :
8118           else
8119             cat <<_LT_EOF 1>&2
8120
8121 *** Warning: the command libtool uses to detect shared libraries,
8122 *** $file_magic_cmd, produces output that libtool cannot recognize.
8123 *** The result is that libtool may fail to recognize shared libraries
8124 *** as such.  This will affect the creation of libtool libraries that
8125 *** depend on shared libraries, but programs linked with such libtool
8126 *** libraries will work regardless of this problem.  Nevertheless, you
8127 *** may want to report the problem to your system manager and/or to
8128 *** bug-libtool@gnu.org
8129
8130 _LT_EOF
8131           fi ;;
8132         esac
8133       fi
8134       break
8135     fi
8136   done
8137   IFS="$lt_save_ifs"
8138   MAGIC_CMD="$lt_save_MAGIC_CMD"
8139   ;;
8140 esac
8141 fi
8142
8143 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8144 if test -n "$MAGIC_CMD"; then
8145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8146 $as_echo "$MAGIC_CMD" >&6; }
8147 else
8148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8149 $as_echo "no" >&6; }
8150 fi
8151
8152
8153   else
8154     MAGIC_CMD=:
8155   fi
8156 fi
8157
8158   fi
8159   ;;
8160 esac
8161
8162 # Use C for the default configuration in the libtool script
8163
8164 lt_save_CC="$CC"
8165 ac_ext=c
8166 ac_cpp='$CPP $CPPFLAGS'
8167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8170
8171
8172 # Source file extension for C test sources.
8173 ac_ext=c
8174
8175 # Object file extension for compiled C test sources.
8176 objext=o
8177 objext=$objext
8178
8179 # Code to be used in simple compile tests
8180 lt_simple_compile_test_code="int some_variable = 0;"
8181
8182 # Code to be used in simple link tests
8183 lt_simple_link_test_code='int main(){return(0);}'
8184
8185
8186
8187
8188
8189
8190
8191 # If no C compiler was specified, use CC.
8192 LTCC=${LTCC-"$CC"}
8193
8194 # If no C compiler flags were specified, use CFLAGS.
8195 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8196
8197 # Allow CC to be a program name with arguments.
8198 compiler=$CC
8199
8200 # Save the default compiler, since it gets overwritten when the other
8201 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8202 compiler_DEFAULT=$CC
8203
8204 # save warnings/boilerplate of simple test code
8205 ac_outfile=conftest.$ac_objext
8206 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8207 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8208 _lt_compiler_boilerplate=`cat conftest.err`
8209 $RM conftest*
8210
8211 ac_outfile=conftest.$ac_objext
8212 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8213 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8214 _lt_linker_boilerplate=`cat conftest.err`
8215 $RM -r conftest*
8216
8217
8218 ## CAVEAT EMPTOR:
8219 ## There is no encapsulation within the following macros, do not change
8220 ## the running order or otherwise move them around unless you know exactly
8221 ## what you are doing...
8222 if test -n "$compiler"; then
8223
8224 lt_prog_compiler_no_builtin_flag=
8225
8226 if test "$GCC" = yes; then
8227   case $cc_basename in
8228   nvcc*)
8229     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8230   *)
8231     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8232   esac
8233
8234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8235 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8236 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8237   $as_echo_n "(cached) " >&6
8238 else
8239   lt_cv_prog_compiler_rtti_exceptions=no
8240    ac_outfile=conftest.$ac_objext
8241    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8242    lt_compiler_flag="-fno-rtti -fno-exceptions"
8243    # Insert the option either (1) after the last *FLAGS variable, or
8244    # (2) before a word containing "conftest.", or (3) at the end.
8245    # Note that $ac_compile itself does not contain backslashes and begins
8246    # with a dollar sign (not a hyphen), so the echo should work correctly.
8247    # The option is referenced via a variable to avoid confusing sed.
8248    lt_compile=`echo "$ac_compile" | $SED \
8249    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8250    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8251    -e 's:$: $lt_compiler_flag:'`
8252    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8253    (eval "$lt_compile" 2>conftest.err)
8254    ac_status=$?
8255    cat conftest.err >&5
8256    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257    if (exit $ac_status) && test -s "$ac_outfile"; then
8258      # The compiler can only warn and ignore the option if not recognized
8259      # So say no if there are warnings other than the usual output.
8260      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8261      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8262      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8263        lt_cv_prog_compiler_rtti_exceptions=yes
8264      fi
8265    fi
8266    $RM conftest*
8267
8268 fi
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8270 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8271
8272 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8273     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8274 else
8275     :
8276 fi
8277
8278 fi
8279
8280
8281
8282
8283
8284
8285   lt_prog_compiler_wl=
8286 lt_prog_compiler_pic=
8287 lt_prog_compiler_static=
8288
8289
8290   if test "$GCC" = yes; then
8291     lt_prog_compiler_wl='-Wl,'
8292     lt_prog_compiler_static='-static'
8293
8294     case $host_os in
8295       aix*)
8296       # All AIX code is PIC.
8297       if test "$host_cpu" = ia64; then
8298         # AIX 5 now supports IA64 processor
8299         lt_prog_compiler_static='-Bstatic'
8300       fi
8301       ;;
8302
8303     amigaos*)
8304       case $host_cpu in
8305       powerpc)
8306             # see comment about AmigaOS4 .so support
8307             lt_prog_compiler_pic='-fPIC'
8308         ;;
8309       m68k)
8310             # FIXME: we need at least 68020 code to build shared libraries, but
8311             # adding the `-m68020' flag to GCC prevents building anything better,
8312             # like `-m68040'.
8313             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8314         ;;
8315       esac
8316       ;;
8317
8318     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8319       # PIC is the default for these OSes.
8320       ;;
8321
8322     mingw* | cygwin* | pw32* | os2* | cegcc*)
8323       # This hack is so that the source file can tell whether it is being
8324       # built for inclusion in a dll (and should export symbols for example).
8325       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8326       # (--disable-auto-import) libraries
8327       lt_prog_compiler_pic='-DDLL_EXPORT'
8328       ;;
8329
8330     darwin* | rhapsody*)
8331       # PIC is the default on this platform
8332       # Common symbols not allowed in MH_DYLIB files
8333       lt_prog_compiler_pic='-fno-common'
8334       ;;
8335
8336     haiku*)
8337       # PIC is the default for Haiku.
8338       # The "-static" flag exists, but is broken.
8339       lt_prog_compiler_static=
8340       ;;
8341
8342     hpux*)
8343       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8344       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8345       # sets the default TLS model and affects inlining.
8346       case $host_cpu in
8347       hppa*64*)
8348         # +Z the default
8349         ;;
8350       *)
8351         lt_prog_compiler_pic='-fPIC'
8352         ;;
8353       esac
8354       ;;
8355
8356     interix[3-9]*)
8357       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8358       # Instead, we relocate shared libraries at runtime.
8359       ;;
8360
8361     msdosdjgpp*)
8362       # Just because we use GCC doesn't mean we suddenly get shared libraries
8363       # on systems that don't support them.
8364       lt_prog_compiler_can_build_shared=no
8365       enable_shared=no
8366       ;;
8367
8368     *nto* | *qnx*)
8369       # QNX uses GNU C++, but need to define -shared option too, otherwise
8370       # it will coredump.
8371       lt_prog_compiler_pic='-fPIC -shared'
8372       ;;
8373
8374     sysv4*MP*)
8375       if test -d /usr/nec; then
8376         lt_prog_compiler_pic=-Kconform_pic
8377       fi
8378       ;;
8379
8380     *)
8381       lt_prog_compiler_pic='-fPIC'
8382       ;;
8383     esac
8384
8385     case $cc_basename in
8386     nvcc*) # Cuda Compiler Driver 2.2
8387       lt_prog_compiler_wl='-Xlinker '
8388       if test -n "$lt_prog_compiler_pic"; then
8389         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8390       fi
8391       ;;
8392     esac
8393   else
8394     # PORTME Check for flag to pass linker flags through the system compiler.
8395     case $host_os in
8396     aix*)
8397       lt_prog_compiler_wl='-Wl,'
8398       if test "$host_cpu" = ia64; then
8399         # AIX 5 now supports IA64 processor
8400         lt_prog_compiler_static='-Bstatic'
8401       else
8402         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8403       fi
8404       ;;
8405
8406     mingw* | cygwin* | pw32* | os2* | cegcc*)
8407       # This hack is so that the source file can tell whether it is being
8408       # built for inclusion in a dll (and should export symbols for example).
8409       lt_prog_compiler_pic='-DDLL_EXPORT'
8410       ;;
8411
8412     hpux9* | hpux10* | hpux11*)
8413       lt_prog_compiler_wl='-Wl,'
8414       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8415       # not for PA HP-UX.
8416       case $host_cpu in
8417       hppa*64*|ia64*)
8418         # +Z the default
8419         ;;
8420       *)
8421         lt_prog_compiler_pic='+Z'
8422         ;;
8423       esac
8424       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8425       lt_prog_compiler_static='${wl}-a ${wl}archive'
8426       ;;
8427
8428     irix5* | irix6* | nonstopux*)
8429       lt_prog_compiler_wl='-Wl,'
8430       # PIC (with -KPIC) is the default.
8431       lt_prog_compiler_static='-non_shared'
8432       ;;
8433
8434     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8435       case $cc_basename in
8436       # old Intel for x86_64 which still supported -KPIC.
8437       ecc*)
8438         lt_prog_compiler_wl='-Wl,'
8439         lt_prog_compiler_pic='-KPIC'
8440         lt_prog_compiler_static='-static'
8441         ;;
8442       # icc used to be incompatible with GCC.
8443       # ICC 10 doesn't accept -KPIC any more.
8444       icc* | ifort*)
8445         lt_prog_compiler_wl='-Wl,'
8446         lt_prog_compiler_pic='-fPIC'
8447         lt_prog_compiler_static='-static'
8448         ;;
8449       # Lahey Fortran 8.1.
8450       lf95*)
8451         lt_prog_compiler_wl='-Wl,'
8452         lt_prog_compiler_pic='--shared'
8453         lt_prog_compiler_static='--static'
8454         ;;
8455       nagfor*)
8456         # NAG Fortran compiler
8457         lt_prog_compiler_wl='-Wl,-Wl,,'
8458         lt_prog_compiler_pic='-PIC'
8459         lt_prog_compiler_static='-Bstatic'
8460         ;;
8461       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8462         # Portland Group compilers (*not* the Pentium gcc compiler,
8463         # which looks to be a dead project)
8464         lt_prog_compiler_wl='-Wl,'
8465         lt_prog_compiler_pic='-fpic'
8466         lt_prog_compiler_static='-Bstatic'
8467         ;;
8468       ccc*)
8469         lt_prog_compiler_wl='-Wl,'
8470         # All Alpha code is PIC.
8471         lt_prog_compiler_static='-non_shared'
8472         ;;
8473       xl* | bgxl* | bgf* | mpixl*)
8474         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8475         lt_prog_compiler_wl='-Wl,'
8476         lt_prog_compiler_pic='-qpic'
8477         lt_prog_compiler_static='-qstaticlink'
8478         ;;
8479       *)
8480         case `$CC -V 2>&1 | sed 5q` in
8481         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8482           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8483           lt_prog_compiler_pic='-KPIC'
8484           lt_prog_compiler_static='-Bstatic'
8485           lt_prog_compiler_wl=''
8486           ;;
8487         *Sun\ F* | *Sun*Fortran*)
8488           lt_prog_compiler_pic='-KPIC'
8489           lt_prog_compiler_static='-Bstatic'
8490           lt_prog_compiler_wl='-Qoption ld '
8491           ;;
8492         *Sun\ C*)
8493           # Sun C 5.9
8494           lt_prog_compiler_pic='-KPIC'
8495           lt_prog_compiler_static='-Bstatic'
8496           lt_prog_compiler_wl='-Wl,'
8497           ;;
8498         *Intel*\ [CF]*Compiler*)
8499           lt_prog_compiler_wl='-Wl,'
8500           lt_prog_compiler_pic='-fPIC'
8501           lt_prog_compiler_static='-static'
8502           ;;
8503         *Portland\ Group*)
8504           lt_prog_compiler_wl='-Wl,'
8505           lt_prog_compiler_pic='-fpic'
8506           lt_prog_compiler_static='-Bstatic'
8507           ;;
8508         esac
8509         ;;
8510       esac
8511       ;;
8512
8513     newsos6)
8514       lt_prog_compiler_pic='-KPIC'
8515       lt_prog_compiler_static='-Bstatic'
8516       ;;
8517
8518     *nto* | *qnx*)
8519       # QNX uses GNU C++, but need to define -shared option too, otherwise
8520       # it will coredump.
8521       lt_prog_compiler_pic='-fPIC -shared'
8522       ;;
8523
8524     osf3* | osf4* | osf5*)
8525       lt_prog_compiler_wl='-Wl,'
8526       # All OSF/1 code is PIC.
8527       lt_prog_compiler_static='-non_shared'
8528       ;;
8529
8530     rdos*)
8531       lt_prog_compiler_static='-non_shared'
8532       ;;
8533
8534     solaris*)
8535       lt_prog_compiler_pic='-KPIC'
8536       lt_prog_compiler_static='-Bstatic'
8537       case $cc_basename in
8538       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8539         lt_prog_compiler_wl='-Qoption ld ';;
8540       *)
8541         lt_prog_compiler_wl='-Wl,';;
8542       esac
8543       ;;
8544
8545     sunos4*)
8546       lt_prog_compiler_wl='-Qoption ld '
8547       lt_prog_compiler_pic='-PIC'
8548       lt_prog_compiler_static='-Bstatic'
8549       ;;
8550
8551     sysv4 | sysv4.2uw2* | sysv4.3*)
8552       lt_prog_compiler_wl='-Wl,'
8553       lt_prog_compiler_pic='-KPIC'
8554       lt_prog_compiler_static='-Bstatic'
8555       ;;
8556
8557     sysv4*MP*)
8558       if test -d /usr/nec ;then
8559         lt_prog_compiler_pic='-Kconform_pic'
8560         lt_prog_compiler_static='-Bstatic'
8561       fi
8562       ;;
8563
8564     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8565       lt_prog_compiler_wl='-Wl,'
8566       lt_prog_compiler_pic='-KPIC'
8567       lt_prog_compiler_static='-Bstatic'
8568       ;;
8569
8570     unicos*)
8571       lt_prog_compiler_wl='-Wl,'
8572       lt_prog_compiler_can_build_shared=no
8573       ;;
8574
8575     uts4*)
8576       lt_prog_compiler_pic='-pic'
8577       lt_prog_compiler_static='-Bstatic'
8578       ;;
8579
8580     *)
8581       lt_prog_compiler_can_build_shared=no
8582       ;;
8583     esac
8584   fi
8585
8586 case $host_os in
8587   # For platforms which do not support PIC, -DPIC is meaningless:
8588   *djgpp*)
8589     lt_prog_compiler_pic=
8590     ;;
8591   *)
8592     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8593     ;;
8594 esac
8595
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8597 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8598 if ${lt_cv_prog_compiler_pic+:} false; then :
8599   $as_echo_n "(cached) " >&6
8600 else
8601   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8602 fi
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8604 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8605 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8606
8607 #
8608 # Check to make sure the PIC flag actually works.
8609 #
8610 if test -n "$lt_prog_compiler_pic"; then
8611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8612 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8613 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8614   $as_echo_n "(cached) " >&6
8615 else
8616   lt_cv_prog_compiler_pic_works=no
8617    ac_outfile=conftest.$ac_objext
8618    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8619    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8620    # Insert the option either (1) after the last *FLAGS variable, or
8621    # (2) before a word containing "conftest.", or (3) at the end.
8622    # Note that $ac_compile itself does not contain backslashes and begins
8623    # with a dollar sign (not a hyphen), so the echo should work correctly.
8624    # The option is referenced via a variable to avoid confusing sed.
8625    lt_compile=`echo "$ac_compile" | $SED \
8626    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8627    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8628    -e 's:$: $lt_compiler_flag:'`
8629    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8630    (eval "$lt_compile" 2>conftest.err)
8631    ac_status=$?
8632    cat conftest.err >&5
8633    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634    if (exit $ac_status) && test -s "$ac_outfile"; then
8635      # The compiler can only warn and ignore the option if not recognized
8636      # So say no if there are warnings other than the usual output.
8637      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8638      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8639      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8640        lt_cv_prog_compiler_pic_works=yes
8641      fi
8642    fi
8643    $RM conftest*
8644
8645 fi
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8647 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8648
8649 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8650     case $lt_prog_compiler_pic in
8651      "" | " "*) ;;
8652      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8653      esac
8654 else
8655     lt_prog_compiler_pic=
8656      lt_prog_compiler_can_build_shared=no
8657 fi
8658
8659 fi
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671 #
8672 # Check to make sure the static flag actually works.
8673 #
8674 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8676 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8677 if ${lt_cv_prog_compiler_static_works+:} false; then :
8678   $as_echo_n "(cached) " >&6
8679 else
8680   lt_cv_prog_compiler_static_works=no
8681    save_LDFLAGS="$LDFLAGS"
8682    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8683    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8684    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8685      # The linker can only warn and ignore the option if not recognized
8686      # So say no if there are warnings
8687      if test -s conftest.err; then
8688        # Append any errors to the config.log.
8689        cat conftest.err 1>&5
8690        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8691        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8692        if diff conftest.exp conftest.er2 >/dev/null; then
8693          lt_cv_prog_compiler_static_works=yes
8694        fi
8695      else
8696        lt_cv_prog_compiler_static_works=yes
8697      fi
8698    fi
8699    $RM -r conftest*
8700    LDFLAGS="$save_LDFLAGS"
8701
8702 fi
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8704 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8705
8706 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8707     :
8708 else
8709     lt_prog_compiler_static=
8710 fi
8711
8712
8713
8714
8715
8716
8717
8718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8719 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8720 if ${lt_cv_prog_compiler_c_o+:} false; then :
8721   $as_echo_n "(cached) " >&6
8722 else
8723   lt_cv_prog_compiler_c_o=no
8724    $RM -r conftest 2>/dev/null
8725    mkdir conftest
8726    cd conftest
8727    mkdir out
8728    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8729
8730    lt_compiler_flag="-o out/conftest2.$ac_objext"
8731    # Insert the option either (1) after the last *FLAGS variable, or
8732    # (2) before a word containing "conftest.", or (3) at the end.
8733    # Note that $ac_compile itself does not contain backslashes and begins
8734    # with a dollar sign (not a hyphen), so the echo should work correctly.
8735    lt_compile=`echo "$ac_compile" | $SED \
8736    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738    -e 's:$: $lt_compiler_flag:'`
8739    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8740    (eval "$lt_compile" 2>out/conftest.err)
8741    ac_status=$?
8742    cat out/conftest.err >&5
8743    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8745    then
8746      # The compiler can only warn and ignore the option if not recognized
8747      # So say no if there are warnings
8748      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8749      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8750      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8751        lt_cv_prog_compiler_c_o=yes
8752      fi
8753    fi
8754    chmod u+w . 2>&5
8755    $RM conftest*
8756    # SGI C++ compiler will create directory out/ii_files/ for
8757    # template instantiation
8758    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8759    $RM out/* && rmdir out
8760    cd ..
8761    $RM -r conftest
8762    $RM conftest*
8763
8764 fi
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8766 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8767
8768
8769
8770
8771
8772
8773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8774 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8775 if ${lt_cv_prog_compiler_c_o+:} false; then :
8776   $as_echo_n "(cached) " >&6
8777 else
8778   lt_cv_prog_compiler_c_o=no
8779    $RM -r conftest 2>/dev/null
8780    mkdir conftest
8781    cd conftest
8782    mkdir out
8783    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8784
8785    lt_compiler_flag="-o out/conftest2.$ac_objext"
8786    # Insert the option either (1) after the last *FLAGS variable, or
8787    # (2) before a word containing "conftest.", or (3) at the end.
8788    # Note that $ac_compile itself does not contain backslashes and begins
8789    # with a dollar sign (not a hyphen), so the echo should work correctly.
8790    lt_compile=`echo "$ac_compile" | $SED \
8791    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8792    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8793    -e 's:$: $lt_compiler_flag:'`
8794    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8795    (eval "$lt_compile" 2>out/conftest.err)
8796    ac_status=$?
8797    cat out/conftest.err >&5
8798    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8800    then
8801      # The compiler can only warn and ignore the option if not recognized
8802      # So say no if there are warnings
8803      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8804      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8805      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8806        lt_cv_prog_compiler_c_o=yes
8807      fi
8808    fi
8809    chmod u+w . 2>&5
8810    $RM conftest*
8811    # SGI C++ compiler will create directory out/ii_files/ for
8812    # template instantiation
8813    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8814    $RM out/* && rmdir out
8815    cd ..
8816    $RM -r conftest
8817    $RM conftest*
8818
8819 fi
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8821 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8822
8823
8824
8825
8826 hard_links="nottested"
8827 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8828   # do not overwrite the value of need_locks provided by the user
8829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8830 $as_echo_n "checking if we can lock with hard links... " >&6; }
8831   hard_links=yes
8832   $RM conftest*
8833   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8834   touch conftest.a
8835   ln conftest.a conftest.b 2>&5 || hard_links=no
8836   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8838 $as_echo "$hard_links" >&6; }
8839   if test "$hard_links" = no; then
8840     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8841 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8842     need_locks=warn
8843   fi
8844 else
8845   need_locks=no
8846 fi
8847
8848
8849
8850
8851
8852
8853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8854 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8855
8856   runpath_var=
8857   allow_undefined_flag=
8858   always_export_symbols=no
8859   archive_cmds=
8860   archive_expsym_cmds=
8861   compiler_needs_object=no
8862   enable_shared_with_static_runtimes=no
8863   export_dynamic_flag_spec=
8864   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8865   hardcode_automatic=no
8866   hardcode_direct=no
8867   hardcode_direct_absolute=no
8868   hardcode_libdir_flag_spec=
8869   hardcode_libdir_separator=
8870   hardcode_minus_L=no
8871   hardcode_shlibpath_var=unsupported
8872   inherit_rpath=no
8873   link_all_deplibs=unknown
8874   module_cmds=
8875   module_expsym_cmds=
8876   old_archive_from_new_cmds=
8877   old_archive_from_expsyms_cmds=
8878   thread_safe_flag_spec=
8879   whole_archive_flag_spec=
8880   # include_expsyms should be a list of space-separated symbols to be *always*
8881   # included in the symbol list
8882   include_expsyms=
8883   # exclude_expsyms can be an extended regexp of symbols to exclude
8884   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8885   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8886   # as well as any symbol that contains `d'.
8887   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8888   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8889   # platforms (ab)use it in PIC code, but their linkers get confused if
8890   # the symbol is explicitly referenced.  Since portable code cannot
8891   # rely on this symbol name, it's probably fine to never include it in
8892   # preloaded symbol tables.
8893   # Exclude shared library initialization/finalization symbols.
8894   extract_expsyms_cmds=
8895
8896   case $host_os in
8897   cygwin* | mingw* | pw32* | cegcc*)
8898     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8899     # When not using gcc, we currently assume that we are using
8900     # Microsoft Visual C++.
8901     if test "$GCC" != yes; then
8902       with_gnu_ld=no
8903     fi
8904     ;;
8905   interix*)
8906     # we just hope/assume this is gcc and not c89 (= MSVC++)
8907     with_gnu_ld=yes
8908     ;;
8909   openbsd*)
8910     with_gnu_ld=no
8911     ;;
8912   linux* | k*bsd*-gnu | gnu*)
8913     link_all_deplibs=no
8914     ;;
8915   esac
8916
8917   ld_shlibs=yes
8918
8919   # On some targets, GNU ld is compatible enough with the native linker
8920   # that we're better off using the native interface for both.
8921   lt_use_gnu_ld_interface=no
8922   if test "$with_gnu_ld" = yes; then
8923     case $host_os in
8924       aix*)
8925         # The AIX port of GNU ld has always aspired to compatibility
8926         # with the native linker.  However, as the warning in the GNU ld
8927         # block says, versions before 2.19.5* couldn't really create working
8928         # shared libraries, regardless of the interface used.
8929         case `$LD -v 2>&1` in
8930           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8931           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8932           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8933           *)
8934             lt_use_gnu_ld_interface=yes
8935             ;;
8936         esac
8937         ;;
8938       *)
8939         lt_use_gnu_ld_interface=yes
8940         ;;
8941     esac
8942   fi
8943
8944   if test "$lt_use_gnu_ld_interface" = yes; then
8945     # If archive_cmds runs LD, not CC, wlarc should be empty
8946     wlarc='${wl}'
8947
8948     # Set some defaults for GNU ld with shared library support. These
8949     # are reset later if shared libraries are not supported. Putting them
8950     # here allows them to be overridden if necessary.
8951     runpath_var=LD_RUN_PATH
8952     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8953     export_dynamic_flag_spec='${wl}--export-dynamic'
8954     # ancient GNU ld didn't support --whole-archive et. al.
8955     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8956       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8957     else
8958       whole_archive_flag_spec=
8959     fi
8960     supports_anon_versioning=no
8961     case `$LD -v 2>&1` in
8962       *GNU\ gold*) supports_anon_versioning=yes ;;
8963       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8964       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8965       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8966       *\ 2.11.*) ;; # other 2.11 versions
8967       *) supports_anon_versioning=yes ;;
8968     esac
8969
8970     # See if GNU ld supports shared libraries.
8971     case $host_os in
8972     aix[3-9]*)
8973       # On AIX/PPC, the GNU linker is very broken
8974       if test "$host_cpu" != ia64; then
8975         ld_shlibs=no
8976         cat <<_LT_EOF 1>&2
8977
8978 *** Warning: the GNU linker, at least up to release 2.19, is reported
8979 *** to be unable to reliably create shared libraries on AIX.
8980 *** Therefore, libtool is disabling shared libraries support.  If you
8981 *** really care for shared libraries, you may want to install binutils
8982 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8983 *** You will then need to restart the configuration process.
8984
8985 _LT_EOF
8986       fi
8987       ;;
8988
8989     amigaos*)
8990       case $host_cpu in
8991       powerpc)
8992             # see comment about AmigaOS4 .so support
8993             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8994             archive_expsym_cmds=''
8995         ;;
8996       m68k)
8997             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)'
8998             hardcode_libdir_flag_spec='-L$libdir'
8999             hardcode_minus_L=yes
9000         ;;
9001       esac
9002       ;;
9003
9004     beos*)
9005       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9006         allow_undefined_flag=unsupported
9007         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9008         # support --undefined.  This deserves some investigation.  FIXME
9009         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9010       else
9011         ld_shlibs=no
9012       fi
9013       ;;
9014
9015     cygwin* | mingw* | pw32* | cegcc*)
9016       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9017       # as there is no search path for DLLs.
9018       hardcode_libdir_flag_spec='-L$libdir'
9019       export_dynamic_flag_spec='${wl}--export-all-symbols'
9020       allow_undefined_flag=unsupported
9021       always_export_symbols=no
9022       enable_shared_with_static_runtimes=yes
9023       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'
9024       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9025
9026       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9027         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9028         # If the export-symbols file already is a .def file (1st line
9029         # is EXPORTS), use it as is; otherwise, prepend...
9030         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9031           cp $export_symbols $output_objdir/$soname.def;
9032         else
9033           echo EXPORTS > $output_objdir/$soname.def;
9034           cat $export_symbols >> $output_objdir/$soname.def;
9035         fi~
9036         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9037       else
9038         ld_shlibs=no
9039       fi
9040       ;;
9041
9042     haiku*)
9043       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9044       link_all_deplibs=yes
9045       ;;
9046
9047     interix[3-9]*)
9048       hardcode_direct=no
9049       hardcode_shlibpath_var=no
9050       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9051       export_dynamic_flag_spec='${wl}-E'
9052       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9053       # Instead, shared libraries are loaded at an image base (0x10000000 by
9054       # default) and relocated if they conflict, which is a slow very memory
9055       # consuming and fragmenting process.  To avoid this, we pick a random,
9056       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9057       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9058       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9059       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'
9060       ;;
9061
9062     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9063       tmp_diet=no
9064       if test "$host_os" = linux-dietlibc; then
9065         case $cc_basename in
9066           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9067         esac
9068       fi
9069       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9070          && test "$tmp_diet" = no
9071       then
9072         tmp_addflag=' $pic_flag'
9073         tmp_sharedflag='-shared'
9074         case $cc_basename,$host_cpu in
9075         pgcc*)                          # Portland Group C compiler
9076           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'
9077           tmp_addflag=' $pic_flag'
9078           ;;
9079         pgf77* | pgf90* | pgf95* | pgfortran*)
9080                                         # Portland Group f77 and f90 compilers
9081           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'
9082           tmp_addflag=' $pic_flag -Mnomain' ;;
9083         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9084           tmp_addflag=' -i_dynamic' ;;
9085         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9086           tmp_addflag=' -i_dynamic -nofor_main' ;;
9087         ifc* | ifort*)                  # Intel Fortran compiler
9088           tmp_addflag=' -nofor_main' ;;
9089         lf95*)                          # Lahey Fortran 8.1
9090           whole_archive_flag_spec=
9091           tmp_sharedflag='--shared' ;;
9092         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9093           tmp_sharedflag='-qmkshrobj'
9094           tmp_addflag= ;;
9095         nvcc*)  # Cuda Compiler Driver 2.2
9096           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'
9097           compiler_needs_object=yes
9098           ;;
9099         esac
9100         case `$CC -V 2>&1 | sed 5q` in
9101         *Sun\ C*)                       # Sun C 5.9
9102           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'
9103           compiler_needs_object=yes
9104           tmp_sharedflag='-G' ;;
9105         *Sun\ F*)                       # Sun Fortran 8.3
9106           tmp_sharedflag='-G' ;;
9107         esac
9108         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9109
9110         if test "x$supports_anon_versioning" = xyes; then
9111           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9112             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9113             echo "local: *; };" >> $output_objdir/$libname.ver~
9114             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9115         fi
9116
9117         case $cc_basename in
9118         xlf* | bgf* | bgxlf* | mpixlf*)
9119           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9120           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9121           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9122           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9123           if test "x$supports_anon_versioning" = xyes; then
9124             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9125               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9126               echo "local: *; };" >> $output_objdir/$libname.ver~
9127               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9128           fi
9129           ;;
9130         esac
9131       else
9132         ld_shlibs=no
9133       fi
9134       ;;
9135
9136     netbsd* | netbsdelf*-gnu)
9137       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9138         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9139         wlarc=
9140       else
9141         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9142         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9143       fi
9144       ;;
9145
9146     solaris*)
9147       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9148         ld_shlibs=no
9149         cat <<_LT_EOF 1>&2
9150
9151 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9152 *** create shared libraries on Solaris systems.  Therefore, libtool
9153 *** is disabling shared libraries support.  We urge you to upgrade GNU
9154 *** binutils to release 2.9.1 or newer.  Another option is to modify
9155 *** your PATH or compiler configuration so that the native linker is
9156 *** used, and then restart.
9157
9158 _LT_EOF
9159       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9160         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9161         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9162       else
9163         ld_shlibs=no
9164       fi
9165       ;;
9166
9167     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9168       case `$LD -v 2>&1` in
9169         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9170         ld_shlibs=no
9171         cat <<_LT_EOF 1>&2
9172
9173 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9174 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9175 *** is disabling shared libraries support.  We urge you to upgrade GNU
9176 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9177 *** your PATH or compiler configuration so that the native linker is
9178 *** used, and then restart.
9179
9180 _LT_EOF
9181         ;;
9182         *)
9183           # For security reasons, it is highly recommended that you always
9184           # use absolute paths for naming shared libraries, and exclude the
9185           # DT_RUNPATH tag from executables and libraries.  But doing so
9186           # requires that you compile everything twice, which is a pain.
9187           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9188             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9189             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9190             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9191           else
9192             ld_shlibs=no
9193           fi
9194         ;;
9195       esac
9196       ;;
9197
9198     sunos4*)
9199       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9200       wlarc=
9201       hardcode_direct=yes
9202       hardcode_shlibpath_var=no
9203       ;;
9204
9205     *)
9206       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9207         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9208         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9209       else
9210         ld_shlibs=no
9211       fi
9212       ;;
9213     esac
9214
9215     if test "$ld_shlibs" = no; then
9216       runpath_var=
9217       hardcode_libdir_flag_spec=
9218       export_dynamic_flag_spec=
9219       whole_archive_flag_spec=
9220     fi
9221   else
9222     # PORTME fill in a description of your system's linker (not GNU ld)
9223     case $host_os in
9224     aix3*)
9225       allow_undefined_flag=unsupported
9226       always_export_symbols=yes
9227       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'
9228       # Note: this linker hardcodes the directories in LIBPATH if there
9229       # are no directories specified by -L.
9230       hardcode_minus_L=yes
9231       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9232         # Neither direct hardcoding nor static linking is supported with a
9233         # broken collect2.
9234         hardcode_direct=unsupported
9235       fi
9236       ;;
9237
9238     aix[4-9]*)
9239       if test "$host_cpu" = ia64; then
9240         # On IA64, the linker does run time linking by default, so we don't
9241         # have to do anything special.
9242         aix_use_runtimelinking=no
9243         exp_sym_flag='-Bexport'
9244         no_entry_flag=""
9245       else
9246         # If we're using GNU nm, then we don't want the "-C" option.
9247         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9248         # Also, AIX nm treats weak defined symbols like other global
9249         # defined symbols, whereas GNU nm marks them as "W".
9250         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9251           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'
9252         else
9253           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'
9254         fi
9255         aix_use_runtimelinking=no
9256
9257         # Test if we are trying to use run time linking or normal
9258         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9259         # need to do runtime linking.
9260         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9261           for ld_flag in $LDFLAGS; do
9262           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9263             aix_use_runtimelinking=yes
9264             break
9265           fi
9266           done
9267           ;;
9268         esac
9269
9270         exp_sym_flag='-bexport'
9271         no_entry_flag='-bnoentry'
9272       fi
9273
9274       # When large executables or shared objects are built, AIX ld can
9275       # have problems creating the table of contents.  If linking a library
9276       # or program results in "error TOC overflow" add -mminimal-toc to
9277       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9278       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9279
9280       archive_cmds=''
9281       hardcode_direct=yes
9282       hardcode_direct_absolute=yes
9283       hardcode_libdir_separator=':'
9284       link_all_deplibs=yes
9285       file_list_spec='${wl}-f,'
9286
9287       if test "$GCC" = yes; then
9288         case $host_os in aix4.[012]|aix4.[012].*)
9289         # We only want to do this on AIX 4.2 and lower, the check
9290         # below for broken collect2 doesn't work under 4.3+
9291           collect2name=`${CC} -print-prog-name=collect2`
9292           if test -f "$collect2name" &&
9293            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9294           then
9295           # We have reworked collect2
9296           :
9297           else
9298           # We have old collect2
9299           hardcode_direct=unsupported
9300           # It fails to find uninstalled libraries when the uninstalled
9301           # path is not listed in the libpath.  Setting hardcode_minus_L
9302           # to unsupported forces relinking
9303           hardcode_minus_L=yes
9304           hardcode_libdir_flag_spec='-L$libdir'
9305           hardcode_libdir_separator=
9306           fi
9307           ;;
9308         esac
9309         shared_flag='-shared'
9310         if test "$aix_use_runtimelinking" = yes; then
9311           shared_flag="$shared_flag "'${wl}-G'
9312         fi
9313         link_all_deplibs=no
9314       else
9315         # not using gcc
9316         if test "$host_cpu" = ia64; then
9317         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9318         # chokes on -Wl,-G. The following line is correct:
9319           shared_flag='-G'
9320         else
9321           if test "$aix_use_runtimelinking" = yes; then
9322             shared_flag='${wl}-G'
9323           else
9324             shared_flag='${wl}-bM:SRE'
9325           fi
9326         fi
9327       fi
9328
9329       export_dynamic_flag_spec='${wl}-bexpall'
9330       # It seems that -bexpall does not export symbols beginning with
9331       # underscore (_), so it is better to generate a list of symbols to export.
9332       always_export_symbols=yes
9333       if test "$aix_use_runtimelinking" = yes; then
9334         # Warning - without using the other runtime loading flags (-brtl),
9335         # -berok will link without error, but may produce a broken library.
9336         allow_undefined_flag='-berok'
9337         # Determine the default libpath from the value encoded in an
9338         # empty executable.
9339         if test "${lt_cv_aix_libpath+set}" = set; then
9340   aix_libpath=$lt_cv_aix_libpath
9341 else
9342   if ${lt_cv_aix_libpath_+:} false; then :
9343   $as_echo_n "(cached) " >&6
9344 else
9345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h.  */
9347
9348 int
9349 main ()
9350 {
9351
9352   ;
9353   return 0;
9354 }
9355 _ACEOF
9356 if ac_fn_c_try_link "$LINENO"; then :
9357
9358   lt_aix_libpath_sed='
9359       /Import File Strings/,/^$/ {
9360           /^0/ {
9361               s/^0  *\([^ ]*\) *$/\1/
9362               p
9363           }
9364       }'
9365   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9366   # Check for a 64-bit object if we didn't find anything.
9367   if test -z "$lt_cv_aix_libpath_"; then
9368     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9369   fi
9370 fi
9371 rm -f core conftest.err conftest.$ac_objext \
9372     conftest$ac_exeext conftest.$ac_ext
9373   if test -z "$lt_cv_aix_libpath_"; then
9374     lt_cv_aix_libpath_="/usr/lib:/lib"
9375   fi
9376
9377 fi
9378
9379   aix_libpath=$lt_cv_aix_libpath_
9380 fi
9381
9382         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9383         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"
9384       else
9385         if test "$host_cpu" = ia64; then
9386           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9387           allow_undefined_flag="-z nodefs"
9388           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"
9389         else
9390          # Determine the default libpath from the value encoded in an
9391          # empty executable.
9392          if test "${lt_cv_aix_libpath+set}" = set; then
9393   aix_libpath=$lt_cv_aix_libpath
9394 else
9395   if ${lt_cv_aix_libpath_+:} false; then :
9396   $as_echo_n "(cached) " >&6
9397 else
9398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h.  */
9400
9401 int
9402 main ()
9403 {
9404
9405   ;
9406   return 0;
9407 }
9408 _ACEOF
9409 if ac_fn_c_try_link "$LINENO"; then :
9410
9411   lt_aix_libpath_sed='
9412       /Import File Strings/,/^$/ {
9413           /^0/ {
9414               s/^0  *\([^ ]*\) *$/\1/
9415               p
9416           }
9417       }'
9418   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9419   # Check for a 64-bit object if we didn't find anything.
9420   if test -z "$lt_cv_aix_libpath_"; then
9421     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9422   fi
9423 fi
9424 rm -f core conftest.err conftest.$ac_objext \
9425     conftest$ac_exeext conftest.$ac_ext
9426   if test -z "$lt_cv_aix_libpath_"; then
9427     lt_cv_aix_libpath_="/usr/lib:/lib"
9428   fi
9429
9430 fi
9431
9432   aix_libpath=$lt_cv_aix_libpath_
9433 fi
9434
9435          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9436           # Warning - without using the other run time loading flags,
9437           # -berok will link without error, but may produce a broken library.
9438           no_undefined_flag=' ${wl}-bernotok'
9439           allow_undefined_flag=' ${wl}-berok'
9440           if test "$with_gnu_ld" = yes; then
9441             # We only use this code for GNU lds that support --whole-archive.
9442             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9443           else
9444             # Exported symbols can be pulled into shared objects from archives
9445             whole_archive_flag_spec='$convenience'
9446           fi
9447           archive_cmds_need_lc=yes
9448           # This is similar to how AIX traditionally builds its shared libraries.
9449           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'
9450         fi
9451       fi
9452       ;;
9453
9454     amigaos*)
9455       case $host_cpu in
9456       powerpc)
9457             # see comment about AmigaOS4 .so support
9458             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9459             archive_expsym_cmds=''
9460         ;;
9461       m68k)
9462             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)'
9463             hardcode_libdir_flag_spec='-L$libdir'
9464             hardcode_minus_L=yes
9465         ;;
9466       esac
9467       ;;
9468
9469     bsdi[45]*)
9470       export_dynamic_flag_spec=-rdynamic
9471       ;;
9472
9473     cygwin* | mingw* | pw32* | cegcc*)
9474       # When not using gcc, we currently assume that we are using
9475       # Microsoft Visual C++.
9476       # hardcode_libdir_flag_spec is actually meaningless, as there is
9477       # no search path for DLLs.
9478       case $cc_basename in
9479       cl*)
9480         # Native MSVC
9481         hardcode_libdir_flag_spec=' '
9482         allow_undefined_flag=unsupported
9483         always_export_symbols=yes
9484         file_list_spec='@'
9485         # Tell ltmain to make .lib files, not .a files.
9486         libext=lib
9487         # Tell ltmain to make .dll files, not .so files.
9488         shrext_cmds=".dll"
9489         # FIXME: Setting linknames here is a bad hack.
9490         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9491         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9492             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9493           else
9494             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9495           fi~
9496           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9497           linknames='
9498         # The linker will not automatically build a static lib if we build a DLL.
9499         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9500         enable_shared_with_static_runtimes=yes
9501         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9502         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9503         # Don't use ranlib
9504         old_postinstall_cmds='chmod 644 $oldlib'
9505         postlink_cmds='lt_outputfile="@OUTPUT@"~
9506           lt_tool_outputfile="@TOOL_OUTPUT@"~
9507           case $lt_outputfile in
9508             *.exe|*.EXE) ;;
9509             *)
9510               lt_outputfile="$lt_outputfile.exe"
9511               lt_tool_outputfile="$lt_tool_outputfile.exe"
9512               ;;
9513           esac~
9514           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9515             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9516             $RM "$lt_outputfile.manifest";
9517           fi'
9518         ;;
9519       *)
9520         # Assume MSVC wrapper
9521         hardcode_libdir_flag_spec=' '
9522         allow_undefined_flag=unsupported
9523         # Tell ltmain to make .lib files, not .a files.
9524         libext=lib
9525         # Tell ltmain to make .dll files, not .so files.
9526         shrext_cmds=".dll"
9527         # FIXME: Setting linknames here is a bad hack.
9528         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9529         # The linker will automatically build a .lib file if we build a DLL.
9530         old_archive_from_new_cmds='true'
9531         # FIXME: Should let the user specify the lib program.
9532         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9533         enable_shared_with_static_runtimes=yes
9534         ;;
9535       esac
9536       ;;
9537
9538     darwin* | rhapsody*)
9539
9540
9541   archive_cmds_need_lc=no
9542   hardcode_direct=no
9543   hardcode_automatic=yes
9544   hardcode_shlibpath_var=unsupported
9545   if test "$lt_cv_ld_force_load" = "yes"; then
9546     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\"`'
9547
9548   else
9549     whole_archive_flag_spec=''
9550   fi
9551   link_all_deplibs=yes
9552   allow_undefined_flag="$_lt_dar_allow_undefined"
9553   case $cc_basename in
9554      ifort*) _lt_dar_can_shared=yes ;;
9555      *) _lt_dar_can_shared=$GCC ;;
9556   esac
9557   if test "$_lt_dar_can_shared" = "yes"; then
9558     output_verbose_link_cmd=func_echo_all
9559     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9560     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9561     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}"
9562     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}"
9563
9564   else
9565   ld_shlibs=no
9566   fi
9567
9568       ;;
9569
9570     dgux*)
9571       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9572       hardcode_libdir_flag_spec='-L$libdir'
9573       hardcode_shlibpath_var=no
9574       ;;
9575
9576     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9577     # support.  Future versions do this automatically, but an explicit c++rt0.o
9578     # does not break anything, and helps significantly (at the cost of a little
9579     # extra space).
9580     freebsd2.2*)
9581       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9582       hardcode_libdir_flag_spec='-R$libdir'
9583       hardcode_direct=yes
9584       hardcode_shlibpath_var=no
9585       ;;
9586
9587     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9588     freebsd2.*)
9589       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9590       hardcode_direct=yes
9591       hardcode_minus_L=yes
9592       hardcode_shlibpath_var=no
9593       ;;
9594
9595     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9596     freebsd* | dragonfly*)
9597       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9598       hardcode_libdir_flag_spec='-R$libdir'
9599       hardcode_direct=yes
9600       hardcode_shlibpath_var=no
9601       ;;
9602
9603     hpux9*)
9604       if test "$GCC" = yes; then
9605         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'
9606       else
9607         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'
9608       fi
9609       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9610       hardcode_libdir_separator=:
9611       hardcode_direct=yes
9612
9613       # hardcode_minus_L: Not really in the search PATH,
9614       # but as the default location of the library.
9615       hardcode_minus_L=yes
9616       export_dynamic_flag_spec='${wl}-E'
9617       ;;
9618
9619     hpux10*)
9620       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9621         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9622       else
9623         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9624       fi
9625       if test "$with_gnu_ld" = no; then
9626         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9627         hardcode_libdir_separator=:
9628         hardcode_direct=yes
9629         hardcode_direct_absolute=yes
9630         export_dynamic_flag_spec='${wl}-E'
9631         # hardcode_minus_L: Not really in the search PATH,
9632         # but as the default location of the library.
9633         hardcode_minus_L=yes
9634       fi
9635       ;;
9636
9637     hpux11*)
9638       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9639         case $host_cpu in
9640         hppa*64*)
9641           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9642           ;;
9643         ia64*)
9644           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9645           ;;
9646         *)
9647           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9648           ;;
9649         esac
9650       else
9651         case $host_cpu in
9652         hppa*64*)
9653           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9654           ;;
9655         ia64*)
9656           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9657           ;;
9658         *)
9659
9660           # Older versions of the 11.00 compiler do not understand -b yet
9661           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9662           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9663 $as_echo_n "checking if $CC understands -b... " >&6; }
9664 if ${lt_cv_prog_compiler__b+:} false; then :
9665   $as_echo_n "(cached) " >&6
9666 else
9667   lt_cv_prog_compiler__b=no
9668    save_LDFLAGS="$LDFLAGS"
9669    LDFLAGS="$LDFLAGS -b"
9670    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9671    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9672      # The linker can only warn and ignore the option if not recognized
9673      # So say no if there are warnings
9674      if test -s conftest.err; then
9675        # Append any errors to the config.log.
9676        cat conftest.err 1>&5
9677        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9678        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9679        if diff conftest.exp conftest.er2 >/dev/null; then
9680          lt_cv_prog_compiler__b=yes
9681        fi
9682      else
9683        lt_cv_prog_compiler__b=yes
9684      fi
9685    fi
9686    $RM -r conftest*
9687    LDFLAGS="$save_LDFLAGS"
9688
9689 fi
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9691 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9692
9693 if test x"$lt_cv_prog_compiler__b" = xyes; then
9694     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9695 else
9696     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9697 fi
9698
9699           ;;
9700         esac
9701       fi
9702       if test "$with_gnu_ld" = no; then
9703         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9704         hardcode_libdir_separator=:
9705
9706         case $host_cpu in
9707         hppa*64*|ia64*)
9708           hardcode_direct=no
9709           hardcode_shlibpath_var=no
9710           ;;
9711         *)
9712           hardcode_direct=yes
9713           hardcode_direct_absolute=yes
9714           export_dynamic_flag_spec='${wl}-E'
9715
9716           # hardcode_minus_L: Not really in the search PATH,
9717           # but as the default location of the library.
9718           hardcode_minus_L=yes
9719           ;;
9720         esac
9721       fi
9722       ;;
9723
9724     irix5* | irix6* | nonstopux*)
9725       if test "$GCC" = yes; then
9726         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'
9727         # Try to use the -exported_symbol ld option, if it does not
9728         # work, assume that -exports_file does not work either and
9729         # implicitly export all symbols.
9730         # This should be the same for all languages, so no per-tag cache variable.
9731         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9732 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9733 if ${lt_cv_irix_exported_symbol+:} false; then :
9734   $as_echo_n "(cached) " >&6
9735 else
9736   save_LDFLAGS="$LDFLAGS"
9737            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9738            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h.  */
9740 int foo (void) { return 0; }
9741 _ACEOF
9742 if ac_fn_c_try_link "$LINENO"; then :
9743   lt_cv_irix_exported_symbol=yes
9744 else
9745   lt_cv_irix_exported_symbol=no
9746 fi
9747 rm -f core conftest.err conftest.$ac_objext \
9748     conftest$ac_exeext conftest.$ac_ext
9749            LDFLAGS="$save_LDFLAGS"
9750 fi
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9752 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9753         if test "$lt_cv_irix_exported_symbol" = yes; then
9754           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'
9755         fi
9756       else
9757         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'
9758         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'
9759       fi
9760       archive_cmds_need_lc='no'
9761       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9762       hardcode_libdir_separator=:
9763       inherit_rpath=yes
9764       link_all_deplibs=yes
9765       ;;
9766
9767     netbsd* | netbsdelf*-gnu)
9768       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9769         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9770       else
9771         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9772       fi
9773       hardcode_libdir_flag_spec='-R$libdir'
9774       hardcode_direct=yes
9775       hardcode_shlibpath_var=no
9776       ;;
9777
9778     newsos6)
9779       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9780       hardcode_direct=yes
9781       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9782       hardcode_libdir_separator=:
9783       hardcode_shlibpath_var=no
9784       ;;
9785
9786     *nto* | *qnx*)
9787       ;;
9788
9789     openbsd*)
9790       if test -f /usr/libexec/ld.so; then
9791         hardcode_direct=yes
9792         hardcode_shlibpath_var=no
9793         hardcode_direct_absolute=yes
9794         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9795           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9796           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9797           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9798           export_dynamic_flag_spec='${wl}-E'
9799         else
9800           case $host_os in
9801            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9802              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9803              hardcode_libdir_flag_spec='-R$libdir'
9804              ;;
9805            *)
9806              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9807              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9808              ;;
9809           esac
9810         fi
9811       else
9812         ld_shlibs=no
9813       fi
9814       ;;
9815
9816     os2*)
9817       hardcode_libdir_flag_spec='-L$libdir'
9818       hardcode_minus_L=yes
9819       allow_undefined_flag=unsupported
9820       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'
9821       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9822       ;;
9823
9824     osf3*)
9825       if test "$GCC" = yes; then
9826         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9827         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'
9828       else
9829         allow_undefined_flag=' -expect_unresolved \*'
9830         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'
9831       fi
9832       archive_cmds_need_lc='no'
9833       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9834       hardcode_libdir_separator=:
9835       ;;
9836
9837     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9838       if test "$GCC" = yes; then
9839         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9840         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'
9841         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9842       else
9843         allow_undefined_flag=' -expect_unresolved \*'
9844         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'
9845         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~
9846         $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'
9847
9848         # Both c and cxx compiler support -rpath directly
9849         hardcode_libdir_flag_spec='-rpath $libdir'
9850       fi
9851       archive_cmds_need_lc='no'
9852       hardcode_libdir_separator=:
9853       ;;
9854
9855     solaris*)
9856       no_undefined_flag=' -z defs'
9857       if test "$GCC" = yes; then
9858         wlarc='${wl}'
9859         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9860         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9861           $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'
9862       else
9863         case `$CC -V 2>&1` in
9864         *"Compilers 5.0"*)
9865           wlarc=''
9866           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9867           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9868           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9869           ;;
9870         *)
9871           wlarc='${wl}'
9872           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9873           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9874           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9875           ;;
9876         esac
9877       fi
9878       hardcode_libdir_flag_spec='-R$libdir'
9879       hardcode_shlibpath_var=no
9880       case $host_os in
9881       solaris2.[0-5] | solaris2.[0-5].*) ;;
9882       *)
9883         # The compiler driver will combine and reorder linker options,
9884         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9885         # but is careful enough not to reorder.
9886         # Supported since Solaris 2.6 (maybe 2.5.1?)
9887         if test "$GCC" = yes; then
9888           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9889         else
9890           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9891         fi
9892         ;;
9893       esac
9894       link_all_deplibs=yes
9895       ;;
9896
9897     sunos4*)
9898       if test "x$host_vendor" = xsequent; then
9899         # Use $CC to link under sequent, because it throws in some extra .o
9900         # files that make .init and .fini sections work.
9901         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9902       else
9903         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9904       fi
9905       hardcode_libdir_flag_spec='-L$libdir'
9906       hardcode_direct=yes
9907       hardcode_minus_L=yes
9908       hardcode_shlibpath_var=no
9909       ;;
9910
9911     sysv4)
9912       case $host_vendor in
9913         sni)
9914           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9915           hardcode_direct=yes # is this really true???
9916         ;;
9917         siemens)
9918           ## LD is ld it makes a PLAMLIB
9919           ## CC just makes a GrossModule.
9920           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9921           reload_cmds='$CC -r -o $output$reload_objs'
9922           hardcode_direct=no
9923         ;;
9924         motorola)
9925           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9927         ;;
9928       esac
9929       runpath_var='LD_RUN_PATH'
9930       hardcode_shlibpath_var=no
9931       ;;
9932
9933     sysv4.3*)
9934       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9935       hardcode_shlibpath_var=no
9936       export_dynamic_flag_spec='-Bexport'
9937       ;;
9938
9939     sysv4*MP*)
9940       if test -d /usr/nec; then
9941         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9942         hardcode_shlibpath_var=no
9943         runpath_var=LD_RUN_PATH
9944         hardcode_runpath_var=yes
9945         ld_shlibs=yes
9946       fi
9947       ;;
9948
9949     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9950       no_undefined_flag='${wl}-z,text'
9951       archive_cmds_need_lc=no
9952       hardcode_shlibpath_var=no
9953       runpath_var='LD_RUN_PATH'
9954
9955       if test "$GCC" = yes; then
9956         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9957         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9958       else
9959         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9960         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9961       fi
9962       ;;
9963
9964     sysv5* | sco3.2v5* | sco5v6*)
9965       # Note: We can NOT use -z defs as we might desire, because we do not
9966       # link with -lc, and that would cause any symbols used from libc to
9967       # always be unresolved, which means just about no library would
9968       # ever link correctly.  If we're not using GNU ld we use -z text
9969       # though, which does catch some bad symbols but isn't as heavy-handed
9970       # as -z defs.
9971       no_undefined_flag='${wl}-z,text'
9972       allow_undefined_flag='${wl}-z,nodefs'
9973       archive_cmds_need_lc=no
9974       hardcode_shlibpath_var=no
9975       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9976       hardcode_libdir_separator=':'
9977       link_all_deplibs=yes
9978       export_dynamic_flag_spec='${wl}-Bexport'
9979       runpath_var='LD_RUN_PATH'
9980
9981       if test "$GCC" = yes; then
9982         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9983         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9984       else
9985         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9986         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9987       fi
9988       ;;
9989
9990     uts4*)
9991       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9992       hardcode_libdir_flag_spec='-L$libdir'
9993       hardcode_shlibpath_var=no
9994       ;;
9995
9996     *)
9997       ld_shlibs=no
9998       ;;
9999     esac
10000
10001     if test x$host_vendor = xsni; then
10002       case $host in
10003       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10004         export_dynamic_flag_spec='${wl}-Blargedynsym'
10005         ;;
10006       esac
10007     fi
10008   fi
10009
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10011 $as_echo "$ld_shlibs" >&6; }
10012 test "$ld_shlibs" = no && can_build_shared=no
10013
10014 with_gnu_ld=$with_gnu_ld
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030 #
10031 # Do we need to explicitly link libc?
10032 #
10033 case "x$archive_cmds_need_lc" in
10034 x|xyes)
10035   # Assume -lc should be added
10036   archive_cmds_need_lc=yes
10037
10038   if test "$enable_shared" = yes && test "$GCC" = yes; then
10039     case $archive_cmds in
10040     *'~'*)
10041       # FIXME: we may have to deal with multi-command sequences.
10042       ;;
10043     '$CC '*)
10044       # Test whether the compiler implicitly links with -lc since on some
10045       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10046       # to ld, don't add -lc before -lgcc.
10047       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10048 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10049 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10050   $as_echo_n "(cached) " >&6
10051 else
10052   $RM conftest*
10053         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10054
10055         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10056   (eval $ac_compile) 2>&5
10057   ac_status=$?
10058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10059   test $ac_status = 0; } 2>conftest.err; then
10060           soname=conftest
10061           lib=conftest
10062           libobjs=conftest.$ac_objext
10063           deplibs=
10064           wl=$lt_prog_compiler_wl
10065           pic_flag=$lt_prog_compiler_pic
10066           compiler_flags=-v
10067           linker_flags=-v
10068           verstring=
10069           output_objdir=.
10070           libname=conftest
10071           lt_save_allow_undefined_flag=$allow_undefined_flag
10072           allow_undefined_flag=
10073           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10074   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10075   ac_status=$?
10076   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10077   test $ac_status = 0; }
10078           then
10079             lt_cv_archive_cmds_need_lc=no
10080           else
10081             lt_cv_archive_cmds_need_lc=yes
10082           fi
10083           allow_undefined_flag=$lt_save_allow_undefined_flag
10084         else
10085           cat conftest.err 1>&5
10086         fi
10087         $RM conftest*
10088
10089 fi
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10091 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10092       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10093       ;;
10094     esac
10095   fi
10096   ;;
10097 esac
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10251 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10252
10253 if test "$GCC" = yes; then
10254   case $host_os in
10255     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10256     *) lt_awk_arg="/^libraries:/" ;;
10257   esac
10258   case $host_os in
10259     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10260     *) lt_sed_strip_eq="s,=/,/,g" ;;
10261   esac
10262   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10263   case $lt_search_path_spec in
10264   *\;*)
10265     # if the path contains ";" then we assume it to be the separator
10266     # otherwise default to the standard path separator (i.e. ":") - it is
10267     # assumed that no part of a normal pathname contains ";" but that should
10268     # okay in the real world where ";" in dirpaths is itself problematic.
10269     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10270     ;;
10271   *)
10272     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10273     ;;
10274   esac
10275   # Ok, now we have the path, separated by spaces, we can step through it
10276   # and add multilib dir if necessary.
10277   lt_tmp_lt_search_path_spec=
10278   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10279   for lt_sys_path in $lt_search_path_spec; do
10280     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10281       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10282     else
10283       test -d "$lt_sys_path" && \
10284         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10285     fi
10286   done
10287   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10288 BEGIN {RS=" "; FS="/|\n";} {
10289   lt_foo="";
10290   lt_count=0;
10291   for (lt_i = NF; lt_i > 0; lt_i--) {
10292     if ($lt_i != "" && $lt_i != ".") {
10293       if ($lt_i == "..") {
10294         lt_count++;
10295       } else {
10296         if (lt_count == 0) {
10297           lt_foo="/" $lt_i lt_foo;
10298         } else {
10299           lt_count--;
10300         }
10301       }
10302     }
10303   }
10304   if (lt_foo != "") { lt_freq[lt_foo]++; }
10305   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10306 }'`
10307   # AWK program above erroneously prepends '/' to C:/dos/paths
10308   # for these hosts.
10309   case $host_os in
10310     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10311       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10312   esac
10313   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10314 else
10315   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10316 fi
10317 library_names_spec=
10318 libname_spec='lib$name'
10319 soname_spec=
10320 shrext_cmds=".so"
10321 postinstall_cmds=
10322 postuninstall_cmds=
10323 finish_cmds=
10324 finish_eval=
10325 shlibpath_var=
10326 shlibpath_overrides_runpath=unknown
10327 version_type=none
10328 dynamic_linker="$host_os ld.so"
10329 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10330 need_lib_prefix=unknown
10331 hardcode_into_libs=no
10332
10333 # when you set need_version to no, make sure it does not cause -set_version
10334 # flags to be left without arguments
10335 need_version=unknown
10336
10337 case $host_os in
10338 aix3*)
10339   version_type=linux # correct to gnu/linux during the next big refactor
10340   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10341   shlibpath_var=LIBPATH
10342
10343   # AIX 3 has no versioning support, so we append a major version to the name.
10344   soname_spec='${libname}${release}${shared_ext}$major'
10345   ;;
10346
10347 aix[4-9]*)
10348   version_type=linux # correct to gnu/linux during the next big refactor
10349   need_lib_prefix=no
10350   need_version=no
10351   hardcode_into_libs=yes
10352   if test "$host_cpu" = ia64; then
10353     # AIX 5 supports IA64
10354     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10355     shlibpath_var=LD_LIBRARY_PATH
10356   else
10357     # With GCC up to 2.95.x, collect2 would create an import file
10358     # for dependence libraries.  The import file would start with
10359     # the line `#! .'.  This would cause the generated library to
10360     # depend on `.', always an invalid library.  This was fixed in
10361     # development snapshots of GCC prior to 3.0.
10362     case $host_os in
10363       aix4 | aix4.[01] | aix4.[01].*)
10364       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10365            echo ' yes '
10366            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10367         :
10368       else
10369         can_build_shared=no
10370       fi
10371       ;;
10372     esac
10373     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10374     # soname into executable. Probably we can add versioning support to
10375     # collect2, so additional links can be useful in future.
10376     if test "$aix_use_runtimelinking" = yes; then
10377       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10378       # instead of lib<name>.a to let people know that these are not
10379       # typical AIX shared libraries.
10380       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10381     else
10382       # We preserve .a as extension for shared libraries through AIX4.2
10383       # and later when we are not doing run time linking.
10384       library_names_spec='${libname}${release}.a $libname.a'
10385       soname_spec='${libname}${release}${shared_ext}$major'
10386     fi
10387     shlibpath_var=LIBPATH
10388   fi
10389   ;;
10390
10391 amigaos*)
10392   case $host_cpu in
10393   powerpc)
10394     # Since July 2007 AmigaOS4 officially supports .so libraries.
10395     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10396     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10397     ;;
10398   m68k)
10399     library_names_spec='$libname.ixlibrary $libname.a'
10400     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10401     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'
10402     ;;
10403   esac
10404   ;;
10405
10406 beos*)
10407   library_names_spec='${libname}${shared_ext}'
10408   dynamic_linker="$host_os ld.so"
10409   shlibpath_var=LIBRARY_PATH
10410   ;;
10411
10412 bsdi[45]*)
10413   version_type=linux # correct to gnu/linux during the next big refactor
10414   need_version=no
10415   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10416   soname_spec='${libname}${release}${shared_ext}$major'
10417   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10418   shlibpath_var=LD_LIBRARY_PATH
10419   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10420   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10421   # the default ld.so.conf also contains /usr/contrib/lib and
10422   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10423   # libtool to hard-code these into programs
10424   ;;
10425
10426 cygwin* | mingw* | pw32* | cegcc*)
10427   version_type=windows
10428   shrext_cmds=".dll"
10429   need_version=no
10430   need_lib_prefix=no
10431
10432   case $GCC,$cc_basename in
10433   yes,*)
10434     # gcc
10435     library_names_spec='$libname.dll.a'
10436     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10437     postinstall_cmds='base_file=`basename \${file}`~
10438       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10439       dldir=$destdir/`dirname \$dlpath`~
10440       test -d \$dldir || mkdir -p \$dldir~
10441       $install_prog $dir/$dlname \$dldir/$dlname~
10442       chmod a+x \$dldir/$dlname~
10443       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10444         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10445       fi'
10446     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10447       dlpath=$dir/\$dldll~
10448        $RM \$dlpath'
10449     shlibpath_overrides_runpath=yes
10450
10451     case $host_os in
10452     cygwin*)
10453       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10454       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10455
10456       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10457       ;;
10458     mingw* | cegcc*)
10459       # MinGW DLLs use traditional 'lib' prefix
10460       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10461       ;;
10462     pw32*)
10463       # pw32 DLLs use 'pw' prefix rather than 'lib'
10464       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10465       ;;
10466     esac
10467     dynamic_linker='Win32 ld.exe'
10468     ;;
10469
10470   *,cl*)
10471     # Native MSVC
10472     libname_spec='$name'
10473     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10474     library_names_spec='${libname}.dll.lib'
10475
10476     case $build_os in
10477     mingw*)
10478       sys_lib_search_path_spec=
10479       lt_save_ifs=$IFS
10480       IFS=';'
10481       for lt_path in $LIB
10482       do
10483         IFS=$lt_save_ifs
10484         # Let DOS variable expansion print the short 8.3 style file name.
10485         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10486         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10487       done
10488       IFS=$lt_save_ifs
10489       # Convert to MSYS style.
10490       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10491       ;;
10492     cygwin*)
10493       # Convert to unix form, then to dos form, then back to unix form
10494       # but this time dos style (no spaces!) so that the unix form looks
10495       # like /cygdrive/c/PROGRA~1:/cygdr...
10496       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10497       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10498       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10499       ;;
10500     *)
10501       sys_lib_search_path_spec="$LIB"
10502       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10503         # It is most probably a Windows format PATH.
10504         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10505       else
10506         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10507       fi
10508       # FIXME: find the short name or the path components, as spaces are
10509       # common. (e.g. "Program Files" -> "PROGRA~1")
10510       ;;
10511     esac
10512
10513     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10514     postinstall_cmds='base_file=`basename \${file}`~
10515       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10516       dldir=$destdir/`dirname \$dlpath`~
10517       test -d \$dldir || mkdir -p \$dldir~
10518       $install_prog $dir/$dlname \$dldir/$dlname'
10519     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10520       dlpath=$dir/\$dldll~
10521        $RM \$dlpath'
10522     shlibpath_overrides_runpath=yes
10523     dynamic_linker='Win32 link.exe'
10524     ;;
10525
10526   *)
10527     # Assume MSVC wrapper
10528     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10529     dynamic_linker='Win32 ld.exe'
10530     ;;
10531   esac
10532   # FIXME: first we should search . and the directory the executable is in
10533   shlibpath_var=PATH
10534   ;;
10535
10536 darwin* | rhapsody*)
10537   dynamic_linker="$host_os dyld"
10538   version_type=darwin
10539   need_lib_prefix=no
10540   need_version=no
10541   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10542   soname_spec='${libname}${release}${major}$shared_ext'
10543   shlibpath_overrides_runpath=yes
10544   shlibpath_var=DYLD_LIBRARY_PATH
10545   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10546
10547   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10548   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10549   ;;
10550
10551 dgux*)
10552   version_type=linux # correct to gnu/linux during the next big refactor
10553   need_lib_prefix=no
10554   need_version=no
10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10556   soname_spec='${libname}${release}${shared_ext}$major'
10557   shlibpath_var=LD_LIBRARY_PATH
10558   ;;
10559
10560 freebsd* | dragonfly*)
10561   # DragonFly does not have aout.  When/if they implement a new
10562   # versioning mechanism, adjust this.
10563   if test -x /usr/bin/objformat; then
10564     objformat=`/usr/bin/objformat`
10565   else
10566     case $host_os in
10567     freebsd[23].*) objformat=aout ;;
10568     *) objformat=elf ;;
10569     esac
10570   fi
10571   version_type=freebsd-$objformat
10572   case $version_type in
10573     freebsd-elf*)
10574       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10575       need_version=no
10576       need_lib_prefix=no
10577       ;;
10578     freebsd-*)
10579       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10580       need_version=yes
10581       ;;
10582   esac
10583   shlibpath_var=LD_LIBRARY_PATH
10584   case $host_os in
10585   freebsd2.*)
10586     shlibpath_overrides_runpath=yes
10587     ;;
10588   freebsd3.[01]* | freebsdelf3.[01]*)
10589     shlibpath_overrides_runpath=yes
10590     hardcode_into_libs=yes
10591     ;;
10592   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10593   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10594     shlibpath_overrides_runpath=no
10595     hardcode_into_libs=yes
10596     ;;
10597   *) # from 4.6 on, and DragonFly
10598     shlibpath_overrides_runpath=yes
10599     hardcode_into_libs=yes
10600     ;;
10601   esac
10602   ;;
10603
10604 gnu*)
10605   version_type=linux # correct to gnu/linux during the next big refactor
10606   need_lib_prefix=no
10607   need_version=no
10608   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10609   soname_spec='${libname}${release}${shared_ext}$major'
10610   shlibpath_var=LD_LIBRARY_PATH
10611   shlibpath_overrides_runpath=no
10612   hardcode_into_libs=yes
10613   ;;
10614
10615 haiku*)
10616   version_type=linux # correct to gnu/linux during the next big refactor
10617   need_lib_prefix=no
10618   need_version=no
10619   dynamic_linker="$host_os runtime_loader"
10620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10621   soname_spec='${libname}${release}${shared_ext}$major'
10622   shlibpath_var=LIBRARY_PATH
10623   shlibpath_overrides_runpath=yes
10624   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10625   hardcode_into_libs=yes
10626   ;;
10627
10628 hpux9* | hpux10* | hpux11*)
10629   # Give a soname corresponding to the major version so that dld.sl refuses to
10630   # link against other versions.
10631   version_type=sunos
10632   need_lib_prefix=no
10633   need_version=no
10634   case $host_cpu in
10635   ia64*)
10636     shrext_cmds='.so'
10637     hardcode_into_libs=yes
10638     dynamic_linker="$host_os dld.so"
10639     shlibpath_var=LD_LIBRARY_PATH
10640     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10641     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10642     soname_spec='${libname}${release}${shared_ext}$major'
10643     if test "X$HPUX_IA64_MODE" = X32; then
10644       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10645     else
10646       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10647     fi
10648     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10649     ;;
10650   hppa*64*)
10651     shrext_cmds='.sl'
10652     hardcode_into_libs=yes
10653     dynamic_linker="$host_os dld.sl"
10654     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10655     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10656     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657     soname_spec='${libname}${release}${shared_ext}$major'
10658     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10659     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10660     ;;
10661   *)
10662     shrext_cmds='.sl'
10663     dynamic_linker="$host_os dld.sl"
10664     shlibpath_var=SHLIB_PATH
10665     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10666     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10667     soname_spec='${libname}${release}${shared_ext}$major'
10668     ;;
10669   esac
10670   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10671   postinstall_cmds='chmod 555 $lib'
10672   # or fails outright, so override atomically:
10673   install_override_mode=555
10674   ;;
10675
10676 interix[3-9]*)
10677   version_type=linux # correct to gnu/linux during the next big refactor
10678   need_lib_prefix=no
10679   need_version=no
10680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10681   soname_spec='${libname}${release}${shared_ext}$major'
10682   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10683   shlibpath_var=LD_LIBRARY_PATH
10684   shlibpath_overrides_runpath=no
10685   hardcode_into_libs=yes
10686   ;;
10687
10688 irix5* | irix6* | nonstopux*)
10689   case $host_os in
10690     nonstopux*) version_type=nonstopux ;;
10691     *)
10692         if test "$lt_cv_prog_gnu_ld" = yes; then
10693                 version_type=linux # correct to gnu/linux during the next big refactor
10694         else
10695                 version_type=irix
10696         fi ;;
10697   esac
10698   need_lib_prefix=no
10699   need_version=no
10700   soname_spec='${libname}${release}${shared_ext}$major'
10701   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10702   case $host_os in
10703   irix5* | nonstopux*)
10704     libsuff= shlibsuff=
10705     ;;
10706   *)
10707     case $LD in # libtool.m4 will add one of these switches to LD
10708     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10709       libsuff= shlibsuff= libmagic=32-bit;;
10710     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10711       libsuff=32 shlibsuff=N32 libmagic=N32;;
10712     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10713       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10714     *) libsuff= shlibsuff= libmagic=never-match;;
10715     esac
10716     ;;
10717   esac
10718   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10719   shlibpath_overrides_runpath=no
10720   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10721   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10722   hardcode_into_libs=yes
10723   ;;
10724
10725 # No shared lib support for Linux oldld, aout, or coff.
10726 linux*oldld* | linux*aout* | linux*coff*)
10727   dynamic_linker=no
10728   ;;
10729
10730 # This must be glibc/ELF.
10731 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10732   version_type=linux # correct to gnu/linux during the next big refactor
10733   need_lib_prefix=no
10734   need_version=no
10735   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10736   soname_spec='${libname}${release}${shared_ext}$major'
10737   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10738   shlibpath_var=LD_LIBRARY_PATH
10739   shlibpath_overrides_runpath=no
10740
10741   # Some binutils ld are patched to set DT_RUNPATH
10742   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10743   $as_echo_n "(cached) " >&6
10744 else
10745   lt_cv_shlibpath_overrides_runpath=no
10746     save_LDFLAGS=$LDFLAGS
10747     save_libdir=$libdir
10748     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10749          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10750     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h.  */
10752
10753 int
10754 main ()
10755 {
10756
10757   ;
10758   return 0;
10759 }
10760 _ACEOF
10761 if ac_fn_c_try_link "$LINENO"; then :
10762   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10763   lt_cv_shlibpath_overrides_runpath=yes
10764 fi
10765 fi
10766 rm -f core conftest.err conftest.$ac_objext \
10767     conftest$ac_exeext conftest.$ac_ext
10768     LDFLAGS=$save_LDFLAGS
10769     libdir=$save_libdir
10770
10771 fi
10772
10773   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10774
10775   # This implies no fast_install, which is unacceptable.
10776   # Some rework will be needed to allow for fast_install
10777   # before this can be enabled.
10778   hardcode_into_libs=yes
10779
10780   # Append ld.so.conf contents to the search path
10781   if test -f /etc/ld.so.conf; then
10782     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' ' '`
10783     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10784   fi
10785
10786   # We used to test for /lib/ld.so.1 and disable shared libraries on
10787   # powerpc, because MkLinux only supported shared libraries with the
10788   # GNU dynamic linker.  Since this was broken with cross compilers,
10789   # most powerpc-linux boxes support dynamic linking these days and
10790   # people can always --disable-shared, the test was removed, and we
10791   # assume the GNU/Linux dynamic linker is in use.
10792   dynamic_linker='GNU/Linux ld.so'
10793   ;;
10794
10795 netbsdelf*-gnu)
10796   version_type=linux
10797   need_lib_prefix=no
10798   need_version=no
10799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10800   soname_spec='${libname}${release}${shared_ext}$major'
10801   shlibpath_var=LD_LIBRARY_PATH
10802   shlibpath_overrides_runpath=no
10803   hardcode_into_libs=yes
10804   dynamic_linker='NetBSD ld.elf_so'
10805   ;;
10806
10807 netbsd*)
10808   version_type=sunos
10809   need_lib_prefix=no
10810   need_version=no
10811   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10812     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10813     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10814     dynamic_linker='NetBSD (a.out) ld.so'
10815   else
10816     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10817     soname_spec='${libname}${release}${shared_ext}$major'
10818     dynamic_linker='NetBSD ld.elf_so'
10819   fi
10820   shlibpath_var=LD_LIBRARY_PATH
10821   shlibpath_overrides_runpath=yes
10822   hardcode_into_libs=yes
10823   ;;
10824
10825 newsos6)
10826   version_type=linux # correct to gnu/linux during the next big refactor
10827   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828   shlibpath_var=LD_LIBRARY_PATH
10829   shlibpath_overrides_runpath=yes
10830   ;;
10831
10832 *nto* | *qnx*)
10833   version_type=qnx
10834   need_lib_prefix=no
10835   need_version=no
10836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10837   soname_spec='${libname}${release}${shared_ext}$major'
10838   shlibpath_var=LD_LIBRARY_PATH
10839   shlibpath_overrides_runpath=no
10840   hardcode_into_libs=yes
10841   dynamic_linker='ldqnx.so'
10842   ;;
10843
10844 openbsd*)
10845   version_type=sunos
10846   sys_lib_dlsearch_path_spec="/usr/lib"
10847   need_lib_prefix=no
10848   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10849   case $host_os in
10850     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10851     *)                          need_version=no  ;;
10852   esac
10853   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10854   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10855   shlibpath_var=LD_LIBRARY_PATH
10856   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10857     case $host_os in
10858       openbsd2.[89] | openbsd2.[89].*)
10859         shlibpath_overrides_runpath=no
10860         ;;
10861       *)
10862         shlibpath_overrides_runpath=yes
10863         ;;
10864       esac
10865   else
10866     shlibpath_overrides_runpath=yes
10867   fi
10868   ;;
10869
10870 os2*)
10871   libname_spec='$name'
10872   shrext_cmds=".dll"
10873   need_lib_prefix=no
10874   library_names_spec='$libname${shared_ext} $libname.a'
10875   dynamic_linker='OS/2 ld.exe'
10876   shlibpath_var=LIBPATH
10877   ;;
10878
10879 osf3* | osf4* | osf5*)
10880   version_type=osf
10881   need_lib_prefix=no
10882   need_version=no
10883   soname_spec='${libname}${release}${shared_ext}$major'
10884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885   shlibpath_var=LD_LIBRARY_PATH
10886   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10887   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10888   ;;
10889
10890 rdos*)
10891   dynamic_linker=no
10892   ;;
10893
10894 solaris*)
10895   version_type=linux # correct to gnu/linux during the next big refactor
10896   need_lib_prefix=no
10897   need_version=no
10898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10899   soname_spec='${libname}${release}${shared_ext}$major'
10900   shlibpath_var=LD_LIBRARY_PATH
10901   shlibpath_overrides_runpath=yes
10902   hardcode_into_libs=yes
10903   # ldd complains unless libraries are executable
10904   postinstall_cmds='chmod +x $lib'
10905   ;;
10906
10907 sunos4*)
10908   version_type=sunos
10909   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10910   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10911   shlibpath_var=LD_LIBRARY_PATH
10912   shlibpath_overrides_runpath=yes
10913   if test "$with_gnu_ld" = yes; then
10914     need_lib_prefix=no
10915   fi
10916   need_version=yes
10917   ;;
10918
10919 sysv4 | sysv4.3*)
10920   version_type=linux # correct to gnu/linux during the next big refactor
10921   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10922   soname_spec='${libname}${release}${shared_ext}$major'
10923   shlibpath_var=LD_LIBRARY_PATH
10924   case $host_vendor in
10925     sni)
10926       shlibpath_overrides_runpath=no
10927       need_lib_prefix=no
10928       runpath_var=LD_RUN_PATH
10929       ;;
10930     siemens)
10931       need_lib_prefix=no
10932       ;;
10933     motorola)
10934       need_lib_prefix=no
10935       need_version=no
10936       shlibpath_overrides_runpath=no
10937       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10938       ;;
10939   esac
10940   ;;
10941
10942 sysv4*MP*)
10943   if test -d /usr/nec ;then
10944     version_type=linux # correct to gnu/linux during the next big refactor
10945     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10946     soname_spec='$libname${shared_ext}.$major'
10947     shlibpath_var=LD_LIBRARY_PATH
10948   fi
10949   ;;
10950
10951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10952   version_type=freebsd-elf
10953   need_lib_prefix=no
10954   need_version=no
10955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10956   soname_spec='${libname}${release}${shared_ext}$major'
10957   shlibpath_var=LD_LIBRARY_PATH
10958   shlibpath_overrides_runpath=yes
10959   hardcode_into_libs=yes
10960   if test "$with_gnu_ld" = yes; then
10961     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10962   else
10963     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10964     case $host_os in
10965       sco3.2v5*)
10966         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10967         ;;
10968     esac
10969   fi
10970   sys_lib_dlsearch_path_spec='/usr/lib'
10971   ;;
10972
10973 tpf*)
10974   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10975   version_type=linux # correct to gnu/linux during the next big refactor
10976   need_lib_prefix=no
10977   need_version=no
10978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10979   shlibpath_var=LD_LIBRARY_PATH
10980   shlibpath_overrides_runpath=no
10981   hardcode_into_libs=yes
10982   ;;
10983
10984 uts4*)
10985   version_type=linux # correct to gnu/linux during the next big refactor
10986   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10987   soname_spec='${libname}${release}${shared_ext}$major'
10988   shlibpath_var=LD_LIBRARY_PATH
10989   ;;
10990
10991 *)
10992   dynamic_linker=no
10993   ;;
10994 esac
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10996 $as_echo "$dynamic_linker" >&6; }
10997 test "$dynamic_linker" = no && can_build_shared=no
10998
10999 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11000 if test "$GCC" = yes; then
11001   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11002 fi
11003
11004 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11005   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11006 fi
11007 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11008   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11009 fi
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11103 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11104 hardcode_action=
11105 if test -n "$hardcode_libdir_flag_spec" ||
11106    test -n "$runpath_var" ||
11107    test "X$hardcode_automatic" = "Xyes" ; then
11108
11109   # We can hardcode non-existent directories.
11110   if test "$hardcode_direct" != no &&
11111      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11112      # have to relink, otherwise we might link with an installed library
11113      # when we should be linking with a yet-to-be-installed one
11114      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11115      test "$hardcode_minus_L" != no; then
11116     # Linking always hardcodes the temporary library directory.
11117     hardcode_action=relink
11118   else
11119     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11120     hardcode_action=immediate
11121   fi
11122 else
11123   # We cannot hardcode anything, or else we can only hardcode existing
11124   # directories.
11125   hardcode_action=unsupported
11126 fi
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11128 $as_echo "$hardcode_action" >&6; }
11129
11130 if test "$hardcode_action" = relink ||
11131    test "$inherit_rpath" = yes; then
11132   # Fast installation is not supported
11133   enable_fast_install=no
11134 elif test "$shlibpath_overrides_runpath" = yes ||
11135      test "$enable_shared" = no; then
11136   # Fast installation is not necessary
11137   enable_fast_install=needless
11138 fi
11139
11140
11141
11142
11143
11144
11145   if test "x$enable_dlopen" != xyes; then
11146   enable_dlopen=unknown
11147   enable_dlopen_self=unknown
11148   enable_dlopen_self_static=unknown
11149 else
11150   lt_cv_dlopen=no
11151   lt_cv_dlopen_libs=
11152
11153   case $host_os in
11154   beos*)
11155     lt_cv_dlopen="load_add_on"
11156     lt_cv_dlopen_libs=
11157     lt_cv_dlopen_self=yes
11158     ;;
11159
11160   mingw* | pw32* | cegcc*)
11161     lt_cv_dlopen="LoadLibrary"
11162     lt_cv_dlopen_libs=
11163     ;;
11164
11165   cygwin*)
11166     lt_cv_dlopen="dlopen"
11167     lt_cv_dlopen_libs=
11168     ;;
11169
11170   darwin*)
11171   # if libdl is installed we need to link against it
11172     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11173 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11174 if ${ac_cv_lib_dl_dlopen+:} false; then :
11175   $as_echo_n "(cached) " >&6
11176 else
11177   ac_check_lib_save_LIBS=$LIBS
11178 LIBS="-ldl  $LIBS"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h.  */
11181
11182 /* Override any GCC internal prototype to avoid an error.
11183    Use char because int might match the return type of a GCC
11184    builtin and then its argument prototype would still apply.  */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char dlopen ();
11189 int
11190 main ()
11191 {
11192 return dlopen ();
11193   ;
11194   return 0;
11195 }
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"; then :
11198   ac_cv_lib_dl_dlopen=yes
11199 else
11200   ac_cv_lib_dl_dlopen=no
11201 fi
11202 rm -f core conftest.err conftest.$ac_objext \
11203     conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_lib_save_LIBS
11205 fi
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11207 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11208 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11209   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11210 else
11211
11212     lt_cv_dlopen="dyld"
11213     lt_cv_dlopen_libs=
11214     lt_cv_dlopen_self=yes
11215
11216 fi
11217
11218     ;;
11219
11220   *)
11221     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11222 if test "x$ac_cv_func_shl_load" = xyes; then :
11223   lt_cv_dlopen="shl_load"
11224 else
11225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11226 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11227 if ${ac_cv_lib_dld_shl_load+:} false; then :
11228   $as_echo_n "(cached) " >&6
11229 else
11230   ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-ldld  $LIBS"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h.  */
11234
11235 /* Override any GCC internal prototype to avoid an error.
11236    Use char because int might match the return type of a GCC
11237    builtin and then its argument prototype would still apply.  */
11238 #ifdef __cplusplus
11239 extern "C"
11240 #endif
11241 char shl_load ();
11242 int
11243 main ()
11244 {
11245 return shl_load ();
11246   ;
11247   return 0;
11248 }
11249 _ACEOF
11250 if ac_fn_c_try_link "$LINENO"; then :
11251   ac_cv_lib_dld_shl_load=yes
11252 else
11253   ac_cv_lib_dld_shl_load=no
11254 fi
11255 rm -f core conftest.err conftest.$ac_objext \
11256     conftest$ac_exeext conftest.$ac_ext
11257 LIBS=$ac_check_lib_save_LIBS
11258 fi
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11260 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11261 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11262   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11263 else
11264   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11265 if test "x$ac_cv_func_dlopen" = xyes; then :
11266   lt_cv_dlopen="dlopen"
11267 else
11268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11269 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11270 if ${ac_cv_lib_dl_dlopen+:} false; then :
11271   $as_echo_n "(cached) " >&6
11272 else
11273   ac_check_lib_save_LIBS=$LIBS
11274 LIBS="-ldl  $LIBS"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h.  */
11277
11278 /* Override any GCC internal prototype to avoid an error.
11279    Use char because int might match the return type of a GCC
11280    builtin and then its argument prototype would still apply.  */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char dlopen ();
11285 int
11286 main ()
11287 {
11288 return dlopen ();
11289   ;
11290   return 0;
11291 }
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294   ac_cv_lib_dl_dlopen=yes
11295 else
11296   ac_cv_lib_dl_dlopen=no
11297 fi
11298 rm -f core conftest.err conftest.$ac_objext \
11299     conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_lib_save_LIBS
11301 fi
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11303 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11304 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11305   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11306 else
11307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11308 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11309 if ${ac_cv_lib_svld_dlopen+:} false; then :
11310   $as_echo_n "(cached) " >&6
11311 else
11312   ac_check_lib_save_LIBS=$LIBS
11313 LIBS="-lsvld  $LIBS"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h.  */
11316
11317 /* Override any GCC internal prototype to avoid an error.
11318    Use char because int might match the return type of a GCC
11319    builtin and then its argument prototype would still apply.  */
11320 #ifdef __cplusplus
11321 extern "C"
11322 #endif
11323 char dlopen ();
11324 int
11325 main ()
11326 {
11327 return dlopen ();
11328   ;
11329   return 0;
11330 }
11331 _ACEOF
11332 if ac_fn_c_try_link "$LINENO"; then :
11333   ac_cv_lib_svld_dlopen=yes
11334 else
11335   ac_cv_lib_svld_dlopen=no
11336 fi
11337 rm -f core conftest.err conftest.$ac_objext \
11338     conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11340 fi
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11342 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11343 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11344   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11345 else
11346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11347 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11348 if ${ac_cv_lib_dld_dld_link+:} false; then :
11349   $as_echo_n "(cached) " >&6
11350 else
11351   ac_check_lib_save_LIBS=$LIBS
11352 LIBS="-ldld  $LIBS"
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h.  */
11355
11356 /* Override any GCC internal prototype to avoid an error.
11357    Use char because int might match the return type of a GCC
11358    builtin and then its argument prototype would still apply.  */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dld_link ();
11363 int
11364 main ()
11365 {
11366 return dld_link ();
11367   ;
11368   return 0;
11369 }
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372   ac_cv_lib_dld_dld_link=yes
11373 else
11374   ac_cv_lib_dld_dld_link=no
11375 fi
11376 rm -f core conftest.err conftest.$ac_objext \
11377     conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11379 fi
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11381 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11382 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11383   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11384 fi
11385
11386
11387 fi
11388
11389
11390 fi
11391
11392
11393 fi
11394
11395
11396 fi
11397
11398
11399 fi
11400
11401     ;;
11402   esac
11403
11404   if test "x$lt_cv_dlopen" != xno; then
11405     enable_dlopen=yes
11406   else
11407     enable_dlopen=no
11408   fi
11409
11410   case $lt_cv_dlopen in
11411   dlopen)
11412     save_CPPFLAGS="$CPPFLAGS"
11413     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11414
11415     save_LDFLAGS="$LDFLAGS"
11416     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11417
11418     save_LIBS="$LIBS"
11419     LIBS="$lt_cv_dlopen_libs $LIBS"
11420
11421     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11422 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11423 if ${lt_cv_dlopen_self+:} false; then :
11424   $as_echo_n "(cached) " >&6
11425 else
11426           if test "$cross_compiling" = yes; then :
11427   lt_cv_dlopen_self=cross
11428 else
11429   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11430   lt_status=$lt_dlunknown
11431   cat > conftest.$ac_ext <<_LT_EOF
11432 #line $LINENO "configure"
11433 #include "confdefs.h"
11434
11435 #if HAVE_DLFCN_H
11436 #include <dlfcn.h>
11437 #endif
11438
11439 #include <stdio.h>
11440
11441 #ifdef RTLD_GLOBAL
11442 #  define LT_DLGLOBAL           RTLD_GLOBAL
11443 #else
11444 #  ifdef DL_GLOBAL
11445 #    define LT_DLGLOBAL         DL_GLOBAL
11446 #  else
11447 #    define LT_DLGLOBAL         0
11448 #  endif
11449 #endif
11450
11451 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11452    find out it does not work in some platform. */
11453 #ifndef LT_DLLAZY_OR_NOW
11454 #  ifdef RTLD_LAZY
11455 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11456 #  else
11457 #    ifdef DL_LAZY
11458 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11459 #    else
11460 #      ifdef RTLD_NOW
11461 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11462 #      else
11463 #        ifdef DL_NOW
11464 #          define LT_DLLAZY_OR_NOW      DL_NOW
11465 #        else
11466 #          define LT_DLLAZY_OR_NOW      0
11467 #        endif
11468 #      endif
11469 #    endif
11470 #  endif
11471 #endif
11472
11473 /* When -fvisbility=hidden is used, assume the code has been annotated
11474    correspondingly for the symbols needed.  */
11475 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11476 int fnord () __attribute__((visibility("default")));
11477 #endif
11478
11479 int fnord () { return 42; }
11480 int main ()
11481 {
11482   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11483   int status = $lt_dlunknown;
11484
11485   if (self)
11486     {
11487       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11488       else
11489         {
11490           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11491           else puts (dlerror ());
11492         }
11493       /* dlclose (self); */
11494     }
11495   else
11496     puts (dlerror ());
11497
11498   return status;
11499 }
11500 _LT_EOF
11501   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11502   (eval $ac_link) 2>&5
11503   ac_status=$?
11504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11505   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11506     (./conftest; exit; ) >&5 2>/dev/null
11507     lt_status=$?
11508     case x$lt_status in
11509       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11510       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11511       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11512     esac
11513   else :
11514     # compilation failed
11515     lt_cv_dlopen_self=no
11516   fi
11517 fi
11518 rm -fr conftest*
11519
11520
11521 fi
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11523 $as_echo "$lt_cv_dlopen_self" >&6; }
11524
11525     if test "x$lt_cv_dlopen_self" = xyes; then
11526       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11527       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11528 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11529 if ${lt_cv_dlopen_self_static+:} false; then :
11530   $as_echo_n "(cached) " >&6
11531 else
11532           if test "$cross_compiling" = yes; then :
11533   lt_cv_dlopen_self_static=cross
11534 else
11535   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11536   lt_status=$lt_dlunknown
11537   cat > conftest.$ac_ext <<_LT_EOF
11538 #line $LINENO "configure"
11539 #include "confdefs.h"
11540
11541 #if HAVE_DLFCN_H
11542 #include <dlfcn.h>
11543 #endif
11544
11545 #include <stdio.h>
11546
11547 #ifdef RTLD_GLOBAL
11548 #  define LT_DLGLOBAL           RTLD_GLOBAL
11549 #else
11550 #  ifdef DL_GLOBAL
11551 #    define LT_DLGLOBAL         DL_GLOBAL
11552 #  else
11553 #    define LT_DLGLOBAL         0
11554 #  endif
11555 #endif
11556
11557 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11558    find out it does not work in some platform. */
11559 #ifndef LT_DLLAZY_OR_NOW
11560 #  ifdef RTLD_LAZY
11561 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11562 #  else
11563 #    ifdef DL_LAZY
11564 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11565 #    else
11566 #      ifdef RTLD_NOW
11567 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11568 #      else
11569 #        ifdef DL_NOW
11570 #          define LT_DLLAZY_OR_NOW      DL_NOW
11571 #        else
11572 #          define LT_DLLAZY_OR_NOW      0
11573 #        endif
11574 #      endif
11575 #    endif
11576 #  endif
11577 #endif
11578
11579 /* When -fvisbility=hidden is used, assume the code has been annotated
11580    correspondingly for the symbols needed.  */
11581 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11582 int fnord () __attribute__((visibility("default")));
11583 #endif
11584
11585 int fnord () { return 42; }
11586 int main ()
11587 {
11588   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11589   int status = $lt_dlunknown;
11590
11591   if (self)
11592     {
11593       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11594       else
11595         {
11596           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11597           else puts (dlerror ());
11598         }
11599       /* dlclose (self); */
11600     }
11601   else
11602     puts (dlerror ());
11603
11604   return status;
11605 }
11606 _LT_EOF
11607   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11608   (eval $ac_link) 2>&5
11609   ac_status=$?
11610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11611   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11612     (./conftest; exit; ) >&5 2>/dev/null
11613     lt_status=$?
11614     case x$lt_status in
11615       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11616       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11617       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11618     esac
11619   else :
11620     # compilation failed
11621     lt_cv_dlopen_self_static=no
11622   fi
11623 fi
11624 rm -fr conftest*
11625
11626
11627 fi
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11629 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11630     fi
11631
11632     CPPFLAGS="$save_CPPFLAGS"
11633     LDFLAGS="$save_LDFLAGS"
11634     LIBS="$save_LIBS"
11635     ;;
11636   esac
11637
11638   case $lt_cv_dlopen_self in
11639   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11640   *) enable_dlopen_self=unknown ;;
11641   esac
11642
11643   case $lt_cv_dlopen_self_static in
11644   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11645   *) enable_dlopen_self_static=unknown ;;
11646   esac
11647 fi
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665 striplib=
11666 old_striplib=
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11668 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11669 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11670   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11671   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11673 $as_echo "yes" >&6; }
11674 else
11675 # FIXME - insert some real tests, host_os isn't really good enough
11676   case $host_os in
11677   darwin*)
11678     if test -n "$STRIP" ; then
11679       striplib="$STRIP -x"
11680       old_striplib="$STRIP -S"
11681       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11682 $as_echo "yes" >&6; }
11683     else
11684       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11685 $as_echo "no" >&6; }
11686     fi
11687     ;;
11688   *)
11689     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11690 $as_echo "no" >&6; }
11691     ;;
11692   esac
11693 fi
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706   # Report which library types will actually be built
11707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11708 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11710 $as_echo "$can_build_shared" >&6; }
11711
11712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11713 $as_echo_n "checking whether to build shared libraries... " >&6; }
11714   test "$can_build_shared" = "no" && enable_shared=no
11715
11716   # On AIX, shared libraries and static libraries use the same namespace, and
11717   # are all built from PIC.
11718   case $host_os in
11719   aix3*)
11720     test "$enable_shared" = yes && enable_static=no
11721     if test -n "$RANLIB"; then
11722       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11723       postinstall_cmds='$RANLIB $lib'
11724     fi
11725     ;;
11726
11727   aix[4-9]*)
11728     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11729       test "$enable_shared" = yes && enable_static=no
11730     fi
11731     ;;
11732   esac
11733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11734 $as_echo "$enable_shared" >&6; }
11735
11736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11737 $as_echo_n "checking whether to build static libraries... " >&6; }
11738   # Make sure either enable_shared or enable_static is yes.
11739   test "$enable_shared" = yes || enable_static=yes
11740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11741 $as_echo "$enable_static" >&6; }
11742
11743
11744
11745
11746 fi
11747 ac_ext=c
11748 ac_cpp='$CPP $CPPFLAGS'
11749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11752
11753 CC="$lt_save_CC"
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769         ac_config_commands="$ac_config_commands libtool"
11770
11771
11772
11773
11774 # Only expand once:
11775
11776
11777
11778 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11779 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11780
11781
11782
11783 cat >>confdefs.h <<_ACEOF
11784 #define VMAJ 1
11785 _ACEOF
11786
11787
11788 cat >>confdefs.h <<_ACEOF
11789 #define VMIN 7
11790 _ACEOF
11791
11792
11793 cat >>confdefs.h <<_ACEOF
11794 #define VMIC 2
11795 _ACEOF
11796
11797
11798 cat >>confdefs.h <<_ACEOF
11799 #define VREV 0
11800 _ACEOF
11801
11802 version_info="8:2:7"
11803 release_info=""
11804
11805
11806 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11807 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11808 VMAJ=1
11809
11810
11811
11812
11813
11814
11815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11816 $as_echo_n "checking whether NLS is requested... " >&6; }
11817     # Check whether --enable-nls was given.
11818 if test "${enable_nls+set}" = set; then :
11819   enableval=$enable_nls; USE_NLS=$enableval
11820 else
11821   USE_NLS=yes
11822 fi
11823
11824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11825 $as_echo "$USE_NLS" >&6; }
11826
11827
11828
11829
11830       GETTEXT_MACRO_VERSION=0.17
11831
11832
11833
11834
11835 # Prepare PATH_SEPARATOR.
11836 # The user is always right.
11837 if test "${PATH_SEPARATOR+set}" != set; then
11838   echo "#! /bin/sh" >conf$$.sh
11839   echo  "exit 0"   >>conf$$.sh
11840   chmod +x conf$$.sh
11841   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11842     PATH_SEPARATOR=';'
11843   else
11844     PATH_SEPARATOR=:
11845   fi
11846   rm -f conf$$.sh
11847 fi
11848
11849 # Find out how to test for executable files. Don't use a zero-byte file,
11850 # as systems may use methods other than mode bits to determine executability.
11851 cat >conf$$.file <<_ASEOF
11852 #! /bin/sh
11853 exit 0
11854 _ASEOF
11855 chmod +x conf$$.file
11856 if test -x conf$$.file >/dev/null 2>&1; then
11857   ac_executable_p="test -x"
11858 else
11859   ac_executable_p="test -f"
11860 fi
11861 rm -f conf$$.file
11862
11863 # Extract the first word of "msgfmt", so it can be a program name with args.
11864 set dummy msgfmt; ac_word=$2
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11866 $as_echo_n "checking for $ac_word... " >&6; }
11867 if ${ac_cv_path_MSGFMT+:} false; then :
11868   $as_echo_n "(cached) " >&6
11869 else
11870   case "$MSGFMT" in
11871   [\\/]* | ?:[\\/]*)
11872     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11873     ;;
11874   *)
11875     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11876     for ac_dir in $PATH; do
11877       IFS="$ac_save_IFS"
11878       test -z "$ac_dir" && ac_dir=.
11879       for ac_exec_ext in '' $ac_executable_extensions; do
11880         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11881           echo "$as_me: trying $ac_dir/$ac_word..." >&5
11882           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
11883      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11884             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11885             break 2
11886           fi
11887         fi
11888       done
11889     done
11890     IFS="$ac_save_IFS"
11891   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11892     ;;
11893 esac
11894 fi
11895 MSGFMT="$ac_cv_path_MSGFMT"
11896 if test "$MSGFMT" != ":"; then
11897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11898 $as_echo "$MSGFMT" >&6; }
11899 else
11900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11901 $as_echo "no" >&6; }
11902 fi
11903
11904   # Extract the first word of "gmsgfmt", so it can be a program name with args.
11905 set dummy gmsgfmt; ac_word=$2
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11907 $as_echo_n "checking for $ac_word... " >&6; }
11908 if ${ac_cv_path_GMSGFMT+:} false; then :
11909   $as_echo_n "(cached) " >&6
11910 else
11911   case $GMSGFMT in
11912   [\\/]* | ?:[\\/]*)
11913   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11914   ;;
11915   *)
11916   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11917 for as_dir in $PATH
11918 do
11919   IFS=$as_save_IFS
11920   test -z "$as_dir" && as_dir=.
11921     for ac_exec_ext in '' $ac_executable_extensions; do
11922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11923     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11925     break 2
11926   fi
11927 done
11928   done
11929 IFS=$as_save_IFS
11930
11931   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11932   ;;
11933 esac
11934 fi
11935 GMSGFMT=$ac_cv_path_GMSGFMT
11936 if test -n "$GMSGFMT"; then
11937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11938 $as_echo "$GMSGFMT" >&6; }
11939 else
11940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11941 $as_echo "no" >&6; }
11942 fi
11943
11944
11945
11946     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11947     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
11948     *) MSGFMT_015=$MSGFMT ;;
11949   esac
11950
11951   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11952     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
11953     *) GMSGFMT_015=$GMSGFMT ;;
11954   esac
11955
11956
11957
11958 # Prepare PATH_SEPARATOR.
11959 # The user is always right.
11960 if test "${PATH_SEPARATOR+set}" != set; then
11961   echo "#! /bin/sh" >conf$$.sh
11962   echo  "exit 0"   >>conf$$.sh
11963   chmod +x conf$$.sh
11964   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11965     PATH_SEPARATOR=';'
11966   else
11967     PATH_SEPARATOR=:
11968   fi
11969   rm -f conf$$.sh
11970 fi
11971
11972 # Find out how to test for executable files. Don't use a zero-byte file,
11973 # as systems may use methods other than mode bits to determine executability.
11974 cat >conf$$.file <<_ASEOF
11975 #! /bin/sh
11976 exit 0
11977 _ASEOF
11978 chmod +x conf$$.file
11979 if test -x conf$$.file >/dev/null 2>&1; then
11980   ac_executable_p="test -x"
11981 else
11982   ac_executable_p="test -f"
11983 fi
11984 rm -f conf$$.file
11985
11986 # Extract the first word of "xgettext", so it can be a program name with args.
11987 set dummy xgettext; ac_word=$2
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11989 $as_echo_n "checking for $ac_word... " >&6; }
11990 if ${ac_cv_path_XGETTEXT+:} false; then :
11991   $as_echo_n "(cached) " >&6
11992 else
11993   case "$XGETTEXT" in
11994   [\\/]* | ?:[\\/]*)
11995     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11996     ;;
11997   *)
11998     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11999     for ac_dir in $PATH; do
12000       IFS="$ac_save_IFS"
12001       test -z "$ac_dir" && ac_dir=.
12002       for ac_exec_ext in '' $ac_executable_extensions; do
12003         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12004           echo "$as_me: trying $ac_dir/$ac_word..." >&5
12005           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12006      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12007             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12008             break 2
12009           fi
12010         fi
12011       done
12012     done
12013     IFS="$ac_save_IFS"
12014   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12015     ;;
12016 esac
12017 fi
12018 XGETTEXT="$ac_cv_path_XGETTEXT"
12019 if test "$XGETTEXT" != ":"; then
12020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12021 $as_echo "$XGETTEXT" >&6; }
12022 else
12023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12024 $as_echo "no" >&6; }
12025 fi
12026
12027     rm -f messages.po
12028
12029     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12030     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12031     *) XGETTEXT_015=$XGETTEXT ;;
12032   esac
12033
12034
12035
12036 # Prepare PATH_SEPARATOR.
12037 # The user is always right.
12038 if test "${PATH_SEPARATOR+set}" != set; then
12039   echo "#! /bin/sh" >conf$$.sh
12040   echo  "exit 0"   >>conf$$.sh
12041   chmod +x conf$$.sh
12042   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12043     PATH_SEPARATOR=';'
12044   else
12045     PATH_SEPARATOR=:
12046   fi
12047   rm -f conf$$.sh
12048 fi
12049
12050 # Find out how to test for executable files. Don't use a zero-byte file,
12051 # as systems may use methods other than mode bits to determine executability.
12052 cat >conf$$.file <<_ASEOF
12053 #! /bin/sh
12054 exit 0
12055 _ASEOF
12056 chmod +x conf$$.file
12057 if test -x conf$$.file >/dev/null 2>&1; then
12058   ac_executable_p="test -x"
12059 else
12060   ac_executable_p="test -f"
12061 fi
12062 rm -f conf$$.file
12063
12064 # Extract the first word of "msgmerge", so it can be a program name with args.
12065 set dummy msgmerge; ac_word=$2
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12067 $as_echo_n "checking for $ac_word... " >&6; }
12068 if ${ac_cv_path_MSGMERGE+:} false; then :
12069   $as_echo_n "(cached) " >&6
12070 else
12071   case "$MSGMERGE" in
12072   [\\/]* | ?:[\\/]*)
12073     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12074     ;;
12075   *)
12076     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12077     for ac_dir in $PATH; do
12078       IFS="$ac_save_IFS"
12079       test -z "$ac_dir" && ac_dir=.
12080       for ac_exec_ext in '' $ac_executable_extensions; do
12081         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12082           echo "$as_me: trying $ac_dir/$ac_word..." >&5
12083           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12084             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12085             break 2
12086           fi
12087         fi
12088       done
12089     done
12090     IFS="$ac_save_IFS"
12091   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12092     ;;
12093 esac
12094 fi
12095 MSGMERGE="$ac_cv_path_MSGMERGE"
12096 if test "$MSGMERGE" != ":"; then
12097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12098 $as_echo "$MSGMERGE" >&6; }
12099 else
12100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12101 $as_echo "no" >&6; }
12102 fi
12103
12104
12105         test -n "$localedir" || localedir='${datadir}/locale'
12106
12107
12108     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12109
12110
12111   ac_config_commands="$ac_config_commands po-directories"
12112
12113
12114
12115       if test "X$prefix" = "XNONE"; then
12116     acl_final_prefix="$ac_default_prefix"
12117   else
12118     acl_final_prefix="$prefix"
12119   fi
12120   if test "X$exec_prefix" = "XNONE"; then
12121     acl_final_exec_prefix='${prefix}'
12122   else
12123     acl_final_exec_prefix="$exec_prefix"
12124   fi
12125   acl_save_prefix="$prefix"
12126   prefix="$acl_final_prefix"
12127   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12128   prefix="$acl_save_prefix"
12129
12130
12131 # Check whether --with-gnu-ld was given.
12132 if test "${with_gnu_ld+set}" = set; then :
12133   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12134 else
12135   with_gnu_ld=no
12136 fi
12137
12138 # Prepare PATH_SEPARATOR.
12139 # The user is always right.
12140 if test "${PATH_SEPARATOR+set}" != set; then
12141   echo "#! /bin/sh" >conf$$.sh
12142   echo  "exit 0"   >>conf$$.sh
12143   chmod +x conf$$.sh
12144   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12145     PATH_SEPARATOR=';'
12146   else
12147     PATH_SEPARATOR=:
12148   fi
12149   rm -f conf$$.sh
12150 fi
12151 ac_prog=ld
12152 if test "$GCC" = yes; then
12153   # Check if gcc -print-prog-name=ld gives a path.
12154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12155 $as_echo_n "checking for ld used by GCC... " >&6; }
12156   case $host in
12157   *-*-mingw*)
12158     # gcc leaves a trailing carriage return which upsets mingw
12159     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12160   *)
12161     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12162   esac
12163   case $ac_prog in
12164     # Accept absolute paths.
12165     [\\/]* | [A-Za-z]:[\\/]*)
12166       re_direlt='/[^/][^/]*/\.\./'
12167       # Canonicalize the path of ld
12168       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12169       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12170         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12171       done
12172       test -z "$LD" && LD="$ac_prog"
12173       ;;
12174   "")
12175     # If it fails, then pretend we aren't using GCC.
12176     ac_prog=ld
12177     ;;
12178   *)
12179     # If it is relative, then search for the first ld in PATH.
12180     with_gnu_ld=unknown
12181     ;;
12182   esac
12183 elif test "$with_gnu_ld" = yes; then
12184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12185 $as_echo_n "checking for GNU ld... " >&6; }
12186 else
12187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12188 $as_echo_n "checking for non-GNU ld... " >&6; }
12189 fi
12190 if ${acl_cv_path_LD+:} false; then :
12191   $as_echo_n "(cached) " >&6
12192 else
12193   if test -z "$LD"; then
12194   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12195   for ac_dir in $PATH; do
12196     test -z "$ac_dir" && ac_dir=.
12197     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12198       acl_cv_path_LD="$ac_dir/$ac_prog"
12199       # Check to see if the program is GNU ld.  I'd rather use --version,
12200       # but apparently some GNU ld's only accept -v.
12201       # Break only if it was the GNU/non-GNU ld that we prefer.
12202       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12203       *GNU* | *'with BFD'*)
12204         test "$with_gnu_ld" != no && break ;;
12205       *)
12206         test "$with_gnu_ld" != yes && break ;;
12207       esac
12208     fi
12209   done
12210   IFS="$ac_save_ifs"
12211 else
12212   acl_cv_path_LD="$LD" # Let the user override the test with a path.
12213 fi
12214 fi
12215
12216 LD="$acl_cv_path_LD"
12217 if test -n "$LD"; then
12218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12219 $as_echo "$LD" >&6; }
12220 else
12221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12222 $as_echo "no" >&6; }
12223 fi
12224 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12226 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12227 if ${acl_cv_prog_gnu_ld+:} false; then :
12228   $as_echo_n "(cached) " >&6
12229 else
12230   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12231 case `$LD -v 2>&1 </dev/null` in
12232 *GNU* | *'with BFD'*)
12233   acl_cv_prog_gnu_ld=yes ;;
12234 *)
12235   acl_cv_prog_gnu_ld=no ;;
12236 esac
12237 fi
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12239 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12240 with_gnu_ld=$acl_cv_prog_gnu_ld
12241
12242
12243
12244
12245                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12246 $as_echo_n "checking for shared library run path origin... " >&6; }
12247 if ${acl_cv_rpath+:} false; then :
12248   $as_echo_n "(cached) " >&6
12249 else
12250
12251     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12252     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12253     . ./conftest.sh
12254     rm -f ./conftest.sh
12255     acl_cv_rpath=done
12256
12257 fi
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12259 $as_echo "$acl_cv_rpath" >&6; }
12260   wl="$acl_cv_wl"
12261   acl_libext="$acl_cv_libext"
12262   acl_shlibext="$acl_cv_shlibext"
12263   acl_libname_spec="$acl_cv_libname_spec"
12264   acl_library_names_spec="$acl_cv_library_names_spec"
12265   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12266   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12267   acl_hardcode_direct="$acl_cv_hardcode_direct"
12268   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12269     # Check whether --enable-rpath was given.
12270 if test "${enable_rpath+set}" = set; then :
12271   enableval=$enable_rpath; :
12272 else
12273   enable_rpath=yes
12274 fi
12275
12276
12277
12278                   acl_libdirstem=lib
12279   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12280   if test -n "$searchpath"; then
12281     acl_save_IFS="${IFS=        }"; IFS=":"
12282     for searchdir in $searchpath; do
12283       if test -d "$searchdir"; then
12284         case "$searchdir" in
12285           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12286           *) searchdir=`cd "$searchdir" && pwd`
12287              case "$searchdir" in
12288                */lib64 ) acl_libdirstem=lib64 ;;
12289              esac ;;
12290         esac
12291       fi
12292     done
12293     IFS="$acl_save_IFS"
12294   fi
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304     use_additional=yes
12305
12306   acl_save_prefix="$prefix"
12307   prefix="$acl_final_prefix"
12308   acl_save_exec_prefix="$exec_prefix"
12309   exec_prefix="$acl_final_exec_prefix"
12310
12311     eval additional_includedir=\"$includedir\"
12312     eval additional_libdir=\"$libdir\"
12313
12314   exec_prefix="$acl_save_exec_prefix"
12315   prefix="$acl_save_prefix"
12316
12317
12318 # Check whether --with-libiconv-prefix was given.
12319 if test "${with_libiconv_prefix+set}" = set; then :
12320   withval=$with_libiconv_prefix;
12321     if test "X$withval" = "Xno"; then
12322       use_additional=no
12323     else
12324       if test "X$withval" = "X"; then
12325
12326   acl_save_prefix="$prefix"
12327   prefix="$acl_final_prefix"
12328   acl_save_exec_prefix="$exec_prefix"
12329   exec_prefix="$acl_final_exec_prefix"
12330
12331           eval additional_includedir=\"$includedir\"
12332           eval additional_libdir=\"$libdir\"
12333
12334   exec_prefix="$acl_save_exec_prefix"
12335   prefix="$acl_save_prefix"
12336
12337       else
12338         additional_includedir="$withval/include"
12339         additional_libdir="$withval/$acl_libdirstem"
12340       fi
12341     fi
12342
12343 fi
12344
12345       LIBICONV=
12346   LTLIBICONV=
12347   INCICONV=
12348   LIBICONV_PREFIX=
12349   rpathdirs=
12350   ltrpathdirs=
12351   names_already_handled=
12352   names_next_round='iconv '
12353   while test -n "$names_next_round"; do
12354     names_this_round="$names_next_round"
12355     names_next_round=
12356     for name in $names_this_round; do
12357       already_handled=
12358       for n in $names_already_handled; do
12359         if test "$n" = "$name"; then
12360           already_handled=yes
12361           break
12362         fi
12363       done
12364       if test -z "$already_handled"; then
12365         names_already_handled="$names_already_handled $name"
12366                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12367         eval value=\"\$HAVE_LIB$uppername\"
12368         if test -n "$value"; then
12369           if test "$value" = yes; then
12370             eval value=\"\$LIB$uppername\"
12371             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12372             eval value=\"\$LTLIB$uppername\"
12373             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12374           else
12375                                     :
12376           fi
12377         else
12378                               found_dir=
12379           found_la=
12380           found_so=
12381           found_a=
12382           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
12383           if test -n "$acl_shlibext"; then
12384             shrext=".$acl_shlibext"             # typically: shrext=.so
12385           else
12386             shrext=
12387           fi
12388           if test $use_additional = yes; then
12389             dir="$additional_libdir"
12390                                     if test -n "$acl_shlibext"; then
12391               if test -f "$dir/$libname$shrext"; then
12392                 found_dir="$dir"
12393                 found_so="$dir/$libname$shrext"
12394               else
12395                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12396                   ver=`(cd "$dir" && \
12397                         for f in "$libname$shrext".*; do echo "$f"; done \
12398                         | sed -e "s,^$libname$shrext\\\\.,," \
12399                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12400                         | sed 1q ) 2>/dev/null`
12401                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12402                     found_dir="$dir"
12403                     found_so="$dir/$libname$shrext.$ver"
12404                   fi
12405                 else
12406                   eval library_names=\"$acl_library_names_spec\"
12407                   for f in $library_names; do
12408                     if test -f "$dir/$f"; then
12409                       found_dir="$dir"
12410                       found_so="$dir/$f"
12411                       break
12412                     fi
12413                   done
12414                 fi
12415               fi
12416             fi
12417                         if test "X$found_dir" = "X"; then
12418               if test -f "$dir/$libname.$acl_libext"; then
12419                 found_dir="$dir"
12420                 found_a="$dir/$libname.$acl_libext"
12421               fi
12422             fi
12423             if test "X$found_dir" != "X"; then
12424               if test -f "$dir/$libname.la"; then
12425                 found_la="$dir/$libname.la"
12426               fi
12427             fi
12428           fi
12429           if test "X$found_dir" = "X"; then
12430             for x in $LDFLAGS $LTLIBICONV; do
12431
12432   acl_save_prefix="$prefix"
12433   prefix="$acl_final_prefix"
12434   acl_save_exec_prefix="$exec_prefix"
12435   exec_prefix="$acl_final_exec_prefix"
12436   eval x=\"$x\"
12437   exec_prefix="$acl_save_exec_prefix"
12438   prefix="$acl_save_prefix"
12439
12440               case "$x" in
12441                 -L*)
12442                   dir=`echo "X$x" | sed -e 's/^X-L//'`
12443                                     if test -n "$acl_shlibext"; then
12444                     if test -f "$dir/$libname$shrext"; then
12445                       found_dir="$dir"
12446                       found_so="$dir/$libname$shrext"
12447                     else
12448                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12449                         ver=`(cd "$dir" && \
12450                               for f in "$libname$shrext".*; do echo "$f"; done \
12451                               | sed -e "s,^$libname$shrext\\\\.,," \
12452                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12453                               | sed 1q ) 2>/dev/null`
12454                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12455                           found_dir="$dir"
12456                           found_so="$dir/$libname$shrext.$ver"
12457                         fi
12458                       else
12459                         eval library_names=\"$acl_library_names_spec\"
12460                         for f in $library_names; do
12461                           if test -f "$dir/$f"; then
12462                             found_dir="$dir"
12463                             found_so="$dir/$f"
12464                             break
12465                           fi
12466                         done
12467                       fi
12468                     fi
12469                   fi
12470                                     if test "X$found_dir" = "X"; then
12471                     if test -f "$dir/$libname.$acl_libext"; then
12472                       found_dir="$dir"
12473                       found_a="$dir/$libname.$acl_libext"
12474                     fi
12475                   fi
12476                   if test "X$found_dir" != "X"; then
12477                     if test -f "$dir/$libname.la"; then
12478                       found_la="$dir/$libname.la"
12479                     fi
12480                   fi
12481                   ;;
12482               esac
12483               if test "X$found_dir" != "X"; then
12484                 break
12485               fi
12486             done
12487           fi
12488           if test "X$found_dir" != "X"; then
12489                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12490             if test "X$found_so" != "X"; then
12491                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12492                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12493               else
12494                                                                                 haveit=
12495                 for x in $ltrpathdirs; do
12496                   if test "X$x" = "X$found_dir"; then
12497                     haveit=yes
12498                     break
12499                   fi
12500                 done
12501                 if test -z "$haveit"; then
12502                   ltrpathdirs="$ltrpathdirs $found_dir"
12503                 fi
12504                                 if test "$acl_hardcode_direct" = yes; then
12505                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12506                 else
12507                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12508                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12509                                                             haveit=
12510                     for x in $rpathdirs; do
12511                       if test "X$x" = "X$found_dir"; then
12512                         haveit=yes
12513                         break
12514                       fi
12515                     done
12516                     if test -z "$haveit"; then
12517                       rpathdirs="$rpathdirs $found_dir"
12518                     fi
12519                   else
12520                                                                                 haveit=
12521                     for x in $LDFLAGS $LIBICONV; do
12522
12523   acl_save_prefix="$prefix"
12524   prefix="$acl_final_prefix"
12525   acl_save_exec_prefix="$exec_prefix"
12526   exec_prefix="$acl_final_exec_prefix"
12527   eval x=\"$x\"
12528   exec_prefix="$acl_save_exec_prefix"
12529   prefix="$acl_save_prefix"
12530
12531                       if test "X$x" = "X-L$found_dir"; then
12532                         haveit=yes
12533                         break
12534                       fi
12535                     done
12536                     if test -z "$haveit"; then
12537                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12538                     fi
12539                     if test "$acl_hardcode_minus_L" != no; then
12540                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12541                     else
12542                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12543                     fi
12544                   fi
12545                 fi
12546               fi
12547             else
12548               if test "X$found_a" != "X"; then
12549                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12550               else
12551                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12552               fi
12553             fi
12554                         additional_includedir=
12555             case "$found_dir" in
12556               */$acl_libdirstem | */$acl_libdirstem/)
12557                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12558                 LIBICONV_PREFIX="$basedir"
12559                 additional_includedir="$basedir/include"
12560                 ;;
12561             esac
12562             if test "X$additional_includedir" != "X"; then
12563                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
12564                 haveit=
12565                 if test "X$additional_includedir" = "X/usr/local/include"; then
12566                   if test -n "$GCC"; then
12567                     case $host_os in
12568                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12569                     esac
12570                   fi
12571                 fi
12572                 if test -z "$haveit"; then
12573                   for x in $CPPFLAGS $INCICONV; do
12574
12575   acl_save_prefix="$prefix"
12576   prefix="$acl_final_prefix"
12577   acl_save_exec_prefix="$exec_prefix"
12578   exec_prefix="$acl_final_exec_prefix"
12579   eval x=\"$x\"
12580   exec_prefix="$acl_save_exec_prefix"
12581   prefix="$acl_save_prefix"
12582
12583                     if test "X$x" = "X-I$additional_includedir"; then
12584                       haveit=yes
12585                       break
12586                     fi
12587                   done
12588                   if test -z "$haveit"; then
12589                     if test -d "$additional_includedir"; then
12590                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12591                     fi
12592                   fi
12593                 fi
12594               fi
12595             fi
12596                         if test -n "$found_la"; then
12597                                                         save_libdir="$libdir"
12598               case "$found_la" in
12599                 */* | *\\*) . "$found_la" ;;
12600                 *) . "./$found_la" ;;
12601               esac
12602               libdir="$save_libdir"
12603                             for dep in $dependency_libs; do
12604                 case "$dep" in
12605                   -L*)
12606                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12607                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12608                       haveit=
12609                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12610                         if test -n "$GCC"; then
12611                           case $host_os in
12612                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12613                           esac
12614                         fi
12615                       fi
12616                       if test -z "$haveit"; then
12617                         haveit=
12618                         for x in $LDFLAGS $LIBICONV; do
12619
12620   acl_save_prefix="$prefix"
12621   prefix="$acl_final_prefix"
12622   acl_save_exec_prefix="$exec_prefix"
12623   exec_prefix="$acl_final_exec_prefix"
12624   eval x=\"$x\"
12625   exec_prefix="$acl_save_exec_prefix"
12626   prefix="$acl_save_prefix"
12627
12628                           if test "X$x" = "X-L$additional_libdir"; then
12629                             haveit=yes
12630                             break
12631                           fi
12632                         done
12633                         if test -z "$haveit"; then
12634                           if test -d "$additional_libdir"; then
12635                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12636                           fi
12637                         fi
12638                         haveit=
12639                         for x in $LDFLAGS $LTLIBICONV; do
12640
12641   acl_save_prefix="$prefix"
12642   prefix="$acl_final_prefix"
12643   acl_save_exec_prefix="$exec_prefix"
12644   exec_prefix="$acl_final_exec_prefix"
12645   eval x=\"$x\"
12646   exec_prefix="$acl_save_exec_prefix"
12647   prefix="$acl_save_prefix"
12648
12649                           if test "X$x" = "X-L$additional_libdir"; then
12650                             haveit=yes
12651                             break
12652                           fi
12653                         done
12654                         if test -z "$haveit"; then
12655                           if test -d "$additional_libdir"; then
12656                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12657                           fi
12658                         fi
12659                       fi
12660                     fi
12661                     ;;
12662                   -R*)
12663                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
12664                     if test "$enable_rpath" != no; then
12665                                                                   haveit=
12666                       for x in $rpathdirs; do
12667                         if test "X$x" = "X$dir"; then
12668                           haveit=yes
12669                           break
12670                         fi
12671                       done
12672                       if test -z "$haveit"; then
12673                         rpathdirs="$rpathdirs $dir"
12674                       fi
12675                                                                   haveit=
12676                       for x in $ltrpathdirs; do
12677                         if test "X$x" = "X$dir"; then
12678                           haveit=yes
12679                           break
12680                         fi
12681                       done
12682                       if test -z "$haveit"; then
12683                         ltrpathdirs="$ltrpathdirs $dir"
12684                       fi
12685                     fi
12686                     ;;
12687                   -l*)
12688                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12689                     ;;
12690                   *.la)
12691                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12692                     ;;
12693                   *)
12694                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12695                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12696                     ;;
12697                 esac
12698               done
12699             fi
12700           else
12701                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12702             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12703           fi
12704         fi
12705       fi
12706     done
12707   done
12708   if test "X$rpathdirs" != "X"; then
12709     if test -n "$acl_hardcode_libdir_separator"; then
12710                         alldirs=
12711       for found_dir in $rpathdirs; do
12712         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12713       done
12714             acl_save_libdir="$libdir"
12715       libdir="$alldirs"
12716       eval flag=\"$acl_hardcode_libdir_flag_spec\"
12717       libdir="$acl_save_libdir"
12718       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12719     else
12720             for found_dir in $rpathdirs; do
12721         acl_save_libdir="$libdir"
12722         libdir="$found_dir"
12723         eval flag=\"$acl_hardcode_libdir_flag_spec\"
12724         libdir="$acl_save_libdir"
12725         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12726       done
12727     fi
12728   fi
12729   if test "X$ltrpathdirs" != "X"; then
12730             for found_dir in $ltrpathdirs; do
12731       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12732     done
12733   fi
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12760 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12761 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
12762   $as_echo_n "(cached) " >&6
12763 else
12764   gt_save_LIBS="$LIBS"
12765      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12766      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h.  */
12768 #include <CoreFoundation/CFPreferences.h>
12769 int
12770 main ()
12771 {
12772 CFPreferencesCopyAppValue(NULL, NULL)
12773   ;
12774   return 0;
12775 }
12776 _ACEOF
12777 if ac_fn_c_try_link "$LINENO"; then :
12778   gt_cv_func_CFPreferencesCopyAppValue=yes
12779 else
12780   gt_cv_func_CFPreferencesCopyAppValue=no
12781 fi
12782 rm -f core conftest.err conftest.$ac_objext \
12783     conftest$ac_exeext conftest.$ac_ext
12784      LIBS="$gt_save_LIBS"
12785 fi
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12787 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12788   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12789
12790 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12791
12792   fi
12793     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12794 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12795 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
12796   $as_echo_n "(cached) " >&6
12797 else
12798   gt_save_LIBS="$LIBS"
12799      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12800      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12801 /* end confdefs.h.  */
12802 #include <CoreFoundation/CFLocale.h>
12803 int
12804 main ()
12805 {
12806 CFLocaleCopyCurrent();
12807   ;
12808   return 0;
12809 }
12810 _ACEOF
12811 if ac_fn_c_try_link "$LINENO"; then :
12812   gt_cv_func_CFLocaleCopyCurrent=yes
12813 else
12814   gt_cv_func_CFLocaleCopyCurrent=no
12815 fi
12816 rm -f core conftest.err conftest.$ac_objext \
12817     conftest$ac_exeext conftest.$ac_ext
12818      LIBS="$gt_save_LIBS"
12819 fi
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12821 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12822   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12823
12824 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12825
12826   fi
12827   INTL_MACOSX_LIBS=
12828   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12829     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12830   fi
12831
12832
12833
12834
12835
12836
12837   LIBINTL=
12838   LTLIBINTL=
12839   POSUB=
12840
12841     case " $gt_needs " in
12842     *" need-formatstring-macros "*) gt_api_version=3 ;;
12843     *" need-ngettext "*) gt_api_version=2 ;;
12844     *) gt_api_version=1 ;;
12845   esac
12846   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12847   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12848
12849     if test "$USE_NLS" = "yes"; then
12850     gt_use_preinstalled_gnugettext=no
12851
12852
12853         if test $gt_api_version -ge 3; then
12854           gt_revision_test_code='
12855 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12856 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12857 #endif
12858 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12859 '
12860         else
12861           gt_revision_test_code=
12862         fi
12863         if test $gt_api_version -ge 2; then
12864           gt_expression_test_code=' + * ngettext ("", "", 0)'
12865         else
12866           gt_expression_test_code=
12867         fi
12868
12869         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12870 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12871 if eval \${$gt_func_gnugettext_libc+:} false; then :
12872   $as_echo_n "(cached) " >&6
12873 else
12874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h.  */
12876 #include <libintl.h>
12877 $gt_revision_test_code
12878 extern int _nl_msg_cat_cntr;
12879 extern int *_nl_domain_bindings;
12880 int
12881 main ()
12882 {
12883 bindtextdomain ("", "");
12884 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12885   ;
12886   return 0;
12887 }
12888 _ACEOF
12889 if ac_fn_c_try_link "$LINENO"; then :
12890   eval "$gt_func_gnugettext_libc=yes"
12891 else
12892   eval "$gt_func_gnugettext_libc=no"
12893 fi
12894 rm -f core conftest.err conftest.$ac_objext \
12895     conftest$ac_exeext conftest.$ac_ext
12896 fi
12897 eval ac_res=\$$gt_func_gnugettext_libc
12898                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12899 $as_echo "$ac_res" >&6; }
12900
12901         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12902
12903
12904
12905
12906
12907           am_save_CPPFLAGS="$CPPFLAGS"
12908
12909   for element in $INCICONV; do
12910     haveit=
12911     for x in $CPPFLAGS; do
12912
12913   acl_save_prefix="$prefix"
12914   prefix="$acl_final_prefix"
12915   acl_save_exec_prefix="$exec_prefix"
12916   exec_prefix="$acl_final_exec_prefix"
12917   eval x=\"$x\"
12918   exec_prefix="$acl_save_exec_prefix"
12919   prefix="$acl_save_prefix"
12920
12921       if test "X$x" = "X$element"; then
12922         haveit=yes
12923         break
12924       fi
12925     done
12926     if test -z "$haveit"; then
12927       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12928     fi
12929   done
12930
12931
12932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12933 $as_echo_n "checking for iconv... " >&6; }
12934 if ${am_cv_func_iconv+:} false; then :
12935   $as_echo_n "(cached) " >&6
12936 else
12937
12938     am_cv_func_iconv="no, consider installing GNU libiconv"
12939     am_cv_lib_iconv=no
12940     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h.  */
12942 #include <stdlib.h>
12943 #include <iconv.h>
12944 int
12945 main ()
12946 {
12947 iconv_t cd = iconv_open("","");
12948        iconv(cd,NULL,NULL,NULL,NULL);
12949        iconv_close(cd);
12950   ;
12951   return 0;
12952 }
12953 _ACEOF
12954 if ac_fn_c_try_link "$LINENO"; then :
12955   am_cv_func_iconv=yes
12956 fi
12957 rm -f core conftest.err conftest.$ac_objext \
12958     conftest$ac_exeext conftest.$ac_ext
12959     if test "$am_cv_func_iconv" != yes; then
12960       am_save_LIBS="$LIBS"
12961       LIBS="$LIBS $LIBICONV"
12962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12963 /* end confdefs.h.  */
12964 #include <stdlib.h>
12965 #include <iconv.h>
12966 int
12967 main ()
12968 {
12969 iconv_t cd = iconv_open("","");
12970          iconv(cd,NULL,NULL,NULL,NULL);
12971          iconv_close(cd);
12972   ;
12973   return 0;
12974 }
12975 _ACEOF
12976 if ac_fn_c_try_link "$LINENO"; then :
12977   am_cv_lib_iconv=yes
12978         am_cv_func_iconv=yes
12979 fi
12980 rm -f core conftest.err conftest.$ac_objext \
12981     conftest$ac_exeext conftest.$ac_ext
12982       LIBS="$am_save_LIBS"
12983     fi
12984
12985 fi
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12987 $as_echo "$am_cv_func_iconv" >&6; }
12988   if test "$am_cv_func_iconv" = yes; then
12989     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
12990 $as_echo_n "checking for working iconv... " >&6; }
12991 if ${am_cv_func_iconv_works+:} false; then :
12992   $as_echo_n "(cached) " >&6
12993 else
12994
12995             am_save_LIBS="$LIBS"
12996       if test $am_cv_lib_iconv = yes; then
12997         LIBS="$LIBS $LIBICONV"
12998       fi
12999       if test "$cross_compiling" = yes; then :
13000   case "$host_os" in
13001            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13002            *)            am_cv_func_iconv_works="guessing yes" ;;
13003          esac
13004 else
13005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h.  */
13007
13008 #include <iconv.h>
13009 #include <string.h>
13010 int main ()
13011 {
13012   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13013      returns.  */
13014   {
13015     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13016     if (cd_utf8_to_88591 != (iconv_t)(-1))
13017       {
13018         static const char input[] = "\342\202\254"; /* EURO SIGN */
13019         char buf[10];
13020         const char *inptr = input;
13021         size_t inbytesleft = strlen (input);
13022         char *outptr = buf;
13023         size_t outbytesleft = sizeof (buf);
13024         size_t res = iconv (cd_utf8_to_88591,
13025                             (char **) &inptr, &inbytesleft,
13026                             &outptr, &outbytesleft);
13027         if (res == 0)
13028           return 1;
13029       }
13030   }
13031 #if 0 /* This bug could be worked around by the caller.  */
13032   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
13033   {
13034     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13035     if (cd_88591_to_utf8 != (iconv_t)(-1))
13036       {
13037         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13038         char buf[50];
13039         const char *inptr = input;
13040         size_t inbytesleft = strlen (input);
13041         char *outptr = buf;
13042         size_t outbytesleft = sizeof (buf);
13043         size_t res = iconv (cd_88591_to_utf8,
13044                             (char **) &inptr, &inbytesleft,
13045                             &outptr, &outbytesleft);
13046         if ((int)res > 0)
13047           return 1;
13048       }
13049   }
13050 #endif
13051   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13052      provided.  */
13053   if (/* Try standardized names.  */
13054       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13055       /* Try IRIX, OSF/1 names.  */
13056       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13057       /* Try AIX names.  */
13058       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13059       /* Try HP-UX names.  */
13060       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13061     return 1;
13062   return 0;
13063 }
13064 _ACEOF
13065 if ac_fn_c_try_run "$LINENO"; then :
13066   am_cv_func_iconv_works=yes
13067 else
13068   am_cv_func_iconv_works=no
13069 fi
13070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13071   conftest.$ac_objext conftest.beam conftest.$ac_ext
13072 fi
13073
13074       LIBS="$am_save_LIBS"
13075
13076 fi
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13078 $as_echo "$am_cv_func_iconv_works" >&6; }
13079     case "$am_cv_func_iconv_works" in
13080       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13081       *)   am_func_iconv=yes ;;
13082     esac
13083   else
13084     am_func_iconv=no am_cv_lib_iconv=no
13085   fi
13086   if test "$am_func_iconv" = yes; then
13087
13088 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13089
13090   fi
13091   if test "$am_cv_lib_iconv" = yes; then
13092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13093 $as_echo_n "checking how to link with libiconv... " >&6; }
13094     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13095 $as_echo "$LIBICONV" >&6; }
13096   else
13097             CPPFLAGS="$am_save_CPPFLAGS"
13098     LIBICONV=
13099     LTLIBICONV=
13100   fi
13101
13102
13103
13104
13105
13106
13107
13108
13109     use_additional=yes
13110
13111   acl_save_prefix="$prefix"
13112   prefix="$acl_final_prefix"
13113   acl_save_exec_prefix="$exec_prefix"
13114   exec_prefix="$acl_final_exec_prefix"
13115
13116     eval additional_includedir=\"$includedir\"
13117     eval additional_libdir=\"$libdir\"
13118
13119   exec_prefix="$acl_save_exec_prefix"
13120   prefix="$acl_save_prefix"
13121
13122
13123 # Check whether --with-libintl-prefix was given.
13124 if test "${with_libintl_prefix+set}" = set; then :
13125   withval=$with_libintl_prefix;
13126     if test "X$withval" = "Xno"; then
13127       use_additional=no
13128     else
13129       if test "X$withval" = "X"; then
13130
13131   acl_save_prefix="$prefix"
13132   prefix="$acl_final_prefix"
13133   acl_save_exec_prefix="$exec_prefix"
13134   exec_prefix="$acl_final_exec_prefix"
13135
13136           eval additional_includedir=\"$includedir\"
13137           eval additional_libdir=\"$libdir\"
13138
13139   exec_prefix="$acl_save_exec_prefix"
13140   prefix="$acl_save_prefix"
13141
13142       else
13143         additional_includedir="$withval/include"
13144         additional_libdir="$withval/$acl_libdirstem"
13145       fi
13146     fi
13147
13148 fi
13149
13150       LIBINTL=
13151   LTLIBINTL=
13152   INCINTL=
13153   LIBINTL_PREFIX=
13154   rpathdirs=
13155   ltrpathdirs=
13156   names_already_handled=
13157   names_next_round='intl '
13158   while test -n "$names_next_round"; do
13159     names_this_round="$names_next_round"
13160     names_next_round=
13161     for name in $names_this_round; do
13162       already_handled=
13163       for n in $names_already_handled; do
13164         if test "$n" = "$name"; then
13165           already_handled=yes
13166           break
13167         fi
13168       done
13169       if test -z "$already_handled"; then
13170         names_already_handled="$names_already_handled $name"
13171                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13172         eval value=\"\$HAVE_LIB$uppername\"
13173         if test -n "$value"; then
13174           if test "$value" = yes; then
13175             eval value=\"\$LIB$uppername\"
13176             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13177             eval value=\"\$LTLIB$uppername\"
13178             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13179           else
13180                                     :
13181           fi
13182         else
13183                               found_dir=
13184           found_la=
13185           found_so=
13186           found_a=
13187           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13188           if test -n "$acl_shlibext"; then
13189             shrext=".$acl_shlibext"             # typically: shrext=.so
13190           else
13191             shrext=
13192           fi
13193           if test $use_additional = yes; then
13194             dir="$additional_libdir"
13195                                     if test -n "$acl_shlibext"; then
13196               if test -f "$dir/$libname$shrext"; then
13197                 found_dir="$dir"
13198                 found_so="$dir/$libname$shrext"
13199               else
13200                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13201                   ver=`(cd "$dir" && \
13202                         for f in "$libname$shrext".*; do echo "$f"; done \
13203                         | sed -e "s,^$libname$shrext\\\\.,," \
13204                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13205                         | sed 1q ) 2>/dev/null`
13206                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13207                     found_dir="$dir"
13208                     found_so="$dir/$libname$shrext.$ver"
13209                   fi
13210                 else
13211                   eval library_names=\"$acl_library_names_spec\"
13212                   for f in $library_names; do
13213                     if test -f "$dir/$f"; then
13214                       found_dir="$dir"
13215                       found_so="$dir/$f"
13216                       break
13217                     fi
13218                   done
13219                 fi
13220               fi
13221             fi
13222                         if test "X$found_dir" = "X"; then
13223               if test -f "$dir/$libname.$acl_libext"; then
13224                 found_dir="$dir"
13225                 found_a="$dir/$libname.$acl_libext"
13226               fi
13227             fi
13228             if test "X$found_dir" != "X"; then
13229               if test -f "$dir/$libname.la"; then
13230                 found_la="$dir/$libname.la"
13231               fi
13232             fi
13233           fi
13234           if test "X$found_dir" = "X"; then
13235             for x in $LDFLAGS $LTLIBINTL; do
13236
13237   acl_save_prefix="$prefix"
13238   prefix="$acl_final_prefix"
13239   acl_save_exec_prefix="$exec_prefix"
13240   exec_prefix="$acl_final_exec_prefix"
13241   eval x=\"$x\"
13242   exec_prefix="$acl_save_exec_prefix"
13243   prefix="$acl_save_prefix"
13244
13245               case "$x" in
13246                 -L*)
13247                   dir=`echo "X$x" | sed -e 's/^X-L//'`
13248                                     if test -n "$acl_shlibext"; then
13249                     if test -f "$dir/$libname$shrext"; then
13250                       found_dir="$dir"
13251                       found_so="$dir/$libname$shrext"
13252                     else
13253                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13254                         ver=`(cd "$dir" && \
13255                               for f in "$libname$shrext".*; do echo "$f"; done \
13256                               | sed -e "s,^$libname$shrext\\\\.,," \
13257                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13258                               | sed 1q ) 2>/dev/null`
13259                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13260                           found_dir="$dir"
13261                           found_so="$dir/$libname$shrext.$ver"
13262                         fi
13263                       else
13264                         eval library_names=\"$acl_library_names_spec\"
13265                         for f in $library_names; do
13266                           if test -f "$dir/$f"; then
13267                             found_dir="$dir"
13268                             found_so="$dir/$f"
13269                             break
13270                           fi
13271                         done
13272                       fi
13273                     fi
13274                   fi
13275                                     if test "X$found_dir" = "X"; then
13276                     if test -f "$dir/$libname.$acl_libext"; then
13277                       found_dir="$dir"
13278                       found_a="$dir/$libname.$acl_libext"
13279                     fi
13280                   fi
13281                   if test "X$found_dir" != "X"; then
13282                     if test -f "$dir/$libname.la"; then
13283                       found_la="$dir/$libname.la"
13284                     fi
13285                   fi
13286                   ;;
13287               esac
13288               if test "X$found_dir" != "X"; then
13289                 break
13290               fi
13291             done
13292           fi
13293           if test "X$found_dir" != "X"; then
13294                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13295             if test "X$found_so" != "X"; then
13296                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13297                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13298               else
13299                                                                                 haveit=
13300                 for x in $ltrpathdirs; do
13301                   if test "X$x" = "X$found_dir"; then
13302                     haveit=yes
13303                     break
13304                   fi
13305                 done
13306                 if test -z "$haveit"; then
13307                   ltrpathdirs="$ltrpathdirs $found_dir"
13308                 fi
13309                                 if test "$acl_hardcode_direct" = yes; then
13310                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13311                 else
13312                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13313                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13314                                                             haveit=
13315                     for x in $rpathdirs; do
13316                       if test "X$x" = "X$found_dir"; then
13317                         haveit=yes
13318                         break
13319                       fi
13320                     done
13321                     if test -z "$haveit"; then
13322                       rpathdirs="$rpathdirs $found_dir"
13323                     fi
13324                   else
13325                                                                                 haveit=
13326                     for x in $LDFLAGS $LIBINTL; do
13327
13328   acl_save_prefix="$prefix"
13329   prefix="$acl_final_prefix"
13330   acl_save_exec_prefix="$exec_prefix"
13331   exec_prefix="$acl_final_exec_prefix"
13332   eval x=\"$x\"
13333   exec_prefix="$acl_save_exec_prefix"
13334   prefix="$acl_save_prefix"
13335
13336                       if test "X$x" = "X-L$found_dir"; then
13337                         haveit=yes
13338                         break
13339                       fi
13340                     done
13341                     if test -z "$haveit"; then
13342                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13343                     fi
13344                     if test "$acl_hardcode_minus_L" != no; then
13345                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13346                     else
13347                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13348                     fi
13349                   fi
13350                 fi
13351               fi
13352             else
13353               if test "X$found_a" != "X"; then
13354                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13355               else
13356                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13357               fi
13358             fi
13359                         additional_includedir=
13360             case "$found_dir" in
13361               */$acl_libdirstem | */$acl_libdirstem/)
13362                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13363                 LIBINTL_PREFIX="$basedir"
13364                 additional_includedir="$basedir/include"
13365                 ;;
13366             esac
13367             if test "X$additional_includedir" != "X"; then
13368                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13369                 haveit=
13370                 if test "X$additional_includedir" = "X/usr/local/include"; then
13371                   if test -n "$GCC"; then
13372                     case $host_os in
13373                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13374                     esac
13375                   fi
13376                 fi
13377                 if test -z "$haveit"; then
13378                   for x in $CPPFLAGS $INCINTL; do
13379
13380   acl_save_prefix="$prefix"
13381   prefix="$acl_final_prefix"
13382   acl_save_exec_prefix="$exec_prefix"
13383   exec_prefix="$acl_final_exec_prefix"
13384   eval x=\"$x\"
13385   exec_prefix="$acl_save_exec_prefix"
13386   prefix="$acl_save_prefix"
13387
13388                     if test "X$x" = "X-I$additional_includedir"; then
13389                       haveit=yes
13390                       break
13391                     fi
13392                   done
13393                   if test -z "$haveit"; then
13394                     if test -d "$additional_includedir"; then
13395                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13396                     fi
13397                   fi
13398                 fi
13399               fi
13400             fi
13401                         if test -n "$found_la"; then
13402                                                         save_libdir="$libdir"
13403               case "$found_la" in
13404                 */* | *\\*) . "$found_la" ;;
13405                 *) . "./$found_la" ;;
13406               esac
13407               libdir="$save_libdir"
13408                             for dep in $dependency_libs; do
13409                 case "$dep" in
13410                   -L*)
13411                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13412                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13413                       haveit=
13414                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13415                         if test -n "$GCC"; then
13416                           case $host_os in
13417                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13418                           esac
13419                         fi
13420                       fi
13421                       if test -z "$haveit"; then
13422                         haveit=
13423                         for x in $LDFLAGS $LIBINTL; do
13424
13425   acl_save_prefix="$prefix"
13426   prefix="$acl_final_prefix"
13427   acl_save_exec_prefix="$exec_prefix"
13428   exec_prefix="$acl_final_exec_prefix"
13429   eval x=\"$x\"
13430   exec_prefix="$acl_save_exec_prefix"
13431   prefix="$acl_save_prefix"
13432
13433                           if test "X$x" = "X-L$additional_libdir"; then
13434                             haveit=yes
13435                             break
13436                           fi
13437                         done
13438                         if test -z "$haveit"; then
13439                           if test -d "$additional_libdir"; then
13440                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13441                           fi
13442                         fi
13443                         haveit=
13444                         for x in $LDFLAGS $LTLIBINTL; do
13445
13446   acl_save_prefix="$prefix"
13447   prefix="$acl_final_prefix"
13448   acl_save_exec_prefix="$exec_prefix"
13449   exec_prefix="$acl_final_exec_prefix"
13450   eval x=\"$x\"
13451   exec_prefix="$acl_save_exec_prefix"
13452   prefix="$acl_save_prefix"
13453
13454                           if test "X$x" = "X-L$additional_libdir"; then
13455                             haveit=yes
13456                             break
13457                           fi
13458                         done
13459                         if test -z "$haveit"; then
13460                           if test -d "$additional_libdir"; then
13461                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13462                           fi
13463                         fi
13464                       fi
13465                     fi
13466                     ;;
13467                   -R*)
13468                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13469                     if test "$enable_rpath" != no; then
13470                                                                   haveit=
13471                       for x in $rpathdirs; do
13472                         if test "X$x" = "X$dir"; then
13473                           haveit=yes
13474                           break
13475                         fi
13476                       done
13477                       if test -z "$haveit"; then
13478                         rpathdirs="$rpathdirs $dir"
13479                       fi
13480                                                                   haveit=
13481                       for x in $ltrpathdirs; do
13482                         if test "X$x" = "X$dir"; then
13483                           haveit=yes
13484                           break
13485                         fi
13486                       done
13487                       if test -z "$haveit"; then
13488                         ltrpathdirs="$ltrpathdirs $dir"
13489                       fi
13490                     fi
13491                     ;;
13492                   -l*)
13493                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13494                     ;;
13495                   *.la)
13496                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13497                     ;;
13498                   *)
13499                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13500                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13501                     ;;
13502                 esac
13503               done
13504             fi
13505           else
13506                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13507             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13508           fi
13509         fi
13510       fi
13511     done
13512   done
13513   if test "X$rpathdirs" != "X"; then
13514     if test -n "$acl_hardcode_libdir_separator"; then
13515                         alldirs=
13516       for found_dir in $rpathdirs; do
13517         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13518       done
13519             acl_save_libdir="$libdir"
13520       libdir="$alldirs"
13521       eval flag=\"$acl_hardcode_libdir_flag_spec\"
13522       libdir="$acl_save_libdir"
13523       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13524     else
13525             for found_dir in $rpathdirs; do
13526         acl_save_libdir="$libdir"
13527         libdir="$found_dir"
13528         eval flag=\"$acl_hardcode_libdir_flag_spec\"
13529         libdir="$acl_save_libdir"
13530         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13531       done
13532     fi
13533   fi
13534   if test "X$ltrpathdirs" != "X"; then
13535             for found_dir in $ltrpathdirs; do
13536       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13537     done
13538   fi
13539
13540           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13541 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13542 if eval \${$gt_func_gnugettext_libintl+:} false; then :
13543   $as_echo_n "(cached) " >&6
13544 else
13545   gt_save_CPPFLAGS="$CPPFLAGS"
13546             CPPFLAGS="$CPPFLAGS $INCINTL"
13547             gt_save_LIBS="$LIBS"
13548             LIBS="$LIBS $LIBINTL"
13549                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13550 /* end confdefs.h.  */
13551 #include <libintl.h>
13552 $gt_revision_test_code
13553 extern int _nl_msg_cat_cntr;
13554 extern
13555 #ifdef __cplusplus
13556 "C"
13557 #endif
13558 const char *_nl_expand_alias (const char *);
13559 int
13560 main ()
13561 {
13562 bindtextdomain ("", "");
13563 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13564   ;
13565   return 0;
13566 }
13567 _ACEOF
13568 if ac_fn_c_try_link "$LINENO"; then :
13569   eval "$gt_func_gnugettext_libintl=yes"
13570 else
13571   eval "$gt_func_gnugettext_libintl=no"
13572 fi
13573 rm -f core conftest.err conftest.$ac_objext \
13574     conftest$ac_exeext conftest.$ac_ext
13575                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13576               LIBS="$LIBS $LIBICONV"
13577               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h.  */
13579 #include <libintl.h>
13580 $gt_revision_test_code
13581 extern int _nl_msg_cat_cntr;
13582 extern
13583 #ifdef __cplusplus
13584 "C"
13585 #endif
13586 const char *_nl_expand_alias (const char *);
13587 int
13588 main ()
13589 {
13590 bindtextdomain ("", "");
13591 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13592   ;
13593   return 0;
13594 }
13595 _ACEOF
13596 if ac_fn_c_try_link "$LINENO"; then :
13597   LIBINTL="$LIBINTL $LIBICONV"
13598                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13599                 eval "$gt_func_gnugettext_libintl=yes"
13600
13601 fi
13602 rm -f core conftest.err conftest.$ac_objext \
13603     conftest$ac_exeext conftest.$ac_ext
13604             fi
13605             CPPFLAGS="$gt_save_CPPFLAGS"
13606             LIBS="$gt_save_LIBS"
13607 fi
13608 eval ac_res=\$$gt_func_gnugettext_libintl
13609                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13610 $as_echo "$ac_res" >&6; }
13611         fi
13612
13613                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13614            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13615                 && test "$PACKAGE" != gettext-runtime \
13616                 && test "$PACKAGE" != gettext-tools; }; then
13617           gt_use_preinstalled_gnugettext=yes
13618         else
13619                     LIBINTL=
13620           LTLIBINTL=
13621           INCINTL=
13622         fi
13623
13624
13625
13626     if test -n "$INTL_MACOSX_LIBS"; then
13627       if test "$gt_use_preinstalled_gnugettext" = "yes" \
13628          || test "$nls_cv_use_gnu_gettext" = "yes"; then
13629                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13630         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13631       fi
13632     fi
13633
13634     if test "$gt_use_preinstalled_gnugettext" = "yes" \
13635        || test "$nls_cv_use_gnu_gettext" = "yes"; then
13636
13637 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13638
13639     else
13640       USE_NLS=no
13641     fi
13642   fi
13643
13644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13645 $as_echo_n "checking whether to use NLS... " >&6; }
13646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13647 $as_echo "$USE_NLS" >&6; }
13648   if test "$USE_NLS" = "yes"; then
13649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13650 $as_echo_n "checking where the gettext function comes from... " >&6; }
13651     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13652       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13653         gt_source="external libintl"
13654       else
13655         gt_source="libc"
13656       fi
13657     else
13658       gt_source="included intl directory"
13659     fi
13660     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13661 $as_echo "$gt_source" >&6; }
13662   fi
13663
13664   if test "$USE_NLS" = "yes"; then
13665
13666     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13667       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13668         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13669 $as_echo_n "checking how to link with libintl... " >&6; }
13670         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13671 $as_echo "$LIBINTL" >&6; }
13672
13673   for element in $INCINTL; do
13674     haveit=
13675     for x in $CPPFLAGS; do
13676
13677   acl_save_prefix="$prefix"
13678   prefix="$acl_final_prefix"
13679   acl_save_exec_prefix="$exec_prefix"
13680   exec_prefix="$acl_final_exec_prefix"
13681   eval x=\"$x\"
13682   exec_prefix="$acl_save_exec_prefix"
13683   prefix="$acl_save_prefix"
13684
13685       if test "X$x" = "X$element"; then
13686         haveit=yes
13687         break
13688       fi
13689     done
13690     if test -z "$haveit"; then
13691       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13692     fi
13693   done
13694
13695       fi
13696
13697
13698 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13699
13700
13701 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13702
13703     fi
13704
13705         POSUB=po
13706   fi
13707
13708
13709
13710     INTLLIBS="$LIBINTL"
13711
13712
13713
13714
13715
13716
13717 po_makefile_in=po/Makefile.in
13718 have_po="yes"
13719
13720
13721 LOCALE_DIR="${localedir}"
13722
13723
13724 if test "x${POSUB}" = "x" ; then
13725    have_po="no"
13726 fi
13727
13728  if test "x${have_po}" = "xyes"; then
13729   HAVE_PO_TRUE=
13730   HAVE_PO_FALSE='#'
13731 else
13732   HAVE_PO_TRUE='#'
13733   HAVE_PO_FALSE=
13734 fi
13735
13736
13737 ### Needed information
13738
13739
13740
13741
13742
13743 ### Additional options to configure
13744
13745 # Check whether --enable-strict-spec was given.
13746 if test "${enable_strict_spec+set}" = set; then :
13747   enableval=$enable_strict_spec;
13748     if test "x${enableval}" = "xyes" ; then
13749        enable_strict_spec="yes"
13750     else
13751        enable_strict_spec="no"
13752     fi
13753
13754 else
13755   enable_strict_spec="no"
13756 fi
13757
13758
13759 if test "x${enable_strict_spec}" = "xyes" ; then
13760
13761 $as_echo "#define STRICT_SPEC 1" >>confdefs.h
13762
13763 fi
13764
13765 # Check whether --enable-sloppy-spec was given.
13766 if test "${enable_sloppy_spec+set}" = set; then :
13767   enableval=$enable_sloppy_spec;
13768     if test "x${enableval}" = "xyes" ; then
13769        enable_sloppy_spec="yes"
13770     else
13771        enable_sloppy_spec="no"
13772     fi
13773
13774 else
13775   enable_sloppy_spec="yes"
13776 fi
13777
13778
13779 if test "x${enable_sloppy_spec}" = "xyes" ; then
13780
13781 $as_echo "#define SLOPPY_SPEC 1" >>confdefs.h
13782
13783 fi
13784
13785
13786 #AC_ARG_ENABLE(hidden-visibility,
13787 #       [AC_HELP_STRING([--enable-hidden-visibility],[Enable hidden visibility])],
13788 #       [enable_hidden_visibility=$enableval], [enable_hidden_visibility="auto"])
13789 #if test "x$enable_hidden_visibility" = "xyes" ; then
13790 #    CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
13791 #else
13792 #    AC_DEFINE(DEFAULT_VISIBLITY, 1, [Default visibility])
13793 #fi
13794 #AM_CONDITIONAL(DEFAULT_VISIBILITY, test "x$enable_hidden_visibility" != "xyes")
13795  if false; then
13796   DEFAULT_VISIBILITY_TRUE=
13797   DEFAULT_VISIBILITY_FALSE='#'
13798 else
13799   DEFAULT_VISIBILITY_TRUE='#'
13800   DEFAULT_VISIBILITY_FALSE=
13801 fi
13802
13803
13804
13805 ### Checks for programs
13806 ac_ext=c
13807 ac_cpp='$CPP $CPPFLAGS'
13808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13811 if test -n "$ac_tool_prefix"; then
13812   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13813 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13815 $as_echo_n "checking for $ac_word... " >&6; }
13816 if ${ac_cv_prog_CC+:} false; then :
13817   $as_echo_n "(cached) " >&6
13818 else
13819   if test -n "$CC"; then
13820   ac_cv_prog_CC="$CC" # Let the user override the test.
13821 else
13822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13823 for as_dir in $PATH
13824 do
13825   IFS=$as_save_IFS
13826   test -z "$as_dir" && as_dir=.
13827     for ac_exec_ext in '' $ac_executable_extensions; do
13828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13829     ac_cv_prog_CC="${ac_tool_prefix}gcc"
13830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13831     break 2
13832   fi
13833 done
13834   done
13835 IFS=$as_save_IFS
13836
13837 fi
13838 fi
13839 CC=$ac_cv_prog_CC
13840 if test -n "$CC"; then
13841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13842 $as_echo "$CC" >&6; }
13843 else
13844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13845 $as_echo "no" >&6; }
13846 fi
13847
13848
13849 fi
13850 if test -z "$ac_cv_prog_CC"; then
13851   ac_ct_CC=$CC
13852   # Extract the first word of "gcc", so it can be a program name with args.
13853 set dummy gcc; ac_word=$2
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13855 $as_echo_n "checking for $ac_word... " >&6; }
13856 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13857   $as_echo_n "(cached) " >&6
13858 else
13859   if test -n "$ac_ct_CC"; then
13860   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13861 else
13862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13863 for as_dir in $PATH
13864 do
13865   IFS=$as_save_IFS
13866   test -z "$as_dir" && as_dir=.
13867     for ac_exec_ext in '' $ac_executable_extensions; do
13868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13869     ac_cv_prog_ac_ct_CC="gcc"
13870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13871     break 2
13872   fi
13873 done
13874   done
13875 IFS=$as_save_IFS
13876
13877 fi
13878 fi
13879 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13880 if test -n "$ac_ct_CC"; then
13881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13882 $as_echo "$ac_ct_CC" >&6; }
13883 else
13884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13885 $as_echo "no" >&6; }
13886 fi
13887
13888   if test "x$ac_ct_CC" = x; then
13889     CC=""
13890   else
13891     case $cross_compiling:$ac_tool_warned in
13892 yes:)
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13895 ac_tool_warned=yes ;;
13896 esac
13897     CC=$ac_ct_CC
13898   fi
13899 else
13900   CC="$ac_cv_prog_CC"
13901 fi
13902
13903 if test -z "$CC"; then
13904           if test -n "$ac_tool_prefix"; then
13905     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13906 set dummy ${ac_tool_prefix}cc; ac_word=$2
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13908 $as_echo_n "checking for $ac_word... " >&6; }
13909 if ${ac_cv_prog_CC+:} false; then :
13910   $as_echo_n "(cached) " >&6
13911 else
13912   if test -n "$CC"; then
13913   ac_cv_prog_CC="$CC" # Let the user override the test.
13914 else
13915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13916 for as_dir in $PATH
13917 do
13918   IFS=$as_save_IFS
13919   test -z "$as_dir" && as_dir=.
13920     for ac_exec_ext in '' $ac_executable_extensions; do
13921   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13922     ac_cv_prog_CC="${ac_tool_prefix}cc"
13923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13924     break 2
13925   fi
13926 done
13927   done
13928 IFS=$as_save_IFS
13929
13930 fi
13931 fi
13932 CC=$ac_cv_prog_CC
13933 if test -n "$CC"; then
13934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13935 $as_echo "$CC" >&6; }
13936 else
13937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13938 $as_echo "no" >&6; }
13939 fi
13940
13941
13942   fi
13943 fi
13944 if test -z "$CC"; then
13945   # Extract the first word of "cc", so it can be a program name with args.
13946 set dummy cc; ac_word=$2
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13948 $as_echo_n "checking for $ac_word... " >&6; }
13949 if ${ac_cv_prog_CC+:} false; then :
13950   $as_echo_n "(cached) " >&6
13951 else
13952   if test -n "$CC"; then
13953   ac_cv_prog_CC="$CC" # Let the user override the test.
13954 else
13955   ac_prog_rejected=no
13956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13957 for as_dir in $PATH
13958 do
13959   IFS=$as_save_IFS
13960   test -z "$as_dir" && as_dir=.
13961     for ac_exec_ext in '' $ac_executable_extensions; do
13962   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13963     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13964        ac_prog_rejected=yes
13965        continue
13966      fi
13967     ac_cv_prog_CC="cc"
13968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13969     break 2
13970   fi
13971 done
13972   done
13973 IFS=$as_save_IFS
13974
13975 if test $ac_prog_rejected = yes; then
13976   # We found a bogon in the path, so make sure we never use it.
13977   set dummy $ac_cv_prog_CC
13978   shift
13979   if test $# != 0; then
13980     # We chose a different compiler from the bogus one.
13981     # However, it has the same basename, so the bogon will be chosen
13982     # first if we set CC to just the basename; use the full file name.
13983     shift
13984     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13985   fi
13986 fi
13987 fi
13988 fi
13989 CC=$ac_cv_prog_CC
13990 if test -n "$CC"; then
13991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13992 $as_echo "$CC" >&6; }
13993 else
13994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13995 $as_echo "no" >&6; }
13996 fi
13997
13998
13999 fi
14000 if test -z "$CC"; then
14001   if test -n "$ac_tool_prefix"; then
14002   for ac_prog in cl.exe
14003   do
14004     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14007 $as_echo_n "checking for $ac_word... " >&6; }
14008 if ${ac_cv_prog_CC+:} false; then :
14009   $as_echo_n "(cached) " >&6
14010 else
14011   if test -n "$CC"; then
14012   ac_cv_prog_CC="$CC" # Let the user override the test.
14013 else
14014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14015 for as_dir in $PATH
14016 do
14017   IFS=$as_save_IFS
14018   test -z "$as_dir" && as_dir=.
14019     for ac_exec_ext in '' $ac_executable_extensions; do
14020   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14021     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14023     break 2
14024   fi
14025 done
14026   done
14027 IFS=$as_save_IFS
14028
14029 fi
14030 fi
14031 CC=$ac_cv_prog_CC
14032 if test -n "$CC"; then
14033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14034 $as_echo "$CC" >&6; }
14035 else
14036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14037 $as_echo "no" >&6; }
14038 fi
14039
14040
14041     test -n "$CC" && break
14042   done
14043 fi
14044 if test -z "$CC"; then
14045   ac_ct_CC=$CC
14046   for ac_prog in cl.exe
14047 do
14048   # Extract the first word of "$ac_prog", so it can be a program name with args.
14049 set dummy $ac_prog; ac_word=$2
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14051 $as_echo_n "checking for $ac_word... " >&6; }
14052 if ${ac_cv_prog_ac_ct_CC+:} false; then :
14053   $as_echo_n "(cached) " >&6
14054 else
14055   if test -n "$ac_ct_CC"; then
14056   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14057 else
14058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14059 for as_dir in $PATH
14060 do
14061   IFS=$as_save_IFS
14062   test -z "$as_dir" && as_dir=.
14063     for ac_exec_ext in '' $ac_executable_extensions; do
14064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14065     ac_cv_prog_ac_ct_CC="$ac_prog"
14066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14067     break 2
14068   fi
14069 done
14070   done
14071 IFS=$as_save_IFS
14072
14073 fi
14074 fi
14075 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14076 if test -n "$ac_ct_CC"; then
14077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
14078 $as_echo "$ac_ct_CC" >&6; }
14079 else
14080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14081 $as_echo "no" >&6; }
14082 fi
14083
14084
14085   test -n "$ac_ct_CC" && break
14086 done
14087
14088   if test "x$ac_ct_CC" = x; then
14089     CC=""
14090   else
14091     case $cross_compiling:$ac_tool_warned in
14092 yes:)
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14095 ac_tool_warned=yes ;;
14096 esac
14097     CC=$ac_ct_CC
14098   fi
14099 fi
14100
14101 fi
14102
14103
14104 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14106 as_fn_error $? "no acceptable C compiler found in \$PATH
14107 See \`config.log' for more details" "$LINENO" 5; }
14108
14109 # Provide some information about the compiler.
14110 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
14111 set X $ac_compile
14112 ac_compiler=$2
14113 for ac_option in --version -v -V -qversion; do
14114   { { ac_try="$ac_compiler $ac_option >&5"
14115 case "(($ac_try" in
14116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14117   *) ac_try_echo=$ac_try;;
14118 esac
14119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14120 $as_echo "$ac_try_echo"; } >&5
14121   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14122   ac_status=$?
14123   if test -s conftest.err; then
14124     sed '10a\
14125 ... rest of stderr output deleted ...
14126          10q' conftest.err >conftest.er1
14127     cat conftest.er1 >&5
14128   fi
14129   rm -f conftest.er1 conftest.err
14130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14131   test $ac_status = 0; }
14132 done
14133
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
14135 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
14136 if ${ac_cv_c_compiler_gnu+:} false; then :
14137   $as_echo_n "(cached) " >&6
14138 else
14139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h.  */
14141
14142 int
14143 main ()
14144 {
14145 #ifndef __GNUC__
14146        choke me
14147 #endif
14148
14149   ;
14150   return 0;
14151 }
14152 _ACEOF
14153 if ac_fn_c_try_compile "$LINENO"; then :
14154   ac_compiler_gnu=yes
14155 else
14156   ac_compiler_gnu=no
14157 fi
14158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14159 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14160
14161 fi
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
14163 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
14164 if test $ac_compiler_gnu = yes; then
14165   GCC=yes
14166 else
14167   GCC=
14168 fi
14169 ac_test_CFLAGS=${CFLAGS+set}
14170 ac_save_CFLAGS=$CFLAGS
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
14172 $as_echo_n "checking whether $CC accepts -g... " >&6; }
14173 if ${ac_cv_prog_cc_g+:} false; then :
14174   $as_echo_n "(cached) " >&6
14175 else
14176   ac_save_c_werror_flag=$ac_c_werror_flag
14177    ac_c_werror_flag=yes
14178    ac_cv_prog_cc_g=no
14179    CFLAGS="-g"
14180    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h.  */
14182
14183 int
14184 main ()
14185 {
14186
14187   ;
14188   return 0;
14189 }
14190 _ACEOF
14191 if ac_fn_c_try_compile "$LINENO"; then :
14192   ac_cv_prog_cc_g=yes
14193 else
14194   CFLAGS=""
14195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h.  */
14197
14198 int
14199 main ()
14200 {
14201
14202   ;
14203   return 0;
14204 }
14205 _ACEOF
14206 if ac_fn_c_try_compile "$LINENO"; then :
14207
14208 else
14209   ac_c_werror_flag=$ac_save_c_werror_flag
14210          CFLAGS="-g"
14211          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h.  */
14213
14214 int
14215 main ()
14216 {
14217
14218   ;
14219   return 0;
14220 }
14221 _ACEOF
14222 if ac_fn_c_try_compile "$LINENO"; then :
14223   ac_cv_prog_cc_g=yes
14224 fi
14225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14226 fi
14227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14228 fi
14229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14230    ac_c_werror_flag=$ac_save_c_werror_flag
14231 fi
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
14233 $as_echo "$ac_cv_prog_cc_g" >&6; }
14234 if test "$ac_test_CFLAGS" = set; then
14235   CFLAGS=$ac_save_CFLAGS
14236 elif test $ac_cv_prog_cc_g = yes; then
14237   if test "$GCC" = yes; then
14238     CFLAGS="-g -O2"
14239   else
14240     CFLAGS="-g"
14241   fi
14242 else
14243   if test "$GCC" = yes; then
14244     CFLAGS="-O2"
14245   else
14246     CFLAGS=
14247   fi
14248 fi
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
14250 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
14251 if ${ac_cv_prog_cc_c89+:} false; then :
14252   $as_echo_n "(cached) " >&6
14253 else
14254   ac_cv_prog_cc_c89=no
14255 ac_save_CC=$CC
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h.  */
14258 #include <stdarg.h>
14259 #include <stdio.h>
14260 #include <sys/types.h>
14261 #include <sys/stat.h>
14262 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
14263 struct buf { int x; };
14264 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14265 static char *e (p, i)
14266      char **p;
14267      int i;
14268 {
14269   return p[i];
14270 }
14271 static char *f (char * (*g) (char **, int), char **p, ...)
14272 {
14273   char *s;
14274   va_list v;
14275   va_start (v,p);
14276   s = g (p, va_arg (v,int));
14277   va_end (v);
14278   return s;
14279 }
14280
14281 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
14282    function prototypes and stuff, but not '\xHH' hex character constants.
14283    These don't provoke an error unfortunately, instead are silently treated
14284    as 'x'.  The following induces an error, until -std is added to get
14285    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
14286    array size at least.  It's necessary to write '\x00'==0 to get something
14287    that's true only with -std.  */
14288 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14289
14290 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14291    inside strings and character constants.  */
14292 #define FOO(x) 'x'
14293 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14294
14295 int test (int i, double x);
14296 struct s1 {int (*f) (int a);};
14297 struct s2 {int (*f) (double a);};
14298 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14299 int argc;
14300 char **argv;
14301 int
14302 main ()
14303 {
14304 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
14305   ;
14306   return 0;
14307 }
14308 _ACEOF
14309 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14310         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14311 do
14312   CC="$ac_save_CC $ac_arg"
14313   if ac_fn_c_try_compile "$LINENO"; then :
14314   ac_cv_prog_cc_c89=$ac_arg
14315 fi
14316 rm -f core conftest.err conftest.$ac_objext
14317   test "x$ac_cv_prog_cc_c89" != "xno" && break
14318 done
14319 rm -f conftest.$ac_ext
14320 CC=$ac_save_CC
14321
14322 fi
14323 # AC_CACHE_VAL
14324 case "x$ac_cv_prog_cc_c89" in
14325   x)
14326     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14327 $as_echo "none needed" >&6; } ;;
14328   xno)
14329     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14330 $as_echo "unsupported" >&6; } ;;
14331   *)
14332     CC="$CC $ac_cv_prog_cc_c89"
14333     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14334 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14335 esac
14336 if test "x$ac_cv_prog_cc_c89" != xno; then :
14337
14338 fi
14339
14340 ac_ext=c
14341 ac_cpp='$CPP $CPPFLAGS'
14342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14345
14346 depcc="$CC"   am_compiler_list=
14347
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14349 $as_echo_n "checking dependency style of $depcc... " >&6; }
14350 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14351   $as_echo_n "(cached) " >&6
14352 else
14353   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14354   # We make a subdir and do the tests there.  Otherwise we can end up
14355   # making bogus files that we don't know about and never remove.  For
14356   # instance it was reported that on HP-UX the gcc test will end up
14357   # making a dummy file named `D' -- because `-MD' means `put the output
14358   # in D'.
14359   rm -rf conftest.dir
14360   mkdir conftest.dir
14361   # Copy depcomp to subdir because otherwise we won't find it if we're
14362   # using a relative directory.
14363   cp "$am_depcomp" conftest.dir
14364   cd conftest.dir
14365   # We will build objects and dependencies in a subdirectory because
14366   # it helps to detect inapplicable dependency modes.  For instance
14367   # both Tru64's cc and ICC support -MD to output dependencies as a
14368   # side effect of compilation, but ICC will put the dependencies in
14369   # the current directory while Tru64 will put them in the object
14370   # directory.
14371   mkdir sub
14372
14373   am_cv_CC_dependencies_compiler_type=none
14374   if test "$am_compiler_list" = ""; then
14375      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14376   fi
14377   am__universal=false
14378   case " $depcc " in #(
14379      *\ -arch\ *\ -arch\ *) am__universal=true ;;
14380      esac
14381
14382   for depmode in $am_compiler_list; do
14383     # Setup a source with many dependencies, because some compilers
14384     # like to wrap large dependency lists on column 80 (with \), and
14385     # we should not choose a depcomp mode which is confused by this.
14386     #
14387     # We need to recreate these files for each test, as the compiler may
14388     # overwrite some of them when testing with obscure command lines.
14389     # This happens at least with the AIX C compiler.
14390     : > sub/conftest.c
14391     for i in 1 2 3 4 5 6; do
14392       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14393       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14394       # Solaris 8's {/usr,}/bin/sh.
14395       touch sub/conftst$i.h
14396     done
14397     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14398
14399     # We check with `-c' and `-o' for the sake of the "dashmstdout"
14400     # mode.  It turns out that the SunPro C++ compiler does not properly
14401     # handle `-M -o', and we need to detect this.  Also, some Intel
14402     # versions had trouble with output in subdirs
14403     am__obj=sub/conftest.${OBJEXT-o}
14404     am__minus_obj="-o $am__obj"
14405     case $depmode in
14406     gcc)
14407       # This depmode causes a compiler race in universal mode.
14408       test "$am__universal" = false || continue
14409       ;;
14410     nosideeffect)
14411       # after this tag, mechanisms are not by side-effect, so they'll
14412       # only be used when explicitly requested
14413       if test "x$enable_dependency_tracking" = xyes; then
14414         continue
14415       else
14416         break
14417       fi
14418       ;;
14419     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14420       # This compiler won't grok `-c -o', but also, the minuso test has
14421       # not run yet.  These depmodes are late enough in the game, and
14422       # so weak that their functioning should not be impacted.
14423       am__obj=conftest.${OBJEXT-o}
14424       am__minus_obj=
14425       ;;
14426     none) break ;;
14427     esac
14428     if depmode=$depmode \
14429        source=sub/conftest.c object=$am__obj \
14430        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14431        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14432          >/dev/null 2>conftest.err &&
14433        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14434        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14435        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14436        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14437       # icc doesn't choke on unknown options, it will just issue warnings
14438       # or remarks (even with -Werror).  So we grep stderr for any message
14439       # that says an option was ignored or not supported.
14440       # When given -MP, icc 7.0 and 7.1 complain thusly:
14441       #   icc: Command line warning: ignoring option '-M'; no argument required
14442       # The diagnosis changed in icc 8.0:
14443       #   icc: Command line remark: option '-MP' not supported
14444       if (grep 'ignoring option' conftest.err ||
14445           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14446         am_cv_CC_dependencies_compiler_type=$depmode
14447         break
14448       fi
14449     fi
14450   done
14451
14452   cd ..
14453   rm -rf conftest.dir
14454 else
14455   am_cv_CC_dependencies_compiler_type=none
14456 fi
14457
14458 fi
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14460 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14461 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14462
14463  if
14464   test "x$enable_dependency_tracking" != xno \
14465   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14466   am__fastdepCC_TRUE=
14467   am__fastdepCC_FALSE='#'
14468 else
14469   am__fastdepCC_TRUE='#'
14470   am__fastdepCC_FALSE=
14471 fi
14472
14473
14474
14475 # pkg-config
14476
14477
14478
14479
14480
14481
14482
14483 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14484         if test -n "$ac_tool_prefix"; then
14485   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14486 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14488 $as_echo_n "checking for $ac_word... " >&6; }
14489 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14490   $as_echo_n "(cached) " >&6
14491 else
14492   case $PKG_CONFIG in
14493   [\\/]* | ?:[\\/]*)
14494   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14495   ;;
14496   *)
14497   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14498 for as_dir in $PATH
14499 do
14500   IFS=$as_save_IFS
14501   test -z "$as_dir" && as_dir=.
14502     for ac_exec_ext in '' $ac_executable_extensions; do
14503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14504     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14506     break 2
14507   fi
14508 done
14509   done
14510 IFS=$as_save_IFS
14511
14512   ;;
14513 esac
14514 fi
14515 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14516 if test -n "$PKG_CONFIG"; then
14517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14518 $as_echo "$PKG_CONFIG" >&6; }
14519 else
14520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14521 $as_echo "no" >&6; }
14522 fi
14523
14524
14525 fi
14526 if test -z "$ac_cv_path_PKG_CONFIG"; then
14527   ac_pt_PKG_CONFIG=$PKG_CONFIG
14528   # Extract the first word of "pkg-config", so it can be a program name with args.
14529 set dummy pkg-config; ac_word=$2
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14531 $as_echo_n "checking for $ac_word... " >&6; }
14532 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14533   $as_echo_n "(cached) " >&6
14534 else
14535   case $ac_pt_PKG_CONFIG in
14536   [\\/]* | ?:[\\/]*)
14537   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14538   ;;
14539   *)
14540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14541 for as_dir in $PATH
14542 do
14543   IFS=$as_save_IFS
14544   test -z "$as_dir" && as_dir=.
14545     for ac_exec_ext in '' $ac_executable_extensions; do
14546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14547     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14549     break 2
14550   fi
14551 done
14552   done
14553 IFS=$as_save_IFS
14554
14555   ;;
14556 esac
14557 fi
14558 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14559 if test -n "$ac_pt_PKG_CONFIG"; then
14560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14561 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14562 else
14563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14564 $as_echo "no" >&6; }
14565 fi
14566
14567   if test "x$ac_pt_PKG_CONFIG" = x; then
14568     PKG_CONFIG=""
14569   else
14570     case $cross_compiling:$ac_tool_warned in
14571 yes:)
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14574 ac_tool_warned=yes ;;
14575 esac
14576     PKG_CONFIG=$ac_pt_PKG_CONFIG
14577   fi
14578 else
14579   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14580 fi
14581
14582 fi
14583 if test -n "$PKG_CONFIG"; then
14584         _pkg_min_version=0.9.0
14585         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14586 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14587         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14588                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14589 $as_echo "yes" >&6; }
14590         else
14591                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14592 $as_echo "no" >&6; }
14593                 PKG_CONFIG=""
14594         fi
14595 fi
14596
14597 # Check whether pkg-config supports Requires.private
14598 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
14599    pkgconfig_requires_private="Requires.private"
14600 else
14601    pkgconfig_requires_private="Requires"
14602 fi
14603
14604
14605 # doxygen program for documentation building
14606
14607
14608 # Check whether --enable-doc was given.
14609 if test "${enable_doc+set}" = set; then :
14610   enableval=$enable_doc;
14611     if test "x${enableval}" = "xyes" ; then
14612        efl_enable_doc="yes"
14613     else
14614        efl_enable_doc="no"
14615     fi
14616
14617 else
14618   efl_enable_doc="yes"
14619 fi
14620
14621
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
14623 $as_echo_n "checking whether to build documentation... " >&6; }
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
14625 $as_echo "${efl_enable_doc}" >&6; }
14626
14627 if test "x${efl_enable_doc}" = "xyes" ; then
14628
14629
14630    efl_doxygen="doxygen"
14631
14632
14633 # Check whether --with-doxygen was given.
14634 if test "${with_doxygen+set}" = set; then :
14635   withval=$with_doxygen;
14636       efl_doxygen=${withval}
14637        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
14638 set dummy ${efl_doxygen}; ac_word=$2
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14640 $as_echo_n "checking for $ac_word... " >&6; }
14641 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
14642   $as_echo_n "(cached) " >&6
14643 else
14644   if test -n "$efl_have_doxygen"; then
14645   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
14646 else
14647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14648 for as_dir in $PATH
14649 do
14650   IFS=$as_save_IFS
14651   test -z "$as_dir" && as_dir=.
14652     for ac_exec_ext in '' $ac_executable_extensions; do
14653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14654     ac_cv_prog_efl_have_doxygen="yes"
14655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14656     break 2
14657   fi
14658 done
14659   done
14660 IFS=$as_save_IFS
14661
14662   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
14663 fi
14664 fi
14665 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
14666 if test -n "$efl_have_doxygen"; then
14667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
14668 $as_echo "$efl_have_doxygen" >&6; }
14669 else
14670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14671 $as_echo "no" >&6; }
14672 fi
14673
14674
14675        if test "x${efl_have_doxygen}" = "xno" ; then
14676           echo "WARNING:"
14677           echo "The doxygen program you specified:"
14678           echo "${efl_doxygen}"
14679           echo "was not found.  Please check the path and make sure "
14680           echo "the program exists and is executable."
14681           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
14682 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
14683        fi
14684
14685 else
14686   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
14687 set dummy ${efl_doxygen}; ac_word=$2
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14689 $as_echo_n "checking for $ac_word... " >&6; }
14690 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
14691   $as_echo_n "(cached) " >&6
14692 else
14693   if test -n "$efl_have_doxygen"; then
14694   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
14695 else
14696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14697 for as_dir in $PATH
14698 do
14699   IFS=$as_save_IFS
14700   test -z "$as_dir" && as_dir=.
14701     for ac_exec_ext in '' $ac_executable_extensions; do
14702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14703     ac_cv_prog_efl_have_doxygen="yes"
14704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14705     break 2
14706   fi
14707 done
14708   done
14709 IFS=$as_save_IFS
14710
14711   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
14712 fi
14713 fi
14714 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
14715 if test -n "$efl_have_doxygen"; then
14716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
14717 $as_echo "$efl_have_doxygen" >&6; }
14718 else
14719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14720 $as_echo "no" >&6; }
14721 fi
14722
14723
14724        if test "x${efl_have_doxygen}" = "xno" ; then
14725           echo "WARNING:"
14726           echo "The doxygen program was not found in your execute path."
14727           echo "You may have doxygen installed somewhere not covered by your path."
14728           echo ""
14729           echo "If this is the case make sure you have the packages installed, AND"
14730           echo "that the doxygen program is in your execute path (see your"
14731           echo "shell manual page on setting the \$PATH environment variable), OR"
14732           echo "alternatively, specify the program to use with --with-doxygen."
14733           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
14734 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
14735        fi
14736
14737 fi
14738
14739 fi
14740
14741
14742
14743 if ! test "x${efl_have_doxygen}" = "xyes" ; then
14744    efl_enable_doc="no"
14745 fi
14746
14747  if test "x${efl_enable_doc}" = "xyes"; then
14748   EFL_BUILD_DOC_TRUE=
14749   EFL_BUILD_DOC_FALSE='#'
14750 else
14751   EFL_BUILD_DOC_TRUE='#'
14752   EFL_BUILD_DOC_FALSE=
14753 fi
14754
14755
14756 if test "x${efl_enable_doc}" = "xyes" ; then
14757   build_doc="yes"
14758 else
14759   build_doc="no"
14760 fi
14761
14762
14763
14764
14765 ### Checks for libraries
14766
14767 # Evil library for compilation on Windows CE
14768
14769 EFL_EFREET_BUILD=""
14770 EFL_EFREET_MIME_BUILD=""
14771 EFL_EFREET_TRASH_BUILD=""
14772 case "$host_os" in
14773    mingw*)
14774
14775 pkg_failed=no
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
14777 $as_echo_n "checking for EVIL... " >&6; }
14778
14779 if test -n "$EVIL_CFLAGS"; then
14780     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
14781  elif test -n "$PKG_CONFIG"; then
14782     if test -n "$PKG_CONFIG" && \
14783     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
14784   ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
14785   ac_status=$?
14786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14787   test $ac_status = 0; }; then
14788   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.6.99" 2>/dev/null`
14789                       test "x$?" != "x0" && pkg_failed=yes
14790 else
14791   pkg_failed=yes
14792 fi
14793  else
14794     pkg_failed=untried
14795 fi
14796 if test -n "$EVIL_LIBS"; then
14797     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
14798  elif test -n "$PKG_CONFIG"; then
14799     if test -n "$PKG_CONFIG" && \
14800     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
14801   ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
14802   ac_status=$?
14803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14804   test $ac_status = 0; }; then
14805   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.6.99" 2>/dev/null`
14806                       test "x$?" != "x0" && pkg_failed=yes
14807 else
14808   pkg_failed=yes
14809 fi
14810  else
14811     pkg_failed=untried
14812 fi
14813
14814
14815
14816 if test $pkg_failed = yes; then
14817         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14818 $as_echo "no" >&6; }
14819
14820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14821         _pkg_short_errors_supported=yes
14822 else
14823         _pkg_short_errors_supported=no
14824 fi
14825         if test $_pkg_short_errors_supported = yes; then
14826                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
14827         else
14828                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
14829         fi
14830         # Put the nasty error message in config.log where it belongs
14831         echo "$EVIL_PKG_ERRORS" >&5
14832
14833         as_fn_error $? "Package requirements (evil >= 1.6.99) were not met:
14834
14835 $EVIL_PKG_ERRORS
14836
14837 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14838 installed software in a non-standard prefix.
14839
14840 Alternatively, you may set the environment variables EVIL_CFLAGS
14841 and EVIL_LIBS to avoid the need to call pkg-config.
14842 See the pkg-config man page for more details." "$LINENO" 5
14843 elif test $pkg_failed = untried; then
14844         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14845 $as_echo "no" >&6; }
14846         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14848 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14849 is in your PATH or set the PKG_CONFIG environment variable to the full
14850 path to pkg-config.
14851
14852 Alternatively, you may set the environment variables EVIL_CFLAGS
14853 and EVIL_LIBS to avoid the need to call pkg-config.
14854 See the pkg-config man page for more details.
14855
14856 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14857 See \`config.log' for more details" "$LINENO" 5; }
14858 else
14859         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
14860         EVIL_LIBS=$pkg_cv_EVIL_LIBS
14861         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14862 $as_echo "yes" >&6; }
14863
14864 fi
14865
14866 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
14867
14868       requirement_efreet="evil"
14869       EFL_EFREET_BUILD="-DEFL_EFREET_BUILD"
14870       EFL_EFREET_MIME_BUILD="-DEFL_EFREET_MIME_BUILD"
14871       EFL_EFREET_TRASH_BUILD="-DEFL_EFREET_TRASH_BUILD"
14872    ;;
14873 esac
14874
14875
14876
14877
14878 requirement_efreet="ecore-file >= 1.6.99 ecore >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99 ${requirement_efreet}"
14879
14880 pkg_failed=no
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EFREET" >&5
14882 $as_echo_n "checking for EFREET... " >&6; }
14883
14884 if test -n "$EFREET_CFLAGS"; then
14885     pkg_cv_EFREET_CFLAGS="$EFREET_CFLAGS"
14886  elif test -n "$PKG_CONFIG"; then
14887     if test -n "$PKG_CONFIG" && \
14888     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_efreet}\""; } >&5
14889   ($PKG_CONFIG --exists --print-errors "${requirement_efreet}") 2>&5
14890   ac_status=$?
14891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14892   test $ac_status = 0; }; then
14893   pkg_cv_EFREET_CFLAGS=`$PKG_CONFIG --cflags "${requirement_efreet}" 2>/dev/null`
14894                       test "x$?" != "x0" && pkg_failed=yes
14895 else
14896   pkg_failed=yes
14897 fi
14898  else
14899     pkg_failed=untried
14900 fi
14901 if test -n "$EFREET_LIBS"; then
14902     pkg_cv_EFREET_LIBS="$EFREET_LIBS"
14903  elif test -n "$PKG_CONFIG"; then
14904     if test -n "$PKG_CONFIG" && \
14905     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_efreet}\""; } >&5
14906   ($PKG_CONFIG --exists --print-errors "${requirement_efreet}") 2>&5
14907   ac_status=$?
14908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14909   test $ac_status = 0; }; then
14910   pkg_cv_EFREET_LIBS=`$PKG_CONFIG --libs "${requirement_efreet}" 2>/dev/null`
14911                       test "x$?" != "x0" && pkg_failed=yes
14912 else
14913   pkg_failed=yes
14914 fi
14915  else
14916     pkg_failed=untried
14917 fi
14918
14919
14920
14921 if test $pkg_failed = yes; then
14922         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14923 $as_echo "no" >&6; }
14924
14925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14926         _pkg_short_errors_supported=yes
14927 else
14928         _pkg_short_errors_supported=no
14929 fi
14930         if test $_pkg_short_errors_supported = yes; then
14931                 EFREET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_efreet}" 2>&1`
14932         else
14933                 EFREET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_efreet}" 2>&1`
14934         fi
14935         # Put the nasty error message in config.log where it belongs
14936         echo "$EFREET_PKG_ERRORS" >&5
14937
14938         as_fn_error $? "Package requirements (${requirement_efreet}) were not met:
14939
14940 $EFREET_PKG_ERRORS
14941
14942 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14943 installed software in a non-standard prefix.
14944
14945 Alternatively, you may set the environment variables EFREET_CFLAGS
14946 and EFREET_LIBS to avoid the need to call pkg-config.
14947 See the pkg-config man page for more details." "$LINENO" 5
14948 elif test $pkg_failed = untried; then
14949         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14950 $as_echo "no" >&6; }
14951         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14953 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14954 is in your PATH or set the PKG_CONFIG environment variable to the full
14955 path to pkg-config.
14956
14957 Alternatively, you may set the environment variables EFREET_CFLAGS
14958 and EFREET_LIBS to avoid the need to call pkg-config.
14959 See the pkg-config man page for more details.
14960
14961 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14962 See \`config.log' for more details" "$LINENO" 5; }
14963 else
14964         EFREET_CFLAGS=$pkg_cv_EFREET_CFLAGS
14965         EFREET_LIBS=$pkg_cv_EFREET_LIBS
14966         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14967 $as_echo "yes" >&6; }
14968
14969 fi
14970
14971 pkg_failed=no
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
14973 $as_echo_n "checking for EINA... " >&6; }
14974
14975 if test -n "$EINA_CFLAGS"; then
14976     pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
14977  elif test -n "$PKG_CONFIG"; then
14978     if test -n "$PKG_CONFIG" && \
14979     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
14980   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
14981   ac_status=$?
14982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14983   test $ac_status = 0; }; then
14984   pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.99" 2>/dev/null`
14985                       test "x$?" != "x0" && pkg_failed=yes
14986 else
14987   pkg_failed=yes
14988 fi
14989  else
14990     pkg_failed=untried
14991 fi
14992 if test -n "$EINA_LIBS"; then
14993     pkg_cv_EINA_LIBS="$EINA_LIBS"
14994  elif test -n "$PKG_CONFIG"; then
14995     if test -n "$PKG_CONFIG" && \
14996     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
14997   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
14998   ac_status=$?
14999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15000   test $ac_status = 0; }; then
15001   pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.99" 2>/dev/null`
15002                       test "x$?" != "x0" && pkg_failed=yes
15003 else
15004   pkg_failed=yes
15005 fi
15006  else
15007     pkg_failed=untried
15008 fi
15009
15010
15011
15012 if test $pkg_failed = yes; then
15013         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15014 $as_echo "no" >&6; }
15015
15016 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15017         _pkg_short_errors_supported=yes
15018 else
15019         _pkg_short_errors_supported=no
15020 fi
15021         if test $_pkg_short_errors_supported = yes; then
15022                 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.6.99" 2>&1`
15023         else
15024                 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.6.99" 2>&1`
15025         fi
15026         # Put the nasty error message in config.log where it belongs
15027         echo "$EINA_PKG_ERRORS" >&5
15028
15029         as_fn_error $? "Package requirements (eina >= 1.6.99) were not met:
15030
15031 $EINA_PKG_ERRORS
15032
15033 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15034 installed software in a non-standard prefix.
15035
15036 Alternatively, you may set the environment variables EINA_CFLAGS
15037 and EINA_LIBS to avoid the need to call pkg-config.
15038 See the pkg-config man page for more details." "$LINENO" 5
15039 elif test $pkg_failed = untried; then
15040         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15041 $as_echo "no" >&6; }
15042         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15044 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15045 is in your PATH or set the PKG_CONFIG environment variable to the full
15046 path to pkg-config.
15047
15048 Alternatively, you may set the environment variables EINA_CFLAGS
15049 and EINA_LIBS to avoid the need to call pkg-config.
15050 See the pkg-config man page for more details.
15051
15052 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15053 See \`config.log' for more details" "$LINENO" 5; }
15054 else
15055         EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
15056         EINA_LIBS=$pkg_cv_EINA_LIBS
15057         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15058 $as_echo "yes" >&6; }
15059
15060 fi
15061
15062
15063 ### Checks for header files
15064
15065 for ac_header in netinet/in.h arpa/inet.h
15066 do :
15067   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15068 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15069 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15070   cat >>confdefs.h <<_ACEOF
15071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15072 _ACEOF
15073
15074 fi
15075
15076 done
15077
15078
15079 ### Checks for types
15080
15081
15082 ### Checks for structures
15083
15084
15085 ### Checks for compiler characteristics
15086
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15088 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15089 if ${ac_cv_c_const+:} false; then :
15090   $as_echo_n "(cached) " >&6
15091 else
15092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h.  */
15094
15095 int
15096 main ()
15097 {
15098 /* FIXME: Include the comments suggested by Paul. */
15099 #ifndef __cplusplus
15100   /* Ultrix mips cc rejects this.  */
15101   typedef int charset[2];
15102   const charset cs;
15103   /* SunOS 4.1.1 cc rejects this.  */
15104   char const *const *pcpcc;
15105   char **ppc;
15106   /* NEC SVR4.0.2 mips cc rejects this.  */
15107   struct point {int x, y;};
15108   static struct point const zero = {0,0};
15109   /* AIX XL C 1.02.0.0 rejects this.
15110      It does not let you subtract one const X* pointer from another in
15111      an arm of an if-expression whose if-part is not a constant
15112      expression */
15113   const char *g = "string";
15114   pcpcc = &g + (g ? g-g : 0);
15115   /* HPUX 7.0 cc rejects these. */
15116   ++pcpcc;
15117   ppc = (char**) pcpcc;
15118   pcpcc = (char const *const *) ppc;
15119   { /* SCO 3.2v4 cc rejects this.  */
15120     char *t;
15121     char const *s = 0 ? (char *) 0 : (char const *) 0;
15122
15123     *t++ = 0;
15124     if (s) return 0;
15125   }
15126   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
15127     int x[] = {25, 17};
15128     const int *foo = &x[0];
15129     ++foo;
15130   }
15131   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15132     typedef const int *iptr;
15133     iptr p = 0;
15134     ++p;
15135   }
15136   { /* AIX XL C 1.02.0.0 rejects this saying
15137        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15138     struct s { int j; const int *ap[3]; };
15139     struct s *b; b->j = 5;
15140   }
15141   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15142     const int foo = 10;
15143     if (!foo) return 0;
15144   }
15145   return !cs[0] && !zero.x;
15146 #endif
15147
15148   ;
15149   return 0;
15150 }
15151 _ACEOF
15152 if ac_fn_c_try_compile "$LINENO"; then :
15153   ac_cv_c_const=yes
15154 else
15155   ac_cv_c_const=no
15156 fi
15157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15158 fi
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15160 $as_echo "$ac_cv_c_const" >&6; }
15161 if test $ac_cv_c_const = no; then
15162
15163 $as_echo "#define const /**/" >>confdefs.h
15164
15165 fi
15166
15167
15168
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
15170 $as_echo_n "checking for __attribute__... " >&6; }
15171
15172 if ${ac_cv___attribute__+:} false; then :
15173   $as_echo_n "(cached) " >&6
15174 else
15175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h.  */
15177
15178 #include <stdlib.h>
15179
15180 int func(int x);
15181 int foo(int x __attribute__ ((unused)))
15182 {
15183    exit(1);
15184 }
15185
15186 int
15187 main ()
15188 {
15189
15190   ;
15191   return 0;
15192 }
15193 _ACEOF
15194 if ac_fn_c_try_compile "$LINENO"; then :
15195   ac_cv___attribute__="yes"
15196 else
15197   ac_cv___attribute__="no"
15198
15199 fi
15200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15201 fi
15202
15203
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
15205 $as_echo "$ac_cv___attribute__" >&6; }
15206
15207 if test "x${ac_cv___attribute__}" = "xyes" ; then
15208
15209 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
15210
15211
15212 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
15213
15214   else
15215
15216 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
15217
15218 fi
15219
15220
15221 ac_ext=c
15222 ac_cpp='$CPP $CPPFLAGS'
15223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15226 if test -n "$ac_tool_prefix"; then
15227   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15228 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15230 $as_echo_n "checking for $ac_word... " >&6; }
15231 if ${ac_cv_prog_CC+:} false; then :
15232   $as_echo_n "(cached) " >&6
15233 else
15234   if test -n "$CC"; then
15235   ac_cv_prog_CC="$CC" # Let the user override the test.
15236 else
15237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15238 for as_dir in $PATH
15239 do
15240   IFS=$as_save_IFS
15241   test -z "$as_dir" && as_dir=.
15242     for ac_exec_ext in '' $ac_executable_extensions; do
15243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15244     ac_cv_prog_CC="${ac_tool_prefix}gcc"
15245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15246     break 2
15247   fi
15248 done
15249   done
15250 IFS=$as_save_IFS
15251
15252 fi
15253 fi
15254 CC=$ac_cv_prog_CC
15255 if test -n "$CC"; then
15256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15257 $as_echo "$CC" >&6; }
15258 else
15259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15260 $as_echo "no" >&6; }
15261 fi
15262
15263
15264 fi
15265 if test -z "$ac_cv_prog_CC"; then
15266   ac_ct_CC=$CC
15267   # Extract the first word of "gcc", so it can be a program name with args.
15268 set dummy gcc; ac_word=$2
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15270 $as_echo_n "checking for $ac_word... " >&6; }
15271 if ${ac_cv_prog_ac_ct_CC+:} false; then :
15272   $as_echo_n "(cached) " >&6
15273 else
15274   if test -n "$ac_ct_CC"; then
15275   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15276 else
15277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15278 for as_dir in $PATH
15279 do
15280   IFS=$as_save_IFS
15281   test -z "$as_dir" && as_dir=.
15282     for ac_exec_ext in '' $ac_executable_extensions; do
15283   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15284     ac_cv_prog_ac_ct_CC="gcc"
15285     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15286     break 2
15287   fi
15288 done
15289   done
15290 IFS=$as_save_IFS
15291
15292 fi
15293 fi
15294 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15295 if test -n "$ac_ct_CC"; then
15296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15297 $as_echo "$ac_ct_CC" >&6; }
15298 else
15299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15300 $as_echo "no" >&6; }
15301 fi
15302
15303   if test "x$ac_ct_CC" = x; then
15304     CC=""
15305   else
15306     case $cross_compiling:$ac_tool_warned in
15307 yes:)
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15310 ac_tool_warned=yes ;;
15311 esac
15312     CC=$ac_ct_CC
15313   fi
15314 else
15315   CC="$ac_cv_prog_CC"
15316 fi
15317
15318 if test -z "$CC"; then
15319           if test -n "$ac_tool_prefix"; then
15320     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15321 set dummy ${ac_tool_prefix}cc; ac_word=$2
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15323 $as_echo_n "checking for $ac_word... " >&6; }
15324 if ${ac_cv_prog_CC+:} false; then :
15325   $as_echo_n "(cached) " >&6
15326 else
15327   if test -n "$CC"; then
15328   ac_cv_prog_CC="$CC" # Let the user override the test.
15329 else
15330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15331 for as_dir in $PATH
15332 do
15333   IFS=$as_save_IFS
15334   test -z "$as_dir" && as_dir=.
15335     for ac_exec_ext in '' $ac_executable_extensions; do
15336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15337     ac_cv_prog_CC="${ac_tool_prefix}cc"
15338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15339     break 2
15340   fi
15341 done
15342   done
15343 IFS=$as_save_IFS
15344
15345 fi
15346 fi
15347 CC=$ac_cv_prog_CC
15348 if test -n "$CC"; then
15349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15350 $as_echo "$CC" >&6; }
15351 else
15352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15353 $as_echo "no" >&6; }
15354 fi
15355
15356
15357   fi
15358 fi
15359 if test -z "$CC"; then
15360   # Extract the first word of "cc", so it can be a program name with args.
15361 set dummy cc; ac_word=$2
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15363 $as_echo_n "checking for $ac_word... " >&6; }
15364 if ${ac_cv_prog_CC+:} false; then :
15365   $as_echo_n "(cached) " >&6
15366 else
15367   if test -n "$CC"; then
15368   ac_cv_prog_CC="$CC" # Let the user override the test.
15369 else
15370   ac_prog_rejected=no
15371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15372 for as_dir in $PATH
15373 do
15374   IFS=$as_save_IFS
15375   test -z "$as_dir" && as_dir=.
15376     for ac_exec_ext in '' $ac_executable_extensions; do
15377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15378     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15379        ac_prog_rejected=yes
15380        continue
15381      fi
15382     ac_cv_prog_CC="cc"
15383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15384     break 2
15385   fi
15386 done
15387   done
15388 IFS=$as_save_IFS
15389
15390 if test $ac_prog_rejected = yes; then
15391   # We found a bogon in the path, so make sure we never use it.
15392   set dummy $ac_cv_prog_CC
15393   shift
15394   if test $# != 0; then
15395     # We chose a different compiler from the bogus one.
15396     # However, it has the same basename, so the bogon will be chosen
15397     # first if we set CC to just the basename; use the full file name.
15398     shift
15399     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15400   fi
15401 fi
15402 fi
15403 fi
15404 CC=$ac_cv_prog_CC
15405 if test -n "$CC"; then
15406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15407 $as_echo "$CC" >&6; }
15408 else
15409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15410 $as_echo "no" >&6; }
15411 fi
15412
15413
15414 fi
15415 if test -z "$CC"; then
15416   if test -n "$ac_tool_prefix"; then
15417   for ac_prog in cl.exe
15418   do
15419     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15420 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15422 $as_echo_n "checking for $ac_word... " >&6; }
15423 if ${ac_cv_prog_CC+:} false; then :
15424   $as_echo_n "(cached) " >&6
15425 else
15426   if test -n "$CC"; then
15427   ac_cv_prog_CC="$CC" # Let the user override the test.
15428 else
15429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15430 for as_dir in $PATH
15431 do
15432   IFS=$as_save_IFS
15433   test -z "$as_dir" && as_dir=.
15434     for ac_exec_ext in '' $ac_executable_extensions; do
15435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15436     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15438     break 2
15439   fi
15440 done
15441   done
15442 IFS=$as_save_IFS
15443
15444 fi
15445 fi
15446 CC=$ac_cv_prog_CC
15447 if test -n "$CC"; then
15448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15449 $as_echo "$CC" >&6; }
15450 else
15451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15452 $as_echo "no" >&6; }
15453 fi
15454
15455
15456     test -n "$CC" && break
15457   done
15458 fi
15459 if test -z "$CC"; then
15460   ac_ct_CC=$CC
15461   for ac_prog in cl.exe
15462 do
15463   # Extract the first word of "$ac_prog", so it can be a program name with args.
15464 set dummy $ac_prog; ac_word=$2
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15466 $as_echo_n "checking for $ac_word... " >&6; }
15467 if ${ac_cv_prog_ac_ct_CC+:} false; then :
15468   $as_echo_n "(cached) " >&6
15469 else
15470   if test -n "$ac_ct_CC"; then
15471   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15472 else
15473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15474 for as_dir in $PATH
15475 do
15476   IFS=$as_save_IFS
15477   test -z "$as_dir" && as_dir=.
15478     for ac_exec_ext in '' $ac_executable_extensions; do
15479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15480     ac_cv_prog_ac_ct_CC="$ac_prog"
15481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15482     break 2
15483   fi
15484 done
15485   done
15486 IFS=$as_save_IFS
15487
15488 fi
15489 fi
15490 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15491 if test -n "$ac_ct_CC"; then
15492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15493 $as_echo "$ac_ct_CC" >&6; }
15494 else
15495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15496 $as_echo "no" >&6; }
15497 fi
15498
15499
15500   test -n "$ac_ct_CC" && break
15501 done
15502
15503   if test "x$ac_ct_CC" = x; then
15504     CC=""
15505   else
15506     case $cross_compiling:$ac_tool_warned in
15507 yes:)
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15510 ac_tool_warned=yes ;;
15511 esac
15512     CC=$ac_ct_CC
15513   fi
15514 fi
15515
15516 fi
15517
15518
15519 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15521 as_fn_error $? "no acceptable C compiler found in \$PATH
15522 See \`config.log' for more details" "$LINENO" 5; }
15523
15524 # Provide some information about the compiler.
15525 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
15526 set X $ac_compile
15527 ac_compiler=$2
15528 for ac_option in --version -v -V -qversion; do
15529   { { ac_try="$ac_compiler $ac_option >&5"
15530 case "(($ac_try" in
15531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15532   *) ac_try_echo=$ac_try;;
15533 esac
15534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15535 $as_echo "$ac_try_echo"; } >&5
15536   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15537   ac_status=$?
15538   if test -s conftest.err; then
15539     sed '10a\
15540 ... rest of stderr output deleted ...
15541          10q' conftest.err >conftest.er1
15542     cat conftest.er1 >&5
15543   fi
15544   rm -f conftest.er1 conftest.err
15545   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15546   test $ac_status = 0; }
15547 done
15548
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
15550 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
15551 if ${ac_cv_c_compiler_gnu+:} false; then :
15552   $as_echo_n "(cached) " >&6
15553 else
15554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h.  */
15556
15557 int
15558 main ()
15559 {
15560 #ifndef __GNUC__
15561        choke me
15562 #endif
15563
15564   ;
15565   return 0;
15566 }
15567 _ACEOF
15568 if ac_fn_c_try_compile "$LINENO"; then :
15569   ac_compiler_gnu=yes
15570 else
15571   ac_compiler_gnu=no
15572 fi
15573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15574 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15575
15576 fi
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
15578 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
15579 if test $ac_compiler_gnu = yes; then
15580   GCC=yes
15581 else
15582   GCC=
15583 fi
15584 ac_test_CFLAGS=${CFLAGS+set}
15585 ac_save_CFLAGS=$CFLAGS
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
15587 $as_echo_n "checking whether $CC accepts -g... " >&6; }
15588 if ${ac_cv_prog_cc_g+:} false; then :
15589   $as_echo_n "(cached) " >&6
15590 else
15591   ac_save_c_werror_flag=$ac_c_werror_flag
15592    ac_c_werror_flag=yes
15593    ac_cv_prog_cc_g=no
15594    CFLAGS="-g"
15595    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h.  */
15597
15598 int
15599 main ()
15600 {
15601
15602   ;
15603   return 0;
15604 }
15605 _ACEOF
15606 if ac_fn_c_try_compile "$LINENO"; then :
15607   ac_cv_prog_cc_g=yes
15608 else
15609   CFLAGS=""
15610       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15611 /* end confdefs.h.  */
15612
15613 int
15614 main ()
15615 {
15616
15617   ;
15618   return 0;
15619 }
15620 _ACEOF
15621 if ac_fn_c_try_compile "$LINENO"; then :
15622
15623 else
15624   ac_c_werror_flag=$ac_save_c_werror_flag
15625          CFLAGS="-g"
15626          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h.  */
15628
15629 int
15630 main ()
15631 {
15632
15633   ;
15634   return 0;
15635 }
15636 _ACEOF
15637 if ac_fn_c_try_compile "$LINENO"; then :
15638   ac_cv_prog_cc_g=yes
15639 fi
15640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15641 fi
15642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15643 fi
15644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15645    ac_c_werror_flag=$ac_save_c_werror_flag
15646 fi
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
15648 $as_echo "$ac_cv_prog_cc_g" >&6; }
15649 if test "$ac_test_CFLAGS" = set; then
15650   CFLAGS=$ac_save_CFLAGS
15651 elif test $ac_cv_prog_cc_g = yes; then
15652   if test "$GCC" = yes; then
15653     CFLAGS="-g -O2"
15654   else
15655     CFLAGS="-g"
15656   fi
15657 else
15658   if test "$GCC" = yes; then
15659     CFLAGS="-O2"
15660   else
15661     CFLAGS=
15662   fi
15663 fi
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
15665 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15666 if ${ac_cv_prog_cc_c89+:} false; then :
15667   $as_echo_n "(cached) " >&6
15668 else
15669   ac_cv_prog_cc_c89=no
15670 ac_save_CC=$CC
15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h.  */
15673 #include <stdarg.h>
15674 #include <stdio.h>
15675 #include <sys/types.h>
15676 #include <sys/stat.h>
15677 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
15678 struct buf { int x; };
15679 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15680 static char *e (p, i)
15681      char **p;
15682      int i;
15683 {
15684   return p[i];
15685 }
15686 static char *f (char * (*g) (char **, int), char **p, ...)
15687 {
15688   char *s;
15689   va_list v;
15690   va_start (v,p);
15691   s = g (p, va_arg (v,int));
15692   va_end (v);
15693   return s;
15694 }
15695
15696 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
15697    function prototypes and stuff, but not '\xHH' hex character constants.
15698    These don't provoke an error unfortunately, instead are silently treated
15699    as 'x'.  The following induces an error, until -std is added to get
15700    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
15701    array size at least.  It's necessary to write '\x00'==0 to get something
15702    that's true only with -std.  */
15703 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15704
15705 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15706    inside strings and character constants.  */
15707 #define FOO(x) 'x'
15708 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15709
15710 int test (int i, double x);
15711 struct s1 {int (*f) (int a);};
15712 struct s2 {int (*f) (double a);};
15713 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15714 int argc;
15715 char **argv;
15716 int
15717 main ()
15718 {
15719 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
15720   ;
15721   return 0;
15722 }
15723 _ACEOF
15724 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15725         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15726 do
15727   CC="$ac_save_CC $ac_arg"
15728   if ac_fn_c_try_compile "$LINENO"; then :
15729   ac_cv_prog_cc_c89=$ac_arg
15730 fi
15731 rm -f core conftest.err conftest.$ac_objext
15732   test "x$ac_cv_prog_cc_c89" != "xno" && break
15733 done
15734 rm -f conftest.$ac_ext
15735 CC=$ac_save_CC
15736
15737 fi
15738 # AC_CACHE_VAL
15739 case "x$ac_cv_prog_cc_c89" in
15740   x)
15741     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15742 $as_echo "none needed" >&6; } ;;
15743   xno)
15744     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15745 $as_echo "unsupported" >&6; } ;;
15746   *)
15747     CC="$CC $ac_cv_prog_cc_c89"
15748     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
15749 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
15750 esac
15751 if test "x$ac_cv_prog_cc_c89" != xno; then :
15752
15753 fi
15754
15755 ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15760
15761 depcc="$CC"   am_compiler_list=
15762
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15764 $as_echo_n "checking dependency style of $depcc... " >&6; }
15765 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
15766   $as_echo_n "(cached) " >&6
15767 else
15768   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15769   # We make a subdir and do the tests there.  Otherwise we can end up
15770   # making bogus files that we don't know about and never remove.  For
15771   # instance it was reported that on HP-UX the gcc test will end up
15772   # making a dummy file named `D' -- because `-MD' means `put the output
15773   # in D'.
15774   rm -rf conftest.dir
15775   mkdir conftest.dir
15776   # Copy depcomp to subdir because otherwise we won't find it if we're
15777   # using a relative directory.
15778   cp "$am_depcomp" conftest.dir
15779   cd conftest.dir
15780   # We will build objects and dependencies in a subdirectory because
15781   # it helps to detect inapplicable dependency modes.  For instance
15782   # both Tru64's cc and ICC support -MD to output dependencies as a
15783   # side effect of compilation, but ICC will put the dependencies in
15784   # the current directory while Tru64 will put them in the object
15785   # directory.
15786   mkdir sub
15787
15788   am_cv_CC_dependencies_compiler_type=none
15789   if test "$am_compiler_list" = ""; then
15790      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15791   fi
15792   am__universal=false
15793   case " $depcc " in #(
15794      *\ -arch\ *\ -arch\ *) am__universal=true ;;
15795      esac
15796
15797   for depmode in $am_compiler_list; do
15798     # Setup a source with many dependencies, because some compilers
15799     # like to wrap large dependency lists on column 80 (with \), and
15800     # we should not choose a depcomp mode which is confused by this.
15801     #
15802     # We need to recreate these files for each test, as the compiler may
15803     # overwrite some of them when testing with obscure command lines.
15804     # This happens at least with the AIX C compiler.
15805     : > sub/conftest.c
15806     for i in 1 2 3 4 5 6; do
15807       echo '#include "conftst'$i'.h"' >> sub/conftest.c
15808       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15809       # Solaris 8's {/usr,}/bin/sh.
15810       touch sub/conftst$i.h
15811     done
15812     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15813
15814     # We check with `-c' and `-o' for the sake of the "dashmstdout"
15815     # mode.  It turns out that the SunPro C++ compiler does not properly
15816     # handle `-M -o', and we need to detect this.  Also, some Intel
15817     # versions had trouble with output in subdirs
15818     am__obj=sub/conftest.${OBJEXT-o}
15819     am__minus_obj="-o $am__obj"
15820     case $depmode in
15821     gcc)
15822       # This depmode causes a compiler race in universal mode.
15823       test "$am__universal" = false || continue
15824       ;;
15825     nosideeffect)
15826       # after this tag, mechanisms are not by side-effect, so they'll
15827       # only be used when explicitly requested
15828       if test "x$enable_dependency_tracking" = xyes; then
15829         continue
15830       else
15831         break
15832       fi
15833       ;;
15834     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
15835       # This compiler won't grok `-c -o', but also, the minuso test has
15836       # not run yet.  These depmodes are late enough in the game, and
15837       # so weak that their functioning should not be impacted.
15838       am__obj=conftest.${OBJEXT-o}
15839       am__minus_obj=
15840       ;;
15841     none) break ;;
15842     esac
15843     if depmode=$depmode \
15844        source=sub/conftest.c object=$am__obj \
15845        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15846        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15847          >/dev/null 2>conftest.err &&
15848        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15849        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15850        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15851        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15852       # icc doesn't choke on unknown options, it will just issue warnings
15853       # or remarks (even with -Werror).  So we grep stderr for any message
15854       # that says an option was ignored or not supported.
15855       # When given -MP, icc 7.0 and 7.1 complain thusly:
15856       #   icc: Command line warning: ignoring option '-M'; no argument required
15857       # The diagnosis changed in icc 8.0:
15858       #   icc: Command line remark: option '-MP' not supported
15859       if (grep 'ignoring option' conftest.err ||
15860           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15861         am_cv_CC_dependencies_compiler_type=$depmode
15862         break
15863       fi
15864     fi
15865   done
15866
15867   cd ..
15868   rm -rf conftest.dir
15869 else
15870   am_cv_CC_dependencies_compiler_type=none
15871 fi
15872
15873 fi
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
15875 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
15876 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
15877
15878  if
15879   test "x$enable_dependency_tracking" != xno \
15880   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
15881   am__fastdepCC_TRUE=
15882   am__fastdepCC_FALSE='#'
15883 else
15884   am__fastdepCC_TRUE='#'
15885   am__fastdepCC_FALSE=
15886 fi
15887
15888
15889
15890 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
15891
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15893 $as_echo_n "checking for ANSI C header files... " >&6; }
15894 if ${ac_cv_header_stdc+:} false; then :
15895   $as_echo_n "(cached) " >&6
15896 else
15897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h.  */
15899 #include <stdlib.h>
15900 #include <stdarg.h>
15901 #include <string.h>
15902 #include <float.h>
15903
15904 int
15905 main ()
15906 {
15907
15908   ;
15909   return 0;
15910 }
15911 _ACEOF
15912 if ac_fn_c_try_compile "$LINENO"; then :
15913   ac_cv_header_stdc=yes
15914 else
15915   ac_cv_header_stdc=no
15916 fi
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15918
15919 if test $ac_cv_header_stdc = yes; then
15920   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15922 /* end confdefs.h.  */
15923 #include <string.h>
15924
15925 _ACEOF
15926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15927   $EGREP "memchr" >/dev/null 2>&1; then :
15928
15929 else
15930   ac_cv_header_stdc=no
15931 fi
15932 rm -f conftest*
15933
15934 fi
15935
15936 if test $ac_cv_header_stdc = yes; then
15937   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15939 /* end confdefs.h.  */
15940 #include <stdlib.h>
15941
15942 _ACEOF
15943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15944   $EGREP "free" >/dev/null 2>&1; then :
15945
15946 else
15947   ac_cv_header_stdc=no
15948 fi
15949 rm -f conftest*
15950
15951 fi
15952
15953 if test $ac_cv_header_stdc = yes; then
15954   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15955   if test "$cross_compiling" = yes; then :
15956   :
15957 else
15958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15959 /* end confdefs.h.  */
15960 #include <ctype.h>
15961 #include <stdlib.h>
15962 #if ((' ' & 0x0FF) == 0x020)
15963 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15964 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15965 #else
15966 # define ISLOWER(c) \
15967                    (('a' <= (c) && (c) <= 'i') \
15968                      || ('j' <= (c) && (c) <= 'r') \
15969                      || ('s' <= (c) && (c) <= 'z'))
15970 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15971 #endif
15972
15973 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15974 int
15975 main ()
15976 {
15977   int i;
15978   for (i = 0; i < 256; i++)
15979     if (XOR (islower (i), ISLOWER (i))
15980         || toupper (i) != TOUPPER (i))
15981       return 2;
15982   return 0;
15983 }
15984 _ACEOF
15985 if ac_fn_c_try_run "$LINENO"; then :
15986
15987 else
15988   ac_cv_header_stdc=no
15989 fi
15990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15991   conftest.$ac_objext conftest.beam conftest.$ac_ext
15992 fi
15993
15994 fi
15995 fi
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15997 $as_echo "$ac_cv_header_stdc" >&6; }
15998 if test $ac_cv_header_stdc = yes; then
15999
16000 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16001
16002 fi
16003
16004
16005 case "${host_os}" in
16006    mingw*)
16007       EFREET_CFLAGS="${EFREET_CFLAGS} ${EVIL_CFLAGS}"
16008    ;;
16009 esac
16010
16011 if ! test "x${VMIC}" = "x" ; then
16012
16013
16014 CFLAGS_save="${CFLAGS}"
16015 CFLAGS="${CFLAGS} -Wall"
16016
16017 ac_ext=c
16018 ac_cpp='$CPP $CPPFLAGS'
16019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16022
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
16024 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
16025
16026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16027 /* end confdefs.h.  */
16028
16029 int
16030 main ()
16031 {
16032
16033   ;
16034   return 0;
16035 }
16036 _ACEOF
16037 if ac_fn_c_try_compile "$LINENO"; then :
16038   have_flag="yes"
16039 else
16040   have_flag="no"
16041 fi
16042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
16044 $as_echo "${have_flag}" >&6; }
16045
16046 if test "x${have_flag}" = "xno" ; then
16047    CFLAGS="${CFLAGS_save}"
16048 fi
16049 ac_ext=c
16050 ac_cpp='$CPP $CPPFLAGS'
16051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16054
16055
16056
16057
16058
16059 CFLAGS_save="${CFLAGS}"
16060 CFLAGS="${CFLAGS} -W"
16061
16062 ac_ext=c
16063 ac_cpp='$CPP $CPPFLAGS'
16064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16067
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
16069 $as_echo_n "checking whether the compiler supports -W... " >&6; }
16070
16071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072 /* end confdefs.h.  */
16073
16074 int
16075 main ()
16076 {
16077
16078   ;
16079   return 0;
16080 }
16081 _ACEOF
16082 if ac_fn_c_try_compile "$LINENO"; then :
16083   have_flag="yes"
16084 else
16085   have_flag="no"
16086 fi
16087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
16089 $as_echo "${have_flag}" >&6; }
16090
16091 if test "x${have_flag}" = "xno" ; then
16092    CFLAGS="${CFLAGS_save}"
16093 fi
16094 ac_ext=c
16095 ac_cpp='$CPP $CPPFLAGS'
16096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16099
16100
16101
16102 fi
16103
16104
16105
16106 CFLAGS_save="${CFLAGS}"
16107 CFLAGS="${CFLAGS} -Wshadow"
16108
16109 ac_ext=c
16110 ac_cpp='$CPP $CPPFLAGS'
16111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16114
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
16116 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
16117
16118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16119 /* end confdefs.h.  */
16120
16121 int
16122 main ()
16123 {
16124
16125   ;
16126   return 0;
16127 }
16128 _ACEOF
16129 if ac_fn_c_try_compile "$LINENO"; then :
16130   have_flag="yes"
16131 else
16132   have_flag="no"
16133 fi
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
16136 $as_echo "${have_flag}" >&6; }
16137
16138 if test "x${have_flag}" = "xno" ; then
16139    CFLAGS="${CFLAGS_save}"
16140 fi
16141 ac_ext=c
16142 ac_cpp='$CPP $CPPFLAGS'
16143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16146
16147
16148
16149
16150
16151
16152 default_max="4096"
16153
16154 ac_ext=c
16155 ac_cpp='$CPP $CPPFLAGS'
16156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16159
16160
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
16162 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
16163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16164 /* end confdefs.h.  */
16165
16166 #include <limits.h>
16167
16168 int
16169 main ()
16170 {
16171
16172 int i = PATH_MAX;
16173
16174   ;
16175   return 0;
16176 }
16177 _ACEOF
16178 if ac_fn_c_try_compile "$LINENO"; then :
16179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16180 $as_echo "yes" >&6; }
16181 else
16182
16183
16184 cat >>confdefs.h <<_ACEOF
16185 #define PATH_MAX ${default_max}
16186 _ACEOF
16187
16188     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
16189 $as_echo "no: using ${default_max}" >&6; }
16190
16191 fi
16192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16193
16194 ac_ext=c
16195 ac_cpp='$CPP $CPPFLAGS'
16196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16199
16200
16201
16202
16203
16204 ### Checks for linker characteristics
16205 lt_enable_auto_import=""
16206 WIN32_LIBS=""
16207 case "${host_os}" in
16208    mingw*)
16209       WIN32_LIBS="-lws2_32"
16210       lt_enable_auto_import="-Wl,--enable-auto-import"
16211    ;;
16212 esac
16213
16214
16215
16216
16217 ### Checks for library functions
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
16219 $as_echo_n "checking for library containing strerror... " >&6; }
16220 if ${ac_cv_search_strerror+:} false; then :
16221   $as_echo_n "(cached) " >&6
16222 else
16223   ac_func_search_save_LIBS=$LIBS
16224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h.  */
16226
16227 /* Override any GCC internal prototype to avoid an error.
16228    Use char because int might match the return type of a GCC
16229    builtin and then its argument prototype would still apply.  */
16230 #ifdef __cplusplus
16231 extern "C"
16232 #endif
16233 char strerror ();
16234 int
16235 main ()
16236 {
16237 return strerror ();
16238   ;
16239   return 0;
16240 }
16241 _ACEOF
16242 for ac_lib in '' cposix; do
16243   if test -z "$ac_lib"; then
16244     ac_res="none required"
16245   else
16246     ac_res=-l$ac_lib
16247     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16248   fi
16249   if ac_fn_c_try_link "$LINENO"; then :
16250   ac_cv_search_strerror=$ac_res
16251 fi
16252 rm -f core conftest.err conftest.$ac_objext \
16253     conftest$ac_exeext
16254   if ${ac_cv_search_strerror+:} false; then :
16255   break
16256 fi
16257 done
16258 if ${ac_cv_search_strerror+:} false; then :
16259
16260 else
16261   ac_cv_search_strerror=no
16262 fi
16263 rm conftest.$ac_ext
16264 LIBS=$ac_func_search_save_LIBS
16265 fi
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
16267 $as_echo "$ac_cv_search_strerror" >&6; }
16268 ac_res=$ac_cv_search_strerror
16269 if test "$ac_res" != no; then :
16270   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16271
16272 fi
16273
16274 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16275 if test "x$ac_cv_type_size_t" = xyes; then :
16276
16277 else
16278
16279 cat >>confdefs.h <<_ACEOF
16280 #define size_t unsigned int
16281 _ACEOF
16282
16283 fi
16284
16285 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16286 # for constant arguments.  Useless!
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16288 $as_echo_n "checking for working alloca.h... " >&6; }
16289 if ${ac_cv_working_alloca_h+:} false; then :
16290   $as_echo_n "(cached) " >&6
16291 else
16292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16293 /* end confdefs.h.  */
16294 #include <alloca.h>
16295 int
16296 main ()
16297 {
16298 char *p = (char *) alloca (2 * sizeof (int));
16299                           if (p) return 0;
16300   ;
16301   return 0;
16302 }
16303 _ACEOF
16304 if ac_fn_c_try_link "$LINENO"; then :
16305   ac_cv_working_alloca_h=yes
16306 else
16307   ac_cv_working_alloca_h=no
16308 fi
16309 rm -f core conftest.err conftest.$ac_objext \
16310     conftest$ac_exeext conftest.$ac_ext
16311 fi
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16313 $as_echo "$ac_cv_working_alloca_h" >&6; }
16314 if test $ac_cv_working_alloca_h = yes; then
16315
16316 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16317
16318 fi
16319
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16321 $as_echo_n "checking for alloca... " >&6; }
16322 if ${ac_cv_func_alloca_works+:} false; then :
16323   $as_echo_n "(cached) " >&6
16324 else
16325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h.  */
16327 #ifdef __GNUC__
16328 # define alloca __builtin_alloca
16329 #else
16330 # ifdef _MSC_VER
16331 #  include <malloc.h>
16332 #  define alloca _alloca
16333 # else
16334 #  ifdef HAVE_ALLOCA_H
16335 #   include <alloca.h>
16336 #  else
16337 #   ifdef _AIX
16338  #pragma alloca
16339 #   else
16340 #    ifndef alloca /* predefined by HP cc +Olibcalls */
16341 void *alloca (size_t);
16342 #    endif
16343 #   endif
16344 #  endif
16345 # endif
16346 #endif
16347
16348 int
16349 main ()
16350 {
16351 char *p = (char *) alloca (1);
16352                                     if (p) return 0;
16353   ;
16354   return 0;
16355 }
16356 _ACEOF
16357 if ac_fn_c_try_link "$LINENO"; then :
16358   ac_cv_func_alloca_works=yes
16359 else
16360   ac_cv_func_alloca_works=no
16361 fi
16362 rm -f core conftest.err conftest.$ac_objext \
16363     conftest$ac_exeext conftest.$ac_ext
16364 fi
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16366 $as_echo "$ac_cv_func_alloca_works" >&6; }
16367
16368 if test $ac_cv_func_alloca_works = yes; then
16369
16370 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16371
16372 else
16373   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16374 # that cause trouble.  Some versions do not even contain alloca or
16375 # contain a buggy version.  If you still want to use their alloca,
16376 # use ar to extract alloca.o from them instead of compiling alloca.c.
16377
16378 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16379
16380 $as_echo "#define C_ALLOCA 1" >>confdefs.h
16381
16382
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16384 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16385 if ${ac_cv_os_cray+:} false; then :
16386   $as_echo_n "(cached) " >&6
16387 else
16388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h.  */
16390 #if defined CRAY && ! defined CRAY2
16391 webecray
16392 #else
16393 wenotbecray
16394 #endif
16395
16396 _ACEOF
16397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16398   $EGREP "webecray" >/dev/null 2>&1; then :
16399   ac_cv_os_cray=yes
16400 else
16401   ac_cv_os_cray=no
16402 fi
16403 rm -f conftest*
16404
16405 fi
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16407 $as_echo "$ac_cv_os_cray" >&6; }
16408 if test $ac_cv_os_cray = yes; then
16409   for ac_func in _getb67 GETB67 getb67; do
16410     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16412 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16413
16414 cat >>confdefs.h <<_ACEOF
16415 #define CRAY_STACKSEG_END $ac_func
16416 _ACEOF
16417
16418     break
16419 fi
16420
16421   done
16422 fi
16423
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16425 $as_echo_n "checking stack direction for C alloca... " >&6; }
16426 if ${ac_cv_c_stack_direction+:} false; then :
16427   $as_echo_n "(cached) " >&6
16428 else
16429   if test "$cross_compiling" = yes; then :
16430   ac_cv_c_stack_direction=0
16431 else
16432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h.  */
16434 $ac_includes_default
16435 int
16436 find_stack_direction ()
16437 {
16438   static char *addr = 0;
16439   auto char dummy;
16440   if (addr == 0)
16441     {
16442       addr = &dummy;
16443       return find_stack_direction ();
16444     }
16445   else
16446     return (&dummy > addr) ? 1 : -1;
16447 }
16448
16449 int
16450 main ()
16451 {
16452   return find_stack_direction () < 0;
16453 }
16454 _ACEOF
16455 if ac_fn_c_try_run "$LINENO"; then :
16456   ac_cv_c_stack_direction=1
16457 else
16458   ac_cv_c_stack_direction=-1
16459 fi
16460 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16461   conftest.$ac_objext conftest.beam conftest.$ac_ext
16462 fi
16463
16464 fi
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16466 $as_echo "$ac_cv_c_stack_direction" >&6; }
16467 cat >>confdefs.h <<_ACEOF
16468 #define STACK_DIRECTION $ac_cv_c_stack_direction
16469 _ACEOF
16470
16471
16472 fi
16473
16474 for ac_func in strlcpy clearenv
16475 do :
16476   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16478 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16479   cat >>confdefs.h <<_ACEOF
16480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16481 _ACEOF
16482
16483 fi
16484 done
16485
16486
16487 ### Unit tests, coverage
16488
16489
16490
16491
16492 # Check whether --enable-tests was given.
16493 if test "${enable_tests+set}" = set; then :
16494   enableval=$enable_tests;
16495     if test "x${enableval}" = "xyes" ; then
16496        _efl_enable_tests="yes"
16497     else
16498        _efl_enable_tests="no"
16499     fi
16500
16501 else
16502   _efl_enable_tests="no"
16503 fi
16504
16505
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
16507 $as_echo_n "checking whether tests are built... " >&6; }
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
16509 $as_echo "${_efl_enable_tests}" >&6; }
16510
16511
16512
16513 if test "x${_efl_enable_tests}" = "xyes" ; then
16514
16515 pkg_failed=no
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
16517 $as_echo_n "checking for CHECK... " >&6; }
16518
16519 if test -n "$CHECK_CFLAGS"; then
16520     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
16521  elif test -n "$PKG_CONFIG"; then
16522     if test -n "$PKG_CONFIG" && \
16523     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16524   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16525   ac_status=$?
16526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16527   test $ac_status = 0; }; then
16528   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
16529                       test "x$?" != "x0" && pkg_failed=yes
16530 else
16531   pkg_failed=yes
16532 fi
16533  else
16534     pkg_failed=untried
16535 fi
16536 if test -n "$CHECK_LIBS"; then
16537     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
16538  elif test -n "$PKG_CONFIG"; then
16539     if test -n "$PKG_CONFIG" && \
16540     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16541   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16542   ac_status=$?
16543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16544   test $ac_status = 0; }; then
16545   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
16546                       test "x$?" != "x0" && pkg_failed=yes
16547 else
16548   pkg_failed=yes
16549 fi
16550  else
16551     pkg_failed=untried
16552 fi
16553
16554
16555
16556 if test $pkg_failed = yes; then
16557         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16558 $as_echo "no" >&6; }
16559
16560 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16561         _pkg_short_errors_supported=yes
16562 else
16563         _pkg_short_errors_supported=no
16564 fi
16565         if test $_pkg_short_errors_supported = yes; then
16566                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
16567         else
16568                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
16569         fi
16570         # Put the nasty error message in config.log where it belongs
16571         echo "$CHECK_PKG_ERRORS" >&5
16572
16573         _efl_enable_tests="no"
16574 elif test $pkg_failed = untried; then
16575         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16576 $as_echo "no" >&6; }
16577         _efl_enable_tests="no"
16578 else
16579         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
16580         CHECK_LIBS=$pkg_cv_CHECK_LIBS
16581         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16582 $as_echo "yes" >&6; }
16583         dummy="yes"
16584 fi
16585 fi
16586
16587  if test "x${_efl_enable_tests}" = "xyes"; then
16588   EFL_ENABLE_TESTS_TRUE=
16589   EFL_ENABLE_TESTS_FALSE='#'
16590 else
16591   EFL_ENABLE_TESTS_TRUE='#'
16592   EFL_ENABLE_TESTS_FALSE=
16593 fi
16594
16595
16596 if test "x$_efl_enable_tests" = "xyes"; then :
16597   enable_tests="yes"
16598 else
16599   enable_tests="no"
16600 fi
16601
16602
16603
16604
16605
16606 # Check whether --enable-coverage was given.
16607 if test "${enable_coverage+set}" = set; then :
16608   enableval=$enable_coverage;
16609     if test "x${enableval}" = "xyes" ; then
16610        _efl_enable_coverage="yes"
16611     else
16612        _efl_enable_coverage="no"
16613     fi
16614
16615 else
16616   _efl_enable_coverage="no"
16617 fi
16618
16619
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
16621 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
16623 $as_echo "$_efl_enable_coverage" >&6; }
16624
16625
16626 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
16627    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
16628 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
16629    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
16630 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
16631    _efl_enable_coverage="no"
16632 fi
16633
16634 if test "x$_efl_enable_coverage" = "xyes" ; then
16635    # Extract the first word of "lcov", so it can be a program name with args.
16636 set dummy lcov; ac_word=$2
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16638 $as_echo_n "checking for $ac_word... " >&6; }
16639 if ${ac_cv_prog_have_lcov+:} false; then :
16640   $as_echo_n "(cached) " >&6
16641 else
16642   if test -n "$have_lcov"; then
16643   ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
16644 else
16645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16646 for as_dir in $PATH
16647 do
16648   IFS=$as_save_IFS
16649   test -z "$as_dir" && as_dir=.
16650     for ac_exec_ext in '' $ac_executable_extensions; do
16651   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16652     ac_cv_prog_have_lcov="yes"
16653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16654     break 2
16655   fi
16656 done
16657   done
16658 IFS=$as_save_IFS
16659
16660   test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
16661 fi
16662 fi
16663 have_lcov=$ac_cv_prog_have_lcov
16664 if test -n "$have_lcov"; then
16665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
16666 $as_echo "$have_lcov" >&6; }
16667 else
16668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16669 $as_echo "no" >&6; }
16670 fi
16671
16672
16673    if test "x$have_lcov" = "xyes" ; then
16674       EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
16675       EFL_COVERAGE_LIBS="-lgcov"
16676 # remove any optimisation flag and force debug symbols
16677       EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
16678    else
16679       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
16680 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
16681       _efl_enable_coverage="no"
16682    fi
16683 fi
16684
16685
16686
16687
16688  if test "x${_efl_enable_coverage}" = "xyes"; then
16689   EFL_ENABLE_COVERAGE_TRUE=
16690   EFL_ENABLE_COVERAGE_FALSE='#'
16691 else
16692   EFL_ENABLE_COVERAGE_TRUE='#'
16693   EFL_ENABLE_COVERAGE_FALSE=
16694 fi
16695
16696
16697 if test "x$_efl_enable_coverage" = "xyes"; then :
16698   enable_coverage="yes"
16699 else
16700   enable_coverage="no"
16701 fi
16702
16703 EFREET_CFLAGS="${EFREET_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
16704 EFREET_LIBS="${EFREET_LIBS} ${EFL_COVERAGE_LIBS}"
16705 if test "x$enable_coverage" = "xyes" ; then
16706    EFREET_CFLAGS="${EFREET_CFLAGS} ${EFL_DEBUG_CFLAGS}"
16707 fi
16708
16709
16710
16711 ac_config_files="$ac_config_files efreet.spec efreet.pc efreet-mime.pc efreet-trash.pc Makefile doc/Makefile doc/Doxyfile src/Makefile src/lib/Makefile src/bin/Makefile src/tests/Makefile src/tests/data/Makefile src/tests/data/sub/Makefile src/tests/compare/Makefile $po_makefile_in"
16712
16713 cat >confcache <<\_ACEOF
16714 # This file is a shell script that caches the results of configure
16715 # tests run on this system so they can be shared between configure
16716 # scripts and configure runs, see configure's option --config-cache.
16717 # It is not useful on other systems.  If it contains results you don't
16718 # want to keep, you may remove or edit it.
16719 #
16720 # config.status only pays attention to the cache file if you give it
16721 # the --recheck option to rerun configure.
16722 #
16723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16725 # following values.
16726
16727 _ACEOF
16728
16729 # The following way of writing the cache mishandles newlines in values,
16730 # but we know of no workaround that is simple, portable, and efficient.
16731 # So, we kill variables containing newlines.
16732 # Ultrix sh set writes to stderr and can't be redirected directly,
16733 # and sets the high bit in the cache file unless we assign to the vars.
16734 (
16735   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16736     eval ac_val=\$$ac_var
16737     case $ac_val in #(
16738     *${as_nl}*)
16739       case $ac_var in #(
16740       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16741 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16742       esac
16743       case $ac_var in #(
16744       _ | IFS | as_nl) ;; #(
16745       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16746       *) { eval $ac_var=; unset $ac_var;} ;;
16747       esac ;;
16748     esac
16749   done
16750
16751   (set) 2>&1 |
16752     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16753     *${as_nl}ac_space=\ *)
16754       # `set' does not quote correctly, so add quotes: double-quote
16755       # substitution turns \\\\ into \\, and sed turns \\ into \.
16756       sed -n \
16757         "s/'/'\\\\''/g;
16758           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16759       ;; #(
16760     *)
16761       # `set' quotes correctly as required by POSIX, so do not add quotes.
16762       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16763       ;;
16764     esac |
16765     sort
16766 ) |
16767   sed '
16768      /^ac_cv_env_/b end
16769      t clear
16770      :clear
16771      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16772      t end
16773      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16774      :end' >>confcache
16775 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16776   if test -w "$cache_file"; then
16777     if test "x$cache_file" != "x/dev/null"; then
16778       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16779 $as_echo "$as_me: updating cache $cache_file" >&6;}
16780       if test ! -f "$cache_file" || test -h "$cache_file"; then
16781         cat confcache >"$cache_file"
16782       else
16783         case $cache_file in #(
16784         */* | ?:*)
16785           mv -f confcache "$cache_file"$$ &&
16786           mv -f "$cache_file"$$ "$cache_file" ;; #(
16787         *)
16788           mv -f confcache "$cache_file" ;;
16789         esac
16790       fi
16791     fi
16792   else
16793     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16794 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16795   fi
16796 fi
16797 rm -f confcache
16798
16799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16800 # Let make expand exec_prefix.
16801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16802
16803 DEFS=-DHAVE_CONFIG_H
16804
16805 ac_libobjs=
16806 ac_ltlibobjs=
16807 U=
16808 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16809   # 1. Remove the extension, and $U if already installed.
16810   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16811   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16812   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16813   #    will be set to the directory where LIBOBJS objects are built.
16814   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16815   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16816 done
16817 LIBOBJS=$ac_libobjs
16818
16819 LTLIBOBJS=$ac_ltlibobjs
16820
16821
16822  if test -n "$EXEEXT"; then
16823   am__EXEEXT_TRUE=
16824   am__EXEEXT_FALSE='#'
16825 else
16826   am__EXEEXT_TRUE='#'
16827   am__EXEEXT_FALSE=
16828 fi
16829
16830 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16831   as_fn_error $? "conditional \"AMDEP\" was never defined.
16832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16833 fi
16834 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16835   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16837 fi
16838 if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
16839   as_fn_error $? "conditional \"HAVE_PO\" was never defined.
16840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16841 fi
16842 if test -z "${DEFAULT_VISIBILITY_TRUE}" && test -z "${DEFAULT_VISIBILITY_FALSE}"; then
16843   as_fn_error $? "conditional \"DEFAULT_VISIBILITY\" was never defined.
16844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16845 fi
16846 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16847   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16849 fi
16850 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
16851   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
16852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16853 fi
16854 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16855   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16857 fi
16858 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
16859   as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
16860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16861 fi
16862 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
16863   as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
16864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16865 fi
16866
16867 : "${CONFIG_STATUS=./config.status}"
16868 ac_write_fail=0
16869 ac_clean_files_save=$ac_clean_files
16870 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16872 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16873 as_write_fail=0
16874 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16875 #! $SHELL
16876 # Generated by $as_me.
16877 # Run this file to recreate the current configuration.
16878 # Compiler output produced by configure, useful for debugging
16879 # configure, is in config.log if it exists.
16880
16881 debug=false
16882 ac_cs_recheck=false
16883 ac_cs_silent=false
16884
16885 SHELL=\${CONFIG_SHELL-$SHELL}
16886 export SHELL
16887 _ASEOF
16888 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16889 ## -------------------- ##
16890 ## M4sh Initialization. ##
16891 ## -------------------- ##
16892
16893 # Be more Bourne compatible
16894 DUALCASE=1; export DUALCASE # for MKS sh
16895 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16896   emulate sh
16897   NULLCMD=:
16898   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16899   # is contrary to our usage.  Disable this feature.
16900   alias -g '${1+"$@"}'='"$@"'
16901   setopt NO_GLOB_SUBST
16902 else
16903   case `(set -o) 2>/dev/null` in #(
16904   *posix*) :
16905     set -o posix ;; #(
16906   *) :
16907      ;;
16908 esac
16909 fi
16910
16911
16912 as_nl='
16913 '
16914 export as_nl
16915 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16916 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16917 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16918 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16919 # Prefer a ksh shell builtin over an external printf program on Solaris,
16920 # but without wasting forks for bash or zsh.
16921 if test -z "$BASH_VERSION$ZSH_VERSION" \
16922     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16923   as_echo='print -r --'
16924   as_echo_n='print -rn --'
16925 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16926   as_echo='printf %s\n'
16927   as_echo_n='printf %s'
16928 else
16929   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16930     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16931     as_echo_n='/usr/ucb/echo -n'
16932   else
16933     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16934     as_echo_n_body='eval
16935       arg=$1;
16936       case $arg in #(
16937       *"$as_nl"*)
16938         expr "X$arg" : "X\\(.*\\)$as_nl";
16939         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16940       esac;
16941       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16942     '
16943     export as_echo_n_body
16944     as_echo_n='sh -c $as_echo_n_body as_echo'
16945   fi
16946   export as_echo_body
16947   as_echo='sh -c $as_echo_body as_echo'
16948 fi
16949
16950 # The user is always right.
16951 if test "${PATH_SEPARATOR+set}" != set; then
16952   PATH_SEPARATOR=:
16953   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16954     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16955       PATH_SEPARATOR=';'
16956   }
16957 fi
16958
16959
16960 # IFS
16961 # We need space, tab and new line, in precisely that order.  Quoting is
16962 # there to prevent editors from complaining about space-tab.
16963 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16964 # splitting by setting IFS to empty value.)
16965 IFS=" ""        $as_nl"
16966
16967 # Find who we are.  Look in the path if we contain no directory separator.
16968 as_myself=
16969 case $0 in #((
16970   *[\\/]* ) as_myself=$0 ;;
16971   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16972 for as_dir in $PATH
16973 do
16974   IFS=$as_save_IFS
16975   test -z "$as_dir" && as_dir=.
16976     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16977   done
16978 IFS=$as_save_IFS
16979
16980      ;;
16981 esac
16982 # We did not find ourselves, most probably we were run as `sh COMMAND'
16983 # in which case we are not to be found in the path.
16984 if test "x$as_myself" = x; then
16985   as_myself=$0
16986 fi
16987 if test ! -f "$as_myself"; then
16988   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16989   exit 1
16990 fi
16991
16992 # Unset variables that we do not need and which cause bugs (e.g. in
16993 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16994 # suppresses any "Segmentation fault" message there.  '((' could
16995 # trigger a bug in pdksh 5.2.14.
16996 for as_var in BASH_ENV ENV MAIL MAILPATH
16997 do eval test x\${$as_var+set} = xset \
16998   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16999 done
17000 PS1='$ '
17001 PS2='> '
17002 PS4='+ '
17003
17004 # NLS nuisances.
17005 LC_ALL=C
17006 export LC_ALL
17007 LANGUAGE=C
17008 export LANGUAGE
17009
17010 # CDPATH.
17011 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17012
17013
17014 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17015 # ----------------------------------------
17016 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17017 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17018 # script with STATUS, using 1 if that was 0.
17019 as_fn_error ()
17020 {
17021   as_status=$1; test $as_status -eq 0 && as_status=1
17022   if test "$4"; then
17023     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17024     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17025   fi
17026   $as_echo "$as_me: error: $2" >&2
17027   as_fn_exit $as_status
17028 } # as_fn_error
17029
17030
17031 # as_fn_set_status STATUS
17032 # -----------------------
17033 # Set $? to STATUS, without forking.
17034 as_fn_set_status ()
17035 {
17036   return $1
17037 } # as_fn_set_status
17038
17039 # as_fn_exit STATUS
17040 # -----------------
17041 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17042 as_fn_exit ()
17043 {
17044   set +e
17045   as_fn_set_status $1
17046   exit $1
17047 } # as_fn_exit
17048
17049 # as_fn_unset VAR
17050 # ---------------
17051 # Portably unset VAR.
17052 as_fn_unset ()
17053 {
17054   { eval $1=; unset $1;}
17055 }
17056 as_unset=as_fn_unset
17057 # as_fn_append VAR VALUE
17058 # ----------------------
17059 # Append the text in VALUE to the end of the definition contained in VAR. Take
17060 # advantage of any shell optimizations that allow amortized linear growth over
17061 # repeated appends, instead of the typical quadratic growth present in naive
17062 # implementations.
17063 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17064   eval 'as_fn_append ()
17065   {
17066     eval $1+=\$2
17067   }'
17068 else
17069   as_fn_append ()
17070   {
17071     eval $1=\$$1\$2
17072   }
17073 fi # as_fn_append
17074
17075 # as_fn_arith ARG...
17076 # ------------------
17077 # Perform arithmetic evaluation on the ARGs, and store the result in the
17078 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17079 # must be portable across $(()) and expr.
17080 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17081   eval 'as_fn_arith ()
17082   {
17083     as_val=$(( $* ))
17084   }'
17085 else
17086   as_fn_arith ()
17087   {
17088     as_val=`expr "$@" || test $? -eq 1`
17089   }
17090 fi # as_fn_arith
17091
17092
17093 if expr a : '\(a\)' >/dev/null 2>&1 &&
17094    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17095   as_expr=expr
17096 else
17097   as_expr=false
17098 fi
17099
17100 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17101   as_basename=basename
17102 else
17103   as_basename=false
17104 fi
17105
17106 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17107   as_dirname=dirname
17108 else
17109   as_dirname=false
17110 fi
17111
17112 as_me=`$as_basename -- "$0" ||
17113 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17114          X"$0" : 'X\(//\)$' \| \
17115          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17116 $as_echo X/"$0" |
17117     sed '/^.*\/\([^/][^/]*\)\/*$/{
17118             s//\1/
17119             q
17120           }
17121           /^X\/\(\/\/\)$/{
17122             s//\1/
17123             q
17124           }
17125           /^X\/\(\/\).*/{
17126             s//\1/
17127             q
17128           }
17129           s/.*/./; q'`
17130
17131 # Avoid depending upon Character Ranges.
17132 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17133 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17134 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17135 as_cr_digits='0123456789'
17136 as_cr_alnum=$as_cr_Letters$as_cr_digits
17137
17138 ECHO_C= ECHO_N= ECHO_T=
17139 case `echo -n x` in #(((((
17140 -n*)
17141   case `echo 'xy\c'` in
17142   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17143   xy)  ECHO_C='\c';;
17144   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17145        ECHO_T=' ';;
17146   esac;;
17147 *)
17148   ECHO_N='-n';;
17149 esac
17150
17151 rm -f conf$$ conf$$.exe conf$$.file
17152 if test -d conf$$.dir; then
17153   rm -f conf$$.dir/conf$$.file
17154 else
17155   rm -f conf$$.dir
17156   mkdir conf$$.dir 2>/dev/null
17157 fi
17158 if (echo >conf$$.file) 2>/dev/null; then
17159   if ln -s conf$$.file conf$$ 2>/dev/null; then
17160     as_ln_s='ln -s'
17161     # ... but there are two gotchas:
17162     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17163     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17164     # In both cases, we have to default to `cp -p'.
17165     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17166       as_ln_s='cp -p'
17167   elif ln conf$$.file conf$$ 2>/dev/null; then
17168     as_ln_s=ln
17169   else
17170     as_ln_s='cp -p'
17171   fi
17172 else
17173   as_ln_s='cp -p'
17174 fi
17175 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17176 rmdir conf$$.dir 2>/dev/null
17177
17178
17179 # as_fn_mkdir_p
17180 # -------------
17181 # Create "$as_dir" as a directory, including parents if necessary.
17182 as_fn_mkdir_p ()
17183 {
17184
17185   case $as_dir in #(
17186   -*) as_dir=./$as_dir;;
17187   esac
17188   test -d "$as_dir" || eval $as_mkdir_p || {
17189     as_dirs=
17190     while :; do
17191       case $as_dir in #(
17192       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17193       *) as_qdir=$as_dir;;
17194       esac
17195       as_dirs="'$as_qdir' $as_dirs"
17196       as_dir=`$as_dirname -- "$as_dir" ||
17197 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17198          X"$as_dir" : 'X\(//\)[^/]' \| \
17199          X"$as_dir" : 'X\(//\)$' \| \
17200          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17201 $as_echo X"$as_dir" |
17202     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17203             s//\1/
17204             q
17205           }
17206           /^X\(\/\/\)[^/].*/{
17207             s//\1/
17208             q
17209           }
17210           /^X\(\/\/\)$/{
17211             s//\1/
17212             q
17213           }
17214           /^X\(\/\).*/{
17215             s//\1/
17216             q
17217           }
17218           s/.*/./; q'`
17219       test -d "$as_dir" && break
17220     done
17221     test -z "$as_dirs" || eval "mkdir $as_dirs"
17222   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17223
17224
17225 } # as_fn_mkdir_p
17226 if mkdir -p . 2>/dev/null; then
17227   as_mkdir_p='mkdir -p "$as_dir"'
17228 else
17229   test -d ./-p && rmdir ./-p
17230   as_mkdir_p=false
17231 fi
17232
17233 if test -x / >/dev/null 2>&1; then
17234   as_test_x='test -x'
17235 else
17236   if ls -dL / >/dev/null 2>&1; then
17237     as_ls_L_option=L
17238   else
17239     as_ls_L_option=
17240   fi
17241   as_test_x='
17242     eval sh -c '\''
17243       if test -d "$1"; then
17244         test -d "$1/.";
17245       else
17246         case $1 in #(
17247         -*)set "./$1";;
17248         esac;
17249         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17250         ???[sx]*):;;*)false;;esac;fi
17251     '\'' sh
17252   '
17253 fi
17254 as_executable_p=$as_test_x
17255
17256 # Sed expression to map a string onto a valid CPP name.
17257 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17258
17259 # Sed expression to map a string onto a valid variable name.
17260 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17261
17262
17263 exec 6>&1
17264 ## ----------------------------------- ##
17265 ## Main body of $CONFIG_STATUS script. ##
17266 ## ----------------------------------- ##
17267 _ASEOF
17268 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17269
17270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17271 # Save the log message, to keep $0 and so on meaningful, and to
17272 # report actual input values of CONFIG_FILES etc. instead of their
17273 # values after options handling.
17274 ac_log="
17275 This file was extended by efreet $as_me 1.7.2, which was
17276 generated by GNU Autoconf 2.68.  Invocation command line was
17277
17278   CONFIG_FILES    = $CONFIG_FILES
17279   CONFIG_HEADERS  = $CONFIG_HEADERS
17280   CONFIG_LINKS    = $CONFIG_LINKS
17281   CONFIG_COMMANDS = $CONFIG_COMMANDS
17282   $ $0 $@
17283
17284 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17285 "
17286
17287 _ACEOF
17288
17289 case $ac_config_files in *"
17290 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17291 esac
17292
17293 case $ac_config_headers in *"
17294 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17295 esac
17296
17297
17298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17299 # Files that config.status was made for.
17300 config_files="$ac_config_files"
17301 config_headers="$ac_config_headers"
17302 config_commands="$ac_config_commands"
17303
17304 _ACEOF
17305
17306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17307 ac_cs_usage="\
17308 \`$as_me' instantiates files and other configuration actions
17309 from templates according to the current configuration.  Unless the files
17310 and actions are specified as TAGs, all are instantiated by default.
17311
17312 Usage: $0 [OPTION]... [TAG]...
17313
17314   -h, --help       print this help, then exit
17315   -V, --version    print version number and configuration settings, then exit
17316       --config     print configuration, then exit
17317   -q, --quiet, --silent
17318                    do not print progress messages
17319   -d, --debug      don't remove temporary files
17320       --recheck    update $as_me by reconfiguring in the same conditions
17321       --file=FILE[:TEMPLATE]
17322                    instantiate the configuration file FILE
17323       --header=FILE[:TEMPLATE]
17324                    instantiate the configuration header FILE
17325
17326 Configuration files:
17327 $config_files
17328
17329 Configuration headers:
17330 $config_headers
17331
17332 Configuration commands:
17333 $config_commands
17334
17335 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
17336
17337 _ACEOF
17338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17339 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17340 ac_cs_version="\\
17341 efreet config.status 1.7.2
17342 configured by $0, generated by GNU Autoconf 2.68,
17343   with options \\"\$ac_cs_config\\"
17344
17345 Copyright (C) 2010 Free Software Foundation, Inc.
17346 This config.status script is free software; the Free Software Foundation
17347 gives unlimited permission to copy, distribute and modify it."
17348
17349 ac_pwd='$ac_pwd'
17350 srcdir='$srcdir'
17351 INSTALL='$INSTALL'
17352 MKDIR_P='$MKDIR_P'
17353 AWK='$AWK'
17354 test -n "\$AWK" || AWK=awk
17355 _ACEOF
17356
17357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17358 # The default lists apply if the user does not specify any file.
17359 ac_need_defaults=:
17360 while test $# != 0
17361 do
17362   case $1 in
17363   --*=?*)
17364     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17365     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17366     ac_shift=:
17367     ;;
17368   --*=)
17369     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17370     ac_optarg=
17371     ac_shift=:
17372     ;;
17373   *)
17374     ac_option=$1
17375     ac_optarg=$2
17376     ac_shift=shift
17377     ;;
17378   esac
17379
17380   case $ac_option in
17381   # Handling of the options.
17382   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17383     ac_cs_recheck=: ;;
17384   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17385     $as_echo "$ac_cs_version"; exit ;;
17386   --config | --confi | --conf | --con | --co | --c )
17387     $as_echo "$ac_cs_config"; exit ;;
17388   --debug | --debu | --deb | --de | --d | -d )
17389     debug=: ;;
17390   --file | --fil | --fi | --f )
17391     $ac_shift
17392     case $ac_optarg in
17393     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17394     '') as_fn_error $? "missing file argument" ;;
17395     esac
17396     as_fn_append CONFIG_FILES " '$ac_optarg'"
17397     ac_need_defaults=false;;
17398   --header | --heade | --head | --hea )
17399     $ac_shift
17400     case $ac_optarg in
17401     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17402     esac
17403     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17404     ac_need_defaults=false;;
17405   --he | --h)
17406     # Conflict between --help and --header
17407     as_fn_error $? "ambiguous option: \`$1'
17408 Try \`$0 --help' for more information.";;
17409   --help | --hel | -h )
17410     $as_echo "$ac_cs_usage"; exit ;;
17411   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17412   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17413     ac_cs_silent=: ;;
17414
17415   # This is an error.
17416   -*) as_fn_error $? "unrecognized option: \`$1'
17417 Try \`$0 --help' for more information." ;;
17418
17419   *) as_fn_append ac_config_targets " $1"
17420      ac_need_defaults=false ;;
17421
17422   esac
17423   shift
17424 done
17425
17426 ac_configure_extra_args=
17427
17428 if $ac_cs_silent; then
17429   exec 6>/dev/null
17430   ac_configure_extra_args="$ac_configure_extra_args --silent"
17431 fi
17432
17433 _ACEOF
17434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17435 if \$ac_cs_recheck; then
17436   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17437   shift
17438   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17439   CONFIG_SHELL='$SHELL'
17440   export CONFIG_SHELL
17441   exec "\$@"
17442 fi
17443
17444 _ACEOF
17445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17446 exec 5>>config.log
17447 {
17448   echo
17449   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17450 ## Running $as_me. ##
17451 _ASBOX
17452   $as_echo "$ac_log"
17453 } >&5
17454
17455 _ACEOF
17456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17457 #
17458 # INIT-COMMANDS
17459 #
17460 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17461
17462
17463 # The HP-UX ksh and POSIX shell print the target directory to stdout
17464 # if CDPATH is set.
17465 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17466
17467 sed_quote_subst='$sed_quote_subst'
17468 double_quote_subst='$double_quote_subst'
17469 delay_variable_subst='$delay_variable_subst'
17470 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17471 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17472 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17473 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17474 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17475 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17476 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17477 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17478 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17479 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17480 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17481 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17482 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17483 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17484 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17485 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17486 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17487 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17488 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17489 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17490 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17491 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17492 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17493 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17494 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17495 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17496 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17497 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17498 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17499 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17500 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17501 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17502 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17503 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17504 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17505 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17506 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17507 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17508 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17509 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17510 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17511 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17512 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17513 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17514 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17515 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17516 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17517 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17518 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17519 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17520 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17521 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17522 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17523 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17524 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17525 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17526 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17527 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"`'
17528 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17529 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17530 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17531 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17532 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17533 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17534 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17535 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17536 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17537 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17538 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17539 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17540 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17541 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17542 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17543 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17544 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17545 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17546 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17547 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17548 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17549 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17550 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17551 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17552 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17553 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17554 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17555 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17556 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17557 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17558 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17559 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17560 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17561 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17562 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17563 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17564 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17565 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17566 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17567 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17568 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17569 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17570 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17571 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17572 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17573 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17574 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17575 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17576 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17577 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17578 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17579 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17580 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17581 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17582 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17583 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17584 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17585 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17586 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17587 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17588 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17589 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17590 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17591 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17592 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17593 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17594 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17595 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17596 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17597 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17598 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17599 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17600 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17601
17602 LTCC='$LTCC'
17603 LTCFLAGS='$LTCFLAGS'
17604 compiler='$compiler_DEFAULT'
17605
17606 # A function that is used when there is no print builtin or printf.
17607 func_fallback_echo ()
17608 {
17609   eval 'cat <<_LTECHO_EOF
17610 \$1
17611 _LTECHO_EOF'
17612 }
17613
17614 # Quote evaled strings.
17615 for var in AS \
17616 DLLTOOL \
17617 OBJDUMP \
17618 SHELL \
17619 ECHO \
17620 PATH_SEPARATOR \
17621 SED \
17622 GREP \
17623 EGREP \
17624 FGREP \
17625 LD \
17626 NM \
17627 LN_S \
17628 lt_SP2NL \
17629 lt_NL2SP \
17630 reload_flag \
17631 deplibs_check_method \
17632 file_magic_cmd \
17633 file_magic_glob \
17634 want_nocaseglob \
17635 sharedlib_from_linklib_cmd \
17636 AR \
17637 AR_FLAGS \
17638 archiver_list_spec \
17639 STRIP \
17640 RANLIB \
17641 CC \
17642 CFLAGS \
17643 compiler \
17644 lt_cv_sys_global_symbol_pipe \
17645 lt_cv_sys_global_symbol_to_cdecl \
17646 lt_cv_sys_global_symbol_to_c_name_address \
17647 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17648 nm_file_list_spec \
17649 lt_prog_compiler_no_builtin_flag \
17650 lt_prog_compiler_pic \
17651 lt_prog_compiler_wl \
17652 lt_prog_compiler_static \
17653 lt_cv_prog_compiler_c_o \
17654 need_locks \
17655 MANIFEST_TOOL \
17656 DSYMUTIL \
17657 NMEDIT \
17658 LIPO \
17659 OTOOL \
17660 OTOOL64 \
17661 shrext_cmds \
17662 export_dynamic_flag_spec \
17663 whole_archive_flag_spec \
17664 compiler_needs_object \
17665 with_gnu_ld \
17666 allow_undefined_flag \
17667 no_undefined_flag \
17668 hardcode_libdir_flag_spec \
17669 hardcode_libdir_separator \
17670 exclude_expsyms \
17671 include_expsyms \
17672 file_list_spec \
17673 variables_saved_for_relink \
17674 libname_spec \
17675 library_names_spec \
17676 soname_spec \
17677 install_override_mode \
17678 finish_eval \
17679 old_striplib \
17680 striplib; do
17681     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17682     *[\\\\\\\`\\"\\\$]*)
17683       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17684       ;;
17685     *)
17686       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17687       ;;
17688     esac
17689 done
17690
17691 # Double-quote double-evaled strings.
17692 for var in reload_cmds \
17693 old_postinstall_cmds \
17694 old_postuninstall_cmds \
17695 old_archive_cmds \
17696 extract_expsyms_cmds \
17697 old_archive_from_new_cmds \
17698 old_archive_from_expsyms_cmds \
17699 archive_cmds \
17700 archive_expsym_cmds \
17701 module_cmds \
17702 module_expsym_cmds \
17703 export_symbols_cmds \
17704 prelink_cmds \
17705 postlink_cmds \
17706 postinstall_cmds \
17707 postuninstall_cmds \
17708 finish_cmds \
17709 sys_lib_search_path_spec \
17710 sys_lib_dlsearch_path_spec; do
17711     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17712     *[\\\\\\\`\\"\\\$]*)
17713       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17714       ;;
17715     *)
17716       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17717       ;;
17718     esac
17719 done
17720
17721 ac_aux_dir='$ac_aux_dir'
17722 xsi_shell='$xsi_shell'
17723 lt_shell_append='$lt_shell_append'
17724
17725 # See if we are running on zsh, and set the options which allow our
17726 # commands through without removal of \ escapes INIT.
17727 if test -n "\${ZSH_VERSION+set}" ; then
17728    setopt NO_GLOB_SUBST
17729 fi
17730
17731
17732     PACKAGE='$PACKAGE'
17733     VERSION='$VERSION'
17734     TIMESTAMP='$TIMESTAMP'
17735     RM='$RM'
17736     ofile='$ofile'
17737
17738
17739
17740 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17741     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17742     # from automake < 1.5.
17743     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17744     # Capture the value of LINGUAS because we need it to compute CATALOGS.
17745     LINGUAS="${LINGUAS-%UNSET%}"
17746
17747
17748 _ACEOF
17749
17750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17751
17752 # Handling of arguments.
17753 for ac_config_target in $ac_config_targets
17754 do
17755   case $ac_config_target in
17756     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17757     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17758     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17759     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17760     "efreet.spec") CONFIG_FILES="$CONFIG_FILES efreet.spec" ;;
17761     "efreet.pc") CONFIG_FILES="$CONFIG_FILES efreet.pc" ;;
17762     "efreet-mime.pc") CONFIG_FILES="$CONFIG_FILES efreet-mime.pc" ;;
17763     "efreet-trash.pc") CONFIG_FILES="$CONFIG_FILES efreet-trash.pc" ;;
17764     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17765     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17766     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
17767     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17768     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
17769     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
17770     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
17771     "src/tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/data/Makefile" ;;
17772     "src/tests/data/sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/data/sub/Makefile" ;;
17773     "src/tests/compare/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/compare/Makefile" ;;
17774     "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
17775
17776   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17777   esac
17778 done
17779
17780
17781 # If the user did not use the arguments to specify the items to instantiate,
17782 # then the envvar interface is used.  Set only those that are not.
17783 # We use the long form for the default assignment because of an extremely
17784 # bizarre bug on SunOS 4.1.3.
17785 if $ac_need_defaults; then
17786   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17787   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17788   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17789 fi
17790
17791 # Have a temporary directory for convenience.  Make it in the build tree
17792 # simply because there is no reason against having it here, and in addition,
17793 # creating and moving files from /tmp can sometimes cause problems.
17794 # Hook for its removal unless debugging.
17795 # Note that there is a small window in which the directory will not be cleaned:
17796 # after its creation but before its name has been assigned to `$tmp'.
17797 $debug ||
17798 {
17799   tmp= ac_tmp=
17800   trap 'exit_status=$?
17801   : "${ac_tmp:=$tmp}"
17802   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17803 ' 0
17804   trap 'as_fn_exit 1' 1 2 13 15
17805 }
17806 # Create a (secure) tmp directory for tmp files.
17807
17808 {
17809   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17810   test -d "$tmp"
17811 }  ||
17812 {
17813   tmp=./conf$$-$RANDOM
17814   (umask 077 && mkdir "$tmp")
17815 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17816 ac_tmp=$tmp
17817
17818 # Set up the scripts for CONFIG_FILES section.
17819 # No need to generate them if there are no CONFIG_FILES.
17820 # This happens for instance with `./config.status config.h'.
17821 if test -n "$CONFIG_FILES"; then
17822
17823
17824 ac_cr=`echo X | tr X '\015'`
17825 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17826 # But we know of no other shell where ac_cr would be empty at this
17827 # point, so we can use a bashism as a fallback.
17828 if test "x$ac_cr" = x; then
17829   eval ac_cr=\$\'\\r\'
17830 fi
17831 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17832 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17833   ac_cs_awk_cr='\\r'
17834 else
17835   ac_cs_awk_cr=$ac_cr
17836 fi
17837
17838 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17839 _ACEOF
17840
17841
17842 {
17843   echo "cat >conf$$subs.awk <<_ACEOF" &&
17844   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17845   echo "_ACEOF"
17846 } >conf$$subs.sh ||
17847   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17848 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17849 ac_delim='%!_!# '
17850 for ac_last_try in false false false false false :; do
17851   . ./conf$$subs.sh ||
17852     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17853
17854   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17855   if test $ac_delim_n = $ac_delim_num; then
17856     break
17857   elif $ac_last_try; then
17858     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17859   else
17860     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17861   fi
17862 done
17863 rm -f conf$$subs.sh
17864
17865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17866 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17867 _ACEOF
17868 sed -n '
17869 h
17870 s/^/S["/; s/!.*/"]=/
17871 p
17872 g
17873 s/^[^!]*!//
17874 :repl
17875 t repl
17876 s/'"$ac_delim"'$//
17877 t delim
17878 :nl
17879 h
17880 s/\(.\{148\}\)..*/\1/
17881 t more1
17882 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17883 p
17884 n
17885 b repl
17886 :more1
17887 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17888 p
17889 g
17890 s/.\{148\}//
17891 t nl
17892 :delim
17893 h
17894 s/\(.\{148\}\)..*/\1/
17895 t more2
17896 s/["\\]/\\&/g; s/^/"/; s/$/"/
17897 p
17898 b
17899 :more2
17900 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17901 p
17902 g
17903 s/.\{148\}//
17904 t delim
17905 ' <conf$$subs.awk | sed '
17906 /^[^""]/{
17907   N
17908   s/\n//
17909 }
17910 ' >>$CONFIG_STATUS || ac_write_fail=1
17911 rm -f conf$$subs.awk
17912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17913 _ACAWK
17914 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17915   for (key in S) S_is_set[key] = 1
17916   FS = "\a"
17917
17918 }
17919 {
17920   line = $ 0
17921   nfields = split(line, field, "@")
17922   substed = 0
17923   len = length(field[1])
17924   for (i = 2; i < nfields; i++) {
17925     key = field[i]
17926     keylen = length(key)
17927     if (S_is_set[key]) {
17928       value = S[key]
17929       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17930       len += length(value) + length(field[++i])
17931       substed = 1
17932     } else
17933       len += 1 + keylen
17934   }
17935
17936   print line
17937 }
17938
17939 _ACAWK
17940 _ACEOF
17941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17942 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17943   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17944 else
17945   cat
17946 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17947   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17948 _ACEOF
17949
17950 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17951 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17952 # trailing colons and then remove the whole line if VPATH becomes empty
17953 # (actually we leave an empty line to preserve line numbers).
17954 if test "x$srcdir" = x.; then
17955   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17956 h
17957 s///
17958 s/^/:/
17959 s/[      ]*$/:/
17960 s/:\$(srcdir):/:/g
17961 s/:\${srcdir}:/:/g
17962 s/:@srcdir@:/:/g
17963 s/^:*//
17964 s/:*$//
17965 x
17966 s/\(=[   ]*\).*/\1/
17967 G
17968 s/\n//
17969 s/^[^=]*=[       ]*$//
17970 }'
17971 fi
17972
17973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17974 fi # test -n "$CONFIG_FILES"
17975
17976 # Set up the scripts for CONFIG_HEADERS section.
17977 # No need to generate them if there are no CONFIG_HEADERS.
17978 # This happens for instance with `./config.status Makefile'.
17979 if test -n "$CONFIG_HEADERS"; then
17980 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17981 BEGIN {
17982 _ACEOF
17983
17984 # Transform confdefs.h into an awk script `defines.awk', embedded as
17985 # here-document in config.status, that substitutes the proper values into
17986 # config.h.in to produce config.h.
17987
17988 # Create a delimiter string that does not exist in confdefs.h, to ease
17989 # handling of long lines.
17990 ac_delim='%!_!# '
17991 for ac_last_try in false false :; do
17992   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17993   if test -z "$ac_tt"; then
17994     break
17995   elif $ac_last_try; then
17996     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17997   else
17998     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17999   fi
18000 done
18001
18002 # For the awk script, D is an array of macro values keyed by name,
18003 # likewise P contains macro parameters if any.  Preserve backslash
18004 # newline sequences.
18005
18006 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18007 sed -n '
18008 s/.\{148\}/&'"$ac_delim"'/g
18009 t rset
18010 :rset
18011 s/^[     ]*#[    ]*define[       ][      ]*/ /
18012 t def
18013 d
18014 :def
18015 s/\\$//
18016 t bsnl
18017 s/["\\]/\\&/g
18018 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18019 D["\1"]=" \3"/p
18020 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
18021 d
18022 :bsnl
18023 s/["\\]/\\&/g
18024 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18025 D["\1"]=" \3\\\\\\n"\\/p
18026 t cont
18027 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18028 t cont
18029 d
18030 :cont
18031 n
18032 s/.\{148\}/&'"$ac_delim"'/g
18033 t clear
18034 :clear
18035 s/\\$//
18036 t bsnlc
18037 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18038 d
18039 :bsnlc
18040 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18041 b cont
18042 ' <confdefs.h | sed '
18043 s/'"$ac_delim"'/"\\\
18044 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18045
18046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18047   for (key in D) D_is_set[key] = 1
18048   FS = "\a"
18049 }
18050 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18051   line = \$ 0
18052   split(line, arg, " ")
18053   if (arg[1] == "#") {
18054     defundef = arg[2]
18055     mac1 = arg[3]
18056   } else {
18057     defundef = substr(arg[1], 2)
18058     mac1 = arg[2]
18059   }
18060   split(mac1, mac2, "(") #)
18061   macro = mac2[1]
18062   prefix = substr(line, 1, index(line, defundef) - 1)
18063   if (D_is_set[macro]) {
18064     # Preserve the white space surrounding the "#".
18065     print prefix "define", macro P[macro] D[macro]
18066     next
18067   } else {
18068     # Replace #undef with comments.  This is necessary, for example,
18069     # in the case of _POSIX_SOURCE, which is predefined and required
18070     # on some systems where configure will not decide to define it.
18071     if (defundef == "undef") {
18072       print "/*", prefix defundef, macro, "*/"
18073       next
18074     }
18075   }
18076 }
18077 { print }
18078 _ACAWK
18079 _ACEOF
18080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18081   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18082 fi # test -n "$CONFIG_HEADERS"
18083
18084
18085 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18086 shift
18087 for ac_tag
18088 do
18089   case $ac_tag in
18090   :[FHLC]) ac_mode=$ac_tag; continue;;
18091   esac
18092   case $ac_mode$ac_tag in
18093   :[FHL]*:*);;
18094   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18095   :[FH]-) ac_tag=-:-;;
18096   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18097   esac
18098   ac_save_IFS=$IFS
18099   IFS=:
18100   set x $ac_tag
18101   IFS=$ac_save_IFS
18102   shift
18103   ac_file=$1
18104   shift
18105
18106   case $ac_mode in
18107   :L) ac_source=$1;;
18108   :[FH])
18109     ac_file_inputs=
18110     for ac_f
18111     do
18112       case $ac_f in
18113       -) ac_f="$ac_tmp/stdin";;
18114       *) # Look for the file first in the build tree, then in the source tree
18115          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18116          # because $ac_f cannot contain `:'.
18117          test -f "$ac_f" ||
18118            case $ac_f in
18119            [\\/$]*) false;;
18120            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18121            esac ||
18122            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18123       esac
18124       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18125       as_fn_append ac_file_inputs " '$ac_f'"
18126     done
18127
18128     # Let's still pretend it is `configure' which instantiates (i.e., don't
18129     # use $as_me), people would be surprised to read:
18130     #    /* config.h.  Generated by config.status.  */
18131     configure_input='Generated from '`
18132           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18133         `' by configure.'
18134     if test x"$ac_file" != x-; then
18135       configure_input="$ac_file.  $configure_input"
18136       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18137 $as_echo "$as_me: creating $ac_file" >&6;}
18138     fi
18139     # Neutralize special characters interpreted by sed in replacement strings.
18140     case $configure_input in #(
18141     *\&* | *\|* | *\\* )
18142        ac_sed_conf_input=`$as_echo "$configure_input" |
18143        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18144     *) ac_sed_conf_input=$configure_input;;
18145     esac
18146
18147     case $ac_tag in
18148     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18149       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18150     esac
18151     ;;
18152   esac
18153
18154   ac_dir=`$as_dirname -- "$ac_file" ||
18155 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18156          X"$ac_file" : 'X\(//\)[^/]' \| \
18157          X"$ac_file" : 'X\(//\)$' \| \
18158          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18159 $as_echo X"$ac_file" |
18160     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18161             s//\1/
18162             q
18163           }
18164           /^X\(\/\/\)[^/].*/{
18165             s//\1/
18166             q
18167           }
18168           /^X\(\/\/\)$/{
18169             s//\1/
18170             q
18171           }
18172           /^X\(\/\).*/{
18173             s//\1/
18174             q
18175           }
18176           s/.*/./; q'`
18177   as_dir="$ac_dir"; as_fn_mkdir_p
18178   ac_builddir=.
18179
18180 case "$ac_dir" in
18181 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18182 *)
18183   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18184   # A ".." for each directory in $ac_dir_suffix.
18185   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18186   case $ac_top_builddir_sub in
18187   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18188   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18189   esac ;;
18190 esac
18191 ac_abs_top_builddir=$ac_pwd
18192 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18193 # for backward compatibility:
18194 ac_top_builddir=$ac_top_build_prefix
18195
18196 case $srcdir in
18197   .)  # We are building in place.
18198     ac_srcdir=.
18199     ac_top_srcdir=$ac_top_builddir_sub
18200     ac_abs_top_srcdir=$ac_pwd ;;
18201   [\\/]* | ?:[\\/]* )  # Absolute name.
18202     ac_srcdir=$srcdir$ac_dir_suffix;
18203     ac_top_srcdir=$srcdir
18204     ac_abs_top_srcdir=$srcdir ;;
18205   *) # Relative name.
18206     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18207     ac_top_srcdir=$ac_top_build_prefix$srcdir
18208     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18209 esac
18210 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18211
18212
18213   case $ac_mode in
18214   :F)
18215   #
18216   # CONFIG_FILE
18217   #
18218
18219   case $INSTALL in
18220   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18221   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18222   esac
18223   ac_MKDIR_P=$MKDIR_P
18224   case $MKDIR_P in
18225   [\\/$]* | ?:[\\/]* ) ;;
18226   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18227   esac
18228 _ACEOF
18229
18230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18231 # If the template does not know about datarootdir, expand it.
18232 # FIXME: This hack should be removed a few years after 2.60.
18233 ac_datarootdir_hack=; ac_datarootdir_seen=
18234 ac_sed_dataroot='
18235 /datarootdir/ {
18236   p
18237   q
18238 }
18239 /@datadir@/p
18240 /@docdir@/p
18241 /@infodir@/p
18242 /@localedir@/p
18243 /@mandir@/p'
18244 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18245 *datarootdir*) ac_datarootdir_seen=yes;;
18246 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18247   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18248 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18249 _ACEOF
18250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18251   ac_datarootdir_hack='
18252   s&@datadir@&$datadir&g
18253   s&@docdir@&$docdir&g
18254   s&@infodir@&$infodir&g
18255   s&@localedir@&$localedir&g
18256   s&@mandir@&$mandir&g
18257   s&\\\${datarootdir}&$datarootdir&g' ;;
18258 esac
18259 _ACEOF
18260
18261 # Neutralize VPATH when `$srcdir' = `.'.
18262 # Shell code in configure.ac might set extrasub.
18263 # FIXME: do we really want to maintain this feature?
18264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18265 ac_sed_extra="$ac_vpsub
18266 $extrasub
18267 _ACEOF
18268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18269 :t
18270 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18271 s|@configure_input@|$ac_sed_conf_input|;t t
18272 s&@top_builddir@&$ac_top_builddir_sub&;t t
18273 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18274 s&@srcdir@&$ac_srcdir&;t t
18275 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18276 s&@top_srcdir@&$ac_top_srcdir&;t t
18277 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18278 s&@builddir@&$ac_builddir&;t t
18279 s&@abs_builddir@&$ac_abs_builddir&;t t
18280 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18281 s&@INSTALL@&$ac_INSTALL&;t t
18282 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18283 $ac_datarootdir_hack
18284 "
18285 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18286   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18287
18288 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18289   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18290   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18291       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18292   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18293 which seems to be undefined.  Please make sure it is defined" >&5
18294 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18295 which seems to be undefined.  Please make sure it is defined" >&2;}
18296
18297   rm -f "$ac_tmp/stdin"
18298   case $ac_file in
18299   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18300   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18301   esac \
18302   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18303  ;;
18304   :H)
18305   #
18306   # CONFIG_HEADER
18307   #
18308   if test x"$ac_file" != x-; then
18309     {
18310       $as_echo "/* $configure_input  */" \
18311       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18312     } >"$ac_tmp/config.h" \
18313       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18314     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18315       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18316 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18317     else
18318       rm -f "$ac_file"
18319       mv "$ac_tmp/config.h" "$ac_file" \
18320         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18321     fi
18322   else
18323     $as_echo "/* $configure_input  */" \
18324       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18325       || as_fn_error $? "could not create -" "$LINENO" 5
18326   fi
18327 # Compute "$ac_file"'s index in $config_headers.
18328 _am_arg="$ac_file"
18329 _am_stamp_count=1
18330 for _am_header in $config_headers :; do
18331   case $_am_header in
18332     $_am_arg | $_am_arg:* )
18333       break ;;
18334     * )
18335       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18336   esac
18337 done
18338 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18339 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18340          X"$_am_arg" : 'X\(//\)[^/]' \| \
18341          X"$_am_arg" : 'X\(//\)$' \| \
18342          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18343 $as_echo X"$_am_arg" |
18344     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18345             s//\1/
18346             q
18347           }
18348           /^X\(\/\/\)[^/].*/{
18349             s//\1/
18350             q
18351           }
18352           /^X\(\/\/\)$/{
18353             s//\1/
18354             q
18355           }
18356           /^X\(\/\).*/{
18357             s//\1/
18358             q
18359           }
18360           s/.*/./; q'`/stamp-h$_am_stamp_count
18361  ;;
18362
18363   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18364 $as_echo "$as_me: executing $ac_file commands" >&6;}
18365  ;;
18366   esac
18367
18368
18369   case $ac_file$ac_mode in
18370     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18371   # Autoconf 2.62 quotes --file arguments for eval, but not when files
18372   # are listed without --file.  Let's play safe and only enable the eval
18373   # if we detect the quoting.
18374   case $CONFIG_FILES in
18375   *\'*) eval set x "$CONFIG_FILES" ;;
18376   *)   set x $CONFIG_FILES ;;
18377   esac
18378   shift
18379   for mf
18380   do
18381     # Strip MF so we end up with the name of the file.
18382     mf=`echo "$mf" | sed -e 's/:.*$//'`
18383     # Check whether this is an Automake generated Makefile or not.
18384     # We used to match only the files named `Makefile.in', but
18385     # some people rename them; so instead we look at the file content.
18386     # Grep'ing the first line is not enough: some people post-process
18387     # each Makefile.in and add a new line on top of each file to say so.
18388     # Grep'ing the whole file is not good either: AIX grep has a line
18389     # limit of 2048, but all sed's we know have understand at least 4000.
18390     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18391       dirpart=`$as_dirname -- "$mf" ||
18392 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18393          X"$mf" : 'X\(//\)[^/]' \| \
18394          X"$mf" : 'X\(//\)$' \| \
18395          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18396 $as_echo X"$mf" |
18397     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18398             s//\1/
18399             q
18400           }
18401           /^X\(\/\/\)[^/].*/{
18402             s//\1/
18403             q
18404           }
18405           /^X\(\/\/\)$/{
18406             s//\1/
18407             q
18408           }
18409           /^X\(\/\).*/{
18410             s//\1/
18411             q
18412           }
18413           s/.*/./; q'`
18414     else
18415       continue
18416     fi
18417     # Extract the definition of DEPDIR, am__include, and am__quote
18418     # from the Makefile without running `make'.
18419     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18420     test -z "$DEPDIR" && continue
18421     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18422     test -z "am__include" && continue
18423     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18424     # When using ansi2knr, U may be empty or an underscore; expand it
18425     U=`sed -n 's/^U = //p' < "$mf"`
18426     # Find all dependency output files, they are included files with
18427     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18428     # simplest approach to changing $(DEPDIR) to its actual value in the
18429     # expansion.
18430     for file in `sed -n "
18431       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18432          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18433       # Make sure the directory exists.
18434       test -f "$dirpart/$file" && continue
18435       fdir=`$as_dirname -- "$file" ||
18436 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18437          X"$file" : 'X\(//\)[^/]' \| \
18438          X"$file" : 'X\(//\)$' \| \
18439          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18440 $as_echo X"$file" |
18441     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18442             s//\1/
18443             q
18444           }
18445           /^X\(\/\/\)[^/].*/{
18446             s//\1/
18447             q
18448           }
18449           /^X\(\/\/\)$/{
18450             s//\1/
18451             q
18452           }
18453           /^X\(\/\).*/{
18454             s//\1/
18455             q
18456           }
18457           s/.*/./; q'`
18458       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18459       # echo "creating $dirpart/$file"
18460       echo '# dummy' > "$dirpart/$file"
18461     done
18462   done
18463 }
18464  ;;
18465     "libtool":C)
18466
18467     # See if we are running on zsh, and set the options which allow our
18468     # commands through without removal of \ escapes.
18469     if test -n "${ZSH_VERSION+set}" ; then
18470       setopt NO_GLOB_SUBST
18471     fi
18472
18473     cfgfile="${ofile}T"
18474     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18475     $RM "$cfgfile"
18476
18477     cat <<_LT_EOF >> "$cfgfile"
18478 #! $SHELL
18479
18480 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18481 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18482 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18483 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18484 #
18485 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18486 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18487 #                 Foundation, Inc.
18488 #   Written by Gordon Matzigkeit, 1996
18489 #
18490 #   This file is part of GNU Libtool.
18491 #
18492 # GNU Libtool is free software; you can redistribute it and/or
18493 # modify it under the terms of the GNU General Public License as
18494 # published by the Free Software Foundation; either version 2 of
18495 # the License, or (at your option) any later version.
18496 #
18497 # As a special exception to the GNU General Public License,
18498 # if you distribute this file as part of a program or library that
18499 # is built using GNU Libtool, you may include this file under the
18500 # same distribution terms that you use for the rest of that program.
18501 #
18502 # GNU Libtool is distributed in the hope that it will be useful,
18503 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18504 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18505 # GNU General Public License for more details.
18506 #
18507 # You should have received a copy of the GNU General Public License
18508 # along with GNU Libtool; see the file COPYING.  If not, a copy
18509 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18510 # obtained by writing to the Free Software Foundation, Inc.,
18511 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18512
18513
18514 # The names of the tagged configurations supported by this script.
18515 available_tags=""
18516
18517 # ### BEGIN LIBTOOL CONFIG
18518
18519 # Assembler program.
18520 AS=$lt_AS
18521
18522 # DLL creation program.
18523 DLLTOOL=$lt_DLLTOOL
18524
18525 # Object dumper program.
18526 OBJDUMP=$lt_OBJDUMP
18527
18528 # Which release of libtool.m4 was used?
18529 macro_version=$macro_version
18530 macro_revision=$macro_revision
18531
18532 # Whether or not to build shared libraries.
18533 build_libtool_libs=$enable_shared
18534
18535 # Whether or not to build static libraries.
18536 build_old_libs=$enable_static
18537
18538 # What type of objects to build.
18539 pic_mode=$pic_mode
18540
18541 # Whether or not to optimize for fast installation.
18542 fast_install=$enable_fast_install
18543
18544 # Shell to use when invoking shell scripts.
18545 SHELL=$lt_SHELL
18546
18547 # An echo program that protects backslashes.
18548 ECHO=$lt_ECHO
18549
18550 # The PATH separator for the build system.
18551 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18552
18553 # The host system.
18554 host_alias=$host_alias
18555 host=$host
18556 host_os=$host_os
18557
18558 # The build system.
18559 build_alias=$build_alias
18560 build=$build
18561 build_os=$build_os
18562
18563 # A sed program that does not truncate output.
18564 SED=$lt_SED
18565
18566 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18567 Xsed="\$SED -e 1s/^X//"
18568
18569 # A grep program that handles long lines.
18570 GREP=$lt_GREP
18571
18572 # An ERE matcher.
18573 EGREP=$lt_EGREP
18574
18575 # A literal string matcher.
18576 FGREP=$lt_FGREP
18577
18578 # A BSD- or MS-compatible name lister.
18579 NM=$lt_NM
18580
18581 # Whether we need soft or hard links.
18582 LN_S=$lt_LN_S
18583
18584 # What is the maximum length of a command?
18585 max_cmd_len=$max_cmd_len
18586
18587 # Object file suffix (normally "o").
18588 objext=$ac_objext
18589
18590 # Executable file suffix (normally "").
18591 exeext=$exeext
18592
18593 # whether the shell understands "unset".
18594 lt_unset=$lt_unset
18595
18596 # turn spaces into newlines.
18597 SP2NL=$lt_lt_SP2NL
18598
18599 # turn newlines into spaces.
18600 NL2SP=$lt_lt_NL2SP
18601
18602 # convert \$build file names to \$host format.
18603 to_host_file_cmd=$lt_cv_to_host_file_cmd
18604
18605 # convert \$build files to toolchain format.
18606 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18607
18608 # Method to check whether dependent libraries are shared objects.
18609 deplibs_check_method=$lt_deplibs_check_method
18610
18611 # Command to use when deplibs_check_method = "file_magic".
18612 file_magic_cmd=$lt_file_magic_cmd
18613
18614 # How to find potential files when deplibs_check_method = "file_magic".
18615 file_magic_glob=$lt_file_magic_glob
18616
18617 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18618 want_nocaseglob=$lt_want_nocaseglob
18619
18620 # Command to associate shared and link libraries.
18621 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18622
18623 # The archiver.
18624 AR=$lt_AR
18625
18626 # Flags to create an archive.
18627 AR_FLAGS=$lt_AR_FLAGS
18628
18629 # How to feed a file listing to the archiver.
18630 archiver_list_spec=$lt_archiver_list_spec
18631
18632 # A symbol stripping program.
18633 STRIP=$lt_STRIP
18634
18635 # Commands used to install an old-style archive.
18636 RANLIB=$lt_RANLIB
18637 old_postinstall_cmds=$lt_old_postinstall_cmds
18638 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18639
18640 # Whether to use a lock for old archive extraction.
18641 lock_old_archive_extraction=$lock_old_archive_extraction
18642
18643 # A C compiler.
18644 LTCC=$lt_CC
18645
18646 # LTCC compiler flags.
18647 LTCFLAGS=$lt_CFLAGS
18648
18649 # Take the output of nm and produce a listing of raw symbols and C names.
18650 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18651
18652 # Transform the output of nm in a proper C declaration.
18653 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18654
18655 # Transform the output of nm in a C name address pair.
18656 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18657
18658 # Transform the output of nm in a C name address pair when lib prefix is needed.
18659 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18660
18661 # Specify filename containing input files for \$NM.
18662 nm_file_list_spec=$lt_nm_file_list_spec
18663
18664 # The root where to search for dependent libraries,and in which our libraries should be installed.
18665 lt_sysroot=$lt_sysroot
18666
18667 # The name of the directory that contains temporary libtool files.
18668 objdir=$objdir
18669
18670 # Used to examine libraries when file_magic_cmd begins with "file".
18671 MAGIC_CMD=$MAGIC_CMD
18672
18673 # Must we lock files when doing compilation?
18674 need_locks=$lt_need_locks
18675
18676 # Manifest tool.
18677 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18678
18679 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18680 DSYMUTIL=$lt_DSYMUTIL
18681
18682 # Tool to change global to local symbols on Mac OS X.
18683 NMEDIT=$lt_NMEDIT
18684
18685 # Tool to manipulate fat objects and archives on Mac OS X.
18686 LIPO=$lt_LIPO
18687
18688 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18689 OTOOL=$lt_OTOOL
18690
18691 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18692 OTOOL64=$lt_OTOOL64
18693
18694 # Old archive suffix (normally "a").
18695 libext=$libext
18696
18697 # Shared library suffix (normally ".so").
18698 shrext_cmds=$lt_shrext_cmds
18699
18700 # The commands to extract the exported symbol list from a shared archive.
18701 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18702
18703 # Variables whose values should be saved in libtool wrapper scripts and
18704 # restored at link time.
18705 variables_saved_for_relink=$lt_variables_saved_for_relink
18706
18707 # Do we need the "lib" prefix for modules?
18708 need_lib_prefix=$need_lib_prefix
18709
18710 # Do we need a version for libraries?
18711 need_version=$need_version
18712
18713 # Library versioning type.
18714 version_type=$version_type
18715
18716 # Shared library runtime path variable.
18717 runpath_var=$runpath_var
18718
18719 # Shared library path variable.
18720 shlibpath_var=$shlibpath_var
18721
18722 # Is shlibpath searched before the hard-coded library search path?
18723 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18724
18725 # Format of library name prefix.
18726 libname_spec=$lt_libname_spec
18727
18728 # List of archive names.  First name is the real one, the rest are links.
18729 # The last name is the one that the linker finds with -lNAME
18730 library_names_spec=$lt_library_names_spec
18731
18732 # The coded name of the library, if different from the real name.
18733 soname_spec=$lt_soname_spec
18734
18735 # Permission mode override for installation of shared libraries.
18736 install_override_mode=$lt_install_override_mode
18737
18738 # Command to use after installation of a shared archive.
18739 postinstall_cmds=$lt_postinstall_cmds
18740
18741 # Command to use after uninstallation of a shared archive.
18742 postuninstall_cmds=$lt_postuninstall_cmds
18743
18744 # Commands used to finish a libtool library installation in a directory.
18745 finish_cmds=$lt_finish_cmds
18746
18747 # As "finish_cmds", except a single script fragment to be evaled but
18748 # not shown.
18749 finish_eval=$lt_finish_eval
18750
18751 # Whether we should hardcode library paths into libraries.
18752 hardcode_into_libs=$hardcode_into_libs
18753
18754 # Compile-time system search path for libraries.
18755 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18756
18757 # Run-time system search path for libraries.
18758 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18759
18760 # Whether dlopen is supported.
18761 dlopen_support=$enable_dlopen
18762
18763 # Whether dlopen of programs is supported.
18764 dlopen_self=$enable_dlopen_self
18765
18766 # Whether dlopen of statically linked programs is supported.
18767 dlopen_self_static=$enable_dlopen_self_static
18768
18769 # Commands to strip libraries.
18770 old_striplib=$lt_old_striplib
18771 striplib=$lt_striplib
18772
18773
18774 # The linker used to build libraries.
18775 LD=$lt_LD
18776
18777 # How to create reloadable object files.
18778 reload_flag=$lt_reload_flag
18779 reload_cmds=$lt_reload_cmds
18780
18781 # Commands used to build an old-style archive.
18782 old_archive_cmds=$lt_old_archive_cmds
18783
18784 # A language specific compiler.
18785 CC=$lt_compiler
18786
18787 # Is the compiler the GNU compiler?
18788 with_gcc=$GCC
18789
18790 # Compiler flag to turn off builtin functions.
18791 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18792
18793 # Additional compiler flags for building library objects.
18794 pic_flag=$lt_lt_prog_compiler_pic
18795
18796 # How to pass a linker flag through the compiler.
18797 wl=$lt_lt_prog_compiler_wl
18798
18799 # Compiler flag to prevent dynamic linking.
18800 link_static_flag=$lt_lt_prog_compiler_static
18801
18802 # Does compiler simultaneously support -c and -o options?
18803 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18804
18805 # Whether or not to add -lc for building shared libraries.
18806 build_libtool_need_lc=$archive_cmds_need_lc
18807
18808 # Whether or not to disallow shared libs when runtime libs are static.
18809 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18810
18811 # Compiler flag to allow reflexive dlopens.
18812 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18813
18814 # Compiler flag to generate shared objects directly from archives.
18815 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18816
18817 # Whether the compiler copes with passing no objects directly.
18818 compiler_needs_object=$lt_compiler_needs_object
18819
18820 # Create an old-style archive from a shared archive.
18821 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18822
18823 # Create a temporary old-style archive to link instead of a shared archive.
18824 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18825
18826 # Commands used to build a shared archive.
18827 archive_cmds=$lt_archive_cmds
18828 archive_expsym_cmds=$lt_archive_expsym_cmds
18829
18830 # Commands used to build a loadable module if different from building
18831 # a shared archive.
18832 module_cmds=$lt_module_cmds
18833 module_expsym_cmds=$lt_module_expsym_cmds
18834
18835 # Whether we are building with GNU ld or not.
18836 with_gnu_ld=$lt_with_gnu_ld
18837
18838 # Flag that allows shared libraries with undefined symbols to be built.
18839 allow_undefined_flag=$lt_allow_undefined_flag
18840
18841 # Flag that enforces no undefined symbols.
18842 no_undefined_flag=$lt_no_undefined_flag
18843
18844 # Flag to hardcode \$libdir into a binary during linking.
18845 # This must work even if \$libdir does not exist
18846 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18847
18848 # Whether we need a single "-rpath" flag with a separated argument.
18849 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18850
18851 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18852 # DIR into the resulting binary.
18853 hardcode_direct=$hardcode_direct
18854
18855 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18856 # DIR into the resulting binary and the resulting library dependency is
18857 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18858 # library is relocated.
18859 hardcode_direct_absolute=$hardcode_direct_absolute
18860
18861 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18862 # into the resulting binary.
18863 hardcode_minus_L=$hardcode_minus_L
18864
18865 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18866 # into the resulting binary.
18867 hardcode_shlibpath_var=$hardcode_shlibpath_var
18868
18869 # Set to "yes" if building a shared library automatically hardcodes DIR
18870 # into the library and all subsequent libraries and executables linked
18871 # against it.
18872 hardcode_automatic=$hardcode_automatic
18873
18874 # Set to yes if linker adds runtime paths of dependent libraries
18875 # to runtime path list.
18876 inherit_rpath=$inherit_rpath
18877
18878 # Whether libtool must link a program against all its dependency libraries.
18879 link_all_deplibs=$link_all_deplibs
18880
18881 # Set to "yes" if exported symbols are required.
18882 always_export_symbols=$always_export_symbols
18883
18884 # The commands to list exported symbols.
18885 export_symbols_cmds=$lt_export_symbols_cmds
18886
18887 # Symbols that should not be listed in the preloaded symbols.
18888 exclude_expsyms=$lt_exclude_expsyms
18889
18890 # Symbols that must always be exported.
18891 include_expsyms=$lt_include_expsyms
18892
18893 # Commands necessary for linking programs (against libraries) with templates.
18894 prelink_cmds=$lt_prelink_cmds
18895
18896 # Commands necessary for finishing linking programs.
18897 postlink_cmds=$lt_postlink_cmds
18898
18899 # Specify filename containing input files.
18900 file_list_spec=$lt_file_list_spec
18901
18902 # How to hardcode a shared library path into an executable.
18903 hardcode_action=$hardcode_action
18904
18905 # ### END LIBTOOL CONFIG
18906
18907 _LT_EOF
18908
18909   case $host_os in
18910   aix3*)
18911     cat <<\_LT_EOF >> "$cfgfile"
18912 # AIX sometimes has problems with the GCC collect2 program.  For some
18913 # reason, if we set the COLLECT_NAMES environment variable, the problems
18914 # vanish in a puff of smoke.
18915 if test "X${COLLECT_NAMES+set}" != Xset; then
18916   COLLECT_NAMES=
18917   export COLLECT_NAMES
18918 fi
18919 _LT_EOF
18920     ;;
18921   esac
18922
18923
18924 ltmain="$ac_aux_dir/ltmain.sh"
18925
18926
18927   # We use sed instead of cat because bash on DJGPP gets confused if
18928   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18929   # text mode, it properly converts lines to CR/LF.  This bash problem
18930   # is reportedly fixed, but why not run on old versions too?
18931   sed '$q' "$ltmain" >> "$cfgfile" \
18932      || (rm -f "$cfgfile"; exit 1)
18933
18934   if test x"$xsi_shell" = xyes; then
18935   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18936 func_dirname ()\
18937 {\
18938 \    case ${1} in\
18939 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18940 \      *  ) func_dirname_result="${3}" ;;\
18941 \    esac\
18942 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18943   && mv -f "$cfgfile.tmp" "$cfgfile" \
18944     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18945 test 0 -eq $? || _lt_function_replace_fail=:
18946
18947
18948   sed -e '/^func_basename ()$/,/^} # func_basename /c\
18949 func_basename ()\
18950 {\
18951 \    func_basename_result="${1##*/}"\
18952 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18953   && mv -f "$cfgfile.tmp" "$cfgfile" \
18954     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18955 test 0 -eq $? || _lt_function_replace_fail=:
18956
18957
18958   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18959 func_dirname_and_basename ()\
18960 {\
18961 \    case ${1} in\
18962 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18963 \      *  ) func_dirname_result="${3}" ;;\
18964 \    esac\
18965 \    func_basename_result="${1##*/}"\
18966 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18967   && mv -f "$cfgfile.tmp" "$cfgfile" \
18968     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18969 test 0 -eq $? || _lt_function_replace_fail=:
18970
18971
18972   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18973 func_stripname ()\
18974 {\
18975 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18976 \    # positional parameters, so assign one to ordinary parameter first.\
18977 \    func_stripname_result=${3}\
18978 \    func_stripname_result=${func_stripname_result#"${1}"}\
18979 \    func_stripname_result=${func_stripname_result%"${2}"}\
18980 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18981   && mv -f "$cfgfile.tmp" "$cfgfile" \
18982     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18983 test 0 -eq $? || _lt_function_replace_fail=:
18984
18985
18986   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18987 func_split_long_opt ()\
18988 {\
18989 \    func_split_long_opt_name=${1%%=*}\
18990 \    func_split_long_opt_arg=${1#*=}\
18991 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18992   && mv -f "$cfgfile.tmp" "$cfgfile" \
18993     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18994 test 0 -eq $? || _lt_function_replace_fail=:
18995
18996
18997   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18998 func_split_short_opt ()\
18999 {\
19000 \    func_split_short_opt_arg=${1#??}\
19001 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19002 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19003   && mv -f "$cfgfile.tmp" "$cfgfile" \
19004     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19005 test 0 -eq $? || _lt_function_replace_fail=:
19006
19007
19008   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19009 func_lo2o ()\
19010 {\
19011 \    case ${1} in\
19012 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19013 \      *)    func_lo2o_result=${1} ;;\
19014 \    esac\
19015 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19016   && mv -f "$cfgfile.tmp" "$cfgfile" \
19017     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19018 test 0 -eq $? || _lt_function_replace_fail=:
19019
19020
19021   sed -e '/^func_xform ()$/,/^} # func_xform /c\
19022 func_xform ()\
19023 {\
19024     func_xform_result=${1%.*}.lo\
19025 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19026   && mv -f "$cfgfile.tmp" "$cfgfile" \
19027     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19028 test 0 -eq $? || _lt_function_replace_fail=:
19029
19030
19031   sed -e '/^func_arith ()$/,/^} # func_arith /c\
19032 func_arith ()\
19033 {\
19034     func_arith_result=$(( $* ))\
19035 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19036   && mv -f "$cfgfile.tmp" "$cfgfile" \
19037     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19038 test 0 -eq $? || _lt_function_replace_fail=:
19039
19040
19041   sed -e '/^func_len ()$/,/^} # func_len /c\
19042 func_len ()\
19043 {\
19044     func_len_result=${#1}\
19045 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19046   && mv -f "$cfgfile.tmp" "$cfgfile" \
19047     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19048 test 0 -eq $? || _lt_function_replace_fail=:
19049
19050 fi
19051
19052 if test x"$lt_shell_append" = xyes; then
19053   sed -e '/^func_append ()$/,/^} # func_append /c\
19054 func_append ()\
19055 {\
19056     eval "${1}+=\\${2}"\
19057 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19058   && mv -f "$cfgfile.tmp" "$cfgfile" \
19059     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19060 test 0 -eq $? || _lt_function_replace_fail=:
19061
19062
19063   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19064 func_append_quoted ()\
19065 {\
19066 \    func_quote_for_eval "${2}"\
19067 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19068 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19069   && mv -f "$cfgfile.tmp" "$cfgfile" \
19070     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19071 test 0 -eq $? || _lt_function_replace_fail=:
19072
19073
19074   # Save a `func_append' function call where possible by direct use of '+='
19075   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19076     && mv -f "$cfgfile.tmp" "$cfgfile" \
19077       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19078   test 0 -eq $? || _lt_function_replace_fail=:
19079 else
19080   # Save a `func_append' function call even when '+=' is not available
19081   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19082     && mv -f "$cfgfile.tmp" "$cfgfile" \
19083       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19084   test 0 -eq $? || _lt_function_replace_fail=:
19085 fi
19086
19087 if test x"$_lt_function_replace_fail" = x":"; then
19088   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19089 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19090 fi
19091
19092
19093    mv -f "$cfgfile" "$ofile" ||
19094     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19095   chmod +x "$ofile"
19096
19097  ;;
19098     "po-directories":C)
19099     for ac_file in $CONFIG_FILES; do
19100       # Support "outfile[:infile[:infile...]]"
19101       case "$ac_file" in
19102         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19103       esac
19104       # PO directories have a Makefile.in generated from Makefile.in.in.
19105       case "$ac_file" in */Makefile.in)
19106         # Adjust a relative srcdir.
19107         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19108         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
19109         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19110         # In autoconf-2.13 it is called $ac_given_srcdir.
19111         # In autoconf-2.50 it is called $srcdir.
19112         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
19113         case "$ac_given_srcdir" in
19114           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
19115           /*) top_srcdir="$ac_given_srcdir" ;;
19116           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
19117         esac
19118         # Treat a directory as a PO directory if and only if it has a
19119         # POTFILES.in file. This allows packages to have multiple PO
19120         # directories under different names or in different locations.
19121         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19122           rm -f "$ac_dir/POTFILES"
19123           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
19124           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19125           POMAKEFILEDEPS="POTFILES.in"
19126           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
19127           # on $ac_dir but don't depend on user-specified configuration
19128           # parameters.
19129           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19130             # The LINGUAS file contains the set of available languages.
19131             if test -n "$OBSOLETE_ALL_LINGUAS"; then
19132               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
19133             fi
19134             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19135             # Hide the ALL_LINGUAS assigment from automake < 1.5.
19136             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19137             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
19138           else
19139             # The set of available languages was given in configure.in.
19140             # Hide the ALL_LINGUAS assigment from automake < 1.5.
19141             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19142           fi
19143           # Compute POFILES
19144           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
19145           # Compute UPDATEPOFILES
19146           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
19147           # Compute DUMMYPOFILES
19148           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
19149           # Compute GMOFILES
19150           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
19151           case "$ac_given_srcdir" in
19152             .) srcdirpre= ;;
19153             *) srcdirpre='$(srcdir)/' ;;
19154           esac
19155           POFILES=
19156           UPDATEPOFILES=
19157           DUMMYPOFILES=
19158           GMOFILES=
19159           for lang in $ALL_LINGUAS; do
19160             POFILES="$POFILES $srcdirpre$lang.po"
19161             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
19162             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
19163             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
19164           done
19165           # CATALOGS depends on both $ac_dir and the user's LINGUAS
19166           # environment variable.
19167           INST_LINGUAS=
19168           if test -n "$ALL_LINGUAS"; then
19169             for presentlang in $ALL_LINGUAS; do
19170               useit=no
19171               if test "%UNSET%" != "$LINGUAS"; then
19172                 desiredlanguages="$LINGUAS"
19173               else
19174                 desiredlanguages="$ALL_LINGUAS"
19175               fi
19176               for desiredlang in $desiredlanguages; do
19177                 # Use the presentlang catalog if desiredlang is
19178                 #   a. equal to presentlang, or
19179                 #   b. a variant of presentlang (because in this case,
19180                 #      presentlang can be used as a fallback for messages
19181                 #      which are not translated in the desiredlang catalog).
19182                 case "$desiredlang" in
19183                   "$presentlang"*) useit=yes;;
19184                 esac
19185               done
19186               if test $useit = yes; then
19187                 INST_LINGUAS="$INST_LINGUAS $presentlang"
19188               fi
19189             done
19190           fi
19191           CATALOGS=
19192           if test -n "$INST_LINGUAS"; then
19193             for lang in $INST_LINGUAS; do
19194               CATALOGS="$CATALOGS $lang.gmo"
19195             done
19196           fi
19197           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
19198           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
19199           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
19200             if test -f "$f"; then
19201               case "$f" in
19202                 *.orig | *.bak | *~) ;;
19203                 *) cat "$f" >> "$ac_dir/Makefile" ;;
19204               esac
19205             fi
19206           done
19207         fi
19208         ;;
19209       esac
19210     done ;;
19211
19212   esac
19213 done # for ac_tag
19214
19215
19216 as_fn_exit 0
19217 _ACEOF
19218 ac_clean_files=$ac_clean_files_save
19219
19220 test $ac_write_fail = 0 ||
19221   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19222
19223
19224 # configure is writing to config.log, and then calls config.status.
19225 # config.status does its own redirection, appending to config.log.
19226 # Unfortunately, on DOS this fails, as config.log is still kept open
19227 # by configure, so config.status won't be able to write to it; its
19228 # output is simply discarded.  So we exec the FD to /dev/null,
19229 # effectively closing config.log, so it can be properly (re)opened and
19230 # appended to by config.status.  When coming back to configure, we
19231 # need to make the FD available again.
19232 if test "$no_create" != yes; then
19233   ac_cs_success=:
19234   ac_config_status_args=
19235   test "$silent" = yes &&
19236     ac_config_status_args="$ac_config_status_args --quiet"
19237   exec 5>/dev/null
19238   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19239   exec 5>>config.log
19240   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19241   # would make configure fail if this is the last instruction.
19242   $ac_cs_success || as_fn_exit 1
19243 fi
19244 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19245   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19246 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19247 fi
19248
19249
19250
19251 #####################################################################
19252 ## Info
19253
19254 echo
19255 echo
19256 echo
19257 echo "------------------------------------------------------------------------"
19258 echo "$PACKAGE $VERSION"
19259 echo "------------------------------------------------------------------------"
19260 echo
19261 echo "Configuration Options Summary:"
19262 echo
19263 echo "  Specification compliance:"
19264 echo "    Strict.............: ${enable_strict_spec}"
19265 echo "    Sloppy.............: ${enable_sloppy_spec}"
19266 echo
19267 echo "  Tests................: ${enable_tests}"
19268 echo "  Coverage.............: ${enable_coverage}"
19269 echo
19270 echo "  Documentation........: ${build_doc}"
19271 echo
19272 echo "Compilation............: make (or gmake)"
19273 echo "  CPPFLAGS.............: $CPPFLAGS"
19274 echo "  CFLAGS...............: $CFLAGS"
19275 echo "  LDFLAGS..............: $LDFLAGS"
19276 echo
19277 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
19278 echo "  prefix...............: $prefix"
19279 echo