Imported Upstream version 1.7.7
[platform/upstream/ethumb.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for ethumb 1.7.7.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='ethumb'
572 PACKAGE_TARNAME='ethumb'
573 PACKAGE_VERSION='1.7.7'
574 PACKAGE_STRING='ethumb 1.7.7'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
576 PACKAGE_URL=''
577
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 dbusservicedir
620 requirement_ethumb_client
621 requirement_ethumb
622 USE_MODULE_LIBEXIF
623 USE_MODULE_LIBEXIF_FALSE
624 USE_MODULE_LIBEXIF_TRUE
625 HAVE_LIBEXIF
626 LIBEXIF_VERSION
627 LIBEXIF_LIBS
628 LIBEXIF_CFLAGS
629 HAVE_LIBEXIF_FALSE
630 HAVE_LIBEXIF_TRUE
631 USE_MODULE_ETHUMBD
632 USE_MODULE_ETHUMBD_FALSE
633 USE_MODULE_ETHUMBD_TRUE
634 HAVE_EDBUS
635 EDBUS_VERSION
636 EDBUS_LIBS
637 EDBUS_CFLAGS
638 HAVE_EDBUS_FALSE
639 HAVE_EDBUS_TRUE
640 USE_MODULE_EPDF
641 USE_MODULE_EPDF_FALSE
642 USE_MODULE_EPDF_TRUE
643 HAVE_EPDF
644 EPDF_VERSION
645 EPDF_LIBS
646 EPDF_CFLAGS
647 HAVE_EPDF_FALSE
648 HAVE_EPDF_TRUE
649 USE_MODULE_EMOTION
650 USE_MODULE_EMOTION_FALSE
651 USE_MODULE_EMOTION_TRUE
652 HAVE_EMOTION
653 EMOTION_VERSION
654 EMOTION_LIBS
655 EMOTION_CFLAGS
656 HAVE_EMOTION_FALSE
657 HAVE_EMOTION_TRUE
658 edje_cc
659 EET_LIBS
660 EET_CFLAGS
661 EDJE_LIBS
662 EDJE_CFLAGS
663 ECORE_FILE_LIBS
664 ECORE_FILE_CFLAGS
665 ECORE_EVAS_LIBS
666 ECORE_EVAS_CFLAGS
667 ECORE_LIBS
668 ECORE_CFLAGS
669 EVAS_LIBS
670 EVAS_CFLAGS
671 EINA_LIBS
672 EINA_CFLAGS
673 EVIL_LIBS
674 EVIL_CFLAGS
675 EFL_BUILD_DOC_FALSE
676 EFL_BUILD_DOC_TRUE
677 efl_doxygen
678 efl_have_doxygen
679 CPP
680 OTOOL64
681 OTOOL
682 LIPO
683 NMEDIT
684 DSYMUTIL
685 MANIFEST_TOOL
686 RANLIB
687 ac_ct_AR
688 AR
689 LN_S
690 NM
691 ac_ct_DUMPBIN
692 DUMPBIN
693 LD
694 FGREP
695 EGREP
696 GREP
697 SED
698 LIBTOOL
699 OBJDUMP
700 DLLTOOL
701 AS
702 am__fastdepCC_FALSE
703 am__fastdepCC_TRUE
704 CCDEPMODE
705 am__nodep
706 AMDEPBACKSLASH
707 AMDEP_FALSE
708 AMDEP_TRUE
709 am__quote
710 am__include
711 DEPDIR
712 OBJEXT
713 EXEEXT
714 ac_ct_CC
715 CPPFLAGS
716 LDFLAGS
717 CFLAGS
718 CC
719 VMAJ
720 release_info
721 version_info
722 AM_BACKSLASH
723 AM_DEFAULT_VERBOSITY
724 AM_DEFAULT_V
725 AM_V
726 am__untar
727 am__tar
728 AMTAR
729 am__leading_dot
730 SET_MAKE
731 AWK
732 mkdir_p
733 MKDIR_P
734 INSTALL_STRIP_PROGRAM
735 STRIP
736 install_sh
737 MAKEINFO
738 AUTOHEADER
739 AUTOMAKE
740 AUTOCONF
741 ACLOCAL
742 VERSION
743 PACKAGE
744 CYGPATH_W
745 am__isrc
746 INSTALL_DATA
747 INSTALL_SCRIPT
748 INSTALL_PROGRAM
749 PKG_CONFIG_LIBDIR
750 PKG_CONFIG_PATH
751 PKG_CONFIG
752 host_os
753 host_vendor
754 host_cpu
755 host
756 build_os
757 build_vendor
758 build_cpu
759 build
760 target_alias
761 host_alias
762 build_alias
763 LIBS
764 ECHO_T
765 ECHO_N
766 ECHO_C
767 DEFS
768 mandir
769 localedir
770 libdir
771 psdir
772 pdfdir
773 dvidir
774 htmldir
775 infodir
776 docdir
777 oldincludedir
778 includedir
779 localstatedir
780 sharedstatedir
781 sysconfdir
782 datadir
783 datarootdir
784 libexecdir
785 sbindir
786 bindir
787 program_transform_name
788 prefix
789 exec_prefix
790 PACKAGE_URL
791 PACKAGE_BUGREPORT
792 PACKAGE_STRING
793 PACKAGE_VERSION
794 PACKAGE_TARNAME
795 PACKAGE_NAME
796 PATH_SEPARATOR
797 SHELL'
798 ac_subst_files=''
799 ac_user_opts='
800 enable_option_checking
801 enable_silent_rules
802 enable_dependency_tracking
803 enable_shared
804 enable_static
805 with_pic
806 enable_fast_install
807 with_gnu_ld
808 with_sysroot
809 enable_libtool_lock
810 enable_doc
811 with_doxygen
812 with_internal_maximum_log_level
813 with_edje_cc
814 enable_emotion
815 enable_epdf
816 enable_ethumbd
817 with_dbus_services
818 enable_libexif
819 '
820       ac_precious_vars='build_alias
821 host_alias
822 target_alias
823 PKG_CONFIG
824 PKG_CONFIG_PATH
825 PKG_CONFIG_LIBDIR
826 CC
827 CFLAGS
828 LDFLAGS
829 LIBS
830 CPPFLAGS
831 CPP
832 EVIL_CFLAGS
833 EVIL_LIBS
834 EINA_CFLAGS
835 EINA_LIBS
836 EVAS_CFLAGS
837 EVAS_LIBS
838 ECORE_CFLAGS
839 ECORE_LIBS
840 ECORE_EVAS_CFLAGS
841 ECORE_EVAS_LIBS
842 ECORE_FILE_CFLAGS
843 ECORE_FILE_LIBS
844 EDJE_CFLAGS
845 EDJE_LIBS
846 EET_CFLAGS
847 EET_LIBS
848 EMOTION_CFLAGS
849 EMOTION_LIBS
850 EPDF_CFLAGS
851 EPDF_LIBS
852 EDBUS_CFLAGS
853 EDBUS_LIBS
854 LIBEXIF_CFLAGS
855 LIBEXIF_LIBS'
856
857
858 # Initialize some variables set by options.
859 ac_init_help=
860 ac_init_version=false
861 ac_unrecognized_opts=
862 ac_unrecognized_sep=
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
865 cache_file=/dev/null
866 exec_prefix=NONE
867 no_create=
868 no_recursion=
869 prefix=NONE
870 program_prefix=NONE
871 program_suffix=NONE
872 program_transform_name=s,x,x,
873 silent=
874 site=
875 srcdir=
876 verbose=
877 x_includes=NONE
878 x_libraries=NONE
879
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir='${exec_prefix}/bin'
887 sbindir='${exec_prefix}/sbin'
888 libexecdir='${exec_prefix}/libexec'
889 datarootdir='${prefix}/share'
890 datadir='${datarootdir}'
891 sysconfdir='${prefix}/etc'
892 sharedstatedir='${prefix}/com'
893 localstatedir='${prefix}/var'
894 includedir='${prefix}/include'
895 oldincludedir='/usr/include'
896 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir='${datarootdir}/info'
898 htmldir='${docdir}'
899 dvidir='${docdir}'
900 pdfdir='${docdir}'
901 psdir='${docdir}'
902 libdir='${exec_prefix}/lib'
903 localedir='${datarootdir}/locale'
904 mandir='${datarootdir}/man'
905
906 ac_prev=
907 ac_dashdash=
908 for ac_option
909 do
910   # If the previous option needs an argument, assign it.
911   if test -n "$ac_prev"; then
912     eval $ac_prev=\$ac_option
913     ac_prev=
914     continue
915   fi
916
917   case $ac_option in
918   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
919   *=)   ac_optarg= ;;
920   *)    ac_optarg=yes ;;
921   esac
922
923   # Accept the important Cygnus configure options, so we can diagnose typos.
924
925   case $ac_dashdash$ac_option in
926   --)
927     ac_dashdash=yes ;;
928
929   -bindir | --bindir | --bindi | --bind | --bin | --bi)
930     ac_prev=bindir ;;
931   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
932     bindir=$ac_optarg ;;
933
934   -build | --build | --buil | --bui | --bu)
935     ac_prev=build_alias ;;
936   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
937     build_alias=$ac_optarg ;;
938
939   -cache-file | --cache-file | --cache-fil | --cache-fi \
940   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
941     ac_prev=cache_file ;;
942   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
943   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
944     cache_file=$ac_optarg ;;
945
946   --config-cache | -C)
947     cache_file=config.cache ;;
948
949   -datadir | --datadir | --datadi | --datad)
950     ac_prev=datadir ;;
951   -datadir=* | --datadir=* | --datadi=* | --datad=*)
952     datadir=$ac_optarg ;;
953
954   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
955   | --dataroo | --dataro | --datar)
956     ac_prev=datarootdir ;;
957   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
958   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
959     datarootdir=$ac_optarg ;;
960
961   -disable-* | --disable-*)
962     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
963     # Reject names that are not valid shell variable names.
964     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965       as_fn_error $? "invalid feature name: $ac_useropt"
966     ac_useropt_orig=$ac_useropt
967     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968     case $ac_user_opts in
969       *"
970 "enable_$ac_useropt"
971 "*) ;;
972       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
973          ac_unrecognized_sep=', ';;
974     esac
975     eval enable_$ac_useropt=no ;;
976
977   -docdir | --docdir | --docdi | --doc | --do)
978     ac_prev=docdir ;;
979   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
980     docdir=$ac_optarg ;;
981
982   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
983     ac_prev=dvidir ;;
984   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
985     dvidir=$ac_optarg ;;
986
987   -enable-* | --enable-*)
988     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
989     # Reject names that are not valid shell variable names.
990     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991       as_fn_error $? "invalid feature name: $ac_useropt"
992     ac_useropt_orig=$ac_useropt
993     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994     case $ac_user_opts in
995       *"
996 "enable_$ac_useropt"
997 "*) ;;
998       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
999          ac_unrecognized_sep=', ';;
1000     esac
1001     eval enable_$ac_useropt=\$ac_optarg ;;
1002
1003   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1004   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1005   | --exec | --exe | --ex)
1006     ac_prev=exec_prefix ;;
1007   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1008   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1009   | --exec=* | --exe=* | --ex=*)
1010     exec_prefix=$ac_optarg ;;
1011
1012   -gas | --gas | --ga | --g)
1013     # Obsolete; use --with-gas.
1014     with_gas=yes ;;
1015
1016   -help | --help | --hel | --he | -h)
1017     ac_init_help=long ;;
1018   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1019     ac_init_help=recursive ;;
1020   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1021     ac_init_help=short ;;
1022
1023   -host | --host | --hos | --ho)
1024     ac_prev=host_alias ;;
1025   -host=* | --host=* | --hos=* | --ho=*)
1026     host_alias=$ac_optarg ;;
1027
1028   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1029     ac_prev=htmldir ;;
1030   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1031   | --ht=*)
1032     htmldir=$ac_optarg ;;
1033
1034   -includedir | --includedir | --includedi | --included | --include \
1035   | --includ | --inclu | --incl | --inc)
1036     ac_prev=includedir ;;
1037   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1038   | --includ=* | --inclu=* | --incl=* | --inc=*)
1039     includedir=$ac_optarg ;;
1040
1041   -infodir | --infodir | --infodi | --infod | --info | --inf)
1042     ac_prev=infodir ;;
1043   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1044     infodir=$ac_optarg ;;
1045
1046   -libdir | --libdir | --libdi | --libd)
1047     ac_prev=libdir ;;
1048   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1049     libdir=$ac_optarg ;;
1050
1051   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1052   | --libexe | --libex | --libe)
1053     ac_prev=libexecdir ;;
1054   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1055   | --libexe=* | --libex=* | --libe=*)
1056     libexecdir=$ac_optarg ;;
1057
1058   -localedir | --localedir | --localedi | --localed | --locale)
1059     ac_prev=localedir ;;
1060   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1061     localedir=$ac_optarg ;;
1062
1063   -localstatedir | --localstatedir | --localstatedi | --localstated \
1064   | --localstate | --localstat | --localsta | --localst | --locals)
1065     ac_prev=localstatedir ;;
1066   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1067   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1068     localstatedir=$ac_optarg ;;
1069
1070   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1071     ac_prev=mandir ;;
1072   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1073     mandir=$ac_optarg ;;
1074
1075   -nfp | --nfp | --nf)
1076     # Obsolete; use --without-fp.
1077     with_fp=no ;;
1078
1079   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1080   | --no-cr | --no-c | -n)
1081     no_create=yes ;;
1082
1083   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1084   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1085     no_recursion=yes ;;
1086
1087   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1088   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1089   | --oldin | --oldi | --old | --ol | --o)
1090     ac_prev=oldincludedir ;;
1091   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1092   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1093   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1094     oldincludedir=$ac_optarg ;;
1095
1096   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1097     ac_prev=prefix ;;
1098   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1099     prefix=$ac_optarg ;;
1100
1101   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1102   | --program-pre | --program-pr | --program-p)
1103     ac_prev=program_prefix ;;
1104   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1105   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1106     program_prefix=$ac_optarg ;;
1107
1108   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1109   | --program-suf | --program-su | --program-s)
1110     ac_prev=program_suffix ;;
1111   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1112   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1113     program_suffix=$ac_optarg ;;
1114
1115   -program-transform-name | --program-transform-name \
1116   | --program-transform-nam | --program-transform-na \
1117   | --program-transform-n | --program-transform- \
1118   | --program-transform | --program-transfor \
1119   | --program-transfo | --program-transf \
1120   | --program-trans | --program-tran \
1121   | --progr-tra | --program-tr | --program-t)
1122     ac_prev=program_transform_name ;;
1123   -program-transform-name=* | --program-transform-name=* \
1124   | --program-transform-nam=* | --program-transform-na=* \
1125   | --program-transform-n=* | --program-transform-=* \
1126   | --program-transform=* | --program-transfor=* \
1127   | --program-transfo=* | --program-transf=* \
1128   | --program-trans=* | --program-tran=* \
1129   | --progr-tra=* | --program-tr=* | --program-t=*)
1130     program_transform_name=$ac_optarg ;;
1131
1132   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1133     ac_prev=pdfdir ;;
1134   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1135     pdfdir=$ac_optarg ;;
1136
1137   -psdir | --psdir | --psdi | --psd | --ps)
1138     ac_prev=psdir ;;
1139   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1140     psdir=$ac_optarg ;;
1141
1142   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1143   | -silent | --silent | --silen | --sile | --sil)
1144     silent=yes ;;
1145
1146   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1147     ac_prev=sbindir ;;
1148   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1149   | --sbi=* | --sb=*)
1150     sbindir=$ac_optarg ;;
1151
1152   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1153   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1154   | --sharedst | --shareds | --shared | --share | --shar \
1155   | --sha | --sh)
1156     ac_prev=sharedstatedir ;;
1157   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1158   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1159   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1160   | --sha=* | --sh=*)
1161     sharedstatedir=$ac_optarg ;;
1162
1163   -site | --site | --sit)
1164     ac_prev=site ;;
1165   -site=* | --site=* | --sit=*)
1166     site=$ac_optarg ;;
1167
1168   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1169     ac_prev=srcdir ;;
1170   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1171     srcdir=$ac_optarg ;;
1172
1173   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1174   | --syscon | --sysco | --sysc | --sys | --sy)
1175     ac_prev=sysconfdir ;;
1176   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1177   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1178     sysconfdir=$ac_optarg ;;
1179
1180   -target | --target | --targe | --targ | --tar | --ta | --t)
1181     ac_prev=target_alias ;;
1182   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1183     target_alias=$ac_optarg ;;
1184
1185   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1186     verbose=yes ;;
1187
1188   -version | --version | --versio | --versi | --vers | -V)
1189     ac_init_version=: ;;
1190
1191   -with-* | --with-*)
1192     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1193     # Reject names that are not valid shell variable names.
1194     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195       as_fn_error $? "invalid package name: $ac_useropt"
1196     ac_useropt_orig=$ac_useropt
1197     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198     case $ac_user_opts in
1199       *"
1200 "with_$ac_useropt"
1201 "*) ;;
1202       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1203          ac_unrecognized_sep=', ';;
1204     esac
1205     eval with_$ac_useropt=\$ac_optarg ;;
1206
1207   -without-* | --without-*)
1208     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1209     # Reject names that are not valid shell variable names.
1210     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1211       as_fn_error $? "invalid package name: $ac_useropt"
1212     ac_useropt_orig=$ac_useropt
1213     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1214     case $ac_user_opts in
1215       *"
1216 "with_$ac_useropt"
1217 "*) ;;
1218       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1219          ac_unrecognized_sep=', ';;
1220     esac
1221     eval with_$ac_useropt=no ;;
1222
1223   --x)
1224     # Obsolete; use --with-x.
1225     with_x=yes ;;
1226
1227   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1228   | --x-incl | --x-inc | --x-in | --x-i)
1229     ac_prev=x_includes ;;
1230   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1231   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1232     x_includes=$ac_optarg ;;
1233
1234   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1235   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1236     ac_prev=x_libraries ;;
1237   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1238   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1239     x_libraries=$ac_optarg ;;
1240
1241   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1242 Try \`$0 --help' for more information"
1243     ;;
1244
1245   *=*)
1246     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1247     # Reject names that are not valid shell variable names.
1248     case $ac_envvar in #(
1249       '' | [0-9]* | *[!_$as_cr_alnum]* )
1250       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1251     esac
1252     eval $ac_envvar=\$ac_optarg
1253     export $ac_envvar ;;
1254
1255   *)
1256     # FIXME: should be removed in autoconf 3.0.
1257     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1258     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1259       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1260     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1261     ;;
1262
1263   esac
1264 done
1265
1266 if test -n "$ac_prev"; then
1267   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1268   as_fn_error $? "missing argument to $ac_option"
1269 fi
1270
1271 if test -n "$ac_unrecognized_opts"; then
1272   case $enable_option_checking in
1273     no) ;;
1274     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1275     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1276   esac
1277 fi
1278
1279 # Check all directory arguments for consistency.
1280 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281                 datadir sysconfdir sharedstatedir localstatedir includedir \
1282                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283                 libdir localedir mandir
1284 do
1285   eval ac_val=\$$ac_var
1286   # Remove trailing slashes.
1287   case $ac_val in
1288     */ )
1289       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1290       eval $ac_var=\$ac_val;;
1291   esac
1292   # Be sure to have absolute directory names.
1293   case $ac_val in
1294     [\\/$]* | ?:[\\/]* )  continue;;
1295     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1296   esac
1297   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1298 done
1299
1300 # There might be people who depend on the old broken behavior: `$host'
1301 # used to hold the argument of --host etc.
1302 # FIXME: To remove some day.
1303 build=$build_alias
1304 host=$host_alias
1305 target=$target_alias
1306
1307 # FIXME: To remove some day.
1308 if test "x$host_alias" != x; then
1309   if test "x$build_alias" = x; then
1310     cross_compiling=maybe
1311     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1312     If a cross compiler is detected then cross compile mode will be used" >&2
1313   elif test "x$build_alias" != "x$host_alias"; then
1314     cross_compiling=yes
1315   fi
1316 fi
1317
1318 ac_tool_prefix=
1319 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1320
1321 test "$silent" = yes && exec 6>/dev/null
1322
1323
1324 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di=`ls -di .` &&
1326 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1327   as_fn_error $? "working directory cannot be determined"
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329   as_fn_error $? "pwd does not report name of working directory"
1330
1331
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334   ac_srcdir_defaulted=yes
1335   # Try the directory containing this script, then the parent directory.
1336   ac_confdir=`$as_dirname -- "$as_myself" ||
1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338          X"$as_myself" : 'X\(//\)[^/]' \| \
1339          X"$as_myself" : 'X\(//\)$' \| \
1340          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341 $as_echo X"$as_myself" |
1342     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343             s//\1/
1344             q
1345           }
1346           /^X\(\/\/\)[^/].*/{
1347             s//\1/
1348             q
1349           }
1350           /^X\(\/\/\)$/{
1351             s//\1/
1352             q
1353           }
1354           /^X\(\/\).*/{
1355             s//\1/
1356             q
1357           }
1358           s/.*/./; q'`
1359   srcdir=$ac_confdir
1360   if test ! -r "$srcdir/$ac_unique_file"; then
1361     srcdir=..
1362   fi
1363 else
1364   ac_srcdir_defaulted=no
1365 fi
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1368   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1369 fi
1370 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 ac_abs_confdir=`(
1372         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1373         pwd)`
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376   srcdir=.
1377 fi
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1381 case $srcdir in
1382 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 esac
1384 for ac_var in $ac_precious_vars; do
1385   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1386   eval ac_env_${ac_var}_value=\$${ac_var}
1387   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1388   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1389 done
1390
1391 #
1392 # Report the --help message.
1393 #
1394 if test "$ac_init_help" = "long"; then
1395   # Omit some internal or obsolete options to make the list less imposing.
1396   # This message is too long to be a string in the A/UX 3.1 sh.
1397   cat <<_ACEOF
1398 \`configure' configures ethumb 1.7.7 to adapt to many kinds of systems.
1399
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1401
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE.  See below for descriptions of some of the useful variables.
1404
1405 Defaults for the options are specified in brackets.
1406
1407 Configuration:
1408   -h, --help              display this help and exit
1409       --help=short        display options specific to this package
1410       --help=recursive    display the short help of all the included packages
1411   -V, --version           display version information and exit
1412   -q, --quiet, --silent   do not print \`checking ...' messages
1413       --cache-file=FILE   cache test results in FILE [disabled]
1414   -C, --config-cache      alias for \`--cache-file=config.cache'
1415   -n, --no-create         do not create output files
1416       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1417
1418 Installation directories:
1419   --prefix=PREFIX         install architecture-independent files in PREFIX
1420                           [$ac_default_prefix]
1421   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1422                           [PREFIX]
1423
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1428
1429 For better control, use the options below.
1430
1431 Fine tuning of the installation directories:
1432   --bindir=DIR            user executables [EPREFIX/bin]
1433   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1434   --libexecdir=DIR        program executables [EPREFIX/libexec]
1435   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1436   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1437   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1438   --libdir=DIR            object code libraries [EPREFIX/lib]
1439   --includedir=DIR        C header files [PREFIX/include]
1440   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1441   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1442   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1443   --infodir=DIR           info documentation [DATAROOTDIR/info]
1444   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1445   --mandir=DIR            man documentation [DATAROOTDIR/man]
1446   --docdir=DIR            documentation root [DATAROOTDIR/doc/ethumb]
1447   --htmldir=DIR           html documentation [DOCDIR]
1448   --dvidir=DIR            dvi documentation [DOCDIR]
1449   --pdfdir=DIR            pdf documentation [DOCDIR]
1450   --psdir=DIR             ps documentation [DOCDIR]
1451 _ACEOF
1452
1453   cat <<\_ACEOF
1454
1455 Program names:
1456   --program-prefix=PREFIX            prepend PREFIX to installed program names
1457   --program-suffix=SUFFIX            append SUFFIX to installed program names
1458   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1459
1460 System types:
1461   --build=BUILD     configure for building on BUILD [guessed]
1462   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1463 _ACEOF
1464 fi
1465
1466 if test -n "$ac_init_help"; then
1467   case $ac_init_help in
1468      short | recursive ) echo "Configuration of ethumb 1.7.7:";;
1469    esac
1470   cat <<\_ACEOF
1471
1472 Optional Features:
1473   --disable-option-checking  ignore unrecognized --enable/--with options
1474   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1475   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1476   --enable-silent-rules          less verbose build output (undo: `make V=1')
1477   --disable-silent-rules         verbose build output (undo: `make V=0')
1478   --disable-dependency-tracking  speeds up one-time build
1479   --enable-dependency-tracking   do not reject slow dependency extractors
1480   --enable-shared[=PKGS]  build shared libraries [default=yes]
1481   --enable-static[=PKGS]  build static libraries [default=yes]
1482   --enable-fast-install[=PKGS]
1483                           optimize for fast installation [default=yes]
1484   --disable-libtool-lock  avoid locking (might break parallel builds)
1485   --disable-doc           Disable documentation build [default=enabled]
1486   --disable-emotion       disable optional module emotion. Default is
1487                           enabled.
1488
1489   --disable-epdf          disable optional module epdf. Default is
1490                           enabled.
1491
1492   --disable-ethumbd       disable optional module ethumbd. Default is
1493                           enabled.
1494
1495   --disable-libexif       disable optional module libexif. Default is
1496                           enabled.
1497
1498
1499 Optional Packages:
1500   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1501   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1502   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1503                           both]
1504   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1505   --with-sysroot=DIR Search for dependent libraries within DIR
1506                         (or the compiler's sysroot if not specified).
1507   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1508   --with-internal-maximum-log-level=NUMBER
1509                           limit eina internal log level to the given number,
1510                           any call to EINA_LOG() with values greater than this
1511                           will be compiled out, ignoring runtime settings, but
1512                           saving function calls.
1513   --with-edje-cc=PATH     specify a specific path to edje_cc [default=edje_cc]
1514   --with-dbus-services=DBUS_SERVICES
1515                           specify a directory to store dbus service files.
1516
1517 Some influential environment variables:
1518   PKG_CONFIG  path to pkg-config utility
1519   PKG_CONFIG_PATH
1520               directories to add to pkg-config's search path
1521   PKG_CONFIG_LIBDIR
1522               path overriding pkg-config's built-in search path
1523   CC          C compiler command
1524   CFLAGS      C compiler flags
1525   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1526               nonstandard directory <lib dir>
1527   LIBS        libraries to pass to the linker, e.g. -l<library>
1528   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1529               you have headers in a nonstandard directory <include dir>
1530   CPP         C preprocessor
1531   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1532   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
1533   EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1534   EINA_LIBS   linker flags for EINA, overriding pkg-config
1535   EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1536   EVAS_LIBS   linker flags for EVAS, overriding pkg-config
1537   ECORE_CFLAGS
1538               C compiler flags for ECORE, overriding pkg-config
1539   ECORE_LIBS  linker flags for ECORE, overriding pkg-config
1540   ECORE_EVAS_CFLAGS
1541               C compiler flags for ECORE_EVAS, overriding pkg-config
1542   ECORE_EVAS_LIBS
1543               linker flags for ECORE_EVAS, overriding pkg-config
1544   ECORE_FILE_CFLAGS
1545               C compiler flags for ECORE_FILE, overriding pkg-config
1546   ECORE_FILE_LIBS
1547               linker flags for ECORE_FILE, overriding pkg-config
1548   EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
1549   EDJE_LIBS   linker flags for EDJE, overriding pkg-config
1550   EET_CFLAGS  C compiler flags for EET, overriding pkg-config
1551   EET_LIBS    linker flags for EET, overriding pkg-config
1552   EMOTION_CFLAGS
1553               C compiler flags for EMOTION, overriding pkg-config
1554   EMOTION_LIBS
1555               linker flags for EMOTION, overriding pkg-config
1556   EPDF_CFLAGS C compiler flags for EPDF, overriding pkg-config
1557   EPDF_LIBS   linker flags for EPDF, overriding pkg-config
1558   EDBUS_CFLAGS
1559               C compiler flags for EDBUS, overriding pkg-config
1560   EDBUS_LIBS  linker flags for EDBUS, overriding pkg-config
1561   LIBEXIF_CFLAGS
1562               C compiler flags for LIBEXIF, overriding pkg-config
1563   LIBEXIF_LIBS
1564               linker flags for LIBEXIF, overriding pkg-config
1565
1566 Use these variables to override the choices made by `configure' or to help
1567 it to find libraries and programs with nonstandard names/locations.
1568
1569 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1570 _ACEOF
1571 ac_status=$?
1572 fi
1573
1574 if test "$ac_init_help" = "recursive"; then
1575   # If there are subdirs, report their specific --help.
1576   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1577     test -d "$ac_dir" ||
1578       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1579       continue
1580     ac_builddir=.
1581
1582 case "$ac_dir" in
1583 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1584 *)
1585   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1586   # A ".." for each directory in $ac_dir_suffix.
1587   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1588   case $ac_top_builddir_sub in
1589   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1591   esac ;;
1592 esac
1593 ac_abs_top_builddir=$ac_pwd
1594 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1595 # for backward compatibility:
1596 ac_top_builddir=$ac_top_build_prefix
1597
1598 case $srcdir in
1599   .)  # We are building in place.
1600     ac_srcdir=.
1601     ac_top_srcdir=$ac_top_builddir_sub
1602     ac_abs_top_srcdir=$ac_pwd ;;
1603   [\\/]* | ?:[\\/]* )  # Absolute name.
1604     ac_srcdir=$srcdir$ac_dir_suffix;
1605     ac_top_srcdir=$srcdir
1606     ac_abs_top_srcdir=$srcdir ;;
1607   *) # Relative name.
1608     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1609     ac_top_srcdir=$ac_top_build_prefix$srcdir
1610     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1611 esac
1612 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1613
1614     cd "$ac_dir" || { ac_status=$?; continue; }
1615     # Check for guested configure.
1616     if test -f "$ac_srcdir/configure.gnu"; then
1617       echo &&
1618       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1619     elif test -f "$ac_srcdir/configure"; then
1620       echo &&
1621       $SHELL "$ac_srcdir/configure" --help=recursive
1622     else
1623       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1624     fi || ac_status=$?
1625     cd "$ac_pwd" || { ac_status=$?; break; }
1626   done
1627 fi
1628
1629 test -n "$ac_init_help" && exit $ac_status
1630 if $ac_init_version; then
1631   cat <<\_ACEOF
1632 ethumb configure 1.7.7
1633 generated by GNU Autoconf 2.68
1634
1635 Copyright (C) 2010 Free Software Foundation, Inc.
1636 This configure script is free software; the Free Software Foundation
1637 gives unlimited permission to copy, distribute and modify it.
1638 _ACEOF
1639   exit
1640 fi
1641
1642 ## ------------------------ ##
1643 ## Autoconf initialization. ##
1644 ## ------------------------ ##
1645
1646 # ac_fn_c_try_compile LINENO
1647 # --------------------------
1648 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1649 ac_fn_c_try_compile ()
1650 {
1651   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652   rm -f conftest.$ac_objext
1653   if { { ac_try="$ac_compile"
1654 case "(($ac_try" in
1655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656   *) ac_try_echo=$ac_try;;
1657 esac
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660   (eval "$ac_compile") 2>conftest.err
1661   ac_status=$?
1662   if test -s conftest.err; then
1663     grep -v '^ *+' conftest.err >conftest.er1
1664     cat conftest.er1 >&5
1665     mv -f conftest.er1 conftest.err
1666   fi
1667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668   test $ac_status = 0; } && {
1669          test -z "$ac_c_werror_flag" ||
1670          test ! -s conftest.err
1671        } && test -s conftest.$ac_objext; then :
1672   ac_retval=0
1673 else
1674   $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1676
1677         ac_retval=1
1678 fi
1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680   as_fn_set_status $ac_retval
1681
1682 } # ac_fn_c_try_compile
1683
1684 # ac_fn_c_try_link LINENO
1685 # -----------------------
1686 # Try to link conftest.$ac_ext, and return whether this succeeded.
1687 ac_fn_c_try_link ()
1688 {
1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690   rm -f conftest.$ac_objext conftest$ac_exeext
1691   if { { ac_try="$ac_link"
1692 case "(($ac_try" in
1693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694   *) ac_try_echo=$ac_try;;
1695 esac
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698   (eval "$ac_link") 2>conftest.err
1699   ac_status=$?
1700   if test -s conftest.err; then
1701     grep -v '^ *+' conftest.err >conftest.er1
1702     cat conftest.er1 >&5
1703     mv -f conftest.er1 conftest.err
1704   fi
1705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706   test $ac_status = 0; } && {
1707          test -z "$ac_c_werror_flag" ||
1708          test ! -s conftest.err
1709        } && test -s conftest$ac_exeext && {
1710          test "$cross_compiling" = yes ||
1711          $as_test_x conftest$ac_exeext
1712        }; then :
1713   ac_retval=0
1714 else
1715   $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1717
1718         ac_retval=1
1719 fi
1720   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1721   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1722   # interfere with the next link command; also delete a directory that is
1723   # left behind by Apple's compiler.  We do this before executing the actions.
1724   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726   as_fn_set_status $ac_retval
1727
1728 } # ac_fn_c_try_link
1729
1730 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1731 # -------------------------------------------------------
1732 # Tests whether HEADER exists and can be compiled using the include files in
1733 # INCLUDES, setting the cache variable VAR accordingly.
1734 ac_fn_c_check_header_compile ()
1735 {
1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 $as_echo_n "checking for $2... " >&6; }
1739 if eval \${$3+:} false; then :
1740   $as_echo_n "(cached) " >&6
1741 else
1742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743 /* end confdefs.h.  */
1744 $4
1745 #include <$2>
1746 _ACEOF
1747 if ac_fn_c_try_compile "$LINENO"; then :
1748   eval "$3=yes"
1749 else
1750   eval "$3=no"
1751 fi
1752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1753 fi
1754 eval ac_res=\$$3
1755                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 $as_echo "$ac_res" >&6; }
1757   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758
1759 } # ac_fn_c_check_header_compile
1760
1761 # ac_fn_c_try_cpp LINENO
1762 # ----------------------
1763 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1764 ac_fn_c_try_cpp ()
1765 {
1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767   if { { ac_try="$ac_cpp conftest.$ac_ext"
1768 case "(($ac_try" in
1769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1770   *) ac_try_echo=$ac_try;;
1771 esac
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1775   ac_status=$?
1776   if test -s conftest.err; then
1777     grep -v '^ *+' conftest.err >conftest.er1
1778     cat conftest.er1 >&5
1779     mv -f conftest.er1 conftest.err
1780   fi
1781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782   test $ac_status = 0; } > conftest.i && {
1783          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1784          test ! -s conftest.err
1785        }; then :
1786   ac_retval=0
1787 else
1788   $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1790
1791     ac_retval=1
1792 fi
1793   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794   as_fn_set_status $ac_retval
1795
1796 } # ac_fn_c_try_cpp
1797
1798 # ac_fn_c_try_run LINENO
1799 # ----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1801 # that executables *can* be run.
1802 ac_fn_c_try_run ()
1803 {
1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805   if { { ac_try="$ac_link"
1806 case "(($ac_try" in
1807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808   *) ac_try_echo=$ac_try;;
1809 esac
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812   (eval "$ac_link") 2>&5
1813   ac_status=$?
1814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1816   { { case "(($ac_try" in
1817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818   *) ac_try_echo=$ac_try;;
1819 esac
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822   (eval "$ac_try") 2>&5
1823   ac_status=$?
1824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825   test $ac_status = 0; }; }; then :
1826   ac_retval=0
1827 else
1828   $as_echo "$as_me: program exited with status $ac_status" >&5
1829        $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1831
1832        ac_retval=$ac_status
1833 fi
1834   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1835   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836   as_fn_set_status $ac_retval
1837
1838 } # ac_fn_c_try_run
1839
1840 # ac_fn_c_check_func LINENO FUNC VAR
1841 # ----------------------------------
1842 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1843 ac_fn_c_check_func ()
1844 {
1845   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1847 $as_echo_n "checking for $2... " >&6; }
1848 if eval \${$3+:} false; then :
1849   $as_echo_n "(cached) " >&6
1850 else
1851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852 /* end confdefs.h.  */
1853 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1855 #define $2 innocuous_$2
1856
1857 /* System header to define __stub macros and hopefully few prototypes,
1858     which can conflict with char $2 (); below.
1859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1860     <limits.h> exists even on freestanding compilers.  */
1861
1862 #ifdef __STDC__
1863 # include <limits.h>
1864 #else
1865 # include <assert.h>
1866 #endif
1867
1868 #undef $2
1869
1870 /* Override any GCC internal prototype to avoid an error.
1871    Use char because int might match the return type of a GCC
1872    builtin and then its argument prototype would still apply.  */
1873 #ifdef __cplusplus
1874 extern "C"
1875 #endif
1876 char $2 ();
1877 /* The GNU C library defines this for functions which it implements
1878     to always fail with ENOSYS.  Some functions are actually named
1879     something starting with __ and the normal name is an alias.  */
1880 #if defined __stub_$2 || defined __stub___$2
1881 choke me
1882 #endif
1883
1884 int
1885 main ()
1886 {
1887 return $2 ();
1888   ;
1889   return 0;
1890 }
1891 _ACEOF
1892 if ac_fn_c_try_link "$LINENO"; then :
1893   eval "$3=yes"
1894 else
1895   eval "$3=no"
1896 fi
1897 rm -f core conftest.err conftest.$ac_objext \
1898     conftest$ac_exeext conftest.$ac_ext
1899 fi
1900 eval ac_res=\$$3
1901                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1903   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904
1905 } # ac_fn_c_check_func
1906 cat >config.log <<_ACEOF
1907 This file contains any messages produced by compilers while
1908 running configure, to aid debugging if configure makes a mistake.
1909
1910 It was created by ethumb $as_me 1.7.7, which was
1911 generated by GNU Autoconf 2.68.  Invocation command line was
1912
1913   $ $0 $@
1914
1915 _ACEOF
1916 exec 5>>config.log
1917 {
1918 cat <<_ASUNAME
1919 ## --------- ##
1920 ## Platform. ##
1921 ## --------- ##
1922
1923 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1924 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1925 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1926 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1927 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1928
1929 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1930 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1931
1932 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1933 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1934 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1935 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1936 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1937 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1938 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1939
1940 _ASUNAME
1941
1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943 for as_dir in $PATH
1944 do
1945   IFS=$as_save_IFS
1946   test -z "$as_dir" && as_dir=.
1947     $as_echo "PATH: $as_dir"
1948   done
1949 IFS=$as_save_IFS
1950
1951 } >&5
1952
1953 cat >&5 <<_ACEOF
1954
1955
1956 ## ----------- ##
1957 ## Core tests. ##
1958 ## ----------- ##
1959
1960 _ACEOF
1961
1962
1963 # Keep a trace of the command line.
1964 # Strip out --no-create and --no-recursion so they do not pile up.
1965 # Strip out --silent because we don't want to record it for future runs.
1966 # Also quote any args containing shell meta-characters.
1967 # Make two passes to allow for proper duplicate-argument suppression.
1968 ac_configure_args=
1969 ac_configure_args0=
1970 ac_configure_args1=
1971 ac_must_keep_next=false
1972 for ac_pass in 1 2
1973 do
1974   for ac_arg
1975   do
1976     case $ac_arg in
1977     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1978     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1979     | -silent | --silent | --silen | --sile | --sil)
1980       continue ;;
1981     *\'*)
1982       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1983     esac
1984     case $ac_pass in
1985     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1986     2)
1987       as_fn_append ac_configure_args1 " '$ac_arg'"
1988       if test $ac_must_keep_next = true; then
1989         ac_must_keep_next=false # Got value, back to normal.
1990       else
1991         case $ac_arg in
1992           *=* | --config-cache | -C | -disable-* | --disable-* \
1993           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1994           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1995           | -with-* | --with-* | -without-* | --without-* | --x)
1996             case "$ac_configure_args0 " in
1997               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1998             esac
1999             ;;
2000           -* ) ac_must_keep_next=true ;;
2001         esac
2002       fi
2003       as_fn_append ac_configure_args " '$ac_arg'"
2004       ;;
2005     esac
2006   done
2007 done
2008 { ac_configure_args0=; unset ac_configure_args0;}
2009 { ac_configure_args1=; unset ac_configure_args1;}
2010
2011 # When interrupted or exit'd, cleanup temporary files, and complete
2012 # config.log.  We remove comments because anyway the quotes in there
2013 # would cause problems or look ugly.
2014 # WARNING: Use '\'' to represent an apostrophe within the trap.
2015 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2016 trap 'exit_status=$?
2017   # Save into config.log some information that might help in debugging.
2018   {
2019     echo
2020
2021     $as_echo "## ---------------- ##
2022 ## Cache variables. ##
2023 ## ---------------- ##"
2024     echo
2025     # The following way of writing the cache mishandles newlines in values,
2026 (
2027   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2028     eval ac_val=\$$ac_var
2029     case $ac_val in #(
2030     *${as_nl}*)
2031       case $ac_var in #(
2032       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2033 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2034       esac
2035       case $ac_var in #(
2036       _ | IFS | as_nl) ;; #(
2037       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2038       *) { eval $ac_var=; unset $ac_var;} ;;
2039       esac ;;
2040     esac
2041   done
2042   (set) 2>&1 |
2043     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2044     *${as_nl}ac_space=\ *)
2045       sed -n \
2046         "s/'\''/'\''\\\\'\'''\''/g;
2047           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2048       ;; #(
2049     *)
2050       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2051       ;;
2052     esac |
2053     sort
2054 )
2055     echo
2056
2057     $as_echo "## ----------------- ##
2058 ## Output variables. ##
2059 ## ----------------- ##"
2060     echo
2061     for ac_var in $ac_subst_vars
2062     do
2063       eval ac_val=\$$ac_var
2064       case $ac_val in
2065       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2066       esac
2067       $as_echo "$ac_var='\''$ac_val'\''"
2068     done | sort
2069     echo
2070
2071     if test -n "$ac_subst_files"; then
2072       $as_echo "## ------------------- ##
2073 ## File substitutions. ##
2074 ## ------------------- ##"
2075       echo
2076       for ac_var in $ac_subst_files
2077       do
2078         eval ac_val=\$$ac_var
2079         case $ac_val in
2080         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2081         esac
2082         $as_echo "$ac_var='\''$ac_val'\''"
2083       done | sort
2084       echo
2085     fi
2086
2087     if test -s confdefs.h; then
2088       $as_echo "## ----------- ##
2089 ## confdefs.h. ##
2090 ## ----------- ##"
2091       echo
2092       cat confdefs.h
2093       echo
2094     fi
2095     test "$ac_signal" != 0 &&
2096       $as_echo "$as_me: caught signal $ac_signal"
2097     $as_echo "$as_me: exit $exit_status"
2098   } >&5
2099   rm -f core *.core core.conftest.* &&
2100     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2101     exit $exit_status
2102 ' 0
2103 for ac_signal in 1 2 13 15; do
2104   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2105 done
2106 ac_signal=0
2107
2108 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2109 rm -f -r conftest* confdefs.h
2110
2111 $as_echo "/* confdefs.h */" > confdefs.h
2112
2113 # Predefined preprocessor variables.
2114
2115 cat >>confdefs.h <<_ACEOF
2116 #define PACKAGE_NAME "$PACKAGE_NAME"
2117 _ACEOF
2118
2119 cat >>confdefs.h <<_ACEOF
2120 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2121 _ACEOF
2122
2123 cat >>confdefs.h <<_ACEOF
2124 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2125 _ACEOF
2126
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_STRING "$PACKAGE_STRING"
2129 _ACEOF
2130
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2133 _ACEOF
2134
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_URL "$PACKAGE_URL"
2137 _ACEOF
2138
2139
2140 # Let the site file select an alternate cache file if it wants to.
2141 # Prefer an explicitly selected file to automatically selected ones.
2142 ac_site_file1=NONE
2143 ac_site_file2=NONE
2144 if test -n "$CONFIG_SITE"; then
2145   # We do not want a PATH search for config.site.
2146   case $CONFIG_SITE in #((
2147     -*)  ac_site_file1=./$CONFIG_SITE;;
2148     */*) ac_site_file1=$CONFIG_SITE;;
2149     *)   ac_site_file1=./$CONFIG_SITE;;
2150   esac
2151 elif test "x$prefix" != xNONE; then
2152   ac_site_file1=$prefix/share/config.site
2153   ac_site_file2=$prefix/etc/config.site
2154 else
2155   ac_site_file1=$ac_default_prefix/share/config.site
2156   ac_site_file2=$ac_default_prefix/etc/config.site
2157 fi
2158 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2159 do
2160   test "x$ac_site_file" = xNONE && continue
2161   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2162     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2163 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2164     sed 's/^/| /' "$ac_site_file" >&5
2165     . "$ac_site_file" \
2166       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2168 as_fn_error $? "failed to load site script $ac_site_file
2169 See \`config.log' for more details" "$LINENO" 5; }
2170   fi
2171 done
2172
2173 if test -r "$cache_file"; then
2174   # Some versions of bash will fail to source /dev/null (special files
2175   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2176   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2177     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2178 $as_echo "$as_me: loading cache $cache_file" >&6;}
2179     case $cache_file in
2180       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2181       *)                      . "./$cache_file";;
2182     esac
2183   fi
2184 else
2185   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2186 $as_echo "$as_me: creating cache $cache_file" >&6;}
2187   >$cache_file
2188 fi
2189
2190 # Check that the precious variables saved in the cache have kept the same
2191 # value.
2192 ac_cache_corrupted=false
2193 for ac_var in $ac_precious_vars; do
2194   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2195   eval ac_new_set=\$ac_env_${ac_var}_set
2196   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2197   eval ac_new_val=\$ac_env_${ac_var}_value
2198   case $ac_old_set,$ac_new_set in
2199     set,)
2200       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2201 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2202       ac_cache_corrupted=: ;;
2203     ,set)
2204       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2205 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2206       ac_cache_corrupted=: ;;
2207     ,);;
2208     *)
2209       if test "x$ac_old_val" != "x$ac_new_val"; then
2210         # differences in whitespace do not lead to failure.
2211         ac_old_val_w=`echo x $ac_old_val`
2212         ac_new_val_w=`echo x $ac_new_val`
2213         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2214           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2215 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2216           ac_cache_corrupted=:
2217         else
2218           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2219 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2220           eval $ac_var=\$ac_old_val
2221         fi
2222         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2223 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2224         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2225 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2226       fi;;
2227   esac
2228   # Pass precious variables to config.status.
2229   if test "$ac_new_set" = set; then
2230     case $ac_new_val in
2231     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2232     *) ac_arg=$ac_var=$ac_new_val ;;
2233     esac
2234     case " $ac_configure_args " in
2235       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2236       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2237     esac
2238   fi
2239 done
2240 if $ac_cache_corrupted; then
2241   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2243   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2244 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2245   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2246 fi
2247 ## -------------------- ##
2248 ## Main body of script. ##
2249 ## -------------------- ##
2250
2251 ac_ext=c
2252 ac_cpp='$CPP $CPPFLAGS'
2253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2256
2257
2258
2259
2260
2261 ac_aux_dir=
2262 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2263   if test -f "$ac_dir/install-sh"; then
2264     ac_aux_dir=$ac_dir
2265     ac_install_sh="$ac_aux_dir/install-sh -c"
2266     break
2267   elif test -f "$ac_dir/install.sh"; then
2268     ac_aux_dir=$ac_dir
2269     ac_install_sh="$ac_aux_dir/install.sh -c"
2270     break
2271   elif test -f "$ac_dir/shtool"; then
2272     ac_aux_dir=$ac_dir
2273     ac_install_sh="$ac_aux_dir/shtool install -c"
2274     break
2275   fi
2276 done
2277 if test -z "$ac_aux_dir"; then
2278   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2279 fi
2280
2281 # These three variables are undocumented and unsupported,
2282 # and are intended to be withdrawn in a future Autoconf release.
2283 # They can cause serious problems if a builder's source tree is in a directory
2284 # whose full name contains unusual characters.
2285 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2286 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2287 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2288
2289
2290 # Make sure we can run config.sub.
2291 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2292   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2293
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2295 $as_echo_n "checking build system type... " >&6; }
2296 if ${ac_cv_build+:} false; then :
2297   $as_echo_n "(cached) " >&6
2298 else
2299   ac_build_alias=$build_alias
2300 test "x$ac_build_alias" = x &&
2301   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2302 test "x$ac_build_alias" = x &&
2303   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2304 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2305   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2306
2307 fi
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2309 $as_echo "$ac_cv_build" >&6; }
2310 case $ac_cv_build in
2311 *-*-*) ;;
2312 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2313 esac
2314 build=$ac_cv_build
2315 ac_save_IFS=$IFS; IFS='-'
2316 set x $ac_cv_build
2317 shift
2318 build_cpu=$1
2319 build_vendor=$2
2320 shift; shift
2321 # Remember, the first character of IFS is used to create $*,
2322 # except with old shells:
2323 build_os=$*
2324 IFS=$ac_save_IFS
2325 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2326
2327
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2329 $as_echo_n "checking host system type... " >&6; }
2330 if ${ac_cv_host+:} false; then :
2331   $as_echo_n "(cached) " >&6
2332 else
2333   if test "x$host_alias" = x; then
2334   ac_cv_host=$ac_cv_build
2335 else
2336   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2337     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2338 fi
2339
2340 fi
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2342 $as_echo "$ac_cv_host" >&6; }
2343 case $ac_cv_host in
2344 *-*-*) ;;
2345 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2346 esac
2347 host=$ac_cv_host
2348 ac_save_IFS=$IFS; IFS='-'
2349 set x $ac_cv_host
2350 shift
2351 host_cpu=$1
2352 host_vendor=$2
2353 shift; shift
2354 # Remember, the first character of IFS is used to create $*,
2355 # except with old shells:
2356 host_os=$*
2357 IFS=$ac_save_IFS
2358 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2359
2360
2361
2362
2363
2364
2365
2366
2367 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2368         if test -n "$ac_tool_prefix"; then
2369   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2370 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2372 $as_echo_n "checking for $ac_word... " >&6; }
2373 if ${ac_cv_path_PKG_CONFIG+:} false; then :
2374   $as_echo_n "(cached) " >&6
2375 else
2376   case $PKG_CONFIG in
2377   [\\/]* | ?:[\\/]*)
2378   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2379   ;;
2380   *)
2381   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382 for as_dir in $PATH
2383 do
2384   IFS=$as_save_IFS
2385   test -z "$as_dir" && as_dir=.
2386     for ac_exec_ext in '' $ac_executable_extensions; do
2387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2390     break 2
2391   fi
2392 done
2393   done
2394 IFS=$as_save_IFS
2395
2396   ;;
2397 esac
2398 fi
2399 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2400 if test -n "$PKG_CONFIG"; then
2401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2402 $as_echo "$PKG_CONFIG" >&6; }
2403 else
2404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2405 $as_echo "no" >&6; }
2406 fi
2407
2408
2409 fi
2410 if test -z "$ac_cv_path_PKG_CONFIG"; then
2411   ac_pt_PKG_CONFIG=$PKG_CONFIG
2412   # Extract the first word of "pkg-config", so it can be a program name with args.
2413 set dummy pkg-config; ac_word=$2
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2415 $as_echo_n "checking for $ac_word... " >&6; }
2416 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
2417   $as_echo_n "(cached) " >&6
2418 else
2419   case $ac_pt_PKG_CONFIG in
2420   [\\/]* | ?:[\\/]*)
2421   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2422   ;;
2423   *)
2424   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 for as_dir in $PATH
2426 do
2427   IFS=$as_save_IFS
2428   test -z "$as_dir" && as_dir=.
2429     for ac_exec_ext in '' $ac_executable_extensions; do
2430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2431     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2433     break 2
2434   fi
2435 done
2436   done
2437 IFS=$as_save_IFS
2438
2439   ;;
2440 esac
2441 fi
2442 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2443 if test -n "$ac_pt_PKG_CONFIG"; then
2444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2445 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
2446 else
2447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2449 fi
2450
2451   if test "x$ac_pt_PKG_CONFIG" = x; then
2452     PKG_CONFIG=""
2453   else
2454     case $cross_compiling:$ac_tool_warned in
2455 yes:)
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2458 ac_tool_warned=yes ;;
2459 esac
2460     PKG_CONFIG=$ac_pt_PKG_CONFIG
2461   fi
2462 else
2463   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2464 fi
2465
2466 fi
2467 if test -n "$PKG_CONFIG"; then
2468         _pkg_min_version=0.9.0
2469         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2470 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2471         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2472                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2473 $as_echo "yes" >&6; }
2474         else
2475                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2476 $as_echo "no" >&6; }
2477                 PKG_CONFIG=""
2478         fi
2479 fi
2480
2481 ac_config_headers="$ac_config_headers config.h"
2482
2483
2484
2485
2486 am__api_version='1.11'
2487
2488 # Find a good install program.  We prefer a C program (faster),
2489 # so one script is as good as another.  But avoid the broken or
2490 # incompatible versions:
2491 # SysV /etc/install, /usr/sbin/install
2492 # SunOS /usr/etc/install
2493 # IRIX /sbin/install
2494 # AIX /bin/install
2495 # AmigaOS /C/install, which installs bootblocks on floppy discs
2496 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2497 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2498 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2499 # OS/2's system install, which has a completely different semantic
2500 # ./install, which can be erroneously created by make from ./install.sh.
2501 # Reject install programs that cannot install multiple files.
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2504 if test -z "$INSTALL"; then
2505 if ${ac_cv_path_install+:} false; then :
2506   $as_echo_n "(cached) " >&6
2507 else
2508   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 for as_dir in $PATH
2510 do
2511   IFS=$as_save_IFS
2512   test -z "$as_dir" && as_dir=.
2513     # Account for people who put trailing slashes in PATH elements.
2514 case $as_dir/ in #((
2515   ./ | .// | /[cC]/* | \
2516   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2517   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2518   /usr/ucb/* ) ;;
2519   *)
2520     # OSF1 and SCO ODT 3.0 have their own names for install.
2521     # Don't use installbsd from OSF since it installs stuff as root
2522     # by default.
2523     for ac_prog in ginstall scoinst install; do
2524       for ac_exec_ext in '' $ac_executable_extensions; do
2525         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2526           if test $ac_prog = install &&
2527             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528             # AIX install.  It has an incompatible calling convention.
2529             :
2530           elif test $ac_prog = install &&
2531             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2532             # program-specific install script used by HP pwplus--don't use.
2533             :
2534           else
2535             rm -rf conftest.one conftest.two conftest.dir
2536             echo one > conftest.one
2537             echo two > conftest.two
2538             mkdir conftest.dir
2539             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2540               test -s conftest.one && test -s conftest.two &&
2541               test -s conftest.dir/conftest.one &&
2542               test -s conftest.dir/conftest.two
2543             then
2544               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2545               break 3
2546             fi
2547           fi
2548         fi
2549       done
2550     done
2551     ;;
2552 esac
2553
2554   done
2555 IFS=$as_save_IFS
2556
2557 rm -rf conftest.one conftest.two conftest.dir
2558
2559 fi
2560   if test "${ac_cv_path_install+set}" = set; then
2561     INSTALL=$ac_cv_path_install
2562   else
2563     # As a last resort, use the slow shell script.  Don't cache a
2564     # value for INSTALL within a source directory, because that will
2565     # break other packages using the cache if that directory is
2566     # removed, or if the value is a relative name.
2567     INSTALL=$ac_install_sh
2568   fi
2569 fi
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2571 $as_echo "$INSTALL" >&6; }
2572
2573 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2574 # It thinks the first close brace ends the variable substitution.
2575 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2576
2577 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2578
2579 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2580
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582 $as_echo_n "checking whether build environment is sane... " >&6; }
2583 # Just in case
2584 sleep 1
2585 echo timestamp > conftest.file
2586 # Reject unsafe characters in $srcdir or the absolute working directory
2587 # name.  Accept space and tab only in the latter.
2588 am_lf='
2589 '
2590 case `pwd` in
2591   *[\\\"\#\$\&\'\`$am_lf]*)
2592     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2593 esac
2594 case $srcdir in
2595   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2596     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2597 esac
2598
2599 # Do `set' in a subshell so we don't clobber the current shell's
2600 # arguments.  Must try -L first in case configure is actually a
2601 # symlink; some systems play weird games with the mod time of symlinks
2602 # (eg FreeBSD returns the mod time of the symlink's containing
2603 # directory).
2604 if (
2605    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606    if test "$*" = "X"; then
2607       # -L didn't work.
2608       set X `ls -t "$srcdir/configure" conftest.file`
2609    fi
2610    rm -f conftest.file
2611    if test "$*" != "X $srcdir/configure conftest.file" \
2612       && test "$*" != "X conftest.file $srcdir/configure"; then
2613
2614       # If neither matched, then we have a broken ls.  This can happen
2615       # if, for instance, CONFIG_SHELL is bash and it inherits a
2616       # broken ls alias from the environment.  This has actually
2617       # happened.  Such a system could not be considered "sane".
2618       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2619 alias in your environment" "$LINENO" 5
2620    fi
2621
2622    test "$2" = conftest.file
2623    )
2624 then
2625    # Ok.
2626    :
2627 else
2628    as_fn_error $? "newly created file is older than distributed files!
2629 Check your system clock" "$LINENO" 5
2630 fi
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632 $as_echo "yes" >&6; }
2633 test "$program_prefix" != NONE &&
2634   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2635 # Use a double $ so make ignores it.
2636 test "$program_suffix" != NONE &&
2637   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2638 # Double any \ or $.
2639 # By default was `s,x,x', remove it if useless.
2640 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2641 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2642
2643 # expand $ac_aux_dir to an absolute path
2644 am_aux_dir=`cd $ac_aux_dir && pwd`
2645
2646 if test x"${MISSING+set}" != xset; then
2647   case $am_aux_dir in
2648   *\ * | *\     *)
2649     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2650   *)
2651     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2652   esac
2653 fi
2654 # Use eval to expand $SHELL
2655 if eval "$MISSING --run true"; then
2656   am_missing_run="$MISSING --run "
2657 else
2658   am_missing_run=
2659   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2660 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2661 fi
2662
2663 if test x"${install_sh}" != xset; then
2664   case $am_aux_dir in
2665   *\ * | *\     *)
2666     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2667   *)
2668     install_sh="\${SHELL} $am_aux_dir/install-sh"
2669   esac
2670 fi
2671
2672 # Installed binaries are usually stripped using `strip' when the user
2673 # run `make install-strip'.  However `strip' might not be the right
2674 # tool to use in cross-compilation environments, therefore Automake
2675 # will honor the `STRIP' environment variable to overrule this program.
2676 if test "$cross_compiling" != no; then
2677   if test -n "$ac_tool_prefix"; then
2678   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2679 set dummy ${ac_tool_prefix}strip; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if ${ac_cv_prog_STRIP+:} false; then :
2683   $as_echo_n "(cached) " >&6
2684 else
2685   if test -n "$STRIP"; then
2686   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2687 else
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689 for as_dir in $PATH
2690 do
2691   IFS=$as_save_IFS
2692   test -z "$as_dir" && as_dir=.
2693     for ac_exec_ext in '' $ac_executable_extensions; do
2694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697     break 2
2698   fi
2699 done
2700   done
2701 IFS=$as_save_IFS
2702
2703 fi
2704 fi
2705 STRIP=$ac_cv_prog_STRIP
2706 if test -n "$STRIP"; then
2707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2708 $as_echo "$STRIP" >&6; }
2709 else
2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2712 fi
2713
2714
2715 fi
2716 if test -z "$ac_cv_prog_STRIP"; then
2717   ac_ct_STRIP=$STRIP
2718   # Extract the first word of "strip", so it can be a program name with args.
2719 set dummy strip; ac_word=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2723   $as_echo_n "(cached) " >&6
2724 else
2725   if test -n "$ac_ct_STRIP"; then
2726   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2727 else
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 for as_dir in $PATH
2730 do
2731   IFS=$as_save_IFS
2732   test -z "$as_dir" && as_dir=.
2733     for ac_exec_ext in '' $ac_executable_extensions; do
2734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735     ac_cv_prog_ac_ct_STRIP="strip"
2736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737     break 2
2738   fi
2739 done
2740   done
2741 IFS=$as_save_IFS
2742
2743 fi
2744 fi
2745 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2746 if test -n "$ac_ct_STRIP"; then
2747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2748 $as_echo "$ac_ct_STRIP" >&6; }
2749 else
2750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2752 fi
2753
2754   if test "x$ac_ct_STRIP" = x; then
2755     STRIP=":"
2756   else
2757     case $cross_compiling:$ac_tool_warned in
2758 yes:)
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2761 ac_tool_warned=yes ;;
2762 esac
2763     STRIP=$ac_ct_STRIP
2764   fi
2765 else
2766   STRIP="$ac_cv_prog_STRIP"
2767 fi
2768
2769 fi
2770 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2771
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2773 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2774 if test -z "$MKDIR_P"; then
2775   if ${ac_cv_path_mkdir+:} false; then :
2776   $as_echo_n "(cached) " >&6
2777 else
2778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2780 do
2781   IFS=$as_save_IFS
2782   test -z "$as_dir" && as_dir=.
2783     for ac_prog in mkdir gmkdir; do
2784          for ac_exec_ext in '' $ac_executable_extensions; do
2785            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2786            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2787              'mkdir (GNU coreutils) '* | \
2788              'mkdir (coreutils) '* | \
2789              'mkdir (fileutils) '4.1*)
2790                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2791                break 3;;
2792            esac
2793          done
2794        done
2795   done
2796 IFS=$as_save_IFS
2797
2798 fi
2799
2800   test -d ./--version && rmdir ./--version
2801   if test "${ac_cv_path_mkdir+set}" = set; then
2802     MKDIR_P="$ac_cv_path_mkdir -p"
2803   else
2804     # As a last resort, use the slow shell script.  Don't cache a
2805     # value for MKDIR_P within a source directory, because that will
2806     # break other packages using the cache if that directory is
2807     # removed, or if the value is a relative name.
2808     MKDIR_P="$ac_install_sh -d"
2809   fi
2810 fi
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2812 $as_echo "$MKDIR_P" >&6; }
2813
2814 mkdir_p="$MKDIR_P"
2815 case $mkdir_p in
2816   [\\/$]* | ?:[\\/]*) ;;
2817   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2818 esac
2819
2820 for ac_prog in gawk mawk nawk awk
2821 do
2822   # Extract the first word of "$ac_prog", so it can be a program name with args.
2823 set dummy $ac_prog; ac_word=$2
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825 $as_echo_n "checking for $ac_word... " >&6; }
2826 if ${ac_cv_prog_AWK+:} false; then :
2827   $as_echo_n "(cached) " >&6
2828 else
2829   if test -n "$AWK"; then
2830   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2831 else
2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 for as_dir in $PATH
2834 do
2835   IFS=$as_save_IFS
2836   test -z "$as_dir" && as_dir=.
2837     for ac_exec_ext in '' $ac_executable_extensions; do
2838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2839     ac_cv_prog_AWK="$ac_prog"
2840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841     break 2
2842   fi
2843 done
2844   done
2845 IFS=$as_save_IFS
2846
2847 fi
2848 fi
2849 AWK=$ac_cv_prog_AWK
2850 if test -n "$AWK"; then
2851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2852 $as_echo "$AWK" >&6; }
2853 else
2854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855 $as_echo "no" >&6; }
2856 fi
2857
2858
2859   test -n "$AWK" && break
2860 done
2861
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2863 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2864 set x ${MAKE-make}
2865 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2866 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2867   $as_echo_n "(cached) " >&6
2868 else
2869   cat >conftest.make <<\_ACEOF
2870 SHELL = /bin/sh
2871 all:
2872         @echo '@@@%%%=$(MAKE)=@@@%%%'
2873 _ACEOF
2874 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2875 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2876   *@@@%%%=?*=@@@%%%*)
2877     eval ac_cv_prog_make_${ac_make}_set=yes;;
2878   *)
2879     eval ac_cv_prog_make_${ac_make}_set=no;;
2880 esac
2881 rm -f conftest.make
2882 fi
2883 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2885 $as_echo "yes" >&6; }
2886   SET_MAKE=
2887 else
2888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889 $as_echo "no" >&6; }
2890   SET_MAKE="MAKE=${MAKE-make}"
2891 fi
2892
2893 rm -rf .tst 2>/dev/null
2894 mkdir .tst 2>/dev/null
2895 if test -d .tst; then
2896   am__leading_dot=.
2897 else
2898   am__leading_dot=_
2899 fi
2900 rmdir .tst 2>/dev/null
2901
2902 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2903   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2904   # is not polluted with repeated "-I."
2905   am__isrc=' -I$(srcdir)'
2906   # test to see if srcdir already configured
2907   if test -f $srcdir/config.status; then
2908     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2909   fi
2910 fi
2911
2912 # test whether we have cygpath
2913 if test -z "$CYGPATH_W"; then
2914   if (cygpath --version) >/dev/null 2>/dev/null; then
2915     CYGPATH_W='cygpath -w'
2916   else
2917     CYGPATH_W=echo
2918   fi
2919 fi
2920
2921
2922 # Define the identity of the package.
2923  PACKAGE='ethumb'
2924  VERSION='1.7.7'
2925
2926
2927 cat >>confdefs.h <<_ACEOF
2928 #define PACKAGE "$PACKAGE"
2929 _ACEOF
2930
2931
2932 cat >>confdefs.h <<_ACEOF
2933 #define VERSION "$VERSION"
2934 _ACEOF
2935
2936 # Some tools Automake needs.
2937
2938 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2939
2940
2941 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2942
2943
2944 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2945
2946
2947 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2948
2949
2950 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2951
2952 # We need awk for the "check" target.  The system "awk" is bad on
2953 # some platforms.
2954 # Always define AMTAR for backward compatibility.  Yes, it's still used
2955 # in the wild :-(  We should find a proper way to deprecate it ...
2956 AMTAR='$${TAR-tar}'
2957
2958 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2959
2960
2961
2962
2963
2964 # Check whether --enable-silent-rules was given.
2965 if test "${enable_silent_rules+set}" = set; then :
2966   enableval=$enable_silent_rules;
2967 fi
2968
2969 case $enable_silent_rules in
2970 yes) AM_DEFAULT_VERBOSITY=0;;
2971 no)  AM_DEFAULT_VERBOSITY=1;;
2972 *)   AM_DEFAULT_VERBOSITY=0;;
2973 esac
2974 am_make=${MAKE-make}
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2976 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2977 if ${am_cv_make_support_nested_variables+:} false; then :
2978   $as_echo_n "(cached) " >&6
2979 else
2980   if $as_echo 'TRUE=$(BAR$(V))
2981 BAR0=false
2982 BAR1=true
2983 V=1
2984 am__doit:
2985         @$(TRUE)
2986 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2987   am_cv_make_support_nested_variables=yes
2988 else
2989   am_cv_make_support_nested_variables=no
2990 fi
2991 fi
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2993 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2994 if test $am_cv_make_support_nested_variables = yes; then
2995     AM_V='$(V)'
2996   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2997 else
2998   AM_V=$AM_DEFAULT_VERBOSITY
2999   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3000 fi
3001 AM_BACKSLASH='\'
3002
3003
3004         # Check for XTerm and define some colors
3005         if test "x$TERM" = "xxterm"; then
3006                 COLOR_PREF="\0033\0133"
3007                 COLOR_H="${COLOR_PREF}1m"
3008                 COLOR_HGREEN="${COLOR_PREF}1;32m"
3009                 COLOR_HRED="${COLOR_PREF}1;31m"
3010                 COLOR_GREEN="${COLOR_PREF}32m"
3011                 COLOR_RED="${COLOR_PREF}31m"
3012                 COLOR_YELLOW="${COLOR_PREF}1;33m"
3013                 COLOR_END="${COLOR_PREF}0m"
3014         else
3015                 COLOR_H=""
3016                 COLOR_HGREEN=""
3017                 COLOR_HRED=""
3018                 COLOR_GREEN=""
3019                 COLOR_RED=""
3020                 COLOR_YELLOW=""
3021                 COLOR_END=""
3022         fi
3023
3024
3025 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3026 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3027
3028
3029
3030 cat >>confdefs.h <<_ACEOF
3031 #define VMAJ 1
3032 _ACEOF
3033
3034
3035 cat >>confdefs.h <<_ACEOF
3036 #define VMIN 7
3037 _ACEOF
3038
3039
3040 cat >>confdefs.h <<_ACEOF
3041 #define VMIC 7
3042 _ACEOF
3043
3044
3045 cat >>confdefs.h <<_ACEOF
3046 #define VREV 0
3047 _ACEOF
3048
3049 version_info="8:7:7"
3050 release_info=""
3051
3052
3053 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3054 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3055 VMAJ=1
3056
3057
3058
3059
3060 ac_ext=c
3061 ac_cpp='$CPP $CPPFLAGS'
3062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3065 if test -n "$ac_tool_prefix"; then
3066   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3067 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3069 $as_echo_n "checking for $ac_word... " >&6; }
3070 if ${ac_cv_prog_CC+:} false; then :
3071   $as_echo_n "(cached) " >&6
3072 else
3073   if test -n "$CC"; then
3074   ac_cv_prog_CC="$CC" # Let the user override the test.
3075 else
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077 for as_dir in $PATH
3078 do
3079   IFS=$as_save_IFS
3080   test -z "$as_dir" && as_dir=.
3081     for ac_exec_ext in '' $ac_executable_extensions; do
3082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3085     break 2
3086   fi
3087 done
3088   done
3089 IFS=$as_save_IFS
3090
3091 fi
3092 fi
3093 CC=$ac_cv_prog_CC
3094 if test -n "$CC"; then
3095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3096 $as_echo "$CC" >&6; }
3097 else
3098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3099 $as_echo "no" >&6; }
3100 fi
3101
3102
3103 fi
3104 if test -z "$ac_cv_prog_CC"; then
3105   ac_ct_CC=$CC
3106   # Extract the first word of "gcc", so it can be a program name with args.
3107 set dummy gcc; ac_word=$2
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109 $as_echo_n "checking for $ac_word... " >&6; }
3110 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3111   $as_echo_n "(cached) " >&6
3112 else
3113   if test -n "$ac_ct_CC"; then
3114   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3115 else
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117 for as_dir in $PATH
3118 do
3119   IFS=$as_save_IFS
3120   test -z "$as_dir" && as_dir=.
3121     for ac_exec_ext in '' $ac_executable_extensions; do
3122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3123     ac_cv_prog_ac_ct_CC="gcc"
3124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125     break 2
3126   fi
3127 done
3128   done
3129 IFS=$as_save_IFS
3130
3131 fi
3132 fi
3133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3134 if test -n "$ac_ct_CC"; then
3135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3136 $as_echo "$ac_ct_CC" >&6; }
3137 else
3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139 $as_echo "no" >&6; }
3140 fi
3141
3142   if test "x$ac_ct_CC" = x; then
3143     CC=""
3144   else
3145     case $cross_compiling:$ac_tool_warned in
3146 yes:)
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3149 ac_tool_warned=yes ;;
3150 esac
3151     CC=$ac_ct_CC
3152   fi
3153 else
3154   CC="$ac_cv_prog_CC"
3155 fi
3156
3157 if test -z "$CC"; then
3158           if test -n "$ac_tool_prefix"; then
3159     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3160 set dummy ${ac_tool_prefix}cc; ac_word=$2
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if ${ac_cv_prog_CC+:} false; then :
3164   $as_echo_n "(cached) " >&6
3165 else
3166   if test -n "$CC"; then
3167   ac_cv_prog_CC="$CC" # Let the user override the test.
3168 else
3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170 for as_dir in $PATH
3171 do
3172   IFS=$as_save_IFS
3173   test -z "$as_dir" && as_dir=.
3174     for ac_exec_ext in '' $ac_executable_extensions; do
3175   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3176     ac_cv_prog_CC="${ac_tool_prefix}cc"
3177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178     break 2
3179   fi
3180 done
3181   done
3182 IFS=$as_save_IFS
3183
3184 fi
3185 fi
3186 CC=$ac_cv_prog_CC
3187 if test -n "$CC"; then
3188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3189 $as_echo "$CC" >&6; }
3190 else
3191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3193 fi
3194
3195
3196   fi
3197 fi
3198 if test -z "$CC"; then
3199   # Extract the first word of "cc", so it can be a program name with args.
3200 set dummy cc; ac_word=$2
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202 $as_echo_n "checking for $ac_word... " >&6; }
3203 if ${ac_cv_prog_CC+:} false; then :
3204   $as_echo_n "(cached) " >&6
3205 else
3206   if test -n "$CC"; then
3207   ac_cv_prog_CC="$CC" # Let the user override the test.
3208 else
3209   ac_prog_rejected=no
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 for as_dir in $PATH
3212 do
3213   IFS=$as_save_IFS
3214   test -z "$as_dir" && as_dir=.
3215     for ac_exec_ext in '' $ac_executable_extensions; do
3216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3218        ac_prog_rejected=yes
3219        continue
3220      fi
3221     ac_cv_prog_CC="cc"
3222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223     break 2
3224   fi
3225 done
3226   done
3227 IFS=$as_save_IFS
3228
3229 if test $ac_prog_rejected = yes; then
3230   # We found a bogon in the path, so make sure we never use it.
3231   set dummy $ac_cv_prog_CC
3232   shift
3233   if test $# != 0; then
3234     # We chose a different compiler from the bogus one.
3235     # However, it has the same basename, so the bogon will be chosen
3236     # first if we set CC to just the basename; use the full file name.
3237     shift
3238     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3239   fi
3240 fi
3241 fi
3242 fi
3243 CC=$ac_cv_prog_CC
3244 if test -n "$CC"; then
3245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3246 $as_echo "$CC" >&6; }
3247 else
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 fi
3251
3252
3253 fi
3254 if test -z "$CC"; then
3255   if test -n "$ac_tool_prefix"; then
3256   for ac_prog in cl.exe
3257   do
3258     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3259 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if ${ac_cv_prog_CC+:} false; then :
3263   $as_echo_n "(cached) " >&6
3264 else
3265   if test -n "$CC"; then
3266   ac_cv_prog_CC="$CC" # Let the user override the test.
3267 else
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3269 for as_dir in $PATH
3270 do
3271   IFS=$as_save_IFS
3272   test -z "$as_dir" && as_dir=.
3273     for ac_exec_ext in '' $ac_executable_extensions; do
3274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3275     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277     break 2
3278   fi
3279 done
3280   done
3281 IFS=$as_save_IFS
3282
3283 fi
3284 fi
3285 CC=$ac_cv_prog_CC
3286 if test -n "$CC"; then
3287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3288 $as_echo "$CC" >&6; }
3289 else
3290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3292 fi
3293
3294
3295     test -n "$CC" && break
3296   done
3297 fi
3298 if test -z "$CC"; then
3299   ac_ct_CC=$CC
3300   for ac_prog in cl.exe
3301 do
3302   # Extract the first word of "$ac_prog", so it can be a program name with args.
3303 set dummy $ac_prog; ac_word=$2
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305 $as_echo_n "checking for $ac_word... " >&6; }
3306 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3307   $as_echo_n "(cached) " >&6
3308 else
3309   if test -n "$ac_ct_CC"; then
3310   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3311 else
3312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 for as_dir in $PATH
3314 do
3315   IFS=$as_save_IFS
3316   test -z "$as_dir" && as_dir=.
3317     for ac_exec_ext in '' $ac_executable_extensions; do
3318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3319     ac_cv_prog_ac_ct_CC="$ac_prog"
3320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3321     break 2
3322   fi
3323 done
3324   done
3325 IFS=$as_save_IFS
3326
3327 fi
3328 fi
3329 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3330 if test -n "$ac_ct_CC"; then
3331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3332 $as_echo "$ac_ct_CC" >&6; }
3333 else
3334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3336 fi
3337
3338
3339   test -n "$ac_ct_CC" && break
3340 done
3341
3342   if test "x$ac_ct_CC" = x; then
3343     CC=""
3344   else
3345     case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351     CC=$ac_ct_CC
3352   fi
3353 fi
3354
3355 fi
3356
3357
3358 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error $? "no acceptable C compiler found in \$PATH
3361 See \`config.log' for more details" "$LINENO" 5; }
3362
3363 # Provide some information about the compiler.
3364 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3365 set X $ac_compile
3366 ac_compiler=$2
3367 for ac_option in --version -v -V -qversion; do
3368   { { ac_try="$ac_compiler $ac_option >&5"
3369 case "(($ac_try" in
3370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3371   *) ac_try_echo=$ac_try;;
3372 esac
3373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3374 $as_echo "$ac_try_echo"; } >&5
3375   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3376   ac_status=$?
3377   if test -s conftest.err; then
3378     sed '10a\
3379 ... rest of stderr output deleted ...
3380          10q' conftest.err >conftest.er1
3381     cat conftest.er1 >&5
3382   fi
3383   rm -f conftest.er1 conftest.err
3384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385   test $ac_status = 0; }
3386 done
3387
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h.  */
3390
3391 int
3392 main ()
3393 {
3394
3395   ;
3396   return 0;
3397 }
3398 _ACEOF
3399 ac_clean_files_save=$ac_clean_files
3400 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3401 # Try to create an executable without -o first, disregard a.out.
3402 # It will help us diagnose broken compilers, and finding out an intuition
3403 # of exeext.
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3405 $as_echo_n "checking whether the C compiler works... " >&6; }
3406 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3407
3408 # The possible output files:
3409 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3410
3411 ac_rmfiles=
3412 for ac_file in $ac_files
3413 do
3414   case $ac_file in
3415     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3416     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3417   esac
3418 done
3419 rm -f $ac_rmfiles
3420
3421 if { { ac_try="$ac_link_default"
3422 case "(($ac_try" in
3423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424   *) ac_try_echo=$ac_try;;
3425 esac
3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 $as_echo "$ac_try_echo"; } >&5
3428   (eval "$ac_link_default") 2>&5
3429   ac_status=$?
3430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431   test $ac_status = 0; }; then :
3432   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3433 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3434 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3435 # so that the user can short-circuit this test for compilers unknown to
3436 # Autoconf.
3437 for ac_file in $ac_files ''
3438 do
3439   test -f "$ac_file" || continue
3440   case $ac_file in
3441     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3442         ;;
3443     [ab].out )
3444         # We found the default executable, but exeext='' is most
3445         # certainly right.
3446         break;;
3447     *.* )
3448         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3449         then :; else
3450            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3451         fi
3452         # We set ac_cv_exeext here because the later test for it is not
3453         # safe: cross compilers may not add the suffix if given an `-o'
3454         # argument, so we may need to know it at that point already.
3455         # Even if this section looks crufty: it has the advantage of
3456         # actually working.
3457         break;;
3458     * )
3459         break;;
3460   esac
3461 done
3462 test "$ac_cv_exeext" = no && ac_cv_exeext=
3463
3464 else
3465   ac_file=''
3466 fi
3467 if test -z "$ac_file"; then :
3468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469 $as_echo "no" >&6; }
3470 $as_echo "$as_me: failed program was:" >&5
3471 sed 's/^/| /' conftest.$ac_ext >&5
3472
3473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3475 as_fn_error 77 "C compiler cannot create executables
3476 See \`config.log' for more details" "$LINENO" 5; }
3477 else
3478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3479 $as_echo "yes" >&6; }
3480 fi
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3482 $as_echo_n "checking for C compiler default output file name... " >&6; }
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3484 $as_echo "$ac_file" >&6; }
3485 ac_exeext=$ac_cv_exeext
3486
3487 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3488 ac_clean_files=$ac_clean_files_save
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3490 $as_echo_n "checking for suffix of executables... " >&6; }
3491 if { { ac_try="$ac_link"
3492 case "(($ac_try" in
3493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494   *) ac_try_echo=$ac_try;;
3495 esac
3496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3497 $as_echo "$ac_try_echo"; } >&5
3498   (eval "$ac_link") 2>&5
3499   ac_status=$?
3500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501   test $ac_status = 0; }; then :
3502   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3503 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3504 # work properly (i.e., refer to `conftest.exe'), while it won't with
3505 # `rm'.
3506 for ac_file in conftest.exe conftest conftest.*; do
3507   test -f "$ac_file" || continue
3508   case $ac_file in
3509     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3510     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3511           break;;
3512     * ) break;;
3513   esac
3514 done
3515 else
3516   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3518 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3519 See \`config.log' for more details" "$LINENO" 5; }
3520 fi
3521 rm -f conftest conftest$ac_cv_exeext
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3523 $as_echo "$ac_cv_exeext" >&6; }
3524
3525 rm -f conftest.$ac_ext
3526 EXEEXT=$ac_cv_exeext
3527 ac_exeext=$EXEEXT
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h.  */
3530 #include <stdio.h>
3531 int
3532 main ()
3533 {
3534 FILE *f = fopen ("conftest.out", "w");
3535  return ferror (f) || fclose (f) != 0;
3536
3537   ;
3538   return 0;
3539 }
3540 _ACEOF
3541 ac_clean_files="$ac_clean_files conftest.out"
3542 # Check that the compiler produces executables we can run.  If not, either
3543 # the compiler is broken, or we cross compile.
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3545 $as_echo_n "checking whether we are cross compiling... " >&6; }
3546 if test "$cross_compiling" != yes; then
3547   { { ac_try="$ac_link"
3548 case "(($ac_try" in
3549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550   *) ac_try_echo=$ac_try;;
3551 esac
3552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3553 $as_echo "$ac_try_echo"; } >&5
3554   (eval "$ac_link") 2>&5
3555   ac_status=$?
3556   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557   test $ac_status = 0; }
3558   if { ac_try='./conftest$ac_cv_exeext'
3559   { { case "(($ac_try" in
3560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561   *) ac_try_echo=$ac_try;;
3562 esac
3563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565   (eval "$ac_try") 2>&5
3566   ac_status=$?
3567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568   test $ac_status = 0; }; }; then
3569     cross_compiling=no
3570   else
3571     if test "$cross_compiling" = maybe; then
3572         cross_compiling=yes
3573     else
3574         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3576 as_fn_error $? "cannot run C compiled programs.
3577 If you meant to cross compile, use \`--host'.
3578 See \`config.log' for more details" "$LINENO" 5; }
3579     fi
3580   fi
3581 fi
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3583 $as_echo "$cross_compiling" >&6; }
3584
3585 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3586 ac_clean_files=$ac_clean_files_save
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3588 $as_echo_n "checking for suffix of object files... " >&6; }
3589 if ${ac_cv_objext+:} false; then :
3590   $as_echo_n "(cached) " >&6
3591 else
3592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h.  */
3594
3595 int
3596 main ()
3597 {
3598
3599   ;
3600   return 0;
3601 }
3602 _ACEOF
3603 rm -f conftest.o conftest.obj
3604 if { { ac_try="$ac_compile"
3605 case "(($ac_try" in
3606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3607   *) ac_try_echo=$ac_try;;
3608 esac
3609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3610 $as_echo "$ac_try_echo"; } >&5
3611   (eval "$ac_compile") 2>&5
3612   ac_status=$?
3613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614   test $ac_status = 0; }; then :
3615   for ac_file in conftest.o conftest.obj conftest.*; do
3616   test -f "$ac_file" || continue;
3617   case $ac_file in
3618     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3619     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3620        break;;
3621   esac
3622 done
3623 else
3624   $as_echo "$as_me: failed program was:" >&5
3625 sed 's/^/| /' conftest.$ac_ext >&5
3626
3627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3629 as_fn_error $? "cannot compute suffix of object files: cannot compile
3630 See \`config.log' for more details" "$LINENO" 5; }
3631 fi
3632 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3633 fi
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3635 $as_echo "$ac_cv_objext" >&6; }
3636 OBJEXT=$ac_cv_objext
3637 ac_objext=$OBJEXT
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3639 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3640 if ${ac_cv_c_compiler_gnu+:} false; then :
3641   $as_echo_n "(cached) " >&6
3642 else
3643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h.  */
3645
3646 int
3647 main ()
3648 {
3649 #ifndef __GNUC__
3650        choke me
3651 #endif
3652
3653   ;
3654   return 0;
3655 }
3656 _ACEOF
3657 if ac_fn_c_try_compile "$LINENO"; then :
3658   ac_compiler_gnu=yes
3659 else
3660   ac_compiler_gnu=no
3661 fi
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3664
3665 fi
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3667 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3668 if test $ac_compiler_gnu = yes; then
3669   GCC=yes
3670 else
3671   GCC=
3672 fi
3673 ac_test_CFLAGS=${CFLAGS+set}
3674 ac_save_CFLAGS=$CFLAGS
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3676 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3677 if ${ac_cv_prog_cc_g+:} false; then :
3678   $as_echo_n "(cached) " >&6
3679 else
3680   ac_save_c_werror_flag=$ac_c_werror_flag
3681    ac_c_werror_flag=yes
3682    ac_cv_prog_cc_g=no
3683    CFLAGS="-g"
3684    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h.  */
3686
3687 int
3688 main ()
3689 {
3690
3691   ;
3692   return 0;
3693 }
3694 _ACEOF
3695 if ac_fn_c_try_compile "$LINENO"; then :
3696   ac_cv_prog_cc_g=yes
3697 else
3698   CFLAGS=""
3699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h.  */
3701
3702 int
3703 main ()
3704 {
3705
3706   ;
3707   return 0;
3708 }
3709 _ACEOF
3710 if ac_fn_c_try_compile "$LINENO"; then :
3711
3712 else
3713   ac_c_werror_flag=$ac_save_c_werror_flag
3714          CFLAGS="-g"
3715          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h.  */
3717
3718 int
3719 main ()
3720 {
3721
3722   ;
3723   return 0;
3724 }
3725 _ACEOF
3726 if ac_fn_c_try_compile "$LINENO"; then :
3727   ac_cv_prog_cc_g=yes
3728 fi
3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3730 fi
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3732 fi
3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734    ac_c_werror_flag=$ac_save_c_werror_flag
3735 fi
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3737 $as_echo "$ac_cv_prog_cc_g" >&6; }
3738 if test "$ac_test_CFLAGS" = set; then
3739   CFLAGS=$ac_save_CFLAGS
3740 elif test $ac_cv_prog_cc_g = yes; then
3741   if test "$GCC" = yes; then
3742     CFLAGS="-g -O2"
3743   else
3744     CFLAGS="-g"
3745   fi
3746 else
3747   if test "$GCC" = yes; then
3748     CFLAGS="-O2"
3749   else
3750     CFLAGS=
3751   fi
3752 fi
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3754 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3755 if ${ac_cv_prog_cc_c89+:} false; then :
3756   $as_echo_n "(cached) " >&6
3757 else
3758   ac_cv_prog_cc_c89=no
3759 ac_save_CC=$CC
3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761 /* end confdefs.h.  */
3762 #include <stdarg.h>
3763 #include <stdio.h>
3764 #include <sys/types.h>
3765 #include <sys/stat.h>
3766 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3767 struct buf { int x; };
3768 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3769 static char *e (p, i)
3770      char **p;
3771      int i;
3772 {
3773   return p[i];
3774 }
3775 static char *f (char * (*g) (char **, int), char **p, ...)
3776 {
3777   char *s;
3778   va_list v;
3779   va_start (v,p);
3780   s = g (p, va_arg (v,int));
3781   va_end (v);
3782   return s;
3783 }
3784
3785 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3786    function prototypes and stuff, but not '\xHH' hex character constants.
3787    These don't provoke an error unfortunately, instead are silently treated
3788    as 'x'.  The following induces an error, until -std is added to get
3789    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3790    array size at least.  It's necessary to write '\x00'==0 to get something
3791    that's true only with -std.  */
3792 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3793
3794 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3795    inside strings and character constants.  */
3796 #define FOO(x) 'x'
3797 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3798
3799 int test (int i, double x);
3800 struct s1 {int (*f) (int a);};
3801 struct s2 {int (*f) (double a);};
3802 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3803 int argc;
3804 char **argv;
3805 int
3806 main ()
3807 {
3808 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3809   ;
3810   return 0;
3811 }
3812 _ACEOF
3813 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3814         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3815 do
3816   CC="$ac_save_CC $ac_arg"
3817   if ac_fn_c_try_compile "$LINENO"; then :
3818   ac_cv_prog_cc_c89=$ac_arg
3819 fi
3820 rm -f core conftest.err conftest.$ac_objext
3821   test "x$ac_cv_prog_cc_c89" != "xno" && break
3822 done
3823 rm -f conftest.$ac_ext
3824 CC=$ac_save_CC
3825
3826 fi
3827 # AC_CACHE_VAL
3828 case "x$ac_cv_prog_cc_c89" in
3829   x)
3830     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3831 $as_echo "none needed" >&6; } ;;
3832   xno)
3833     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3834 $as_echo "unsupported" >&6; } ;;
3835   *)
3836     CC="$CC $ac_cv_prog_cc_c89"
3837     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3838 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3839 esac
3840 if test "x$ac_cv_prog_cc_c89" != xno; then :
3841
3842 fi
3843
3844 ac_ext=c
3845 ac_cpp='$CPP $CPPFLAGS'
3846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3849 DEPDIR="${am__leading_dot}deps"
3850
3851 ac_config_commands="$ac_config_commands depfiles"
3852
3853
3854 am_make=${MAKE-make}
3855 cat > confinc << 'END'
3856 am__doit:
3857         @echo this is the am__doit target
3858 .PHONY: am__doit
3859 END
3860 # If we don't find an include directive, just comment out the code.
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3862 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3863 am__include="#"
3864 am__quote=
3865 _am_result=none
3866 # First try GNU make style include.
3867 echo "include confinc" > confmf
3868 # Ignore all kinds of additional output from `make'.
3869 case `$am_make -s -f confmf 2> /dev/null` in #(
3870 *the\ am__doit\ target*)
3871   am__include=include
3872   am__quote=
3873   _am_result=GNU
3874   ;;
3875 esac
3876 # Now try BSD make style include.
3877 if test "$am__include" = "#"; then
3878    echo '.include "confinc"' > confmf
3879    case `$am_make -s -f confmf 2> /dev/null` in #(
3880    *the\ am__doit\ target*)
3881      am__include=.include
3882      am__quote="\""
3883      _am_result=BSD
3884      ;;
3885    esac
3886 fi
3887
3888
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3890 $as_echo "$_am_result" >&6; }
3891 rm -f confinc confmf
3892
3893 # Check whether --enable-dependency-tracking was given.
3894 if test "${enable_dependency_tracking+set}" = set; then :
3895   enableval=$enable_dependency_tracking;
3896 fi
3897
3898 if test "x$enable_dependency_tracking" != xno; then
3899   am_depcomp="$ac_aux_dir/depcomp"
3900   AMDEPBACKSLASH='\'
3901   am__nodep='_no'
3902 fi
3903  if test "x$enable_dependency_tracking" != xno; then
3904   AMDEP_TRUE=
3905   AMDEP_FALSE='#'
3906 else
3907   AMDEP_TRUE='#'
3908   AMDEP_FALSE=
3909 fi
3910
3911
3912
3913 depcc="$CC"   am_compiler_list=
3914
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3916 $as_echo_n "checking dependency style of $depcc... " >&6; }
3917 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3918   $as_echo_n "(cached) " >&6
3919 else
3920   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3921   # We make a subdir and do the tests there.  Otherwise we can end up
3922   # making bogus files that we don't know about and never remove.  For
3923   # instance it was reported that on HP-UX the gcc test will end up
3924   # making a dummy file named `D' -- because `-MD' means `put the output
3925   # in D'.
3926   rm -rf conftest.dir
3927   mkdir conftest.dir
3928   # Copy depcomp to subdir because otherwise we won't find it if we're
3929   # using a relative directory.
3930   cp "$am_depcomp" conftest.dir
3931   cd conftest.dir
3932   # We will build objects and dependencies in a subdirectory because
3933   # it helps to detect inapplicable dependency modes.  For instance
3934   # both Tru64's cc and ICC support -MD to output dependencies as a
3935   # side effect of compilation, but ICC will put the dependencies in
3936   # the current directory while Tru64 will put them in the object
3937   # directory.
3938   mkdir sub
3939
3940   am_cv_CC_dependencies_compiler_type=none
3941   if test "$am_compiler_list" = ""; then
3942      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3943   fi
3944   am__universal=false
3945   case " $depcc " in #(
3946      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3947      esac
3948
3949   for depmode in $am_compiler_list; do
3950     # Setup a source with many dependencies, because some compilers
3951     # like to wrap large dependency lists on column 80 (with \), and
3952     # we should not choose a depcomp mode which is confused by this.
3953     #
3954     # We need to recreate these files for each test, as the compiler may
3955     # overwrite some of them when testing with obscure command lines.
3956     # This happens at least with the AIX C compiler.
3957     : > sub/conftest.c
3958     for i in 1 2 3 4 5 6; do
3959       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3960       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3961       # Solaris 8's {/usr,}/bin/sh.
3962       touch sub/conftst$i.h
3963     done
3964     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3965
3966     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3967     # mode.  It turns out that the SunPro C++ compiler does not properly
3968     # handle `-M -o', and we need to detect this.  Also, some Intel
3969     # versions had trouble with output in subdirs
3970     am__obj=sub/conftest.${OBJEXT-o}
3971     am__minus_obj="-o $am__obj"
3972     case $depmode in
3973     gcc)
3974       # This depmode causes a compiler race in universal mode.
3975       test "$am__universal" = false || continue
3976       ;;
3977     nosideeffect)
3978       # after this tag, mechanisms are not by side-effect, so they'll
3979       # only be used when explicitly requested
3980       if test "x$enable_dependency_tracking" = xyes; then
3981         continue
3982       else
3983         break
3984       fi
3985       ;;
3986     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3987       # This compiler won't grok `-c -o', but also, the minuso test has
3988       # not run yet.  These depmodes are late enough in the game, and
3989       # so weak that their functioning should not be impacted.
3990       am__obj=conftest.${OBJEXT-o}
3991       am__minus_obj=
3992       ;;
3993     none) break ;;
3994     esac
3995     if depmode=$depmode \
3996        source=sub/conftest.c object=$am__obj \
3997        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3998        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3999          >/dev/null 2>conftest.err &&
4000        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4001        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4002        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4003        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4004       # icc doesn't choke on unknown options, it will just issue warnings
4005       # or remarks (even with -Werror).  So we grep stderr for any message
4006       # that says an option was ignored or not supported.
4007       # When given -MP, icc 7.0 and 7.1 complain thusly:
4008       #   icc: Command line warning: ignoring option '-M'; no argument required
4009       # The diagnosis changed in icc 8.0:
4010       #   icc: Command line remark: option '-MP' not supported
4011       if (grep 'ignoring option' conftest.err ||
4012           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4013         am_cv_CC_dependencies_compiler_type=$depmode
4014         break
4015       fi
4016     fi
4017   done
4018
4019   cd ..
4020   rm -rf conftest.dir
4021 else
4022   am_cv_CC_dependencies_compiler_type=none
4023 fi
4024
4025 fi
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4027 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4028 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4029
4030  if
4031   test "x$enable_dependency_tracking" != xno \
4032   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4033   am__fastdepCC_TRUE=
4034   am__fastdepCC_FALSE='#'
4035 else
4036   am__fastdepCC_TRUE='#'
4037   am__fastdepCC_FALSE=
4038 fi
4039
4040
4041 if test "x$CC" != xcc; then
4042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4043 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4044 else
4045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4046 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4047 fi
4048 set dummy $CC; ac_cc=`$as_echo "$2" |
4049                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4050 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4051   $as_echo_n "(cached) " >&6
4052 else
4053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h.  */
4055
4056 int
4057 main ()
4058 {
4059
4060   ;
4061   return 0;
4062 }
4063 _ACEOF
4064 # Make sure it works both with $CC and with simple cc.
4065 # We do the test twice because some compilers refuse to overwrite an
4066 # existing .o file with -o, though they will create one.
4067 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4068 rm -f conftest2.*
4069 if { { case "(($ac_try" in
4070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4071   *) ac_try_echo=$ac_try;;
4072 esac
4073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4074 $as_echo "$ac_try_echo"; } >&5
4075   (eval "$ac_try") 2>&5
4076   ac_status=$?
4077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078   test $ac_status = 0; } &&
4079    test -f conftest2.$ac_objext && { { case "(($ac_try" in
4080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081   *) ac_try_echo=$ac_try;;
4082 esac
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085   (eval "$ac_try") 2>&5
4086   ac_status=$?
4087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088   test $ac_status = 0; };
4089 then
4090   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4091   if test "x$CC" != xcc; then
4092     # Test first that cc exists at all.
4093     if { ac_try='cc -c conftest.$ac_ext >&5'
4094   { { case "(($ac_try" in
4095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096   *) ac_try_echo=$ac_try;;
4097 esac
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100   (eval "$ac_try") 2>&5
4101   ac_status=$?
4102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103   test $ac_status = 0; }; }; then
4104       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4105       rm -f conftest2.*
4106       if { { case "(($ac_try" in
4107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108   *) ac_try_echo=$ac_try;;
4109 esac
4110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4111 $as_echo "$ac_try_echo"; } >&5
4112   (eval "$ac_try") 2>&5
4113   ac_status=$?
4114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4115   test $ac_status = 0; } &&
4116          test -f conftest2.$ac_objext && { { case "(($ac_try" in
4117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118   *) ac_try_echo=$ac_try;;
4119 esac
4120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121 $as_echo "$ac_try_echo"; } >&5
4122   (eval "$ac_try") 2>&5
4123   ac_status=$?
4124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125   test $ac_status = 0; };
4126       then
4127         # cc works too.
4128         :
4129       else
4130         # cc exists but doesn't like -o.
4131         eval ac_cv_prog_cc_${ac_cc}_c_o=no
4132       fi
4133     fi
4134   fi
4135 else
4136   eval ac_cv_prog_cc_${ac_cc}_c_o=no
4137 fi
4138 rm -f core conftest*
4139
4140 fi
4141 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4143 $as_echo "yes" >&6; }
4144 else
4145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4147
4148 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4149
4150 fi
4151
4152 # FIXME: we rely on the cache variable name because
4153 # there is no other way.
4154 set dummy $CC
4155 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4156 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4157 if test "$am_t" != yes; then
4158    # Losing compiler, so override with the script.
4159    # FIXME: It is wrong to rewrite CC.
4160    # But if we don't then we get into trouble of one sort or another.
4161    # A longer-term fix would be to have automake use am__CC in this case,
4162    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4163    CC="$am_aux_dir/compile $CC"
4164 fi
4165
4166
4167
4168
4169
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
4171 $as_echo_n "checking for __attribute__... " >&6; }
4172
4173 if ${ac_cv___attribute__+:} false; then :
4174   $as_echo_n "(cached) " >&6
4175 else
4176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h.  */
4178
4179 #include <stdlib.h>
4180
4181 int func(int x);
4182 int foo(int x __attribute__ ((unused)))
4183 {
4184    exit(1);
4185 }
4186
4187 int
4188 main ()
4189 {
4190
4191   ;
4192   return 0;
4193 }
4194 _ACEOF
4195 if ac_fn_c_try_compile "$LINENO"; then :
4196   ac_cv___attribute__="yes"
4197 else
4198   ac_cv___attribute__="no"
4199
4200 fi
4201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202 fi
4203
4204
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
4206 $as_echo "$ac_cv___attribute__" >&6; }
4207
4208 if test "x${ac_cv___attribute__}" = "xyes" ; then
4209
4210 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
4211
4212
4213 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
4214
4215   else
4216
4217 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
4218
4219 fi
4220
4221
4222
4223 enable_win32_dll=yes
4224
4225 case $host in
4226 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4227   if test -n "$ac_tool_prefix"; then
4228   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4229 set dummy ${ac_tool_prefix}as; ac_word=$2
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4231 $as_echo_n "checking for $ac_word... " >&6; }
4232 if ${ac_cv_prog_AS+:} false; then :
4233   $as_echo_n "(cached) " >&6
4234 else
4235   if test -n "$AS"; then
4236   ac_cv_prog_AS="$AS" # Let the user override the test.
4237 else
4238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4239 for as_dir in $PATH
4240 do
4241   IFS=$as_save_IFS
4242   test -z "$as_dir" && as_dir=.
4243     for ac_exec_ext in '' $ac_executable_extensions; do
4244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4245     ac_cv_prog_AS="${ac_tool_prefix}as"
4246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4247     break 2
4248   fi
4249 done
4250   done
4251 IFS=$as_save_IFS
4252
4253 fi
4254 fi
4255 AS=$ac_cv_prog_AS
4256 if test -n "$AS"; then
4257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4258 $as_echo "$AS" >&6; }
4259 else
4260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4262 fi
4263
4264
4265 fi
4266 if test -z "$ac_cv_prog_AS"; then
4267   ac_ct_AS=$AS
4268   # Extract the first word of "as", so it can be a program name with args.
4269 set dummy as; ac_word=$2
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4271 $as_echo_n "checking for $ac_word... " >&6; }
4272 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4273   $as_echo_n "(cached) " >&6
4274 else
4275   if test -n "$ac_ct_AS"; then
4276   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4277 else
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH
4280 do
4281   IFS=$as_save_IFS
4282   test -z "$as_dir" && as_dir=.
4283     for ac_exec_ext in '' $ac_executable_extensions; do
4284   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4285     ac_cv_prog_ac_ct_AS="as"
4286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4287     break 2
4288   fi
4289 done
4290   done
4291 IFS=$as_save_IFS
4292
4293 fi
4294 fi
4295 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4296 if test -n "$ac_ct_AS"; then
4297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4298 $as_echo "$ac_ct_AS" >&6; }
4299 else
4300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4302 fi
4303
4304   if test "x$ac_ct_AS" = x; then
4305     AS="false"
4306   else
4307     case $cross_compiling:$ac_tool_warned in
4308 yes:)
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4311 ac_tool_warned=yes ;;
4312 esac
4313     AS=$ac_ct_AS
4314   fi
4315 else
4316   AS="$ac_cv_prog_AS"
4317 fi
4318
4319   if test -n "$ac_tool_prefix"; then
4320   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4321 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4323 $as_echo_n "checking for $ac_word... " >&6; }
4324 if ${ac_cv_prog_DLLTOOL+:} false; then :
4325   $as_echo_n "(cached) " >&6
4326 else
4327   if test -n "$DLLTOOL"; then
4328   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4329 else
4330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4331 for as_dir in $PATH
4332 do
4333   IFS=$as_save_IFS
4334   test -z "$as_dir" && as_dir=.
4335     for ac_exec_ext in '' $ac_executable_extensions; do
4336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4337     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4339     break 2
4340   fi
4341 done
4342   done
4343 IFS=$as_save_IFS
4344
4345 fi
4346 fi
4347 DLLTOOL=$ac_cv_prog_DLLTOOL
4348 if test -n "$DLLTOOL"; then
4349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4350 $as_echo "$DLLTOOL" >&6; }
4351 else
4352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4354 fi
4355
4356
4357 fi
4358 if test -z "$ac_cv_prog_DLLTOOL"; then
4359   ac_ct_DLLTOOL=$DLLTOOL
4360   # Extract the first word of "dlltool", so it can be a program name with args.
4361 set dummy dlltool; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4365   $as_echo_n "(cached) " >&6
4366 else
4367   if test -n "$ac_ct_DLLTOOL"; then
4368   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4369 else
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371 for as_dir in $PATH
4372 do
4373   IFS=$as_save_IFS
4374   test -z "$as_dir" && as_dir=.
4375     for ac_exec_ext in '' $ac_executable_extensions; do
4376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4377     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379     break 2
4380   fi
4381 done
4382   done
4383 IFS=$as_save_IFS
4384
4385 fi
4386 fi
4387 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4388 if test -n "$ac_ct_DLLTOOL"; then
4389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4390 $as_echo "$ac_ct_DLLTOOL" >&6; }
4391 else
4392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4394 fi
4395
4396   if test "x$ac_ct_DLLTOOL" = x; then
4397     DLLTOOL="false"
4398   else
4399     case $cross_compiling:$ac_tool_warned in
4400 yes:)
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4403 ac_tool_warned=yes ;;
4404 esac
4405     DLLTOOL=$ac_ct_DLLTOOL
4406   fi
4407 else
4408   DLLTOOL="$ac_cv_prog_DLLTOOL"
4409 fi
4410
4411   if test -n "$ac_tool_prefix"; then
4412   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4413 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if ${ac_cv_prog_OBJDUMP+:} false; then :
4417   $as_echo_n "(cached) " >&6
4418 else
4419   if test -n "$OBJDUMP"; then
4420   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4421 else
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423 for as_dir in $PATH
4424 do
4425   IFS=$as_save_IFS
4426   test -z "$as_dir" && as_dir=.
4427     for ac_exec_ext in '' $ac_executable_extensions; do
4428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431     break 2
4432   fi
4433 done
4434   done
4435 IFS=$as_save_IFS
4436
4437 fi
4438 fi
4439 OBJDUMP=$ac_cv_prog_OBJDUMP
4440 if test -n "$OBJDUMP"; then
4441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4442 $as_echo "$OBJDUMP" >&6; }
4443 else
4444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4446 fi
4447
4448
4449 fi
4450 if test -z "$ac_cv_prog_OBJDUMP"; then
4451   ac_ct_OBJDUMP=$OBJDUMP
4452   # Extract the first word of "objdump", so it can be a program name with args.
4453 set dummy objdump; ac_word=$2
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4455 $as_echo_n "checking for $ac_word... " >&6; }
4456 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4457   $as_echo_n "(cached) " >&6
4458 else
4459   if test -n "$ac_ct_OBJDUMP"; then
4460   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4461 else
4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4463 for as_dir in $PATH
4464 do
4465   IFS=$as_save_IFS
4466   test -z "$as_dir" && as_dir=.
4467     for ac_exec_ext in '' $ac_executable_extensions; do
4468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4469     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4471     break 2
4472   fi
4473 done
4474   done
4475 IFS=$as_save_IFS
4476
4477 fi
4478 fi
4479 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4480 if test -n "$ac_ct_OBJDUMP"; then
4481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4482 $as_echo "$ac_ct_OBJDUMP" >&6; }
4483 else
4484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4485 $as_echo "no" >&6; }
4486 fi
4487
4488   if test "x$ac_ct_OBJDUMP" = x; then
4489     OBJDUMP="false"
4490   else
4491     case $cross_compiling:$ac_tool_warned in
4492 yes:)
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4495 ac_tool_warned=yes ;;
4496 esac
4497     OBJDUMP=$ac_ct_OBJDUMP
4498   fi
4499 else
4500   OBJDUMP="$ac_cv_prog_OBJDUMP"
4501 fi
4502
4503   ;;
4504 esac
4505
4506 test -z "$AS" && AS=as
4507
4508
4509
4510
4511
4512 test -z "$DLLTOOL" && DLLTOOL=dlltool
4513
4514
4515
4516
4517
4518 test -z "$OBJDUMP" && OBJDUMP=objdump
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529 case `pwd` in
4530   *\ * | *\     *)
4531     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4532 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4533 esac
4534
4535
4536
4537 macro_version='2.4.2'
4538 macro_revision='1.3337'
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552 ltmain="$ac_aux_dir/ltmain.sh"
4553
4554 # Backslashify metacharacters that are still active within
4555 # double-quoted strings.
4556 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4557
4558 # Same as above, but do not quote variable references.
4559 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4560
4561 # Sed substitution to delay expansion of an escaped shell variable in a
4562 # double_quote_subst'ed string.
4563 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4564
4565 # Sed substitution to delay expansion of an escaped single quote.
4566 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4567
4568 # Sed substitution to avoid accidental globbing in evaled expressions
4569 no_glob_subst='s/\*/\\\*/g'
4570
4571 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4572 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4573 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4574
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4576 $as_echo_n "checking how to print strings... " >&6; }
4577 # Test print first, because it will be a builtin if present.
4578 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4579    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4580   ECHO='print -r --'
4581 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4582   ECHO='printf %s\n'
4583 else
4584   # Use this function as a fallback that always works.
4585   func_fallback_echo ()
4586   {
4587     eval 'cat <<_LTECHO_EOF
4588 $1
4589 _LTECHO_EOF'
4590   }
4591   ECHO='func_fallback_echo'
4592 fi
4593
4594 # func_echo_all arg...
4595 # Invoke $ECHO with all args, space-separated.
4596 func_echo_all ()
4597 {
4598     $ECHO ""
4599 }
4600
4601 case "$ECHO" in
4602   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4603 $as_echo "printf" >&6; } ;;
4604   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4605 $as_echo "print -r" >&6; } ;;
4606   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4607 $as_echo "cat" >&6; } ;;
4608 esac
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4624 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4625 if ${ac_cv_path_SED+:} false; then :
4626   $as_echo_n "(cached) " >&6
4627 else
4628             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4629      for ac_i in 1 2 3 4 5 6 7; do
4630        ac_script="$ac_script$as_nl$ac_script"
4631      done
4632      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4633      { ac_script=; unset ac_script;}
4634      if test -z "$SED"; then
4635   ac_path_SED_found=false
4636   # Loop through the user's path and test for each of PROGNAME-LIST
4637   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638 for as_dir in $PATH
4639 do
4640   IFS=$as_save_IFS
4641   test -z "$as_dir" && as_dir=.
4642     for ac_prog in sed gsed; do
4643     for ac_exec_ext in '' $ac_executable_extensions; do
4644       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4645       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4646 # Check for GNU ac_path_SED and select it if it is found.
4647   # Check for GNU $ac_path_SED
4648 case `"$ac_path_SED" --version 2>&1` in
4649 *GNU*)
4650   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4651 *)
4652   ac_count=0
4653   $as_echo_n 0123456789 >"conftest.in"
4654   while :
4655   do
4656     cat "conftest.in" "conftest.in" >"conftest.tmp"
4657     mv "conftest.tmp" "conftest.in"
4658     cp "conftest.in" "conftest.nl"
4659     $as_echo '' >> "conftest.nl"
4660     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4661     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4662     as_fn_arith $ac_count + 1 && ac_count=$as_val
4663     if test $ac_count -gt ${ac_path_SED_max-0}; then
4664       # Best one so far, save it but keep looking for a better one
4665       ac_cv_path_SED="$ac_path_SED"
4666       ac_path_SED_max=$ac_count
4667     fi
4668     # 10*(2^10) chars as input seems more than enough
4669     test $ac_count -gt 10 && break
4670   done
4671   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4672 esac
4673
4674       $ac_path_SED_found && break 3
4675     done
4676   done
4677   done
4678 IFS=$as_save_IFS
4679   if test -z "$ac_cv_path_SED"; then
4680     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4681   fi
4682 else
4683   ac_cv_path_SED=$SED
4684 fi
4685
4686 fi
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4688 $as_echo "$ac_cv_path_SED" >&6; }
4689  SED="$ac_cv_path_SED"
4690   rm -f conftest.sed
4691
4692 test -z "$SED" && SED=sed
4693 Xsed="$SED -e 1s/^X//"
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4706 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4707 if ${ac_cv_path_GREP+:} false; then :
4708   $as_echo_n "(cached) " >&6
4709 else
4710   if test -z "$GREP"; then
4711   ac_path_GREP_found=false
4712   # Loop through the user's path and test for each of PROGNAME-LIST
4713   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4715 do
4716   IFS=$as_save_IFS
4717   test -z "$as_dir" && as_dir=.
4718     for ac_prog in grep ggrep; do
4719     for ac_exec_ext in '' $ac_executable_extensions; do
4720       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4721       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4722 # Check for GNU ac_path_GREP and select it if it is found.
4723   # Check for GNU $ac_path_GREP
4724 case `"$ac_path_GREP" --version 2>&1` in
4725 *GNU*)
4726   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4727 *)
4728   ac_count=0
4729   $as_echo_n 0123456789 >"conftest.in"
4730   while :
4731   do
4732     cat "conftest.in" "conftest.in" >"conftest.tmp"
4733     mv "conftest.tmp" "conftest.in"
4734     cp "conftest.in" "conftest.nl"
4735     $as_echo 'GREP' >> "conftest.nl"
4736     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4737     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4738     as_fn_arith $ac_count + 1 && ac_count=$as_val
4739     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4740       # Best one so far, save it but keep looking for a better one
4741       ac_cv_path_GREP="$ac_path_GREP"
4742       ac_path_GREP_max=$ac_count
4743     fi
4744     # 10*(2^10) chars as input seems more than enough
4745     test $ac_count -gt 10 && break
4746   done
4747   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4748 esac
4749
4750       $ac_path_GREP_found && break 3
4751     done
4752   done
4753   done
4754 IFS=$as_save_IFS
4755   if test -z "$ac_cv_path_GREP"; then
4756     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4757   fi
4758 else
4759   ac_cv_path_GREP=$GREP
4760 fi
4761
4762 fi
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4764 $as_echo "$ac_cv_path_GREP" >&6; }
4765  GREP="$ac_cv_path_GREP"
4766
4767
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4769 $as_echo_n "checking for egrep... " >&6; }
4770 if ${ac_cv_path_EGREP+:} false; then :
4771   $as_echo_n "(cached) " >&6
4772 else
4773   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4774    then ac_cv_path_EGREP="$GREP -E"
4775    else
4776      if test -z "$EGREP"; then
4777   ac_path_EGREP_found=false
4778   # Loop through the user's path and test for each of PROGNAME-LIST
4779   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4781 do
4782   IFS=$as_save_IFS
4783   test -z "$as_dir" && as_dir=.
4784     for ac_prog in egrep; do
4785     for ac_exec_ext in '' $ac_executable_extensions; do
4786       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4787       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4788 # Check for GNU ac_path_EGREP and select it if it is found.
4789   # Check for GNU $ac_path_EGREP
4790 case `"$ac_path_EGREP" --version 2>&1` in
4791 *GNU*)
4792   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4793 *)
4794   ac_count=0
4795   $as_echo_n 0123456789 >"conftest.in"
4796   while :
4797   do
4798     cat "conftest.in" "conftest.in" >"conftest.tmp"
4799     mv "conftest.tmp" "conftest.in"
4800     cp "conftest.in" "conftest.nl"
4801     $as_echo 'EGREP' >> "conftest.nl"
4802     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4803     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4804     as_fn_arith $ac_count + 1 && ac_count=$as_val
4805     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4806       # Best one so far, save it but keep looking for a better one
4807       ac_cv_path_EGREP="$ac_path_EGREP"
4808       ac_path_EGREP_max=$ac_count
4809     fi
4810     # 10*(2^10) chars as input seems more than enough
4811     test $ac_count -gt 10 && break
4812   done
4813   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4814 esac
4815
4816       $ac_path_EGREP_found && break 3
4817     done
4818   done
4819   done
4820 IFS=$as_save_IFS
4821   if test -z "$ac_cv_path_EGREP"; then
4822     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4823   fi
4824 else
4825   ac_cv_path_EGREP=$EGREP
4826 fi
4827
4828    fi
4829 fi
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4831 $as_echo "$ac_cv_path_EGREP" >&6; }
4832  EGREP="$ac_cv_path_EGREP"
4833
4834
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4836 $as_echo_n "checking for fgrep... " >&6; }
4837 if ${ac_cv_path_FGREP+:} false; then :
4838   $as_echo_n "(cached) " >&6
4839 else
4840   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4841    then ac_cv_path_FGREP="$GREP -F"
4842    else
4843      if test -z "$FGREP"; then
4844   ac_path_FGREP_found=false
4845   # Loop through the user's path and test for each of PROGNAME-LIST
4846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4848 do
4849   IFS=$as_save_IFS
4850   test -z "$as_dir" && as_dir=.
4851     for ac_prog in fgrep; do
4852     for ac_exec_ext in '' $ac_executable_extensions; do
4853       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4854       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4855 # Check for GNU ac_path_FGREP and select it if it is found.
4856   # Check for GNU $ac_path_FGREP
4857 case `"$ac_path_FGREP" --version 2>&1` in
4858 *GNU*)
4859   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4860 *)
4861   ac_count=0
4862   $as_echo_n 0123456789 >"conftest.in"
4863   while :
4864   do
4865     cat "conftest.in" "conftest.in" >"conftest.tmp"
4866     mv "conftest.tmp" "conftest.in"
4867     cp "conftest.in" "conftest.nl"
4868     $as_echo 'FGREP' >> "conftest.nl"
4869     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4870     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4871     as_fn_arith $ac_count + 1 && ac_count=$as_val
4872     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4873       # Best one so far, save it but keep looking for a better one
4874       ac_cv_path_FGREP="$ac_path_FGREP"
4875       ac_path_FGREP_max=$ac_count
4876     fi
4877     # 10*(2^10) chars as input seems more than enough
4878     test $ac_count -gt 10 && break
4879   done
4880   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4881 esac
4882
4883       $ac_path_FGREP_found && break 3
4884     done
4885   done
4886   done
4887 IFS=$as_save_IFS
4888   if test -z "$ac_cv_path_FGREP"; then
4889     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4890   fi
4891 else
4892   ac_cv_path_FGREP=$FGREP
4893 fi
4894
4895    fi
4896 fi
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4898 $as_echo "$ac_cv_path_FGREP" >&6; }
4899  FGREP="$ac_cv_path_FGREP"
4900
4901
4902 test -z "$GREP" && GREP=grep
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922 # Check whether --with-gnu-ld was given.
4923 if test "${with_gnu_ld+set}" = set; then :
4924   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4925 else
4926   with_gnu_ld=no
4927 fi
4928
4929 ac_prog=ld
4930 if test "$GCC" = yes; then
4931   # Check if gcc -print-prog-name=ld gives a path.
4932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4933 $as_echo_n "checking for ld used by $CC... " >&6; }
4934   case $host in
4935   *-*-mingw*)
4936     # gcc leaves a trailing carriage return which upsets mingw
4937     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4938   *)
4939     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4940   esac
4941   case $ac_prog in
4942     # Accept absolute paths.
4943     [\\/]* | ?:[\\/]*)
4944       re_direlt='/[^/][^/]*/\.\./'
4945       # Canonicalize the pathname of ld
4946       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4947       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4948         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4949       done
4950       test -z "$LD" && LD="$ac_prog"
4951       ;;
4952   "")
4953     # If it fails, then pretend we aren't using GCC.
4954     ac_prog=ld
4955     ;;
4956   *)
4957     # If it is relative, then search for the first ld in PATH.
4958     with_gnu_ld=unknown
4959     ;;
4960   esac
4961 elif test "$with_gnu_ld" = yes; then
4962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4963 $as_echo_n "checking for GNU ld... " >&6; }
4964 else
4965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4966 $as_echo_n "checking for non-GNU ld... " >&6; }
4967 fi
4968 if ${lt_cv_path_LD+:} false; then :
4969   $as_echo_n "(cached) " >&6
4970 else
4971   if test -z "$LD"; then
4972   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4973   for ac_dir in $PATH; do
4974     IFS="$lt_save_ifs"
4975     test -z "$ac_dir" && ac_dir=.
4976     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4977       lt_cv_path_LD="$ac_dir/$ac_prog"
4978       # Check to see if the program is GNU ld.  I'd rather use --version,
4979       # but apparently some variants of GNU ld only accept -v.
4980       # Break only if it was the GNU/non-GNU ld that we prefer.
4981       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4982       *GNU* | *'with BFD'*)
4983         test "$with_gnu_ld" != no && break
4984         ;;
4985       *)
4986         test "$with_gnu_ld" != yes && break
4987         ;;
4988       esac
4989     fi
4990   done
4991   IFS="$lt_save_ifs"
4992 else
4993   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4994 fi
4995 fi
4996
4997 LD="$lt_cv_path_LD"
4998 if test -n "$LD"; then
4999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5000 $as_echo "$LD" >&6; }
5001 else
5002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5004 fi
5005 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5007 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5008 if ${lt_cv_prog_gnu_ld+:} false; then :
5009   $as_echo_n "(cached) " >&6
5010 else
5011   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5012 case `$LD -v 2>&1 </dev/null` in
5013 *GNU* | *'with BFD'*)
5014   lt_cv_prog_gnu_ld=yes
5015   ;;
5016 *)
5017   lt_cv_prog_gnu_ld=no
5018   ;;
5019 esac
5020 fi
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5022 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5023 with_gnu_ld=$lt_cv_prog_gnu_ld
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5034 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5035 if ${lt_cv_path_NM+:} false; then :
5036   $as_echo_n "(cached) " >&6
5037 else
5038   if test -n "$NM"; then
5039   # Let the user override the test.
5040   lt_cv_path_NM="$NM"
5041 else
5042   lt_nm_to_check="${ac_tool_prefix}nm"
5043   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5044     lt_nm_to_check="$lt_nm_to_check nm"
5045   fi
5046   for lt_tmp_nm in $lt_nm_to_check; do
5047     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5048     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5049       IFS="$lt_save_ifs"
5050       test -z "$ac_dir" && ac_dir=.
5051       tmp_nm="$ac_dir/$lt_tmp_nm"
5052       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5053         # Check to see if the nm accepts a BSD-compat flag.
5054         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5055         #   nm: unknown option "B" ignored
5056         # Tru64's nm complains that /dev/null is an invalid object file
5057         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5058         */dev/null* | *'Invalid file or object type'*)
5059           lt_cv_path_NM="$tmp_nm -B"
5060           break
5061           ;;
5062         *)
5063           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5064           */dev/null*)
5065             lt_cv_path_NM="$tmp_nm -p"
5066             break
5067             ;;
5068           *)
5069             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5070             continue # so that we can try to find one that supports BSD flags
5071             ;;
5072           esac
5073           ;;
5074         esac
5075       fi
5076     done
5077     IFS="$lt_save_ifs"
5078   done
5079   : ${lt_cv_path_NM=no}
5080 fi
5081 fi
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5083 $as_echo "$lt_cv_path_NM" >&6; }
5084 if test "$lt_cv_path_NM" != "no"; then
5085   NM="$lt_cv_path_NM"
5086 else
5087   # Didn't find any BSD compatible name lister, look for dumpbin.
5088   if test -n "$DUMPBIN"; then :
5089     # Let the user override the test.
5090   else
5091     if test -n "$ac_tool_prefix"; then
5092   for ac_prog in dumpbin "link -dump"
5093   do
5094     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5095 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_DUMPBIN+:} false; then :
5099   $as_echo_n "(cached) " >&6
5100 else
5101   if test -n "$DUMPBIN"; then
5102   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5103 else
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 for as_dir in $PATH
5106 do
5107   IFS=$as_save_IFS
5108   test -z "$as_dir" && as_dir=.
5109     for ac_exec_ext in '' $ac_executable_extensions; do
5110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5111     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113     break 2
5114   fi
5115 done
5116   done
5117 IFS=$as_save_IFS
5118
5119 fi
5120 fi
5121 DUMPBIN=$ac_cv_prog_DUMPBIN
5122 if test -n "$DUMPBIN"; then
5123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5124 $as_echo "$DUMPBIN" >&6; }
5125 else
5126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5128 fi
5129
5130
5131     test -n "$DUMPBIN" && break
5132   done
5133 fi
5134 if test -z "$DUMPBIN"; then
5135   ac_ct_DUMPBIN=$DUMPBIN
5136   for ac_prog in dumpbin "link -dump"
5137 do
5138   # Extract the first word of "$ac_prog", so it can be a program name with args.
5139 set dummy $ac_prog; ac_word=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5143   $as_echo_n "(cached) " >&6
5144 else
5145   if test -n "$ac_ct_DUMPBIN"; then
5146   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5147 else
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 for as_dir in $PATH
5150 do
5151   IFS=$as_save_IFS
5152   test -z "$as_dir" && as_dir=.
5153     for ac_exec_ext in '' $ac_executable_extensions; do
5154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5155     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157     break 2
5158   fi
5159 done
5160   done
5161 IFS=$as_save_IFS
5162
5163 fi
5164 fi
5165 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5166 if test -n "$ac_ct_DUMPBIN"; then
5167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5168 $as_echo "$ac_ct_DUMPBIN" >&6; }
5169 else
5170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5172 fi
5173
5174
5175   test -n "$ac_ct_DUMPBIN" && break
5176 done
5177
5178   if test "x$ac_ct_DUMPBIN" = x; then
5179     DUMPBIN=":"
5180   else
5181     case $cross_compiling:$ac_tool_warned in
5182 yes:)
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5185 ac_tool_warned=yes ;;
5186 esac
5187     DUMPBIN=$ac_ct_DUMPBIN
5188   fi
5189 fi
5190
5191     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5192     *COFF*)
5193       DUMPBIN="$DUMPBIN -symbols"
5194       ;;
5195     *)
5196       DUMPBIN=:
5197       ;;
5198     esac
5199   fi
5200
5201   if test "$DUMPBIN" != ":"; then
5202     NM="$DUMPBIN"
5203   fi
5204 fi
5205 test -z "$NM" && NM=nm
5206
5207
5208
5209
5210
5211
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5213 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5214 if ${lt_cv_nm_interface+:} false; then :
5215   $as_echo_n "(cached) " >&6
5216 else
5217   lt_cv_nm_interface="BSD nm"
5218   echo "int some_variable = 0;" > conftest.$ac_ext
5219   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5220   (eval "$ac_compile" 2>conftest.err)
5221   cat conftest.err >&5
5222   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5223   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5224   cat conftest.err >&5
5225   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5226   cat conftest.out >&5
5227   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5228     lt_cv_nm_interface="MS dumpbin"
5229   fi
5230   rm -f conftest*
5231 fi
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5233 $as_echo "$lt_cv_nm_interface" >&6; }
5234
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5236 $as_echo_n "checking whether ln -s works... " >&6; }
5237 LN_S=$as_ln_s
5238 if test "$LN_S" = "ln -s"; then
5239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5240 $as_echo "yes" >&6; }
5241 else
5242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5243 $as_echo "no, using $LN_S" >&6; }
5244 fi
5245
5246 # find the maximum length of command line arguments
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5248 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5249 if ${lt_cv_sys_max_cmd_len+:} false; then :
5250   $as_echo_n "(cached) " >&6
5251 else
5252     i=0
5253   teststring="ABCD"
5254
5255   case $build_os in
5256   msdosdjgpp*)
5257     # On DJGPP, this test can blow up pretty badly due to problems in libc
5258     # (any single argument exceeding 2000 bytes causes a buffer overrun
5259     # during glob expansion).  Even if it were fixed, the result of this
5260     # check would be larger than it should be.
5261     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5262     ;;
5263
5264   gnu*)
5265     # Under GNU Hurd, this test is not required because there is
5266     # no limit to the length of command line arguments.
5267     # Libtool will interpret -1 as no limit whatsoever
5268     lt_cv_sys_max_cmd_len=-1;
5269     ;;
5270
5271   cygwin* | mingw* | cegcc*)
5272     # On Win9x/ME, this test blows up -- it succeeds, but takes
5273     # about 5 minutes as the teststring grows exponentially.
5274     # Worse, since 9x/ME are not pre-emptively multitasking,
5275     # you end up with a "frozen" computer, even though with patience
5276     # the test eventually succeeds (with a max line length of 256k).
5277     # Instead, let's just punt: use the minimum linelength reported by
5278     # all of the supported platforms: 8192 (on NT/2K/XP).
5279     lt_cv_sys_max_cmd_len=8192;
5280     ;;
5281
5282   mint*)
5283     # On MiNT this can take a long time and run out of memory.
5284     lt_cv_sys_max_cmd_len=8192;
5285     ;;
5286
5287   amigaos*)
5288     # On AmigaOS with pdksh, this test takes hours, literally.
5289     # So we just punt and use a minimum line length of 8192.
5290     lt_cv_sys_max_cmd_len=8192;
5291     ;;
5292
5293   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5294     # This has been around since 386BSD, at least.  Likely further.
5295     if test -x /sbin/sysctl; then
5296       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5297     elif test -x /usr/sbin/sysctl; then
5298       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5299     else
5300       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5301     fi
5302     # And add a safety zone
5303     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5304     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5305     ;;
5306
5307   interix*)
5308     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5309     lt_cv_sys_max_cmd_len=196608
5310     ;;
5311
5312   os2*)
5313     # The test takes a long time on OS/2.
5314     lt_cv_sys_max_cmd_len=8192
5315     ;;
5316
5317   osf*)
5318     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5319     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5320     # nice to cause kernel panics so lets avoid the loop below.
5321     # First set a reasonable default.
5322     lt_cv_sys_max_cmd_len=16384
5323     #
5324     if test -x /sbin/sysconfig; then
5325       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5326         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5327       esac
5328     fi
5329     ;;
5330   sco3.2v5*)
5331     lt_cv_sys_max_cmd_len=102400
5332     ;;
5333   sysv5* | sco5v6* | sysv4.2uw2*)
5334     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5335     if test -n "$kargmax"; then
5336       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5337     else
5338       lt_cv_sys_max_cmd_len=32768
5339     fi
5340     ;;
5341   *)
5342     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5343     if test -n "$lt_cv_sys_max_cmd_len"; then
5344       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5345       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5346     else
5347       # Make teststring a little bigger before we do anything with it.
5348       # a 1K string should be a reasonable start.
5349       for i in 1 2 3 4 5 6 7 8 ; do
5350         teststring=$teststring$teststring
5351       done
5352       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5353       # If test is not a shell built-in, we'll probably end up computing a
5354       # maximum length that is only half of the actual maximum length, but
5355       # we can't tell.
5356       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5357                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5358               test $i != 17 # 1/2 MB should be enough
5359       do
5360         i=`expr $i + 1`
5361         teststring=$teststring$teststring
5362       done
5363       # Only check the string length outside the loop.
5364       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5365       teststring=
5366       # Add a significant safety factor because C++ compilers can tack on
5367       # massive amounts of additional arguments before passing them to the
5368       # linker.  It appears as though 1/2 is a usable value.
5369       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5370     fi
5371     ;;
5372   esac
5373
5374 fi
5375
5376 if test -n $lt_cv_sys_max_cmd_len ; then
5377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5378 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5379 else
5380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5381 $as_echo "none" >&6; }
5382 fi
5383 max_cmd_len=$lt_cv_sys_max_cmd_len
5384
5385
5386
5387
5388
5389
5390 : ${CP="cp -f"}
5391 : ${MV="mv -f"}
5392 : ${RM="rm -f"}
5393
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5395 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5396 # Try some XSI features
5397 xsi_shell=no
5398 ( _lt_dummy="a/b/c"
5399   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5400       = c,a/b,b/c, \
5401     && eval 'test $(( 1 + 1 )) -eq 2 \
5402     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5403   && xsi_shell=yes
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5405 $as_echo "$xsi_shell" >&6; }
5406
5407
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5409 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5410 lt_shell_append=no
5411 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5412     >/dev/null 2>&1 \
5413   && lt_shell_append=yes
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5415 $as_echo "$lt_shell_append" >&6; }
5416
5417
5418 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5419   lt_unset=unset
5420 else
5421   lt_unset=false
5422 fi
5423
5424
5425
5426
5427
5428 # test EBCDIC or ASCII
5429 case `echo X|tr X '\101'` in
5430  A) # ASCII based system
5431     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5432   lt_SP2NL='tr \040 \012'
5433   lt_NL2SP='tr \015\012 \040\040'
5434   ;;
5435  *) # EBCDIC based system
5436   lt_SP2NL='tr \100 \n'
5437   lt_NL2SP='tr \r\n \100\100'
5438   ;;
5439 esac
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5450 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5451 if ${lt_cv_to_host_file_cmd+:} false; then :
5452   $as_echo_n "(cached) " >&6
5453 else
5454   case $host in
5455   *-*-mingw* )
5456     case $build in
5457       *-*-mingw* ) # actually msys
5458         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5459         ;;
5460       *-*-cygwin* )
5461         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5462         ;;
5463       * ) # otherwise, assume *nix
5464         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5465         ;;
5466     esac
5467     ;;
5468   *-*-cygwin* )
5469     case $build in
5470       *-*-mingw* ) # actually msys
5471         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5472         ;;
5473       *-*-cygwin* )
5474         lt_cv_to_host_file_cmd=func_convert_file_noop
5475         ;;
5476       * ) # otherwise, assume *nix
5477         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5478         ;;
5479     esac
5480     ;;
5481   * ) # unhandled hosts (and "normal" native builds)
5482     lt_cv_to_host_file_cmd=func_convert_file_noop
5483     ;;
5484 esac
5485
5486 fi
5487
5488 to_host_file_cmd=$lt_cv_to_host_file_cmd
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5490 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5491
5492
5493
5494
5495
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5497 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5498 if ${lt_cv_to_tool_file_cmd+:} false; then :
5499   $as_echo_n "(cached) " >&6
5500 else
5501   #assume ordinary cross tools, or native build.
5502 lt_cv_to_tool_file_cmd=func_convert_file_noop
5503 case $host in
5504   *-*-mingw* )
5505     case $build in
5506       *-*-mingw* ) # actually msys
5507         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5508         ;;
5509     esac
5510     ;;
5511 esac
5512
5513 fi
5514
5515 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5517 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5518
5519
5520
5521
5522
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5524 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5525 if ${lt_cv_ld_reload_flag+:} false; then :
5526   $as_echo_n "(cached) " >&6
5527 else
5528   lt_cv_ld_reload_flag='-r'
5529 fi
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5531 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5532 reload_flag=$lt_cv_ld_reload_flag
5533 case $reload_flag in
5534 "" | " "*) ;;
5535 *) reload_flag=" $reload_flag" ;;
5536 esac
5537 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5538 case $host_os in
5539   cygwin* | mingw* | pw32* | cegcc*)
5540     if test "$GCC" != yes; then
5541       reload_cmds=false
5542     fi
5543     ;;
5544   darwin*)
5545     if test "$GCC" = yes; then
5546       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5547     else
5548       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5549     fi
5550     ;;
5551 esac
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561 if test -n "$ac_tool_prefix"; then
5562   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5563 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_OBJDUMP+:} false; then :
5567   $as_echo_n "(cached) " >&6
5568 else
5569   if test -n "$OBJDUMP"; then
5570   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5574 do
5575   IFS=$as_save_IFS
5576   test -z "$as_dir" && as_dir=.
5577     for ac_exec_ext in '' $ac_executable_extensions; do
5578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5579     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581     break 2
5582   fi
5583 done
5584   done
5585 IFS=$as_save_IFS
5586
5587 fi
5588 fi
5589 OBJDUMP=$ac_cv_prog_OBJDUMP
5590 if test -n "$OBJDUMP"; then
5591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5592 $as_echo "$OBJDUMP" >&6; }
5593 else
5594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5596 fi
5597
5598
5599 fi
5600 if test -z "$ac_cv_prog_OBJDUMP"; then
5601   ac_ct_OBJDUMP=$OBJDUMP
5602   # Extract the first word of "objdump", so it can be a program name with args.
5603 set dummy objdump; ac_word=$2
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 $as_echo_n "checking for $ac_word... " >&6; }
5606 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5607   $as_echo_n "(cached) " >&6
5608 else
5609   if test -n "$ac_ct_OBJDUMP"; then
5610   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5611 else
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 for as_dir in $PATH
5614 do
5615   IFS=$as_save_IFS
5616   test -z "$as_dir" && as_dir=.
5617     for ac_exec_ext in '' $ac_executable_extensions; do
5618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5619     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5621     break 2
5622   fi
5623 done
5624   done
5625 IFS=$as_save_IFS
5626
5627 fi
5628 fi
5629 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5630 if test -n "$ac_ct_OBJDUMP"; then
5631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5632 $as_echo "$ac_ct_OBJDUMP" >&6; }
5633 else
5634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }
5636 fi
5637
5638   if test "x$ac_ct_OBJDUMP" = x; then
5639     OBJDUMP="false"
5640   else
5641     case $cross_compiling:$ac_tool_warned in
5642 yes:)
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5645 ac_tool_warned=yes ;;
5646 esac
5647     OBJDUMP=$ac_ct_OBJDUMP
5648   fi
5649 else
5650   OBJDUMP="$ac_cv_prog_OBJDUMP"
5651 fi
5652
5653 test -z "$OBJDUMP" && OBJDUMP=objdump
5654
5655
5656
5657
5658
5659
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5661 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5662 if ${lt_cv_deplibs_check_method+:} false; then :
5663   $as_echo_n "(cached) " >&6
5664 else
5665   lt_cv_file_magic_cmd='$MAGIC_CMD'
5666 lt_cv_file_magic_test_file=
5667 lt_cv_deplibs_check_method='unknown'
5668 # Need to set the preceding variable on all platforms that support
5669 # interlibrary dependencies.
5670 # 'none' -- dependencies not supported.
5671 # `unknown' -- same as none, but documents that we really don't know.
5672 # 'pass_all' -- all dependencies passed with no checks.
5673 # 'test_compile' -- check by making test program.
5674 # 'file_magic [[regex]]' -- check by looking for files in library path
5675 # which responds to the $file_magic_cmd with a given extended regex.
5676 # If you have `file' or equivalent on your system and you're not sure
5677 # whether `pass_all' will *always* work, you probably want this one.
5678
5679 case $host_os in
5680 aix[4-9]*)
5681   lt_cv_deplibs_check_method=pass_all
5682   ;;
5683
5684 beos*)
5685   lt_cv_deplibs_check_method=pass_all
5686   ;;
5687
5688 bsdi[45]*)
5689   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5690   lt_cv_file_magic_cmd='/usr/bin/file -L'
5691   lt_cv_file_magic_test_file=/shlib/libc.so
5692   ;;
5693
5694 cygwin*)
5695   # func_win32_libid is a shell function defined in ltmain.sh
5696   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5697   lt_cv_file_magic_cmd='func_win32_libid'
5698   ;;
5699
5700 mingw* | pw32*)
5701   # Base MSYS/MinGW do not provide the 'file' command needed by
5702   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5703   # unless we find 'file', for example because we are cross-compiling.
5704   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5705   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5706     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5707     lt_cv_file_magic_cmd='func_win32_libid'
5708   else
5709     # Keep this pattern in sync with the one in func_win32_libid.
5710     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5711     lt_cv_file_magic_cmd='$OBJDUMP -f'
5712   fi
5713   ;;
5714
5715 cegcc*)
5716   # use the weaker test based on 'objdump'. See mingw*.
5717   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5718   lt_cv_file_magic_cmd='$OBJDUMP -f'
5719   ;;
5720
5721 darwin* | rhapsody*)
5722   lt_cv_deplibs_check_method=pass_all
5723   ;;
5724
5725 freebsd* | dragonfly*)
5726   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5727     case $host_cpu in
5728     i*86 )
5729       # Not sure whether the presence of OpenBSD here was a mistake.
5730       # Let's accept both of them until this is cleared up.
5731       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5732       lt_cv_file_magic_cmd=/usr/bin/file
5733       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5734       ;;
5735     esac
5736   else
5737     lt_cv_deplibs_check_method=pass_all
5738   fi
5739   ;;
5740
5741 gnu*)
5742   lt_cv_deplibs_check_method=pass_all
5743   ;;
5744
5745 haiku*)
5746   lt_cv_deplibs_check_method=pass_all
5747   ;;
5748
5749 hpux10.20* | hpux11*)
5750   lt_cv_file_magic_cmd=/usr/bin/file
5751   case $host_cpu in
5752   ia64*)
5753     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5754     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5755     ;;
5756   hppa*64*)
5757     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]'
5758     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5759     ;;
5760   *)
5761     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5762     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5763     ;;
5764   esac
5765   ;;
5766
5767 interix[3-9]*)
5768   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5769   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5770   ;;
5771
5772 irix5* | irix6* | nonstopux*)
5773   case $LD in
5774   *-32|*"-32 ") libmagic=32-bit;;
5775   *-n32|*"-n32 ") libmagic=N32;;
5776   *-64|*"-64 ") libmagic=64-bit;;
5777   *) libmagic=never-match;;
5778   esac
5779   lt_cv_deplibs_check_method=pass_all
5780   ;;
5781
5782 # This must be glibc/ELF.
5783 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5784   lt_cv_deplibs_check_method=pass_all
5785   ;;
5786
5787 netbsd*)
5788   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5789     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5790   else
5791     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5792   fi
5793   ;;
5794
5795 newos6*)
5796   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5797   lt_cv_file_magic_cmd=/usr/bin/file
5798   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5799   ;;
5800
5801 *nto* | *qnx*)
5802   lt_cv_deplibs_check_method=pass_all
5803   ;;
5804
5805 openbsd*)
5806   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5807     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5808   else
5809     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5810   fi
5811   ;;
5812
5813 osf3* | osf4* | osf5*)
5814   lt_cv_deplibs_check_method=pass_all
5815   ;;
5816
5817 rdos*)
5818   lt_cv_deplibs_check_method=pass_all
5819   ;;
5820
5821 solaris*)
5822   lt_cv_deplibs_check_method=pass_all
5823   ;;
5824
5825 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5826   lt_cv_deplibs_check_method=pass_all
5827   ;;
5828
5829 sysv4 | sysv4.3*)
5830   case $host_vendor in
5831   motorola)
5832     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]'
5833     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5834     ;;
5835   ncr)
5836     lt_cv_deplibs_check_method=pass_all
5837     ;;
5838   sequent)
5839     lt_cv_file_magic_cmd='/bin/file'
5840     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5841     ;;
5842   sni)
5843     lt_cv_file_magic_cmd='/bin/file'
5844     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5845     lt_cv_file_magic_test_file=/lib/libc.so
5846     ;;
5847   siemens)
5848     lt_cv_deplibs_check_method=pass_all
5849     ;;
5850   pc)
5851     lt_cv_deplibs_check_method=pass_all
5852     ;;
5853   esac
5854   ;;
5855
5856 tpf*)
5857   lt_cv_deplibs_check_method=pass_all
5858   ;;
5859 esac
5860
5861 fi
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5863 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5864
5865 file_magic_glob=
5866 want_nocaseglob=no
5867 if test "$build" = "$host"; then
5868   case $host_os in
5869   mingw* | pw32*)
5870     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5871       want_nocaseglob=yes
5872     else
5873       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5874     fi
5875     ;;
5876   esac
5877 fi
5878
5879 file_magic_cmd=$lt_cv_file_magic_cmd
5880 deplibs_check_method=$lt_cv_deplibs_check_method
5881 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904 if test -n "$ac_tool_prefix"; then
5905   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5906 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_DLLTOOL+:} false; then :
5910   $as_echo_n "(cached) " >&6
5911 else
5912   if test -n "$DLLTOOL"; then
5913   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5917 do
5918   IFS=$as_save_IFS
5919   test -z "$as_dir" && as_dir=.
5920     for ac_exec_ext in '' $ac_executable_extensions; do
5921   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5922     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5924     break 2
5925   fi
5926 done
5927   done
5928 IFS=$as_save_IFS
5929
5930 fi
5931 fi
5932 DLLTOOL=$ac_cv_prog_DLLTOOL
5933 if test -n "$DLLTOOL"; then
5934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5935 $as_echo "$DLLTOOL" >&6; }
5936 else
5937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5939 fi
5940
5941
5942 fi
5943 if test -z "$ac_cv_prog_DLLTOOL"; then
5944   ac_ct_DLLTOOL=$DLLTOOL
5945   # Extract the first word of "dlltool", so it can be a program name with args.
5946 set dummy dlltool; ac_word=$2
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948 $as_echo_n "checking for $ac_word... " >&6; }
5949 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5950   $as_echo_n "(cached) " >&6
5951 else
5952   if test -n "$ac_ct_DLLTOOL"; then
5953   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5954 else
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 for as_dir in $PATH
5957 do
5958   IFS=$as_save_IFS
5959   test -z "$as_dir" && as_dir=.
5960     for ac_exec_ext in '' $ac_executable_extensions; do
5961   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5962     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964     break 2
5965   fi
5966 done
5967   done
5968 IFS=$as_save_IFS
5969
5970 fi
5971 fi
5972 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5973 if test -n "$ac_ct_DLLTOOL"; then
5974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5975 $as_echo "$ac_ct_DLLTOOL" >&6; }
5976 else
5977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978 $as_echo "no" >&6; }
5979 fi
5980
5981   if test "x$ac_ct_DLLTOOL" = x; then
5982     DLLTOOL="false"
5983   else
5984     case $cross_compiling:$ac_tool_warned in
5985 yes:)
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5988 ac_tool_warned=yes ;;
5989 esac
5990     DLLTOOL=$ac_ct_DLLTOOL
5991   fi
5992 else
5993   DLLTOOL="$ac_cv_prog_DLLTOOL"
5994 fi
5995
5996 test -z "$DLLTOOL" && DLLTOOL=dlltool
5997
5998
5999
6000
6001
6002
6003
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6005 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6006 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6007   $as_echo_n "(cached) " >&6
6008 else
6009   lt_cv_sharedlib_from_linklib_cmd='unknown'
6010
6011 case $host_os in
6012 cygwin* | mingw* | pw32* | cegcc*)
6013   # two different shell functions defined in ltmain.sh
6014   # decide which to use based on capabilities of $DLLTOOL
6015   case `$DLLTOOL --help 2>&1` in
6016   *--identify-strict*)
6017     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6018     ;;
6019   *)
6020     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6021     ;;
6022   esac
6023   ;;
6024 *)
6025   # fallback: assume linklib IS sharedlib
6026   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6027   ;;
6028 esac
6029
6030 fi
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6032 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6033 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6034 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6035
6036
6037
6038
6039
6040
6041
6042 if test -n "$ac_tool_prefix"; then
6043   for ac_prog in ar
6044   do
6045     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6046 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if ${ac_cv_prog_AR+:} false; then :
6050   $as_echo_n "(cached) " >&6
6051 else
6052   if test -n "$AR"; then
6053   ac_cv_prog_AR="$AR" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6057 do
6058   IFS=$as_save_IFS
6059   test -z "$as_dir" && as_dir=.
6060     for ac_exec_ext in '' $ac_executable_extensions; do
6061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6064     break 2
6065   fi
6066 done
6067   done
6068 IFS=$as_save_IFS
6069
6070 fi
6071 fi
6072 AR=$ac_cv_prog_AR
6073 if test -n "$AR"; then
6074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6075 $as_echo "$AR" >&6; }
6076 else
6077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6079 fi
6080
6081
6082     test -n "$AR" && break
6083   done
6084 fi
6085 if test -z "$AR"; then
6086   ac_ct_AR=$AR
6087   for ac_prog in ar
6088 do
6089   # Extract the first word of "$ac_prog", so it can be a program name with args.
6090 set dummy $ac_prog; ac_word=$2
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092 $as_echo_n "checking for $ac_word... " >&6; }
6093 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6094   $as_echo_n "(cached) " >&6
6095 else
6096   if test -n "$ac_ct_AR"; then
6097   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6098 else
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH
6101 do
6102   IFS=$as_save_IFS
6103   test -z "$as_dir" && as_dir=.
6104     for ac_exec_ext in '' $ac_executable_extensions; do
6105   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106     ac_cv_prog_ac_ct_AR="$ac_prog"
6107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6108     break 2
6109   fi
6110 done
6111   done
6112 IFS=$as_save_IFS
6113
6114 fi
6115 fi
6116 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6117 if test -n "$ac_ct_AR"; then
6118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6119 $as_echo "$ac_ct_AR" >&6; }
6120 else
6121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 $as_echo "no" >&6; }
6123 fi
6124
6125
6126   test -n "$ac_ct_AR" && break
6127 done
6128
6129   if test "x$ac_ct_AR" = x; then
6130     AR="false"
6131   else
6132     case $cross_compiling:$ac_tool_warned in
6133 yes:)
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6136 ac_tool_warned=yes ;;
6137 esac
6138     AR=$ac_ct_AR
6139   fi
6140 fi
6141
6142 : ${AR=ar}
6143 : ${AR_FLAGS=cru}
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6156 $as_echo_n "checking for archiver @FILE support... " >&6; }
6157 if ${lt_cv_ar_at_file+:} false; then :
6158   $as_echo_n "(cached) " >&6
6159 else
6160   lt_cv_ar_at_file=no
6161    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h.  */
6163
6164 int
6165 main ()
6166 {
6167
6168   ;
6169   return 0;
6170 }
6171 _ACEOF
6172 if ac_fn_c_try_compile "$LINENO"; then :
6173   echo conftest.$ac_objext > conftest.lst
6174       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6175       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6176   (eval $lt_ar_try) 2>&5
6177   ac_status=$?
6178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6179   test $ac_status = 0; }
6180       if test "$ac_status" -eq 0; then
6181         # Ensure the archiver fails upon bogus file names.
6182         rm -f conftest.$ac_objext libconftest.a
6183         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6184   (eval $lt_ar_try) 2>&5
6185   ac_status=$?
6186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6187   test $ac_status = 0; }
6188         if test "$ac_status" -ne 0; then
6189           lt_cv_ar_at_file=@
6190         fi
6191       fi
6192       rm -f conftest.* libconftest.a
6193
6194 fi
6195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6196
6197 fi
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6199 $as_echo "$lt_cv_ar_at_file" >&6; }
6200
6201 if test "x$lt_cv_ar_at_file" = xno; then
6202   archiver_list_spec=
6203 else
6204   archiver_list_spec=$lt_cv_ar_at_file
6205 fi
6206
6207
6208
6209
6210
6211
6212
6213 if test -n "$ac_tool_prefix"; then
6214   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6215 set dummy ${ac_tool_prefix}strip; ac_word=$2
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6217 $as_echo_n "checking for $ac_word... " >&6; }
6218 if ${ac_cv_prog_STRIP+:} false; then :
6219   $as_echo_n "(cached) " >&6
6220 else
6221   if test -n "$STRIP"; then
6222   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6223 else
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6225 for as_dir in $PATH
6226 do
6227   IFS=$as_save_IFS
6228   test -z "$as_dir" && as_dir=.
6229     for ac_exec_ext in '' $ac_executable_extensions; do
6230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6231     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6232     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233     break 2
6234   fi
6235 done
6236   done
6237 IFS=$as_save_IFS
6238
6239 fi
6240 fi
6241 STRIP=$ac_cv_prog_STRIP
6242 if test -n "$STRIP"; then
6243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6244 $as_echo "$STRIP" >&6; }
6245 else
6246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6247 $as_echo "no" >&6; }
6248 fi
6249
6250
6251 fi
6252 if test -z "$ac_cv_prog_STRIP"; then
6253   ac_ct_STRIP=$STRIP
6254   # Extract the first word of "strip", so it can be a program name with args.
6255 set dummy strip; ac_word=$2
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257 $as_echo_n "checking for $ac_word... " >&6; }
6258 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6259   $as_echo_n "(cached) " >&6
6260 else
6261   if test -n "$ac_ct_STRIP"; then
6262   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6263 else
6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6265 for as_dir in $PATH
6266 do
6267   IFS=$as_save_IFS
6268   test -z "$as_dir" && as_dir=.
6269     for ac_exec_ext in '' $ac_executable_extensions; do
6270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6271     ac_cv_prog_ac_ct_STRIP="strip"
6272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273     break 2
6274   fi
6275 done
6276   done
6277 IFS=$as_save_IFS
6278
6279 fi
6280 fi
6281 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6282 if test -n "$ac_ct_STRIP"; then
6283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6284 $as_echo "$ac_ct_STRIP" >&6; }
6285 else
6286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6287 $as_echo "no" >&6; }
6288 fi
6289
6290   if test "x$ac_ct_STRIP" = x; then
6291     STRIP=":"
6292   else
6293     case $cross_compiling:$ac_tool_warned in
6294 yes:)
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6297 ac_tool_warned=yes ;;
6298 esac
6299     STRIP=$ac_ct_STRIP
6300   fi
6301 else
6302   STRIP="$ac_cv_prog_STRIP"
6303 fi
6304
6305 test -z "$STRIP" && STRIP=:
6306
6307
6308
6309
6310
6311
6312 if test -n "$ac_tool_prefix"; then
6313   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6314 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6316 $as_echo_n "checking for $ac_word... " >&6; }
6317 if ${ac_cv_prog_RANLIB+:} false; then :
6318   $as_echo_n "(cached) " >&6
6319 else
6320   if test -n "$RANLIB"; then
6321   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6322 else
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324 for as_dir in $PATH
6325 do
6326   IFS=$as_save_IFS
6327   test -z "$as_dir" && as_dir=.
6328     for ac_exec_ext in '' $ac_executable_extensions; do
6329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6330     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332     break 2
6333   fi
6334 done
6335   done
6336 IFS=$as_save_IFS
6337
6338 fi
6339 fi
6340 RANLIB=$ac_cv_prog_RANLIB
6341 if test -n "$RANLIB"; then
6342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6343 $as_echo "$RANLIB" >&6; }
6344 else
6345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 $as_echo "no" >&6; }
6347 fi
6348
6349
6350 fi
6351 if test -z "$ac_cv_prog_RANLIB"; then
6352   ac_ct_RANLIB=$RANLIB
6353   # Extract the first word of "ranlib", so it can be a program name with args.
6354 set dummy ranlib; ac_word=$2
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356 $as_echo_n "checking for $ac_word... " >&6; }
6357 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6358   $as_echo_n "(cached) " >&6
6359 else
6360   if test -n "$ac_ct_RANLIB"; then
6361   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6362 else
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 for as_dir in $PATH
6365 do
6366   IFS=$as_save_IFS
6367   test -z "$as_dir" && as_dir=.
6368     for ac_exec_ext in '' $ac_executable_extensions; do
6369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6370     ac_cv_prog_ac_ct_RANLIB="ranlib"
6371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6372     break 2
6373   fi
6374 done
6375   done
6376 IFS=$as_save_IFS
6377
6378 fi
6379 fi
6380 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6381 if test -n "$ac_ct_RANLIB"; then
6382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6383 $as_echo "$ac_ct_RANLIB" >&6; }
6384 else
6385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6386 $as_echo "no" >&6; }
6387 fi
6388
6389   if test "x$ac_ct_RANLIB" = x; then
6390     RANLIB=":"
6391   else
6392     case $cross_compiling:$ac_tool_warned in
6393 yes:)
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6396 ac_tool_warned=yes ;;
6397 esac
6398     RANLIB=$ac_ct_RANLIB
6399   fi
6400 else
6401   RANLIB="$ac_cv_prog_RANLIB"
6402 fi
6403
6404 test -z "$RANLIB" && RANLIB=:
6405
6406
6407
6408
6409
6410
6411 # Determine commands to create old-style static archives.
6412 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6413 old_postinstall_cmds='chmod 644 $oldlib'
6414 old_postuninstall_cmds=
6415
6416 if test -n "$RANLIB"; then
6417   case $host_os in
6418   openbsd*)
6419     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6420     ;;
6421   *)
6422     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6423     ;;
6424   esac
6425   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6426 fi
6427
6428 case $host_os in
6429   darwin*)
6430     lock_old_archive_extraction=yes ;;
6431   *)
6432     lock_old_archive_extraction=no ;;
6433 esac
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473 # If no C compiler was specified, use CC.
6474 LTCC=${LTCC-"$CC"}
6475
6476 # If no C compiler flags were specified, use CFLAGS.
6477 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6478
6479 # Allow CC to be a program name with arguments.
6480 compiler=$CC
6481
6482
6483 # Check for command to grab the raw symbol name followed by C symbol from nm.
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6485 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6486 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6487   $as_echo_n "(cached) " >&6
6488 else
6489
6490 # These are sane defaults that work on at least a few old systems.
6491 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6492
6493 # Character class describing NM global symbol codes.
6494 symcode='[BCDEGRST]'
6495
6496 # Regexp to match symbols that can be accessed directly from C.
6497 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6498
6499 # Define system-specific variables.
6500 case $host_os in
6501 aix*)
6502   symcode='[BCDT]'
6503   ;;
6504 cygwin* | mingw* | pw32* | cegcc*)
6505   symcode='[ABCDGISTW]'
6506   ;;
6507 hpux*)
6508   if test "$host_cpu" = ia64; then
6509     symcode='[ABCDEGRST]'
6510   fi
6511   ;;
6512 irix* | nonstopux*)
6513   symcode='[BCDEGRST]'
6514   ;;
6515 osf*)
6516   symcode='[BCDEGQRST]'
6517   ;;
6518 solaris*)
6519   symcode='[BDRT]'
6520   ;;
6521 sco3.2v5*)
6522   symcode='[DT]'
6523   ;;
6524 sysv4.2uw2*)
6525   symcode='[DT]'
6526   ;;
6527 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6528   symcode='[ABDT]'
6529   ;;
6530 sysv4)
6531   symcode='[DFNSTU]'
6532   ;;
6533 esac
6534
6535 # If we're using GNU nm, then use its standard symbol codes.
6536 case `$NM -V 2>&1` in
6537 *GNU* | *'with BFD'*)
6538   symcode='[ABCDGIRSTW]' ;;
6539 esac
6540
6541 # Transform an extracted symbol line into a proper C declaration.
6542 # Some systems (esp. on ia64) link data and code symbols differently,
6543 # so use this general approach.
6544 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6545
6546 # Transform an extracted symbol line into symbol name and symbol address
6547 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6548 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'"
6549
6550 # Handle CRLF in mingw tool chain
6551 opt_cr=
6552 case $build_os in
6553 mingw*)
6554   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6555   ;;
6556 esac
6557
6558 # Try without a prefix underscore, then with it.
6559 for ac_symprfx in "" "_"; do
6560
6561   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6562   symxfrm="\\1 $ac_symprfx\\2 \\2"
6563
6564   # Write the raw and C identifiers.
6565   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6566     # Fake it for dumpbin and say T for any non-static function
6567     # and D for any global variable.
6568     # Also find C++ and __fastcall symbols from MSVC++,
6569     # which start with @ or ?.
6570     lt_cv_sys_global_symbol_pipe="$AWK '"\
6571 "     {last_section=section; section=\$ 3};"\
6572 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6573 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6574 "     \$ 0!~/External *\|/{next};"\
6575 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6576 "     {if(hide[section]) next};"\
6577 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6578 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6579 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6580 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6581 "     ' prfx=^$ac_symprfx"
6582   else
6583     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6584   fi
6585   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6586
6587   # Check to see that the pipe works correctly.
6588   pipe_works=no
6589
6590   rm -f conftest*
6591   cat > conftest.$ac_ext <<_LT_EOF
6592 #ifdef __cplusplus
6593 extern "C" {
6594 #endif
6595 char nm_test_var;
6596 void nm_test_func(void);
6597 void nm_test_func(void){}
6598 #ifdef __cplusplus
6599 }
6600 #endif
6601 int main(){nm_test_var='a';nm_test_func();return(0);}
6602 _LT_EOF
6603
6604   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6605   (eval $ac_compile) 2>&5
6606   ac_status=$?
6607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6608   test $ac_status = 0; }; then
6609     # Now try to grab the symbols.
6610     nlist=conftest.nm
6611     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6612   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6613   ac_status=$?
6614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6615   test $ac_status = 0; } && test -s "$nlist"; then
6616       # Try sorting and uniquifying the output.
6617       if sort "$nlist" | uniq > "$nlist"T; then
6618         mv -f "$nlist"T "$nlist"
6619       else
6620         rm -f "$nlist"T
6621       fi
6622
6623       # Make sure that we snagged all the symbols we need.
6624       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6625         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6626           cat <<_LT_EOF > conftest.$ac_ext
6627 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6628 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6629 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6630    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6631 # define LT_DLSYM_CONST
6632 #elif defined(__osf__)
6633 /* This system does not cope well with relocations in const data.  */
6634 # define LT_DLSYM_CONST
6635 #else
6636 # define LT_DLSYM_CONST const
6637 #endif
6638
6639 #ifdef __cplusplus
6640 extern "C" {
6641 #endif
6642
6643 _LT_EOF
6644           # Now generate the symbol file.
6645           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6646
6647           cat <<_LT_EOF >> conftest.$ac_ext
6648
6649 /* The mapping between symbol names and symbols.  */
6650 LT_DLSYM_CONST struct {
6651   const char *name;
6652   void       *address;
6653 }
6654 lt__PROGRAM__LTX_preloaded_symbols[] =
6655 {
6656   { "@PROGRAM@", (void *) 0 },
6657 _LT_EOF
6658           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6659           cat <<\_LT_EOF >> conftest.$ac_ext
6660   {0, (void *) 0}
6661 };
6662
6663 /* This works around a problem in FreeBSD linker */
6664 #ifdef FREEBSD_WORKAROUND
6665 static const void *lt_preloaded_setup() {
6666   return lt__PROGRAM__LTX_preloaded_symbols;
6667 }
6668 #endif
6669
6670 #ifdef __cplusplus
6671 }
6672 #endif
6673 _LT_EOF
6674           # Now try linking the two files.
6675           mv conftest.$ac_objext conftstm.$ac_objext
6676           lt_globsym_save_LIBS=$LIBS
6677           lt_globsym_save_CFLAGS=$CFLAGS
6678           LIBS="conftstm.$ac_objext"
6679           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6680           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6681   (eval $ac_link) 2>&5
6682   ac_status=$?
6683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6684   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6685             pipe_works=yes
6686           fi
6687           LIBS=$lt_globsym_save_LIBS
6688           CFLAGS=$lt_globsym_save_CFLAGS
6689         else
6690           echo "cannot find nm_test_func in $nlist" >&5
6691         fi
6692       else
6693         echo "cannot find nm_test_var in $nlist" >&5
6694       fi
6695     else
6696       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6697     fi
6698   else
6699     echo "$progname: failed program was:" >&5
6700     cat conftest.$ac_ext >&5
6701   fi
6702   rm -rf conftest* conftst*
6703
6704   # Do not use the global_symbol_pipe unless it works.
6705   if test "$pipe_works" = yes; then
6706     break
6707   else
6708     lt_cv_sys_global_symbol_pipe=
6709   fi
6710 done
6711
6712 fi
6713
6714 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6715   lt_cv_sys_global_symbol_to_cdecl=
6716 fi
6717 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6719 $as_echo "failed" >&6; }
6720 else
6721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6722 $as_echo "ok" >&6; }
6723 fi
6724
6725 # Response file support.
6726 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6727   nm_file_list_spec='@'
6728 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6729   nm_file_list_spec='@'
6730 fi
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6759 $as_echo_n "checking for sysroot... " >&6; }
6760
6761 # Check whether --with-sysroot was given.
6762 if test "${with_sysroot+set}" = set; then :
6763   withval=$with_sysroot;
6764 else
6765   with_sysroot=no
6766 fi
6767
6768
6769 lt_sysroot=
6770 case ${with_sysroot} in #(
6771  yes)
6772    if test "$GCC" = yes; then
6773      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6774    fi
6775    ;; #(
6776  /*)
6777    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6778    ;; #(
6779  no|'')
6780    ;; #(
6781  *)
6782    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6783 $as_echo "${with_sysroot}" >&6; }
6784    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6785    ;;
6786 esac
6787
6788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6789 $as_echo "${lt_sysroot:-no}" >&6; }
6790
6791
6792
6793
6794
6795 # Check whether --enable-libtool-lock was given.
6796 if test "${enable_libtool_lock+set}" = set; then :
6797   enableval=$enable_libtool_lock;
6798 fi
6799
6800 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6801
6802 # Some flags need to be propagated to the compiler or linker for good
6803 # libtool support.
6804 case $host in
6805 ia64-*-hpux*)
6806   # Find out which ABI we are using.
6807   echo 'int i;' > conftest.$ac_ext
6808   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6809   (eval $ac_compile) 2>&5
6810   ac_status=$?
6811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6812   test $ac_status = 0; }; then
6813     case `/usr/bin/file conftest.$ac_objext` in
6814       *ELF-32*)
6815         HPUX_IA64_MODE="32"
6816         ;;
6817       *ELF-64*)
6818         HPUX_IA64_MODE="64"
6819         ;;
6820     esac
6821   fi
6822   rm -rf conftest*
6823   ;;
6824 *-*-irix6*)
6825   # Find out which ABI we are using.
6826   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6827   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6828   (eval $ac_compile) 2>&5
6829   ac_status=$?
6830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6831   test $ac_status = 0; }; then
6832     if test "$lt_cv_prog_gnu_ld" = yes; then
6833       case `/usr/bin/file conftest.$ac_objext` in
6834         *32-bit*)
6835           LD="${LD-ld} -melf32bsmip"
6836           ;;
6837         *N32*)
6838           LD="${LD-ld} -melf32bmipn32"
6839           ;;
6840         *64-bit*)
6841           LD="${LD-ld} -melf64bmip"
6842         ;;
6843       esac
6844     else
6845       case `/usr/bin/file conftest.$ac_objext` in
6846         *32-bit*)
6847           LD="${LD-ld} -32"
6848           ;;
6849         *N32*)
6850           LD="${LD-ld} -n32"
6851           ;;
6852         *64-bit*)
6853           LD="${LD-ld} -64"
6854           ;;
6855       esac
6856     fi
6857   fi
6858   rm -rf conftest*
6859   ;;
6860
6861 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6862 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6863   # Find out which ABI we are using.
6864   echo 'int i;' > conftest.$ac_ext
6865   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6866   (eval $ac_compile) 2>&5
6867   ac_status=$?
6868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6869   test $ac_status = 0; }; then
6870     case `/usr/bin/file conftest.o` in
6871       *32-bit*)
6872         case $host in
6873           x86_64-*kfreebsd*-gnu)
6874             LD="${LD-ld} -m elf_i386_fbsd"
6875             ;;
6876           x86_64-*linux*)
6877             LD="${LD-ld} -m elf_i386"
6878             ;;
6879           ppc64-*linux*|powerpc64-*linux*)
6880             LD="${LD-ld} -m elf32ppclinux"
6881             ;;
6882           s390x-*linux*)
6883             LD="${LD-ld} -m elf_s390"
6884             ;;
6885           sparc64-*linux*)
6886             LD="${LD-ld} -m elf32_sparc"
6887             ;;
6888         esac
6889         ;;
6890       *64-bit*)
6891         case $host in
6892           x86_64-*kfreebsd*-gnu)
6893             LD="${LD-ld} -m elf_x86_64_fbsd"
6894             ;;
6895           x86_64-*linux*)
6896             LD="${LD-ld} -m elf_x86_64"
6897             ;;
6898           ppc*-*linux*|powerpc*-*linux*)
6899             LD="${LD-ld} -m elf64ppc"
6900             ;;
6901           s390*-*linux*|s390*-*tpf*)
6902             LD="${LD-ld} -m elf64_s390"
6903             ;;
6904           sparc*-*linux*)
6905             LD="${LD-ld} -m elf64_sparc"
6906             ;;
6907         esac
6908         ;;
6909     esac
6910   fi
6911   rm -rf conftest*
6912   ;;
6913
6914 *-*-sco3.2v5*)
6915   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6916   SAVE_CFLAGS="$CFLAGS"
6917   CFLAGS="$CFLAGS -belf"
6918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6919 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6920 if ${lt_cv_cc_needs_belf+:} false; then :
6921   $as_echo_n "(cached) " >&6
6922 else
6923   ac_ext=c
6924 ac_cpp='$CPP $CPPFLAGS'
6925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6928
6929      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6930 /* end confdefs.h.  */
6931
6932 int
6933 main ()
6934 {
6935
6936   ;
6937   return 0;
6938 }
6939 _ACEOF
6940 if ac_fn_c_try_link "$LINENO"; then :
6941   lt_cv_cc_needs_belf=yes
6942 else
6943   lt_cv_cc_needs_belf=no
6944 fi
6945 rm -f core conftest.err conftest.$ac_objext \
6946     conftest$ac_exeext conftest.$ac_ext
6947      ac_ext=c
6948 ac_cpp='$CPP $CPPFLAGS'
6949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6952
6953 fi
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6955 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6956   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6957     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6958     CFLAGS="$SAVE_CFLAGS"
6959   fi
6960   ;;
6961 *-*solaris*)
6962   # Find out which ABI we are using.
6963   echo 'int i;' > conftest.$ac_ext
6964   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6965   (eval $ac_compile) 2>&5
6966   ac_status=$?
6967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6968   test $ac_status = 0; }; then
6969     case `/usr/bin/file conftest.o` in
6970     *64-bit*)
6971       case $lt_cv_prog_gnu_ld in
6972       yes*)
6973         case $host in
6974         i?86-*-solaris*)
6975           LD="${LD-ld} -m elf_x86_64"
6976           ;;
6977         sparc*-*-solaris*)
6978           LD="${LD-ld} -m elf64_sparc"
6979           ;;
6980         esac
6981         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6982         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6983           LD="${LD-ld}_sol2"
6984         fi
6985         ;;
6986       *)
6987         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6988           LD="${LD-ld} -64"
6989         fi
6990         ;;
6991       esac
6992       ;;
6993     esac
6994   fi
6995   rm -rf conftest*
6996   ;;
6997 esac
6998
6999 need_locks="$enable_libtool_lock"
7000
7001 if test -n "$ac_tool_prefix"; then
7002   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7003 set dummy ${ac_tool_prefix}mt; ac_word=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7007   $as_echo_n "(cached) " >&6
7008 else
7009   if test -n "$MANIFEST_TOOL"; then
7010   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7011 else
7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013 for as_dir in $PATH
7014 do
7015   IFS=$as_save_IFS
7016   test -z "$as_dir" && as_dir=.
7017     for ac_exec_ext in '' $ac_executable_extensions; do
7018   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7019     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021     break 2
7022   fi
7023 done
7024   done
7025 IFS=$as_save_IFS
7026
7027 fi
7028 fi
7029 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7030 if test -n "$MANIFEST_TOOL"; then
7031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7032 $as_echo "$MANIFEST_TOOL" >&6; }
7033 else
7034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7036 fi
7037
7038
7039 fi
7040 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7041   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7042   # Extract the first word of "mt", so it can be a program name with args.
7043 set dummy mt; ac_word=$2
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045 $as_echo_n "checking for $ac_word... " >&6; }
7046 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7047   $as_echo_n "(cached) " >&6
7048 else
7049   if test -n "$ac_ct_MANIFEST_TOOL"; then
7050   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7051 else
7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053 for as_dir in $PATH
7054 do
7055   IFS=$as_save_IFS
7056   test -z "$as_dir" && as_dir=.
7057     for ac_exec_ext in '' $ac_executable_extensions; do
7058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7059     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7061     break 2
7062   fi
7063 done
7064   done
7065 IFS=$as_save_IFS
7066
7067 fi
7068 fi
7069 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7070 if test -n "$ac_ct_MANIFEST_TOOL"; then
7071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7072 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7073 else
7074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075 $as_echo "no" >&6; }
7076 fi
7077
7078   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7079     MANIFEST_TOOL=":"
7080   else
7081     case $cross_compiling:$ac_tool_warned in
7082 yes:)
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7085 ac_tool_warned=yes ;;
7086 esac
7087     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7088   fi
7089 else
7090   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7091 fi
7092
7093 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7095 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7096 if ${lt_cv_path_mainfest_tool+:} false; then :
7097   $as_echo_n "(cached) " >&6
7098 else
7099   lt_cv_path_mainfest_tool=no
7100   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7101   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7102   cat conftest.err >&5
7103   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7104     lt_cv_path_mainfest_tool=yes
7105   fi
7106   rm -f conftest*
7107 fi
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7109 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7110 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7111   MANIFEST_TOOL=:
7112 fi
7113
7114
7115
7116
7117
7118
7119   case $host_os in
7120     rhapsody* | darwin*)
7121     if test -n "$ac_tool_prefix"; then
7122   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7123 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7125 $as_echo_n "checking for $ac_word... " >&6; }
7126 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7127   $as_echo_n "(cached) " >&6
7128 else
7129   if test -n "$DSYMUTIL"; then
7130   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7131 else
7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133 for as_dir in $PATH
7134 do
7135   IFS=$as_save_IFS
7136   test -z "$as_dir" && as_dir=.
7137     for ac_exec_ext in '' $ac_executable_extensions; do
7138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7139     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7141     break 2
7142   fi
7143 done
7144   done
7145 IFS=$as_save_IFS
7146
7147 fi
7148 fi
7149 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7150 if test -n "$DSYMUTIL"; then
7151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7152 $as_echo "$DSYMUTIL" >&6; }
7153 else
7154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155 $as_echo "no" >&6; }
7156 fi
7157
7158
7159 fi
7160 if test -z "$ac_cv_prog_DSYMUTIL"; then
7161   ac_ct_DSYMUTIL=$DSYMUTIL
7162   # Extract the first word of "dsymutil", so it can be a program name with args.
7163 set dummy dsymutil; ac_word=$2
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 $as_echo_n "checking for $ac_word... " >&6; }
7166 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7167   $as_echo_n "(cached) " >&6
7168 else
7169   if test -n "$ac_ct_DSYMUTIL"; then
7170   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7171 else
7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7173 for as_dir in $PATH
7174 do
7175   IFS=$as_save_IFS
7176   test -z "$as_dir" && as_dir=.
7177     for ac_exec_ext in '' $ac_executable_extensions; do
7178   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7179     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7181     break 2
7182   fi
7183 done
7184   done
7185 IFS=$as_save_IFS
7186
7187 fi
7188 fi
7189 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7190 if test -n "$ac_ct_DSYMUTIL"; then
7191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7192 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7193 else
7194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7195 $as_echo "no" >&6; }
7196 fi
7197
7198   if test "x$ac_ct_DSYMUTIL" = x; then
7199     DSYMUTIL=":"
7200   else
7201     case $cross_compiling:$ac_tool_warned in
7202 yes:)
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7205 ac_tool_warned=yes ;;
7206 esac
7207     DSYMUTIL=$ac_ct_DSYMUTIL
7208   fi
7209 else
7210   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7211 fi
7212
7213     if test -n "$ac_tool_prefix"; then
7214   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7215 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7217 $as_echo_n "checking for $ac_word... " >&6; }
7218 if ${ac_cv_prog_NMEDIT+:} false; then :
7219   $as_echo_n "(cached) " >&6
7220 else
7221   if test -n "$NMEDIT"; then
7222   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7223 else
7224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225 for as_dir in $PATH
7226 do
7227   IFS=$as_save_IFS
7228   test -z "$as_dir" && as_dir=.
7229     for ac_exec_ext in '' $ac_executable_extensions; do
7230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7231     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7232     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7233     break 2
7234   fi
7235 done
7236   done
7237 IFS=$as_save_IFS
7238
7239 fi
7240 fi
7241 NMEDIT=$ac_cv_prog_NMEDIT
7242 if test -n "$NMEDIT"; then
7243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7244 $as_echo "$NMEDIT" >&6; }
7245 else
7246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 $as_echo "no" >&6; }
7248 fi
7249
7250
7251 fi
7252 if test -z "$ac_cv_prog_NMEDIT"; then
7253   ac_ct_NMEDIT=$NMEDIT
7254   # Extract the first word of "nmedit", so it can be a program name with args.
7255 set dummy nmedit; ac_word=$2
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7257 $as_echo_n "checking for $ac_word... " >&6; }
7258 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7259   $as_echo_n "(cached) " >&6
7260 else
7261   if test -n "$ac_ct_NMEDIT"; then
7262   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7263 else
7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7265 for as_dir in $PATH
7266 do
7267   IFS=$as_save_IFS
7268   test -z "$as_dir" && as_dir=.
7269     for ac_exec_ext in '' $ac_executable_extensions; do
7270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7271     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7273     break 2
7274   fi
7275 done
7276   done
7277 IFS=$as_save_IFS
7278
7279 fi
7280 fi
7281 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7282 if test -n "$ac_ct_NMEDIT"; then
7283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7284 $as_echo "$ac_ct_NMEDIT" >&6; }
7285 else
7286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287 $as_echo "no" >&6; }
7288 fi
7289
7290   if test "x$ac_ct_NMEDIT" = x; then
7291     NMEDIT=":"
7292   else
7293     case $cross_compiling:$ac_tool_warned in
7294 yes:)
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7297 ac_tool_warned=yes ;;
7298 esac
7299     NMEDIT=$ac_ct_NMEDIT
7300   fi
7301 else
7302   NMEDIT="$ac_cv_prog_NMEDIT"
7303 fi
7304
7305     if test -n "$ac_tool_prefix"; then
7306   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7307 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 $as_echo_n "checking for $ac_word... " >&6; }
7310 if ${ac_cv_prog_LIPO+:} false; then :
7311   $as_echo_n "(cached) " >&6
7312 else
7313   if test -n "$LIPO"; then
7314   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7315 else
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 for as_dir in $PATH
7318 do
7319   IFS=$as_save_IFS
7320   test -z "$as_dir" && as_dir=.
7321     for ac_exec_ext in '' $ac_executable_extensions; do
7322   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7323     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7325     break 2
7326   fi
7327 done
7328   done
7329 IFS=$as_save_IFS
7330
7331 fi
7332 fi
7333 LIPO=$ac_cv_prog_LIPO
7334 if test -n "$LIPO"; then
7335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7336 $as_echo "$LIPO" >&6; }
7337 else
7338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7339 $as_echo "no" >&6; }
7340 fi
7341
7342
7343 fi
7344 if test -z "$ac_cv_prog_LIPO"; then
7345   ac_ct_LIPO=$LIPO
7346   # Extract the first word of "lipo", so it can be a program name with args.
7347 set dummy lipo; ac_word=$2
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349 $as_echo_n "checking for $ac_word... " >&6; }
7350 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7351   $as_echo_n "(cached) " >&6
7352 else
7353   if test -n "$ac_ct_LIPO"; then
7354   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7355 else
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7357 for as_dir in $PATH
7358 do
7359   IFS=$as_save_IFS
7360   test -z "$as_dir" && as_dir=.
7361     for ac_exec_ext in '' $ac_executable_extensions; do
7362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7363     ac_cv_prog_ac_ct_LIPO="lipo"
7364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7365     break 2
7366   fi
7367 done
7368   done
7369 IFS=$as_save_IFS
7370
7371 fi
7372 fi
7373 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7374 if test -n "$ac_ct_LIPO"; then
7375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7376 $as_echo "$ac_ct_LIPO" >&6; }
7377 else
7378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 $as_echo "no" >&6; }
7380 fi
7381
7382   if test "x$ac_ct_LIPO" = x; then
7383     LIPO=":"
7384   else
7385     case $cross_compiling:$ac_tool_warned in
7386 yes:)
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7389 ac_tool_warned=yes ;;
7390 esac
7391     LIPO=$ac_ct_LIPO
7392   fi
7393 else
7394   LIPO="$ac_cv_prog_LIPO"
7395 fi
7396
7397     if test -n "$ac_tool_prefix"; then
7398   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7399 set dummy ${ac_tool_prefix}otool; ac_word=$2
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7401 $as_echo_n "checking for $ac_word... " >&6; }
7402 if ${ac_cv_prog_OTOOL+:} false; then :
7403   $as_echo_n "(cached) " >&6
7404 else
7405   if test -n "$OTOOL"; then
7406   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7407 else
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409 for as_dir in $PATH
7410 do
7411   IFS=$as_save_IFS
7412   test -z "$as_dir" && as_dir=.
7413     for ac_exec_ext in '' $ac_executable_extensions; do
7414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7415     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7417     break 2
7418   fi
7419 done
7420   done
7421 IFS=$as_save_IFS
7422
7423 fi
7424 fi
7425 OTOOL=$ac_cv_prog_OTOOL
7426 if test -n "$OTOOL"; then
7427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7428 $as_echo "$OTOOL" >&6; }
7429 else
7430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431 $as_echo "no" >&6; }
7432 fi
7433
7434
7435 fi
7436 if test -z "$ac_cv_prog_OTOOL"; then
7437   ac_ct_OTOOL=$OTOOL
7438   # Extract the first word of "otool", so it can be a program name with args.
7439 set dummy otool; ac_word=$2
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441 $as_echo_n "checking for $ac_word... " >&6; }
7442 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7443   $as_echo_n "(cached) " >&6
7444 else
7445   if test -n "$ac_ct_OTOOL"; then
7446   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7447 else
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449 for as_dir in $PATH
7450 do
7451   IFS=$as_save_IFS
7452   test -z "$as_dir" && as_dir=.
7453     for ac_exec_ext in '' $ac_executable_extensions; do
7454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7455     ac_cv_prog_ac_ct_OTOOL="otool"
7456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7457     break 2
7458   fi
7459 done
7460   done
7461 IFS=$as_save_IFS
7462
7463 fi
7464 fi
7465 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7466 if test -n "$ac_ct_OTOOL"; then
7467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7468 $as_echo "$ac_ct_OTOOL" >&6; }
7469 else
7470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 $as_echo "no" >&6; }
7472 fi
7473
7474   if test "x$ac_ct_OTOOL" = x; then
7475     OTOOL=":"
7476   else
7477     case $cross_compiling:$ac_tool_warned in
7478 yes:)
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7481 ac_tool_warned=yes ;;
7482 esac
7483     OTOOL=$ac_ct_OTOOL
7484   fi
7485 else
7486   OTOOL="$ac_cv_prog_OTOOL"
7487 fi
7488
7489     if test -n "$ac_tool_prefix"; then
7490   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7491 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7493 $as_echo_n "checking for $ac_word... " >&6; }
7494 if ${ac_cv_prog_OTOOL64+:} false; then :
7495   $as_echo_n "(cached) " >&6
7496 else
7497   if test -n "$OTOOL64"; then
7498   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7499 else
7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7501 for as_dir in $PATH
7502 do
7503   IFS=$as_save_IFS
7504   test -z "$as_dir" && as_dir=.
7505     for ac_exec_ext in '' $ac_executable_extensions; do
7506   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7507     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7509     break 2
7510   fi
7511 done
7512   done
7513 IFS=$as_save_IFS
7514
7515 fi
7516 fi
7517 OTOOL64=$ac_cv_prog_OTOOL64
7518 if test -n "$OTOOL64"; then
7519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7520 $as_echo "$OTOOL64" >&6; }
7521 else
7522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7523 $as_echo "no" >&6; }
7524 fi
7525
7526
7527 fi
7528 if test -z "$ac_cv_prog_OTOOL64"; then
7529   ac_ct_OTOOL64=$OTOOL64
7530   # Extract the first word of "otool64", so it can be a program name with args.
7531 set dummy otool64; ac_word=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533 $as_echo_n "checking for $ac_word... " >&6; }
7534 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7535   $as_echo_n "(cached) " >&6
7536 else
7537   if test -n "$ac_ct_OTOOL64"; then
7538   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7539 else
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7541 for as_dir in $PATH
7542 do
7543   IFS=$as_save_IFS
7544   test -z "$as_dir" && as_dir=.
7545     for ac_exec_ext in '' $ac_executable_extensions; do
7546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7547     ac_cv_prog_ac_ct_OTOOL64="otool64"
7548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7549     break 2
7550   fi
7551 done
7552   done
7553 IFS=$as_save_IFS
7554
7555 fi
7556 fi
7557 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7558 if test -n "$ac_ct_OTOOL64"; then
7559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7560 $as_echo "$ac_ct_OTOOL64" >&6; }
7561 else
7562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7564 fi
7565
7566   if test "x$ac_ct_OTOOL64" = x; then
7567     OTOOL64=":"
7568   else
7569     case $cross_compiling:$ac_tool_warned in
7570 yes:)
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7573 ac_tool_warned=yes ;;
7574 esac
7575     OTOOL64=$ac_ct_OTOOL64
7576   fi
7577 else
7578   OTOOL64="$ac_cv_prog_OTOOL64"
7579 fi
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7608 $as_echo_n "checking for -single_module linker flag... " >&6; }
7609 if ${lt_cv_apple_cc_single_mod+:} false; then :
7610   $as_echo_n "(cached) " >&6
7611 else
7612   lt_cv_apple_cc_single_mod=no
7613       if test -z "${LT_MULTI_MODULE}"; then
7614         # By default we will add the -single_module flag. You can override
7615         # by either setting the environment variable LT_MULTI_MODULE
7616         # non-empty at configure time, or by adding -multi_module to the
7617         # link flags.
7618         rm -rf libconftest.dylib*
7619         echo "int foo(void){return 1;}" > conftest.c
7620         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7621 -dynamiclib -Wl,-single_module conftest.c" >&5
7622         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7623           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7624         _lt_result=$?
7625         # If there is a non-empty error log, and "single_module"
7626         # appears in it, assume the flag caused a linker warning
7627         if test -s conftest.err && $GREP single_module conftest.err; then
7628           cat conftest.err >&5
7629         # Otherwise, if the output was created with a 0 exit code from
7630         # the compiler, it worked.
7631         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7632           lt_cv_apple_cc_single_mod=yes
7633         else
7634           cat conftest.err >&5
7635         fi
7636         rm -rf libconftest.dylib*
7637         rm -f conftest.*
7638       fi
7639 fi
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7641 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7642
7643     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7644 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7645 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7646   $as_echo_n "(cached) " >&6
7647 else
7648   lt_cv_ld_exported_symbols_list=no
7649       save_LDFLAGS=$LDFLAGS
7650       echo "_main" > conftest.sym
7651       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h.  */
7654
7655 int
7656 main ()
7657 {
7658
7659   ;
7660   return 0;
7661 }
7662 _ACEOF
7663 if ac_fn_c_try_link "$LINENO"; then :
7664   lt_cv_ld_exported_symbols_list=yes
7665 else
7666   lt_cv_ld_exported_symbols_list=no
7667 fi
7668 rm -f core conftest.err conftest.$ac_objext \
7669     conftest$ac_exeext conftest.$ac_ext
7670         LDFLAGS="$save_LDFLAGS"
7671
7672 fi
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7674 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7675
7676     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7677 $as_echo_n "checking for -force_load linker flag... " >&6; }
7678 if ${lt_cv_ld_force_load+:} false; then :
7679   $as_echo_n "(cached) " >&6
7680 else
7681   lt_cv_ld_force_load=no
7682       cat > conftest.c << _LT_EOF
7683 int forced_loaded() { return 2;}
7684 _LT_EOF
7685       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7686       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7687       echo "$AR cru libconftest.a conftest.o" >&5
7688       $AR cru libconftest.a conftest.o 2>&5
7689       echo "$RANLIB libconftest.a" >&5
7690       $RANLIB libconftest.a 2>&5
7691       cat > conftest.c << _LT_EOF
7692 int main() { return 0;}
7693 _LT_EOF
7694       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7695       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7696       _lt_result=$?
7697       if test -s conftest.err && $GREP force_load conftest.err; then
7698         cat conftest.err >&5
7699       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7700         lt_cv_ld_force_load=yes
7701       else
7702         cat conftest.err >&5
7703       fi
7704         rm -f conftest.err libconftest.a conftest conftest.c
7705         rm -rf conftest.dSYM
7706
7707 fi
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7709 $as_echo "$lt_cv_ld_force_load" >&6; }
7710     case $host_os in
7711     rhapsody* | darwin1.[012])
7712       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7713     darwin1.*)
7714       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7715     darwin*) # darwin 5.x on
7716       # if running on 10.5 or later, the deployment target defaults
7717       # to the OS version, if on x86, and 10.4, the deployment
7718       # target defaults to 10.4. Don't you love it?
7719       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7720         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7721           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7722         10.[012]*)
7723           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7724         10.*)
7725           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7726       esac
7727     ;;
7728   esac
7729     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7730       _lt_dar_single_mod='$single_module'
7731     fi
7732     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7733       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7734     else
7735       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7736     fi
7737     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7738       _lt_dsymutil='~$DSYMUTIL $lib || :'
7739     else
7740       _lt_dsymutil=
7741     fi
7742     ;;
7743   esac
7744
7745 ac_ext=c
7746 ac_cpp='$CPP $CPPFLAGS'
7747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7751 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7752 # On Suns, sometimes $CPP names a directory.
7753 if test -n "$CPP" && test -d "$CPP"; then
7754   CPP=
7755 fi
7756 if test -z "$CPP"; then
7757   if ${ac_cv_prog_CPP+:} false; then :
7758   $as_echo_n "(cached) " >&6
7759 else
7760       # Double quotes because CPP needs to be expanded
7761     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7762     do
7763       ac_preproc_ok=false
7764 for ac_c_preproc_warn_flag in '' yes
7765 do
7766   # Use a header file that comes with gcc, so configuring glibc
7767   # with a fresh cross-compiler works.
7768   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7769   # <limits.h> exists even on freestanding compilers.
7770   # On the NeXT, cc -E runs the code through the compiler's parser,
7771   # not just through cpp. "Syntax error" is here to catch this case.
7772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7773 /* end confdefs.h.  */
7774 #ifdef __STDC__
7775 # include <limits.h>
7776 #else
7777 # include <assert.h>
7778 #endif
7779                      Syntax error
7780 _ACEOF
7781 if ac_fn_c_try_cpp "$LINENO"; then :
7782
7783 else
7784   # Broken: fails on valid input.
7785 continue
7786 fi
7787 rm -f conftest.err conftest.i conftest.$ac_ext
7788
7789   # OK, works on sane cases.  Now check whether nonexistent headers
7790   # can be detected and how.
7791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7792 /* end confdefs.h.  */
7793 #include <ac_nonexistent.h>
7794 _ACEOF
7795 if ac_fn_c_try_cpp "$LINENO"; then :
7796   # Broken: success on invalid input.
7797 continue
7798 else
7799   # Passes both tests.
7800 ac_preproc_ok=:
7801 break
7802 fi
7803 rm -f conftest.err conftest.i conftest.$ac_ext
7804
7805 done
7806 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7807 rm -f conftest.i conftest.err conftest.$ac_ext
7808 if $ac_preproc_ok; then :
7809   break
7810 fi
7811
7812     done
7813     ac_cv_prog_CPP=$CPP
7814
7815 fi
7816   CPP=$ac_cv_prog_CPP
7817 else
7818   ac_cv_prog_CPP=$CPP
7819 fi
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7821 $as_echo "$CPP" >&6; }
7822 ac_preproc_ok=false
7823 for ac_c_preproc_warn_flag in '' yes
7824 do
7825   # Use a header file that comes with gcc, so configuring glibc
7826   # with a fresh cross-compiler works.
7827   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7828   # <limits.h> exists even on freestanding compilers.
7829   # On the NeXT, cc -E runs the code through the compiler's parser,
7830   # not just through cpp. "Syntax error" is here to catch this case.
7831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7832 /* end confdefs.h.  */
7833 #ifdef __STDC__
7834 # include <limits.h>
7835 #else
7836 # include <assert.h>
7837 #endif
7838                      Syntax error
7839 _ACEOF
7840 if ac_fn_c_try_cpp "$LINENO"; then :
7841
7842 else
7843   # Broken: fails on valid input.
7844 continue
7845 fi
7846 rm -f conftest.err conftest.i conftest.$ac_ext
7847
7848   # OK, works on sane cases.  Now check whether nonexistent headers
7849   # can be detected and how.
7850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h.  */
7852 #include <ac_nonexistent.h>
7853 _ACEOF
7854 if ac_fn_c_try_cpp "$LINENO"; then :
7855   # Broken: success on invalid input.
7856 continue
7857 else
7858   # Passes both tests.
7859 ac_preproc_ok=:
7860 break
7861 fi
7862 rm -f conftest.err conftest.i conftest.$ac_ext
7863
7864 done
7865 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7866 rm -f conftest.i conftest.err conftest.$ac_ext
7867 if $ac_preproc_ok; then :
7868
7869 else
7870   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7872 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7873 See \`config.log' for more details" "$LINENO" 5; }
7874 fi
7875
7876 ac_ext=c
7877 ac_cpp='$CPP $CPPFLAGS'
7878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7881
7882
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7884 $as_echo_n "checking for ANSI C header files... " >&6; }
7885 if ${ac_cv_header_stdc+:} false; then :
7886   $as_echo_n "(cached) " >&6
7887 else
7888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h.  */
7890 #include <stdlib.h>
7891 #include <stdarg.h>
7892 #include <string.h>
7893 #include <float.h>
7894
7895 int
7896 main ()
7897 {
7898
7899   ;
7900   return 0;
7901 }
7902 _ACEOF
7903 if ac_fn_c_try_compile "$LINENO"; then :
7904   ac_cv_header_stdc=yes
7905 else
7906   ac_cv_header_stdc=no
7907 fi
7908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7909
7910 if test $ac_cv_header_stdc = yes; then
7911   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h.  */
7914 #include <string.h>
7915
7916 _ACEOF
7917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7918   $EGREP "memchr" >/dev/null 2>&1; then :
7919
7920 else
7921   ac_cv_header_stdc=no
7922 fi
7923 rm -f conftest*
7924
7925 fi
7926
7927 if test $ac_cv_header_stdc = yes; then
7928   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7930 /* end confdefs.h.  */
7931 #include <stdlib.h>
7932
7933 _ACEOF
7934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7935   $EGREP "free" >/dev/null 2>&1; then :
7936
7937 else
7938   ac_cv_header_stdc=no
7939 fi
7940 rm -f conftest*
7941
7942 fi
7943
7944 if test $ac_cv_header_stdc = yes; then
7945   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7946   if test "$cross_compiling" = yes; then :
7947   :
7948 else
7949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7950 /* end confdefs.h.  */
7951 #include <ctype.h>
7952 #include <stdlib.h>
7953 #if ((' ' & 0x0FF) == 0x020)
7954 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7955 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7956 #else
7957 # define ISLOWER(c) \
7958                    (('a' <= (c) && (c) <= 'i') \
7959                      || ('j' <= (c) && (c) <= 'r') \
7960                      || ('s' <= (c) && (c) <= 'z'))
7961 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7962 #endif
7963
7964 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7965 int
7966 main ()
7967 {
7968   int i;
7969   for (i = 0; i < 256; i++)
7970     if (XOR (islower (i), ISLOWER (i))
7971         || toupper (i) != TOUPPER (i))
7972       return 2;
7973   return 0;
7974 }
7975 _ACEOF
7976 if ac_fn_c_try_run "$LINENO"; then :
7977
7978 else
7979   ac_cv_header_stdc=no
7980 fi
7981 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7982   conftest.$ac_objext conftest.beam conftest.$ac_ext
7983 fi
7984
7985 fi
7986 fi
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7988 $as_echo "$ac_cv_header_stdc" >&6; }
7989 if test $ac_cv_header_stdc = yes; then
7990
7991 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7992
7993 fi
7994
7995 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7996 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7997                   inttypes.h stdint.h unistd.h
7998 do :
7999   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8000 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8001 "
8002 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8003   cat >>confdefs.h <<_ACEOF
8004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005 _ACEOF
8006
8007 fi
8008
8009 done
8010
8011
8012 for ac_header in dlfcn.h
8013 do :
8014   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8015 "
8016 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8017   cat >>confdefs.h <<_ACEOF
8018 #define HAVE_DLFCN_H 1
8019 _ACEOF
8020
8021 fi
8022
8023 done
8024
8025
8026
8027
8028
8029 # Set options
8030
8031
8032
8033         enable_dlopen=no
8034
8035
8036
8037             # Check whether --enable-shared was given.
8038 if test "${enable_shared+set}" = set; then :
8039   enableval=$enable_shared; p=${PACKAGE-default}
8040     case $enableval in
8041     yes) enable_shared=yes ;;
8042     no) enable_shared=no ;;
8043     *)
8044       enable_shared=no
8045       # Look at the argument we got.  We use all the common list separators.
8046       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8047       for pkg in $enableval; do
8048         IFS="$lt_save_ifs"
8049         if test "X$pkg" = "X$p"; then
8050           enable_shared=yes
8051         fi
8052       done
8053       IFS="$lt_save_ifs"
8054       ;;
8055     esac
8056 else
8057   enable_shared=yes
8058 fi
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068   # Check whether --enable-static was given.
8069 if test "${enable_static+set}" = set; then :
8070   enableval=$enable_static; p=${PACKAGE-default}
8071     case $enableval in
8072     yes) enable_static=yes ;;
8073     no) enable_static=no ;;
8074     *)
8075      enable_static=no
8076       # Look at the argument we got.  We use all the common list separators.
8077       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8078       for pkg in $enableval; do
8079         IFS="$lt_save_ifs"
8080         if test "X$pkg" = "X$p"; then
8081           enable_static=yes
8082         fi
8083       done
8084       IFS="$lt_save_ifs"
8085       ;;
8086     esac
8087 else
8088   enable_static=yes
8089 fi
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100 # Check whether --with-pic was given.
8101 if test "${with_pic+set}" = set; then :
8102   withval=$with_pic; lt_p=${PACKAGE-default}
8103     case $withval in
8104     yes|no) pic_mode=$withval ;;
8105     *)
8106       pic_mode=default
8107       # Look at the argument we got.  We use all the common list separators.
8108       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8109       for lt_pkg in $withval; do
8110         IFS="$lt_save_ifs"
8111         if test "X$lt_pkg" = "X$lt_p"; then
8112           pic_mode=yes
8113         fi
8114       done
8115       IFS="$lt_save_ifs"
8116       ;;
8117     esac
8118 else
8119   pic_mode=default
8120 fi
8121
8122
8123 test -z "$pic_mode" && pic_mode=default
8124
8125
8126
8127
8128
8129
8130
8131   # Check whether --enable-fast-install was given.
8132 if test "${enable_fast_install+set}" = set; then :
8133   enableval=$enable_fast_install; p=${PACKAGE-default}
8134     case $enableval in
8135     yes) enable_fast_install=yes ;;
8136     no) enable_fast_install=no ;;
8137     *)
8138       enable_fast_install=no
8139       # Look at the argument we got.  We use all the common list separators.
8140       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8141       for pkg in $enableval; do
8142         IFS="$lt_save_ifs"
8143         if test "X$pkg" = "X$p"; then
8144           enable_fast_install=yes
8145         fi
8146       done
8147       IFS="$lt_save_ifs"
8148       ;;
8149     esac
8150 else
8151   enable_fast_install=yes
8152 fi
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164 # This can be used to rebuild libtool when needed
8165 LIBTOOL_DEPS="$ltmain"
8166
8167 # Always use our own libtool.
8168 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199 test -z "$LN_S" && LN_S="ln -s"
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214 if test -n "${ZSH_VERSION+set}" ; then
8215    setopt NO_GLOB_SUBST
8216 fi
8217
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8219 $as_echo_n "checking for objdir... " >&6; }
8220 if ${lt_cv_objdir+:} false; then :
8221   $as_echo_n "(cached) " >&6
8222 else
8223   rm -f .libs 2>/dev/null
8224 mkdir .libs 2>/dev/null
8225 if test -d .libs; then
8226   lt_cv_objdir=.libs
8227 else
8228   # MS-DOS does not allow filenames that begin with a dot.
8229   lt_cv_objdir=_libs
8230 fi
8231 rmdir .libs 2>/dev/null
8232 fi
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8234 $as_echo "$lt_cv_objdir" >&6; }
8235 objdir=$lt_cv_objdir
8236
8237
8238
8239
8240
8241 cat >>confdefs.h <<_ACEOF
8242 #define LT_OBJDIR "$lt_cv_objdir/"
8243 _ACEOF
8244
8245
8246
8247
8248 case $host_os in
8249 aix3*)
8250   # AIX sometimes has problems with the GCC collect2 program.  For some
8251   # reason, if we set the COLLECT_NAMES environment variable, the problems
8252   # vanish in a puff of smoke.
8253   if test "X${COLLECT_NAMES+set}" != Xset; then
8254     COLLECT_NAMES=
8255     export COLLECT_NAMES
8256   fi
8257   ;;
8258 esac
8259
8260 # Global variables:
8261 ofile=libtool
8262 can_build_shared=yes
8263
8264 # All known linkers require a `.a' archive for static linking (except MSVC,
8265 # which needs '.lib').
8266 libext=a
8267
8268 with_gnu_ld="$lt_cv_prog_gnu_ld"
8269
8270 old_CC="$CC"
8271 old_CFLAGS="$CFLAGS"
8272
8273 # Set sane defaults for various variables
8274 test -z "$CC" && CC=cc
8275 test -z "$LTCC" && LTCC=$CC
8276 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8277 test -z "$LD" && LD=ld
8278 test -z "$ac_objext" && ac_objext=o
8279
8280 for cc_temp in $compiler""; do
8281   case $cc_temp in
8282     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8283     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8284     \-*) ;;
8285     *) break;;
8286   esac
8287 done
8288 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8289
8290
8291 # Only perform the check for file, if the check method requires it
8292 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8293 case $deplibs_check_method in
8294 file_magic*)
8295   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8296     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8297 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8298 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8299   $as_echo_n "(cached) " >&6
8300 else
8301   case $MAGIC_CMD in
8302 [\\/*] |  ?:[\\/]*)
8303   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8304   ;;
8305 *)
8306   lt_save_MAGIC_CMD="$MAGIC_CMD"
8307   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8308   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8309   for ac_dir in $ac_dummy; do
8310     IFS="$lt_save_ifs"
8311     test -z "$ac_dir" && ac_dir=.
8312     if test -f $ac_dir/${ac_tool_prefix}file; then
8313       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8314       if test -n "$file_magic_test_file"; then
8315         case $deplibs_check_method in
8316         "file_magic "*)
8317           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8318           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8319           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8320             $EGREP "$file_magic_regex" > /dev/null; then
8321             :
8322           else
8323             cat <<_LT_EOF 1>&2
8324
8325 *** Warning: the command libtool uses to detect shared libraries,
8326 *** $file_magic_cmd, produces output that libtool cannot recognize.
8327 *** The result is that libtool may fail to recognize shared libraries
8328 *** as such.  This will affect the creation of libtool libraries that
8329 *** depend on shared libraries, but programs linked with such libtool
8330 *** libraries will work regardless of this problem.  Nevertheless, you
8331 *** may want to report the problem to your system manager and/or to
8332 *** bug-libtool@gnu.org
8333
8334 _LT_EOF
8335           fi ;;
8336         esac
8337       fi
8338       break
8339     fi
8340   done
8341   IFS="$lt_save_ifs"
8342   MAGIC_CMD="$lt_save_MAGIC_CMD"
8343   ;;
8344 esac
8345 fi
8346
8347 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8348 if test -n "$MAGIC_CMD"; then
8349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8350 $as_echo "$MAGIC_CMD" >&6; }
8351 else
8352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8354 fi
8355
8356
8357
8358
8359
8360 if test -z "$lt_cv_path_MAGIC_CMD"; then
8361   if test -n "$ac_tool_prefix"; then
8362     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8363 $as_echo_n "checking for file... " >&6; }
8364 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8365   $as_echo_n "(cached) " >&6
8366 else
8367   case $MAGIC_CMD in
8368 [\\/*] |  ?:[\\/]*)
8369   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8370   ;;
8371 *)
8372   lt_save_MAGIC_CMD="$MAGIC_CMD"
8373   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8374   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8375   for ac_dir in $ac_dummy; do
8376     IFS="$lt_save_ifs"
8377     test -z "$ac_dir" && ac_dir=.
8378     if test -f $ac_dir/file; then
8379       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8380       if test -n "$file_magic_test_file"; then
8381         case $deplibs_check_method in
8382         "file_magic "*)
8383           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8384           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8385           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8386             $EGREP "$file_magic_regex" > /dev/null; then
8387             :
8388           else
8389             cat <<_LT_EOF 1>&2
8390
8391 *** Warning: the command libtool uses to detect shared libraries,
8392 *** $file_magic_cmd, produces output that libtool cannot recognize.
8393 *** The result is that libtool may fail to recognize shared libraries
8394 *** as such.  This will affect the creation of libtool libraries that
8395 *** depend on shared libraries, but programs linked with such libtool
8396 *** libraries will work regardless of this problem.  Nevertheless, you
8397 *** may want to report the problem to your system manager and/or to
8398 *** bug-libtool@gnu.org
8399
8400 _LT_EOF
8401           fi ;;
8402         esac
8403       fi
8404       break
8405     fi
8406   done
8407   IFS="$lt_save_ifs"
8408   MAGIC_CMD="$lt_save_MAGIC_CMD"
8409   ;;
8410 esac
8411 fi
8412
8413 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8414 if test -n "$MAGIC_CMD"; then
8415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8416 $as_echo "$MAGIC_CMD" >&6; }
8417 else
8418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8420 fi
8421
8422
8423   else
8424     MAGIC_CMD=:
8425   fi
8426 fi
8427
8428   fi
8429   ;;
8430 esac
8431
8432 # Use C for the default configuration in the libtool script
8433
8434 lt_save_CC="$CC"
8435 ac_ext=c
8436 ac_cpp='$CPP $CPPFLAGS'
8437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8440
8441
8442 # Source file extension for C test sources.
8443 ac_ext=c
8444
8445 # Object file extension for compiled C test sources.
8446 objext=o
8447 objext=$objext
8448
8449 # Code to be used in simple compile tests
8450 lt_simple_compile_test_code="int some_variable = 0;"
8451
8452 # Code to be used in simple link tests
8453 lt_simple_link_test_code='int main(){return(0);}'
8454
8455
8456
8457
8458
8459
8460
8461 # If no C compiler was specified, use CC.
8462 LTCC=${LTCC-"$CC"}
8463
8464 # If no C compiler flags were specified, use CFLAGS.
8465 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8466
8467 # Allow CC to be a program name with arguments.
8468 compiler=$CC
8469
8470 # Save the default compiler, since it gets overwritten when the other
8471 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8472 compiler_DEFAULT=$CC
8473
8474 # save warnings/boilerplate of simple test code
8475 ac_outfile=conftest.$ac_objext
8476 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8477 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8478 _lt_compiler_boilerplate=`cat conftest.err`
8479 $RM conftest*
8480
8481 ac_outfile=conftest.$ac_objext
8482 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8483 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8484 _lt_linker_boilerplate=`cat conftest.err`
8485 $RM -r conftest*
8486
8487
8488 ## CAVEAT EMPTOR:
8489 ## There is no encapsulation within the following macros, do not change
8490 ## the running order or otherwise move them around unless you know exactly
8491 ## what you are doing...
8492 if test -n "$compiler"; then
8493
8494 lt_prog_compiler_no_builtin_flag=
8495
8496 if test "$GCC" = yes; then
8497   case $cc_basename in
8498   nvcc*)
8499     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8500   *)
8501     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8502   esac
8503
8504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8505 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8506 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8507   $as_echo_n "(cached) " >&6
8508 else
8509   lt_cv_prog_compiler_rtti_exceptions=no
8510    ac_outfile=conftest.$ac_objext
8511    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8512    lt_compiler_flag="-fno-rtti -fno-exceptions"
8513    # Insert the option either (1) after the last *FLAGS variable, or
8514    # (2) before a word containing "conftest.", or (3) at the end.
8515    # Note that $ac_compile itself does not contain backslashes and begins
8516    # with a dollar sign (not a hyphen), so the echo should work correctly.
8517    # The option is referenced via a variable to avoid confusing sed.
8518    lt_compile=`echo "$ac_compile" | $SED \
8519    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8520    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8521    -e 's:$: $lt_compiler_flag:'`
8522    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8523    (eval "$lt_compile" 2>conftest.err)
8524    ac_status=$?
8525    cat conftest.err >&5
8526    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527    if (exit $ac_status) && test -s "$ac_outfile"; then
8528      # The compiler can only warn and ignore the option if not recognized
8529      # So say no if there are warnings other than the usual output.
8530      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8531      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8532      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8533        lt_cv_prog_compiler_rtti_exceptions=yes
8534      fi
8535    fi
8536    $RM conftest*
8537
8538 fi
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8540 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8541
8542 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8543     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8544 else
8545     :
8546 fi
8547
8548 fi
8549
8550
8551
8552
8553
8554
8555   lt_prog_compiler_wl=
8556 lt_prog_compiler_pic=
8557 lt_prog_compiler_static=
8558
8559
8560   if test "$GCC" = yes; then
8561     lt_prog_compiler_wl='-Wl,'
8562     lt_prog_compiler_static='-static'
8563
8564     case $host_os in
8565       aix*)
8566       # All AIX code is PIC.
8567       if test "$host_cpu" = ia64; then
8568         # AIX 5 now supports IA64 processor
8569         lt_prog_compiler_static='-Bstatic'
8570       fi
8571       ;;
8572
8573     amigaos*)
8574       case $host_cpu in
8575       powerpc)
8576             # see comment about AmigaOS4 .so support
8577             lt_prog_compiler_pic='-fPIC'
8578         ;;
8579       m68k)
8580             # FIXME: we need at least 68020 code to build shared libraries, but
8581             # adding the `-m68020' flag to GCC prevents building anything better,
8582             # like `-m68040'.
8583             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8584         ;;
8585       esac
8586       ;;
8587
8588     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8589       # PIC is the default for these OSes.
8590       ;;
8591
8592     mingw* | cygwin* | pw32* | os2* | cegcc*)
8593       # This hack is so that the source file can tell whether it is being
8594       # built for inclusion in a dll (and should export symbols for example).
8595       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8596       # (--disable-auto-import) libraries
8597       lt_prog_compiler_pic='-DDLL_EXPORT'
8598       ;;
8599
8600     darwin* | rhapsody*)
8601       # PIC is the default on this platform
8602       # Common symbols not allowed in MH_DYLIB files
8603       lt_prog_compiler_pic='-fno-common'
8604       ;;
8605
8606     haiku*)
8607       # PIC is the default for Haiku.
8608       # The "-static" flag exists, but is broken.
8609       lt_prog_compiler_static=
8610       ;;
8611
8612     hpux*)
8613       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8614       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8615       # sets the default TLS model and affects inlining.
8616       case $host_cpu in
8617       hppa*64*)
8618         # +Z the default
8619         ;;
8620       *)
8621         lt_prog_compiler_pic='-fPIC'
8622         ;;
8623       esac
8624       ;;
8625
8626     interix[3-9]*)
8627       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8628       # Instead, we relocate shared libraries at runtime.
8629       ;;
8630
8631     msdosdjgpp*)
8632       # Just because we use GCC doesn't mean we suddenly get shared libraries
8633       # on systems that don't support them.
8634       lt_prog_compiler_can_build_shared=no
8635       enable_shared=no
8636       ;;
8637
8638     *nto* | *qnx*)
8639       # QNX uses GNU C++, but need to define -shared option too, otherwise
8640       # it will coredump.
8641       lt_prog_compiler_pic='-fPIC -shared'
8642       ;;
8643
8644     sysv4*MP*)
8645       if test -d /usr/nec; then
8646         lt_prog_compiler_pic=-Kconform_pic
8647       fi
8648       ;;
8649
8650     *)
8651       lt_prog_compiler_pic='-fPIC'
8652       ;;
8653     esac
8654
8655     case $cc_basename in
8656     nvcc*) # Cuda Compiler Driver 2.2
8657       lt_prog_compiler_wl='-Xlinker '
8658       if test -n "$lt_prog_compiler_pic"; then
8659         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8660       fi
8661       ;;
8662     esac
8663   else
8664     # PORTME Check for flag to pass linker flags through the system compiler.
8665     case $host_os in
8666     aix*)
8667       lt_prog_compiler_wl='-Wl,'
8668       if test "$host_cpu" = ia64; then
8669         # AIX 5 now supports IA64 processor
8670         lt_prog_compiler_static='-Bstatic'
8671       else
8672         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8673       fi
8674       ;;
8675
8676     mingw* | cygwin* | pw32* | os2* | cegcc*)
8677       # This hack is so that the source file can tell whether it is being
8678       # built for inclusion in a dll (and should export symbols for example).
8679       lt_prog_compiler_pic='-DDLL_EXPORT'
8680       ;;
8681
8682     hpux9* | hpux10* | hpux11*)
8683       lt_prog_compiler_wl='-Wl,'
8684       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8685       # not for PA HP-UX.
8686       case $host_cpu in
8687       hppa*64*|ia64*)
8688         # +Z the default
8689         ;;
8690       *)
8691         lt_prog_compiler_pic='+Z'
8692         ;;
8693       esac
8694       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8695       lt_prog_compiler_static='${wl}-a ${wl}archive'
8696       ;;
8697
8698     irix5* | irix6* | nonstopux*)
8699       lt_prog_compiler_wl='-Wl,'
8700       # PIC (with -KPIC) is the default.
8701       lt_prog_compiler_static='-non_shared'
8702       ;;
8703
8704     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8705       case $cc_basename in
8706       # old Intel for x86_64 which still supported -KPIC.
8707       ecc*)
8708         lt_prog_compiler_wl='-Wl,'
8709         lt_prog_compiler_pic='-KPIC'
8710         lt_prog_compiler_static='-static'
8711         ;;
8712       # icc used to be incompatible with GCC.
8713       # ICC 10 doesn't accept -KPIC any more.
8714       icc* | ifort*)
8715         lt_prog_compiler_wl='-Wl,'
8716         lt_prog_compiler_pic='-fPIC'
8717         lt_prog_compiler_static='-static'
8718         ;;
8719       # Lahey Fortran 8.1.
8720       lf95*)
8721         lt_prog_compiler_wl='-Wl,'
8722         lt_prog_compiler_pic='--shared'
8723         lt_prog_compiler_static='--static'
8724         ;;
8725       nagfor*)
8726         # NAG Fortran compiler
8727         lt_prog_compiler_wl='-Wl,-Wl,,'
8728         lt_prog_compiler_pic='-PIC'
8729         lt_prog_compiler_static='-Bstatic'
8730         ;;
8731       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8732         # Portland Group compilers (*not* the Pentium gcc compiler,
8733         # which looks to be a dead project)
8734         lt_prog_compiler_wl='-Wl,'
8735         lt_prog_compiler_pic='-fpic'
8736         lt_prog_compiler_static='-Bstatic'
8737         ;;
8738       ccc*)
8739         lt_prog_compiler_wl='-Wl,'
8740         # All Alpha code is PIC.
8741         lt_prog_compiler_static='-non_shared'
8742         ;;
8743       xl* | bgxl* | bgf* | mpixl*)
8744         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8745         lt_prog_compiler_wl='-Wl,'
8746         lt_prog_compiler_pic='-qpic'
8747         lt_prog_compiler_static='-qstaticlink'
8748         ;;
8749       *)
8750         case `$CC -V 2>&1 | sed 5q` in
8751         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8752           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8753           lt_prog_compiler_pic='-KPIC'
8754           lt_prog_compiler_static='-Bstatic'
8755           lt_prog_compiler_wl=''
8756           ;;
8757         *Sun\ F* | *Sun*Fortran*)
8758           lt_prog_compiler_pic='-KPIC'
8759           lt_prog_compiler_static='-Bstatic'
8760           lt_prog_compiler_wl='-Qoption ld '
8761           ;;
8762         *Sun\ C*)
8763           # Sun C 5.9
8764           lt_prog_compiler_pic='-KPIC'
8765           lt_prog_compiler_static='-Bstatic'
8766           lt_prog_compiler_wl='-Wl,'
8767           ;;
8768         *Intel*\ [CF]*Compiler*)
8769           lt_prog_compiler_wl='-Wl,'
8770           lt_prog_compiler_pic='-fPIC'
8771           lt_prog_compiler_static='-static'
8772           ;;
8773         *Portland\ Group*)
8774           lt_prog_compiler_wl='-Wl,'
8775           lt_prog_compiler_pic='-fpic'
8776           lt_prog_compiler_static='-Bstatic'
8777           ;;
8778         esac
8779         ;;
8780       esac
8781       ;;
8782
8783     newsos6)
8784       lt_prog_compiler_pic='-KPIC'
8785       lt_prog_compiler_static='-Bstatic'
8786       ;;
8787
8788     *nto* | *qnx*)
8789       # QNX uses GNU C++, but need to define -shared option too, otherwise
8790       # it will coredump.
8791       lt_prog_compiler_pic='-fPIC -shared'
8792       ;;
8793
8794     osf3* | osf4* | osf5*)
8795       lt_prog_compiler_wl='-Wl,'
8796       # All OSF/1 code is PIC.
8797       lt_prog_compiler_static='-non_shared'
8798       ;;
8799
8800     rdos*)
8801       lt_prog_compiler_static='-non_shared'
8802       ;;
8803
8804     solaris*)
8805       lt_prog_compiler_pic='-KPIC'
8806       lt_prog_compiler_static='-Bstatic'
8807       case $cc_basename in
8808       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8809         lt_prog_compiler_wl='-Qoption ld ';;
8810       *)
8811         lt_prog_compiler_wl='-Wl,';;
8812       esac
8813       ;;
8814
8815     sunos4*)
8816       lt_prog_compiler_wl='-Qoption ld '
8817       lt_prog_compiler_pic='-PIC'
8818       lt_prog_compiler_static='-Bstatic'
8819       ;;
8820
8821     sysv4 | sysv4.2uw2* | sysv4.3*)
8822       lt_prog_compiler_wl='-Wl,'
8823       lt_prog_compiler_pic='-KPIC'
8824       lt_prog_compiler_static='-Bstatic'
8825       ;;
8826
8827     sysv4*MP*)
8828       if test -d /usr/nec ;then
8829         lt_prog_compiler_pic='-Kconform_pic'
8830         lt_prog_compiler_static='-Bstatic'
8831       fi
8832       ;;
8833
8834     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8835       lt_prog_compiler_wl='-Wl,'
8836       lt_prog_compiler_pic='-KPIC'
8837       lt_prog_compiler_static='-Bstatic'
8838       ;;
8839
8840     unicos*)
8841       lt_prog_compiler_wl='-Wl,'
8842       lt_prog_compiler_can_build_shared=no
8843       ;;
8844
8845     uts4*)
8846       lt_prog_compiler_pic='-pic'
8847       lt_prog_compiler_static='-Bstatic'
8848       ;;
8849
8850     *)
8851       lt_prog_compiler_can_build_shared=no
8852       ;;
8853     esac
8854   fi
8855
8856 case $host_os in
8857   # For platforms which do not support PIC, -DPIC is meaningless:
8858   *djgpp*)
8859     lt_prog_compiler_pic=
8860     ;;
8861   *)
8862     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8863     ;;
8864 esac
8865
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8867 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8868 if ${lt_cv_prog_compiler_pic+:} false; then :
8869   $as_echo_n "(cached) " >&6
8870 else
8871   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8872 fi
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8874 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8875 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8876
8877 #
8878 # Check to make sure the PIC flag actually works.
8879 #
8880 if test -n "$lt_prog_compiler_pic"; then
8881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8882 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8883 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8884   $as_echo_n "(cached) " >&6
8885 else
8886   lt_cv_prog_compiler_pic_works=no
8887    ac_outfile=conftest.$ac_objext
8888    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8889    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8890    # Insert the option either (1) after the last *FLAGS variable, or
8891    # (2) before a word containing "conftest.", or (3) at the end.
8892    # Note that $ac_compile itself does not contain backslashes and begins
8893    # with a dollar sign (not a hyphen), so the echo should work correctly.
8894    # The option is referenced via a variable to avoid confusing sed.
8895    lt_compile=`echo "$ac_compile" | $SED \
8896    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8897    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8898    -e 's:$: $lt_compiler_flag:'`
8899    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8900    (eval "$lt_compile" 2>conftest.err)
8901    ac_status=$?
8902    cat conftest.err >&5
8903    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904    if (exit $ac_status) && test -s "$ac_outfile"; then
8905      # The compiler can only warn and ignore the option if not recognized
8906      # So say no if there are warnings other than the usual output.
8907      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8908      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8909      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8910        lt_cv_prog_compiler_pic_works=yes
8911      fi
8912    fi
8913    $RM conftest*
8914
8915 fi
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8917 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8918
8919 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8920     case $lt_prog_compiler_pic in
8921      "" | " "*) ;;
8922      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8923      esac
8924 else
8925     lt_prog_compiler_pic=
8926      lt_prog_compiler_can_build_shared=no
8927 fi
8928
8929 fi
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941 #
8942 # Check to make sure the static flag actually works.
8943 #
8944 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8946 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8947 if ${lt_cv_prog_compiler_static_works+:} false; then :
8948   $as_echo_n "(cached) " >&6
8949 else
8950   lt_cv_prog_compiler_static_works=no
8951    save_LDFLAGS="$LDFLAGS"
8952    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8953    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8954    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8955      # The linker can only warn and ignore the option if not recognized
8956      # So say no if there are warnings
8957      if test -s conftest.err; then
8958        # Append any errors to the config.log.
8959        cat conftest.err 1>&5
8960        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8961        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8962        if diff conftest.exp conftest.er2 >/dev/null; then
8963          lt_cv_prog_compiler_static_works=yes
8964        fi
8965      else
8966        lt_cv_prog_compiler_static_works=yes
8967      fi
8968    fi
8969    $RM -r conftest*
8970    LDFLAGS="$save_LDFLAGS"
8971
8972 fi
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8974 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8975
8976 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8977     :
8978 else
8979     lt_prog_compiler_static=
8980 fi
8981
8982
8983
8984
8985
8986
8987
8988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8989 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8990 if ${lt_cv_prog_compiler_c_o+:} false; then :
8991   $as_echo_n "(cached) " >&6
8992 else
8993   lt_cv_prog_compiler_c_o=no
8994    $RM -r conftest 2>/dev/null
8995    mkdir conftest
8996    cd conftest
8997    mkdir out
8998    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8999
9000    lt_compiler_flag="-o out/conftest2.$ac_objext"
9001    # Insert the option either (1) after the last *FLAGS variable, or
9002    # (2) before a word containing "conftest.", or (3) at the end.
9003    # Note that $ac_compile itself does not contain backslashes and begins
9004    # with a dollar sign (not a hyphen), so the echo should work correctly.
9005    lt_compile=`echo "$ac_compile" | $SED \
9006    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9007    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9008    -e 's:$: $lt_compiler_flag:'`
9009    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9010    (eval "$lt_compile" 2>out/conftest.err)
9011    ac_status=$?
9012    cat out/conftest.err >&5
9013    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9015    then
9016      # The compiler can only warn and ignore the option if not recognized
9017      # So say no if there are warnings
9018      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9019      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9020      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9021        lt_cv_prog_compiler_c_o=yes
9022      fi
9023    fi
9024    chmod u+w . 2>&5
9025    $RM conftest*
9026    # SGI C++ compiler will create directory out/ii_files/ for
9027    # template instantiation
9028    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9029    $RM out/* && rmdir out
9030    cd ..
9031    $RM -r conftest
9032    $RM conftest*
9033
9034 fi
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9036 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9037
9038
9039
9040
9041
9042
9043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9044 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9045 if ${lt_cv_prog_compiler_c_o+:} false; then :
9046   $as_echo_n "(cached) " >&6
9047 else
9048   lt_cv_prog_compiler_c_o=no
9049    $RM -r conftest 2>/dev/null
9050    mkdir conftest
9051    cd conftest
9052    mkdir out
9053    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9054
9055    lt_compiler_flag="-o out/conftest2.$ac_objext"
9056    # Insert the option either (1) after the last *FLAGS variable, or
9057    # (2) before a word containing "conftest.", or (3) at the end.
9058    # Note that $ac_compile itself does not contain backslashes and begins
9059    # with a dollar sign (not a hyphen), so the echo should work correctly.
9060    lt_compile=`echo "$ac_compile" | $SED \
9061    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9062    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9063    -e 's:$: $lt_compiler_flag:'`
9064    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9065    (eval "$lt_compile" 2>out/conftest.err)
9066    ac_status=$?
9067    cat out/conftest.err >&5
9068    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9070    then
9071      # The compiler can only warn and ignore the option if not recognized
9072      # So say no if there are warnings
9073      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9074      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9075      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9076        lt_cv_prog_compiler_c_o=yes
9077      fi
9078    fi
9079    chmod u+w . 2>&5
9080    $RM conftest*
9081    # SGI C++ compiler will create directory out/ii_files/ for
9082    # template instantiation
9083    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9084    $RM out/* && rmdir out
9085    cd ..
9086    $RM -r conftest
9087    $RM conftest*
9088
9089 fi
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9091 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9092
9093
9094
9095
9096 hard_links="nottested"
9097 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9098   # do not overwrite the value of need_locks provided by the user
9099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9100 $as_echo_n "checking if we can lock with hard links... " >&6; }
9101   hard_links=yes
9102   $RM conftest*
9103   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9104   touch conftest.a
9105   ln conftest.a conftest.b 2>&5 || hard_links=no
9106   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9108 $as_echo "$hard_links" >&6; }
9109   if test "$hard_links" = no; then
9110     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9111 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9112     need_locks=warn
9113   fi
9114 else
9115   need_locks=no
9116 fi
9117
9118
9119
9120
9121
9122
9123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9124 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9125
9126   runpath_var=
9127   allow_undefined_flag=
9128   always_export_symbols=no
9129   archive_cmds=
9130   archive_expsym_cmds=
9131   compiler_needs_object=no
9132   enable_shared_with_static_runtimes=no
9133   export_dynamic_flag_spec=
9134   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9135   hardcode_automatic=no
9136   hardcode_direct=no
9137   hardcode_direct_absolute=no
9138   hardcode_libdir_flag_spec=
9139   hardcode_libdir_separator=
9140   hardcode_minus_L=no
9141   hardcode_shlibpath_var=unsupported
9142   inherit_rpath=no
9143   link_all_deplibs=unknown
9144   module_cmds=
9145   module_expsym_cmds=
9146   old_archive_from_new_cmds=
9147   old_archive_from_expsyms_cmds=
9148   thread_safe_flag_spec=
9149   whole_archive_flag_spec=
9150   # include_expsyms should be a list of space-separated symbols to be *always*
9151   # included in the symbol list
9152   include_expsyms=
9153   # exclude_expsyms can be an extended regexp of symbols to exclude
9154   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9155   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9156   # as well as any symbol that contains `d'.
9157   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9158   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9159   # platforms (ab)use it in PIC code, but their linkers get confused if
9160   # the symbol is explicitly referenced.  Since portable code cannot
9161   # rely on this symbol name, it's probably fine to never include it in
9162   # preloaded symbol tables.
9163   # Exclude shared library initialization/finalization symbols.
9164   extract_expsyms_cmds=
9165
9166   case $host_os in
9167   cygwin* | mingw* | pw32* | cegcc*)
9168     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9169     # When not using gcc, we currently assume that we are using
9170     # Microsoft Visual C++.
9171     if test "$GCC" != yes; then
9172       with_gnu_ld=no
9173     fi
9174     ;;
9175   interix*)
9176     # we just hope/assume this is gcc and not c89 (= MSVC++)
9177     with_gnu_ld=yes
9178     ;;
9179   openbsd*)
9180     with_gnu_ld=no
9181     ;;
9182   esac
9183
9184   ld_shlibs=yes
9185
9186   # On some targets, GNU ld is compatible enough with the native linker
9187   # that we're better off using the native interface for both.
9188   lt_use_gnu_ld_interface=no
9189   if test "$with_gnu_ld" = yes; then
9190     case $host_os in
9191       aix*)
9192         # The AIX port of GNU ld has always aspired to compatibility
9193         # with the native linker.  However, as the warning in the GNU ld
9194         # block says, versions before 2.19.5* couldn't really create working
9195         # shared libraries, regardless of the interface used.
9196         case `$LD -v 2>&1` in
9197           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9198           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9199           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9200           *)
9201             lt_use_gnu_ld_interface=yes
9202             ;;
9203         esac
9204         ;;
9205       *)
9206         lt_use_gnu_ld_interface=yes
9207         ;;
9208     esac
9209   fi
9210
9211   if test "$lt_use_gnu_ld_interface" = yes; then
9212     # If archive_cmds runs LD, not CC, wlarc should be empty
9213     wlarc='${wl}'
9214
9215     # Set some defaults for GNU ld with shared library support. These
9216     # are reset later if shared libraries are not supported. Putting them
9217     # here allows them to be overridden if necessary.
9218     runpath_var=LD_RUN_PATH
9219     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9220     export_dynamic_flag_spec='${wl}--export-dynamic'
9221     # ancient GNU ld didn't support --whole-archive et. al.
9222     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9223       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9224     else
9225       whole_archive_flag_spec=
9226     fi
9227     supports_anon_versioning=no
9228     case `$LD -v 2>&1` in
9229       *GNU\ gold*) supports_anon_versioning=yes ;;
9230       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9231       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9232       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9233       *\ 2.11.*) ;; # other 2.11 versions
9234       *) supports_anon_versioning=yes ;;
9235     esac
9236
9237     # See if GNU ld supports shared libraries.
9238     case $host_os in
9239     aix[3-9]*)
9240       # On AIX/PPC, the GNU linker is very broken
9241       if test "$host_cpu" != ia64; then
9242         ld_shlibs=no
9243         cat <<_LT_EOF 1>&2
9244
9245 *** Warning: the GNU linker, at least up to release 2.19, is reported
9246 *** to be unable to reliably create shared libraries on AIX.
9247 *** Therefore, libtool is disabling shared libraries support.  If you
9248 *** really care for shared libraries, you may want to install binutils
9249 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9250 *** You will then need to restart the configuration process.
9251
9252 _LT_EOF
9253       fi
9254       ;;
9255
9256     amigaos*)
9257       case $host_cpu in
9258       powerpc)
9259             # see comment about AmigaOS4 .so support
9260             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9261             archive_expsym_cmds=''
9262         ;;
9263       m68k)
9264             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)'
9265             hardcode_libdir_flag_spec='-L$libdir'
9266             hardcode_minus_L=yes
9267         ;;
9268       esac
9269       ;;
9270
9271     beos*)
9272       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9273         allow_undefined_flag=unsupported
9274         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9275         # support --undefined.  This deserves some investigation.  FIXME
9276         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9277       else
9278         ld_shlibs=no
9279       fi
9280       ;;
9281
9282     cygwin* | mingw* | pw32* | cegcc*)
9283       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9284       # as there is no search path for DLLs.
9285       hardcode_libdir_flag_spec='-L$libdir'
9286       export_dynamic_flag_spec='${wl}--export-all-symbols'
9287       allow_undefined_flag=unsupported
9288       always_export_symbols=no
9289       enable_shared_with_static_runtimes=yes
9290       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'
9291       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9292
9293       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9294         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9295         # If the export-symbols file already is a .def file (1st line
9296         # is EXPORTS), use it as is; otherwise, prepend...
9297         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9298           cp $export_symbols $output_objdir/$soname.def;
9299         else
9300           echo EXPORTS > $output_objdir/$soname.def;
9301           cat $export_symbols >> $output_objdir/$soname.def;
9302         fi~
9303         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9304       else
9305         ld_shlibs=no
9306       fi
9307       ;;
9308
9309     haiku*)
9310       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9311       link_all_deplibs=yes
9312       ;;
9313
9314     interix[3-9]*)
9315       hardcode_direct=no
9316       hardcode_shlibpath_var=no
9317       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9318       export_dynamic_flag_spec='${wl}-E'
9319       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9320       # Instead, shared libraries are loaded at an image base (0x10000000 by
9321       # default) and relocated if they conflict, which is a slow very memory
9322       # consuming and fragmenting process.  To avoid this, we pick a random,
9323       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9324       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9325       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9326       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'
9327       ;;
9328
9329     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9330       tmp_diet=no
9331       if test "$host_os" = linux-dietlibc; then
9332         case $cc_basename in
9333           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9334         esac
9335       fi
9336       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9337          && test "$tmp_diet" = no
9338       then
9339         tmp_addflag=' $pic_flag'
9340         tmp_sharedflag='-shared'
9341         case $cc_basename,$host_cpu in
9342         pgcc*)                          # Portland Group C compiler
9343           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'
9344           tmp_addflag=' $pic_flag'
9345           ;;
9346         pgf77* | pgf90* | pgf95* | pgfortran*)
9347                                         # Portland Group f77 and f90 compilers
9348           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'
9349           tmp_addflag=' $pic_flag -Mnomain' ;;
9350         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9351           tmp_addflag=' -i_dynamic' ;;
9352         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9353           tmp_addflag=' -i_dynamic -nofor_main' ;;
9354         ifc* | ifort*)                  # Intel Fortran compiler
9355           tmp_addflag=' -nofor_main' ;;
9356         lf95*)                          # Lahey Fortran 8.1
9357           whole_archive_flag_spec=
9358           tmp_sharedflag='--shared' ;;
9359         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9360           tmp_sharedflag='-qmkshrobj'
9361           tmp_addflag= ;;
9362         nvcc*)  # Cuda Compiler Driver 2.2
9363           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'
9364           compiler_needs_object=yes
9365           ;;
9366         esac
9367         case `$CC -V 2>&1 | sed 5q` in
9368         *Sun\ C*)                       # Sun C 5.9
9369           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'
9370           compiler_needs_object=yes
9371           tmp_sharedflag='-G' ;;
9372         *Sun\ F*)                       # Sun Fortran 8.3
9373           tmp_sharedflag='-G' ;;
9374         esac
9375         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376
9377         if test "x$supports_anon_versioning" = xyes; then
9378           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9379             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9380             echo "local: *; };" >> $output_objdir/$libname.ver~
9381             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9382         fi
9383
9384         case $cc_basename in
9385         xlf* | bgf* | bgxlf* | mpixlf*)
9386           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9387           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9388           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9389           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9390           if test "x$supports_anon_versioning" = xyes; then
9391             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9392               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9393               echo "local: *; };" >> $output_objdir/$libname.ver~
9394               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9395           fi
9396           ;;
9397         esac
9398       else
9399         ld_shlibs=no
9400       fi
9401       ;;
9402
9403     netbsd*)
9404       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9405         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9406         wlarc=
9407       else
9408         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9409         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9410       fi
9411       ;;
9412
9413     solaris*)
9414       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9415         ld_shlibs=no
9416         cat <<_LT_EOF 1>&2
9417
9418 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9419 *** create shared libraries on Solaris systems.  Therefore, libtool
9420 *** is disabling shared libraries support.  We urge you to upgrade GNU
9421 *** binutils to release 2.9.1 or newer.  Another option is to modify
9422 *** your PATH or compiler configuration so that the native linker is
9423 *** used, and then restart.
9424
9425 _LT_EOF
9426       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9427         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9428         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9429       else
9430         ld_shlibs=no
9431       fi
9432       ;;
9433
9434     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9435       case `$LD -v 2>&1` in
9436         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9437         ld_shlibs=no
9438         cat <<_LT_EOF 1>&2
9439
9440 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9441 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9442 *** is disabling shared libraries support.  We urge you to upgrade GNU
9443 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9444 *** your PATH or compiler configuration so that the native linker is
9445 *** used, and then restart.
9446
9447 _LT_EOF
9448         ;;
9449         *)
9450           # For security reasons, it is highly recommended that you always
9451           # use absolute paths for naming shared libraries, and exclude the
9452           # DT_RUNPATH tag from executables and libraries.  But doing so
9453           # requires that you compile everything twice, which is a pain.
9454           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9455             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9456             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9457             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9458           else
9459             ld_shlibs=no
9460           fi
9461         ;;
9462       esac
9463       ;;
9464
9465     sunos4*)
9466       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9467       wlarc=
9468       hardcode_direct=yes
9469       hardcode_shlibpath_var=no
9470       ;;
9471
9472     *)
9473       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9474         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9475         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9476       else
9477         ld_shlibs=no
9478       fi
9479       ;;
9480     esac
9481
9482     if test "$ld_shlibs" = no; then
9483       runpath_var=
9484       hardcode_libdir_flag_spec=
9485       export_dynamic_flag_spec=
9486       whole_archive_flag_spec=
9487     fi
9488   else
9489     # PORTME fill in a description of your system's linker (not GNU ld)
9490     case $host_os in
9491     aix3*)
9492       allow_undefined_flag=unsupported
9493       always_export_symbols=yes
9494       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'
9495       # Note: this linker hardcodes the directories in LIBPATH if there
9496       # are no directories specified by -L.
9497       hardcode_minus_L=yes
9498       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9499         # Neither direct hardcoding nor static linking is supported with a
9500         # broken collect2.
9501         hardcode_direct=unsupported
9502       fi
9503       ;;
9504
9505     aix[4-9]*)
9506       if test "$host_cpu" = ia64; then
9507         # On IA64, the linker does run time linking by default, so we don't
9508         # have to do anything special.
9509         aix_use_runtimelinking=no
9510         exp_sym_flag='-Bexport'
9511         no_entry_flag=""
9512       else
9513         # If we're using GNU nm, then we don't want the "-C" option.
9514         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9515         # Also, AIX nm treats weak defined symbols like other global
9516         # defined symbols, whereas GNU nm marks them as "W".
9517         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9518           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'
9519         else
9520           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'
9521         fi
9522         aix_use_runtimelinking=no
9523
9524         # Test if we are trying to use run time linking or normal
9525         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9526         # need to do runtime linking.
9527         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9528           for ld_flag in $LDFLAGS; do
9529           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9530             aix_use_runtimelinking=yes
9531             break
9532           fi
9533           done
9534           ;;
9535         esac
9536
9537         exp_sym_flag='-bexport'
9538         no_entry_flag='-bnoentry'
9539       fi
9540
9541       # When large executables or shared objects are built, AIX ld can
9542       # have problems creating the table of contents.  If linking a library
9543       # or program results in "error TOC overflow" add -mminimal-toc to
9544       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9545       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9546
9547       archive_cmds=''
9548       hardcode_direct=yes
9549       hardcode_direct_absolute=yes
9550       hardcode_libdir_separator=':'
9551       link_all_deplibs=yes
9552       file_list_spec='${wl}-f,'
9553
9554       if test "$GCC" = yes; then
9555         case $host_os in aix4.[012]|aix4.[012].*)
9556         # We only want to do this on AIX 4.2 and lower, the check
9557         # below for broken collect2 doesn't work under 4.3+
9558           collect2name=`${CC} -print-prog-name=collect2`
9559           if test -f "$collect2name" &&
9560            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9561           then
9562           # We have reworked collect2
9563           :
9564           else
9565           # We have old collect2
9566           hardcode_direct=unsupported
9567           # It fails to find uninstalled libraries when the uninstalled
9568           # path is not listed in the libpath.  Setting hardcode_minus_L
9569           # to unsupported forces relinking
9570           hardcode_minus_L=yes
9571           hardcode_libdir_flag_spec='-L$libdir'
9572           hardcode_libdir_separator=
9573           fi
9574           ;;
9575         esac
9576         shared_flag='-shared'
9577         if test "$aix_use_runtimelinking" = yes; then
9578           shared_flag="$shared_flag "'${wl}-G'
9579         fi
9580       else
9581         # not using gcc
9582         if test "$host_cpu" = ia64; then
9583         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9584         # chokes on -Wl,-G. The following line is correct:
9585           shared_flag='-G'
9586         else
9587           if test "$aix_use_runtimelinking" = yes; then
9588             shared_flag='${wl}-G'
9589           else
9590             shared_flag='${wl}-bM:SRE'
9591           fi
9592         fi
9593       fi
9594
9595       export_dynamic_flag_spec='${wl}-bexpall'
9596       # It seems that -bexpall does not export symbols beginning with
9597       # underscore (_), so it is better to generate a list of symbols to export.
9598       always_export_symbols=yes
9599       if test "$aix_use_runtimelinking" = yes; then
9600         # Warning - without using the other runtime loading flags (-brtl),
9601         # -berok will link without error, but may produce a broken library.
9602         allow_undefined_flag='-berok'
9603         # Determine the default libpath from the value encoded in an
9604         # empty executable.
9605         if test "${lt_cv_aix_libpath+set}" = set; then
9606   aix_libpath=$lt_cv_aix_libpath
9607 else
9608   if ${lt_cv_aix_libpath_+:} false; then :
9609   $as_echo_n "(cached) " >&6
9610 else
9611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h.  */
9613
9614 int
9615 main ()
9616 {
9617
9618   ;
9619   return 0;
9620 }
9621 _ACEOF
9622 if ac_fn_c_try_link "$LINENO"; then :
9623
9624   lt_aix_libpath_sed='
9625       /Import File Strings/,/^$/ {
9626           /^0/ {
9627               s/^0  *\([^ ]*\) *$/\1/
9628               p
9629           }
9630       }'
9631   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9632   # Check for a 64-bit object if we didn't find anything.
9633   if test -z "$lt_cv_aix_libpath_"; then
9634     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9635   fi
9636 fi
9637 rm -f core conftest.err conftest.$ac_objext \
9638     conftest$ac_exeext conftest.$ac_ext
9639   if test -z "$lt_cv_aix_libpath_"; then
9640     lt_cv_aix_libpath_="/usr/lib:/lib"
9641   fi
9642
9643 fi
9644
9645   aix_libpath=$lt_cv_aix_libpath_
9646 fi
9647
9648         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9649         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"
9650       else
9651         if test "$host_cpu" = ia64; then
9652           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9653           allow_undefined_flag="-z nodefs"
9654           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"
9655         else
9656          # Determine the default libpath from the value encoded in an
9657          # empty executable.
9658          if test "${lt_cv_aix_libpath+set}" = set; then
9659   aix_libpath=$lt_cv_aix_libpath
9660 else
9661   if ${lt_cv_aix_libpath_+:} false; then :
9662   $as_echo_n "(cached) " >&6
9663 else
9664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9665 /* end confdefs.h.  */
9666
9667 int
9668 main ()
9669 {
9670
9671   ;
9672   return 0;
9673 }
9674 _ACEOF
9675 if ac_fn_c_try_link "$LINENO"; then :
9676
9677   lt_aix_libpath_sed='
9678       /Import File Strings/,/^$/ {
9679           /^0/ {
9680               s/^0  *\([^ ]*\) *$/\1/
9681               p
9682           }
9683       }'
9684   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9685   # Check for a 64-bit object if we didn't find anything.
9686   if test -z "$lt_cv_aix_libpath_"; then
9687     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9688   fi
9689 fi
9690 rm -f core conftest.err conftest.$ac_objext \
9691     conftest$ac_exeext conftest.$ac_ext
9692   if test -z "$lt_cv_aix_libpath_"; then
9693     lt_cv_aix_libpath_="/usr/lib:/lib"
9694   fi
9695
9696 fi
9697
9698   aix_libpath=$lt_cv_aix_libpath_
9699 fi
9700
9701          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9702           # Warning - without using the other run time loading flags,
9703           # -berok will link without error, but may produce a broken library.
9704           no_undefined_flag=' ${wl}-bernotok'
9705           allow_undefined_flag=' ${wl}-berok'
9706           if test "$with_gnu_ld" = yes; then
9707             # We only use this code for GNU lds that support --whole-archive.
9708             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9709           else
9710             # Exported symbols can be pulled into shared objects from archives
9711             whole_archive_flag_spec='$convenience'
9712           fi
9713           archive_cmds_need_lc=yes
9714           # This is similar to how AIX traditionally builds its shared libraries.
9715           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'
9716         fi
9717       fi
9718       ;;
9719
9720     amigaos*)
9721       case $host_cpu in
9722       powerpc)
9723             # see comment about AmigaOS4 .so support
9724             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9725             archive_expsym_cmds=''
9726         ;;
9727       m68k)
9728             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)'
9729             hardcode_libdir_flag_spec='-L$libdir'
9730             hardcode_minus_L=yes
9731         ;;
9732       esac
9733       ;;
9734
9735     bsdi[45]*)
9736       export_dynamic_flag_spec=-rdynamic
9737       ;;
9738
9739     cygwin* | mingw* | pw32* | cegcc*)
9740       # When not using gcc, we currently assume that we are using
9741       # Microsoft Visual C++.
9742       # hardcode_libdir_flag_spec is actually meaningless, as there is
9743       # no search path for DLLs.
9744       case $cc_basename in
9745       cl*)
9746         # Native MSVC
9747         hardcode_libdir_flag_spec=' '
9748         allow_undefined_flag=unsupported
9749         always_export_symbols=yes
9750         file_list_spec='@'
9751         # Tell ltmain to make .lib files, not .a files.
9752         libext=lib
9753         # Tell ltmain to make .dll files, not .so files.
9754         shrext_cmds=".dll"
9755         # FIXME: Setting linknames here is a bad hack.
9756         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9757         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9758             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9759           else
9760             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9761           fi~
9762           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9763           linknames='
9764         # The linker will not automatically build a static lib if we build a DLL.
9765         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9766         enable_shared_with_static_runtimes=yes
9767         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9768         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9769         # Don't use ranlib
9770         old_postinstall_cmds='chmod 644 $oldlib'
9771         postlink_cmds='lt_outputfile="@OUTPUT@"~
9772           lt_tool_outputfile="@TOOL_OUTPUT@"~
9773           case $lt_outputfile in
9774             *.exe|*.EXE) ;;
9775             *)
9776               lt_outputfile="$lt_outputfile.exe"
9777               lt_tool_outputfile="$lt_tool_outputfile.exe"
9778               ;;
9779           esac~
9780           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9781             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9782             $RM "$lt_outputfile.manifest";
9783           fi'
9784         ;;
9785       *)
9786         # Assume MSVC wrapper
9787         hardcode_libdir_flag_spec=' '
9788         allow_undefined_flag=unsupported
9789         # Tell ltmain to make .lib files, not .a files.
9790         libext=lib
9791         # Tell ltmain to make .dll files, not .so files.
9792         shrext_cmds=".dll"
9793         # FIXME: Setting linknames here is a bad hack.
9794         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9795         # The linker will automatically build a .lib file if we build a DLL.
9796         old_archive_from_new_cmds='true'
9797         # FIXME: Should let the user specify the lib program.
9798         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9799         enable_shared_with_static_runtimes=yes
9800         ;;
9801       esac
9802       ;;
9803
9804     darwin* | rhapsody*)
9805
9806
9807   archive_cmds_need_lc=no
9808   hardcode_direct=no
9809   hardcode_automatic=yes
9810   hardcode_shlibpath_var=unsupported
9811   if test "$lt_cv_ld_force_load" = "yes"; then
9812     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\"`'
9813
9814   else
9815     whole_archive_flag_spec=''
9816   fi
9817   link_all_deplibs=yes
9818   allow_undefined_flag="$_lt_dar_allow_undefined"
9819   case $cc_basename in
9820      ifort*) _lt_dar_can_shared=yes ;;
9821      *) _lt_dar_can_shared=$GCC ;;
9822   esac
9823   if test "$_lt_dar_can_shared" = "yes"; then
9824     output_verbose_link_cmd=func_echo_all
9825     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9826     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9827     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}"
9828     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}"
9829
9830   else
9831   ld_shlibs=no
9832   fi
9833
9834       ;;
9835
9836     dgux*)
9837       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9838       hardcode_libdir_flag_spec='-L$libdir'
9839       hardcode_shlibpath_var=no
9840       ;;
9841
9842     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9843     # support.  Future versions do this automatically, but an explicit c++rt0.o
9844     # does not break anything, and helps significantly (at the cost of a little
9845     # extra space).
9846     freebsd2.2*)
9847       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9848       hardcode_libdir_flag_spec='-R$libdir'
9849       hardcode_direct=yes
9850       hardcode_shlibpath_var=no
9851       ;;
9852
9853     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9854     freebsd2.*)
9855       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9856       hardcode_direct=yes
9857       hardcode_minus_L=yes
9858       hardcode_shlibpath_var=no
9859       ;;
9860
9861     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9862     freebsd* | dragonfly*)
9863       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9864       hardcode_libdir_flag_spec='-R$libdir'
9865       hardcode_direct=yes
9866       hardcode_shlibpath_var=no
9867       ;;
9868
9869     hpux9*)
9870       if test "$GCC" = yes; then
9871         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'
9872       else
9873         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'
9874       fi
9875       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9876       hardcode_libdir_separator=:
9877       hardcode_direct=yes
9878
9879       # hardcode_minus_L: Not really in the search PATH,
9880       # but as the default location of the library.
9881       hardcode_minus_L=yes
9882       export_dynamic_flag_spec='${wl}-E'
9883       ;;
9884
9885     hpux10*)
9886       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9887         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9888       else
9889         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9890       fi
9891       if test "$with_gnu_ld" = no; then
9892         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9893         hardcode_libdir_separator=:
9894         hardcode_direct=yes
9895         hardcode_direct_absolute=yes
9896         export_dynamic_flag_spec='${wl}-E'
9897         # hardcode_minus_L: Not really in the search PATH,
9898         # but as the default location of the library.
9899         hardcode_minus_L=yes
9900       fi
9901       ;;
9902
9903     hpux11*)
9904       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9905         case $host_cpu in
9906         hppa*64*)
9907           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9908           ;;
9909         ia64*)
9910           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9911           ;;
9912         *)
9913           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9914           ;;
9915         esac
9916       else
9917         case $host_cpu in
9918         hppa*64*)
9919           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9920           ;;
9921         ia64*)
9922           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9923           ;;
9924         *)
9925
9926           # Older versions of the 11.00 compiler do not understand -b yet
9927           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9928           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9929 $as_echo_n "checking if $CC understands -b... " >&6; }
9930 if ${lt_cv_prog_compiler__b+:} false; then :
9931   $as_echo_n "(cached) " >&6
9932 else
9933   lt_cv_prog_compiler__b=no
9934    save_LDFLAGS="$LDFLAGS"
9935    LDFLAGS="$LDFLAGS -b"
9936    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9937    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9938      # The linker can only warn and ignore the option if not recognized
9939      # So say no if there are warnings
9940      if test -s conftest.err; then
9941        # Append any errors to the config.log.
9942        cat conftest.err 1>&5
9943        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9944        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9945        if diff conftest.exp conftest.er2 >/dev/null; then
9946          lt_cv_prog_compiler__b=yes
9947        fi
9948      else
9949        lt_cv_prog_compiler__b=yes
9950      fi
9951    fi
9952    $RM -r conftest*
9953    LDFLAGS="$save_LDFLAGS"
9954
9955 fi
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9957 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9958
9959 if test x"$lt_cv_prog_compiler__b" = xyes; then
9960     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9961 else
9962     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9963 fi
9964
9965           ;;
9966         esac
9967       fi
9968       if test "$with_gnu_ld" = no; then
9969         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9970         hardcode_libdir_separator=:
9971
9972         case $host_cpu in
9973         hppa*64*|ia64*)
9974           hardcode_direct=no
9975           hardcode_shlibpath_var=no
9976           ;;
9977         *)
9978           hardcode_direct=yes
9979           hardcode_direct_absolute=yes
9980           export_dynamic_flag_spec='${wl}-E'
9981
9982           # hardcode_minus_L: Not really in the search PATH,
9983           # but as the default location of the library.
9984           hardcode_minus_L=yes
9985           ;;
9986         esac
9987       fi
9988       ;;
9989
9990     irix5* | irix6* | nonstopux*)
9991       if test "$GCC" = yes; then
9992         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'
9993         # Try to use the -exported_symbol ld option, if it does not
9994         # work, assume that -exports_file does not work either and
9995         # implicitly export all symbols.
9996         # This should be the same for all languages, so no per-tag cache variable.
9997         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9998 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9999 if ${lt_cv_irix_exported_symbol+:} false; then :
10000   $as_echo_n "(cached) " >&6
10001 else
10002   save_LDFLAGS="$LDFLAGS"
10003            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10004            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h.  */
10006 int foo (void) { return 0; }
10007 _ACEOF
10008 if ac_fn_c_try_link "$LINENO"; then :
10009   lt_cv_irix_exported_symbol=yes
10010 else
10011   lt_cv_irix_exported_symbol=no
10012 fi
10013 rm -f core conftest.err conftest.$ac_objext \
10014     conftest$ac_exeext conftest.$ac_ext
10015            LDFLAGS="$save_LDFLAGS"
10016 fi
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10018 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10019         if test "$lt_cv_irix_exported_symbol" = yes; then
10020           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'
10021         fi
10022       else
10023         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'
10024         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'
10025       fi
10026       archive_cmds_need_lc='no'
10027       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10028       hardcode_libdir_separator=:
10029       inherit_rpath=yes
10030       link_all_deplibs=yes
10031       ;;
10032
10033     netbsd*)
10034       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10035         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10036       else
10037         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10038       fi
10039       hardcode_libdir_flag_spec='-R$libdir'
10040       hardcode_direct=yes
10041       hardcode_shlibpath_var=no
10042       ;;
10043
10044     newsos6)
10045       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10046       hardcode_direct=yes
10047       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048       hardcode_libdir_separator=:
10049       hardcode_shlibpath_var=no
10050       ;;
10051
10052     *nto* | *qnx*)
10053       ;;
10054
10055     openbsd*)
10056       if test -f /usr/libexec/ld.so; then
10057         hardcode_direct=yes
10058         hardcode_shlibpath_var=no
10059         hardcode_direct_absolute=yes
10060         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10061           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10062           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10063           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10064           export_dynamic_flag_spec='${wl}-E'
10065         else
10066           case $host_os in
10067            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10068              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10069              hardcode_libdir_flag_spec='-R$libdir'
10070              ;;
10071            *)
10072              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10073              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10074              ;;
10075           esac
10076         fi
10077       else
10078         ld_shlibs=no
10079       fi
10080       ;;
10081
10082     os2*)
10083       hardcode_libdir_flag_spec='-L$libdir'
10084       hardcode_minus_L=yes
10085       allow_undefined_flag=unsupported
10086       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'
10087       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10088       ;;
10089
10090     osf3*)
10091       if test "$GCC" = yes; then
10092         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10093         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'
10094       else
10095         allow_undefined_flag=' -expect_unresolved \*'
10096         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'
10097       fi
10098       archive_cmds_need_lc='no'
10099       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10100       hardcode_libdir_separator=:
10101       ;;
10102
10103     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10104       if test "$GCC" = yes; then
10105         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10106         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'
10107         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10108       else
10109         allow_undefined_flag=' -expect_unresolved \*'
10110         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'
10111         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~
10112         $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'
10113
10114         # Both c and cxx compiler support -rpath directly
10115         hardcode_libdir_flag_spec='-rpath $libdir'
10116       fi
10117       archive_cmds_need_lc='no'
10118       hardcode_libdir_separator=:
10119       ;;
10120
10121     solaris*)
10122       no_undefined_flag=' -z defs'
10123       if test "$GCC" = yes; then
10124         wlarc='${wl}'
10125         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10126         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10127           $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'
10128       else
10129         case `$CC -V 2>&1` in
10130         *"Compilers 5.0"*)
10131           wlarc=''
10132           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10133           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10134           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10135           ;;
10136         *)
10137           wlarc='${wl}'
10138           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10139           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10140           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10141           ;;
10142         esac
10143       fi
10144       hardcode_libdir_flag_spec='-R$libdir'
10145       hardcode_shlibpath_var=no
10146       case $host_os in
10147       solaris2.[0-5] | solaris2.[0-5].*) ;;
10148       *)
10149         # The compiler driver will combine and reorder linker options,
10150         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10151         # but is careful enough not to reorder.
10152         # Supported since Solaris 2.6 (maybe 2.5.1?)
10153         if test "$GCC" = yes; then
10154           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10155         else
10156           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10157         fi
10158         ;;
10159       esac
10160       link_all_deplibs=yes
10161       ;;
10162
10163     sunos4*)
10164       if test "x$host_vendor" = xsequent; then
10165         # Use $CC to link under sequent, because it throws in some extra .o
10166         # files that make .init and .fini sections work.
10167         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10168       else
10169         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10170       fi
10171       hardcode_libdir_flag_spec='-L$libdir'
10172       hardcode_direct=yes
10173       hardcode_minus_L=yes
10174       hardcode_shlibpath_var=no
10175       ;;
10176
10177     sysv4)
10178       case $host_vendor in
10179         sni)
10180           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10181           hardcode_direct=yes # is this really true???
10182         ;;
10183         siemens)
10184           ## LD is ld it makes a PLAMLIB
10185           ## CC just makes a GrossModule.
10186           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10187           reload_cmds='$CC -r -o $output$reload_objs'
10188           hardcode_direct=no
10189         ;;
10190         motorola)
10191           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10192           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10193         ;;
10194       esac
10195       runpath_var='LD_RUN_PATH'
10196       hardcode_shlibpath_var=no
10197       ;;
10198
10199     sysv4.3*)
10200       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10201       hardcode_shlibpath_var=no
10202       export_dynamic_flag_spec='-Bexport'
10203       ;;
10204
10205     sysv4*MP*)
10206       if test -d /usr/nec; then
10207         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208         hardcode_shlibpath_var=no
10209         runpath_var=LD_RUN_PATH
10210         hardcode_runpath_var=yes
10211         ld_shlibs=yes
10212       fi
10213       ;;
10214
10215     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10216       no_undefined_flag='${wl}-z,text'
10217       archive_cmds_need_lc=no
10218       hardcode_shlibpath_var=no
10219       runpath_var='LD_RUN_PATH'
10220
10221       if test "$GCC" = yes; then
10222         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10223         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10224       else
10225         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10226         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10227       fi
10228       ;;
10229
10230     sysv5* | sco3.2v5* | sco5v6*)
10231       # Note: We can NOT use -z defs as we might desire, because we do not
10232       # link with -lc, and that would cause any symbols used from libc to
10233       # always be unresolved, which means just about no library would
10234       # ever link correctly.  If we're not using GNU ld we use -z text
10235       # though, which does catch some bad symbols but isn't as heavy-handed
10236       # as -z defs.
10237       no_undefined_flag='${wl}-z,text'
10238       allow_undefined_flag='${wl}-z,nodefs'
10239       archive_cmds_need_lc=no
10240       hardcode_shlibpath_var=no
10241       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10242       hardcode_libdir_separator=':'
10243       link_all_deplibs=yes
10244       export_dynamic_flag_spec='${wl}-Bexport'
10245       runpath_var='LD_RUN_PATH'
10246
10247       if test "$GCC" = yes; then
10248         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10249         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10250       else
10251         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10252         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10253       fi
10254       ;;
10255
10256     uts4*)
10257       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10258       hardcode_libdir_flag_spec='-L$libdir'
10259       hardcode_shlibpath_var=no
10260       ;;
10261
10262     *)
10263       ld_shlibs=no
10264       ;;
10265     esac
10266
10267     if test x$host_vendor = xsni; then
10268       case $host in
10269       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10270         export_dynamic_flag_spec='${wl}-Blargedynsym'
10271         ;;
10272       esac
10273     fi
10274   fi
10275
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10277 $as_echo "$ld_shlibs" >&6; }
10278 test "$ld_shlibs" = no && can_build_shared=no
10279
10280 with_gnu_ld=$with_gnu_ld
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296 #
10297 # Do we need to explicitly link libc?
10298 #
10299 case "x$archive_cmds_need_lc" in
10300 x|xyes)
10301   # Assume -lc should be added
10302   archive_cmds_need_lc=yes
10303
10304   if test "$enable_shared" = yes && test "$GCC" = yes; then
10305     case $archive_cmds in
10306     *'~'*)
10307       # FIXME: we may have to deal with multi-command sequences.
10308       ;;
10309     '$CC '*)
10310       # Test whether the compiler implicitly links with -lc since on some
10311       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10312       # to ld, don't add -lc before -lgcc.
10313       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10314 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10315 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10316   $as_echo_n "(cached) " >&6
10317 else
10318   $RM conftest*
10319         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10320
10321         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10322   (eval $ac_compile) 2>&5
10323   ac_status=$?
10324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10325   test $ac_status = 0; } 2>conftest.err; then
10326           soname=conftest
10327           lib=conftest
10328           libobjs=conftest.$ac_objext
10329           deplibs=
10330           wl=$lt_prog_compiler_wl
10331           pic_flag=$lt_prog_compiler_pic
10332           compiler_flags=-v
10333           linker_flags=-v
10334           verstring=
10335           output_objdir=.
10336           libname=conftest
10337           lt_save_allow_undefined_flag=$allow_undefined_flag
10338           allow_undefined_flag=
10339           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10340   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10341   ac_status=$?
10342   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10343   test $ac_status = 0; }
10344           then
10345             lt_cv_archive_cmds_need_lc=no
10346           else
10347             lt_cv_archive_cmds_need_lc=yes
10348           fi
10349           allow_undefined_flag=$lt_save_allow_undefined_flag
10350         else
10351           cat conftest.err 1>&5
10352         fi
10353         $RM conftest*
10354
10355 fi
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10357 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10358       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10359       ;;
10360     esac
10361   fi
10362   ;;
10363 esac
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10517 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10518
10519 if test "$GCC" = yes; then
10520   case $host_os in
10521     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10522     *) lt_awk_arg="/^libraries:/" ;;
10523   esac
10524   case $host_os in
10525     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10526     *) lt_sed_strip_eq="s,=/,/,g" ;;
10527   esac
10528   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10529   case $lt_search_path_spec in
10530   *\;*)
10531     # if the path contains ";" then we assume it to be the separator
10532     # otherwise default to the standard path separator (i.e. ":") - it is
10533     # assumed that no part of a normal pathname contains ";" but that should
10534     # okay in the real world where ";" in dirpaths is itself problematic.
10535     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10536     ;;
10537   *)
10538     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10539     ;;
10540   esac
10541   # Ok, now we have the path, separated by spaces, we can step through it
10542   # and add multilib dir if necessary.
10543   lt_tmp_lt_search_path_spec=
10544   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10545   for lt_sys_path in $lt_search_path_spec; do
10546     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10547       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10548     else
10549       test -d "$lt_sys_path" && \
10550         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10551     fi
10552   done
10553   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10554 BEGIN {RS=" "; FS="/|\n";} {
10555   lt_foo="";
10556   lt_count=0;
10557   for (lt_i = NF; lt_i > 0; lt_i--) {
10558     if ($lt_i != "" && $lt_i != ".") {
10559       if ($lt_i == "..") {
10560         lt_count++;
10561       } else {
10562         if (lt_count == 0) {
10563           lt_foo="/" $lt_i lt_foo;
10564         } else {
10565           lt_count--;
10566         }
10567       }
10568     }
10569   }
10570   if (lt_foo != "") { lt_freq[lt_foo]++; }
10571   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10572 }'`
10573   # AWK program above erroneously prepends '/' to C:/dos/paths
10574   # for these hosts.
10575   case $host_os in
10576     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10577       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10578   esac
10579   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10580 else
10581   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10582 fi
10583 library_names_spec=
10584 libname_spec='lib$name'
10585 soname_spec=
10586 shrext_cmds=".so"
10587 postinstall_cmds=
10588 postuninstall_cmds=
10589 finish_cmds=
10590 finish_eval=
10591 shlibpath_var=
10592 shlibpath_overrides_runpath=unknown
10593 version_type=none
10594 dynamic_linker="$host_os ld.so"
10595 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10596 need_lib_prefix=unknown
10597 hardcode_into_libs=no
10598
10599 # when you set need_version to no, make sure it does not cause -set_version
10600 # flags to be left without arguments
10601 need_version=unknown
10602
10603 case $host_os in
10604 aix3*)
10605   version_type=linux # correct to gnu/linux during the next big refactor
10606   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10607   shlibpath_var=LIBPATH
10608
10609   # AIX 3 has no versioning support, so we append a major version to the name.
10610   soname_spec='${libname}${release}${shared_ext}$major'
10611   ;;
10612
10613 aix[4-9]*)
10614   version_type=linux # correct to gnu/linux during the next big refactor
10615   need_lib_prefix=no
10616   need_version=no
10617   hardcode_into_libs=yes
10618   if test "$host_cpu" = ia64; then
10619     # AIX 5 supports IA64
10620     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10621     shlibpath_var=LD_LIBRARY_PATH
10622   else
10623     # With GCC up to 2.95.x, collect2 would create an import file
10624     # for dependence libraries.  The import file would start with
10625     # the line `#! .'.  This would cause the generated library to
10626     # depend on `.', always an invalid library.  This was fixed in
10627     # development snapshots of GCC prior to 3.0.
10628     case $host_os in
10629       aix4 | aix4.[01] | aix4.[01].*)
10630       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10631            echo ' yes '
10632            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10633         :
10634       else
10635         can_build_shared=no
10636       fi
10637       ;;
10638     esac
10639     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10640     # soname into executable. Probably we can add versioning support to
10641     # collect2, so additional links can be useful in future.
10642     if test "$aix_use_runtimelinking" = yes; then
10643       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10644       # instead of lib<name>.a to let people know that these are not
10645       # typical AIX shared libraries.
10646       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10647     else
10648       # We preserve .a as extension for shared libraries through AIX4.2
10649       # and later when we are not doing run time linking.
10650       library_names_spec='${libname}${release}.a $libname.a'
10651       soname_spec='${libname}${release}${shared_ext}$major'
10652     fi
10653     shlibpath_var=LIBPATH
10654   fi
10655   ;;
10656
10657 amigaos*)
10658   case $host_cpu in
10659   powerpc)
10660     # Since July 2007 AmigaOS4 officially supports .so libraries.
10661     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10662     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10663     ;;
10664   m68k)
10665     library_names_spec='$libname.ixlibrary $libname.a'
10666     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10667     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'
10668     ;;
10669   esac
10670   ;;
10671
10672 beos*)
10673   library_names_spec='${libname}${shared_ext}'
10674   dynamic_linker="$host_os ld.so"
10675   shlibpath_var=LIBRARY_PATH
10676   ;;
10677
10678 bsdi[45]*)
10679   version_type=linux # correct to gnu/linux during the next big refactor
10680   need_version=no
10681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682   soname_spec='${libname}${release}${shared_ext}$major'
10683   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10684   shlibpath_var=LD_LIBRARY_PATH
10685   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10686   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10687   # the default ld.so.conf also contains /usr/contrib/lib and
10688   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10689   # libtool to hard-code these into programs
10690   ;;
10691
10692 cygwin* | mingw* | pw32* | cegcc*)
10693   version_type=windows
10694   shrext_cmds=".dll"
10695   need_version=no
10696   need_lib_prefix=no
10697
10698   case $GCC,$cc_basename in
10699   yes,*)
10700     # gcc
10701     library_names_spec='$libname.dll.a'
10702     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10703     postinstall_cmds='base_file=`basename \${file}`~
10704       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10705       dldir=$destdir/`dirname \$dlpath`~
10706       test -d \$dldir || mkdir -p \$dldir~
10707       $install_prog $dir/$dlname \$dldir/$dlname~
10708       chmod a+x \$dldir/$dlname~
10709       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10710         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10711       fi'
10712     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10713       dlpath=$dir/\$dldll~
10714        $RM \$dlpath'
10715     shlibpath_overrides_runpath=yes
10716
10717     case $host_os in
10718     cygwin*)
10719       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10720       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10721
10722       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10723       ;;
10724     mingw* | cegcc*)
10725       # MinGW DLLs use traditional 'lib' prefix
10726       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10727       ;;
10728     pw32*)
10729       # pw32 DLLs use 'pw' prefix rather than 'lib'
10730       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10731       ;;
10732     esac
10733     dynamic_linker='Win32 ld.exe'
10734     ;;
10735
10736   *,cl*)
10737     # Native MSVC
10738     libname_spec='$name'
10739     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10740     library_names_spec='${libname}.dll.lib'
10741
10742     case $build_os in
10743     mingw*)
10744       sys_lib_search_path_spec=
10745       lt_save_ifs=$IFS
10746       IFS=';'
10747       for lt_path in $LIB
10748       do
10749         IFS=$lt_save_ifs
10750         # Let DOS variable expansion print the short 8.3 style file name.
10751         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10752         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10753       done
10754       IFS=$lt_save_ifs
10755       # Convert to MSYS style.
10756       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10757       ;;
10758     cygwin*)
10759       # Convert to unix form, then to dos form, then back to unix form
10760       # but this time dos style (no spaces!) so that the unix form looks
10761       # like /cygdrive/c/PROGRA~1:/cygdr...
10762       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10763       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10764       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10765       ;;
10766     *)
10767       sys_lib_search_path_spec="$LIB"
10768       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10769         # It is most probably a Windows format PATH.
10770         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10771       else
10772         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10773       fi
10774       # FIXME: find the short name or the path components, as spaces are
10775       # common. (e.g. "Program Files" -> "PROGRA~1")
10776       ;;
10777     esac
10778
10779     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10780     postinstall_cmds='base_file=`basename \${file}`~
10781       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10782       dldir=$destdir/`dirname \$dlpath`~
10783       test -d \$dldir || mkdir -p \$dldir~
10784       $install_prog $dir/$dlname \$dldir/$dlname'
10785     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10786       dlpath=$dir/\$dldll~
10787        $RM \$dlpath'
10788     shlibpath_overrides_runpath=yes
10789     dynamic_linker='Win32 link.exe'
10790     ;;
10791
10792   *)
10793     # Assume MSVC wrapper
10794     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10795     dynamic_linker='Win32 ld.exe'
10796     ;;
10797   esac
10798   # FIXME: first we should search . and the directory the executable is in
10799   shlibpath_var=PATH
10800   ;;
10801
10802 darwin* | rhapsody*)
10803   dynamic_linker="$host_os dyld"
10804   version_type=darwin
10805   need_lib_prefix=no
10806   need_version=no
10807   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10808   soname_spec='${libname}${release}${major}$shared_ext'
10809   shlibpath_overrides_runpath=yes
10810   shlibpath_var=DYLD_LIBRARY_PATH
10811   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10812
10813   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10814   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10815   ;;
10816
10817 dgux*)
10818   version_type=linux # correct to gnu/linux during the next big refactor
10819   need_lib_prefix=no
10820   need_version=no
10821   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10822   soname_spec='${libname}${release}${shared_ext}$major'
10823   shlibpath_var=LD_LIBRARY_PATH
10824   ;;
10825
10826 freebsd* | dragonfly*)
10827   # DragonFly does not have aout.  When/if they implement a new
10828   # versioning mechanism, adjust this.
10829   if test -x /usr/bin/objformat; then
10830     objformat=`/usr/bin/objformat`
10831   else
10832     case $host_os in
10833     freebsd[23].*) objformat=aout ;;
10834     *) objformat=elf ;;
10835     esac
10836   fi
10837   version_type=freebsd-$objformat
10838   case $version_type in
10839     freebsd-elf*)
10840       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10841       need_version=no
10842       need_lib_prefix=no
10843       ;;
10844     freebsd-*)
10845       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10846       need_version=yes
10847       ;;
10848   esac
10849   shlibpath_var=LD_LIBRARY_PATH
10850   case $host_os in
10851   freebsd2.*)
10852     shlibpath_overrides_runpath=yes
10853     ;;
10854   freebsd3.[01]* | freebsdelf3.[01]*)
10855     shlibpath_overrides_runpath=yes
10856     hardcode_into_libs=yes
10857     ;;
10858   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10859   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10860     shlibpath_overrides_runpath=no
10861     hardcode_into_libs=yes
10862     ;;
10863   *) # from 4.6 on, and DragonFly
10864     shlibpath_overrides_runpath=yes
10865     hardcode_into_libs=yes
10866     ;;
10867   esac
10868   ;;
10869
10870 gnu*)
10871   version_type=linux # correct to gnu/linux during the next big refactor
10872   need_lib_prefix=no
10873   need_version=no
10874   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10875   soname_spec='${libname}${release}${shared_ext}$major'
10876   shlibpath_var=LD_LIBRARY_PATH
10877   shlibpath_overrides_runpath=no
10878   hardcode_into_libs=yes
10879   ;;
10880
10881 haiku*)
10882   version_type=linux # correct to gnu/linux during the next big refactor
10883   need_lib_prefix=no
10884   need_version=no
10885   dynamic_linker="$host_os runtime_loader"
10886   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10887   soname_spec='${libname}${release}${shared_ext}$major'
10888   shlibpath_var=LIBRARY_PATH
10889   shlibpath_overrides_runpath=yes
10890   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10891   hardcode_into_libs=yes
10892   ;;
10893
10894 hpux9* | hpux10* | hpux11*)
10895   # Give a soname corresponding to the major version so that dld.sl refuses to
10896   # link against other versions.
10897   version_type=sunos
10898   need_lib_prefix=no
10899   need_version=no
10900   case $host_cpu in
10901   ia64*)
10902     shrext_cmds='.so'
10903     hardcode_into_libs=yes
10904     dynamic_linker="$host_os dld.so"
10905     shlibpath_var=LD_LIBRARY_PATH
10906     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10907     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908     soname_spec='${libname}${release}${shared_ext}$major'
10909     if test "X$HPUX_IA64_MODE" = X32; then
10910       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10911     else
10912       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10913     fi
10914     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10915     ;;
10916   hppa*64*)
10917     shrext_cmds='.sl'
10918     hardcode_into_libs=yes
10919     dynamic_linker="$host_os dld.sl"
10920     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10921     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10922     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923     soname_spec='${libname}${release}${shared_ext}$major'
10924     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10925     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10926     ;;
10927   *)
10928     shrext_cmds='.sl'
10929     dynamic_linker="$host_os dld.sl"
10930     shlibpath_var=SHLIB_PATH
10931     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10932     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933     soname_spec='${libname}${release}${shared_ext}$major'
10934     ;;
10935   esac
10936   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10937   postinstall_cmds='chmod 555 $lib'
10938   # or fails outright, so override atomically:
10939   install_override_mode=555
10940   ;;
10941
10942 interix[3-9]*)
10943   version_type=linux # correct to gnu/linux during the next big refactor
10944   need_lib_prefix=no
10945   need_version=no
10946   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10947   soname_spec='${libname}${release}${shared_ext}$major'
10948   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10949   shlibpath_var=LD_LIBRARY_PATH
10950   shlibpath_overrides_runpath=no
10951   hardcode_into_libs=yes
10952   ;;
10953
10954 irix5* | irix6* | nonstopux*)
10955   case $host_os in
10956     nonstopux*) version_type=nonstopux ;;
10957     *)
10958         if test "$lt_cv_prog_gnu_ld" = yes; then
10959                 version_type=linux # correct to gnu/linux during the next big refactor
10960         else
10961                 version_type=irix
10962         fi ;;
10963   esac
10964   need_lib_prefix=no
10965   need_version=no
10966   soname_spec='${libname}${release}${shared_ext}$major'
10967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10968   case $host_os in
10969   irix5* | nonstopux*)
10970     libsuff= shlibsuff=
10971     ;;
10972   *)
10973     case $LD in # libtool.m4 will add one of these switches to LD
10974     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10975       libsuff= shlibsuff= libmagic=32-bit;;
10976     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10977       libsuff=32 shlibsuff=N32 libmagic=N32;;
10978     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10979       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10980     *) libsuff= shlibsuff= libmagic=never-match;;
10981     esac
10982     ;;
10983   esac
10984   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10985   shlibpath_overrides_runpath=no
10986   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10987   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10988   hardcode_into_libs=yes
10989   ;;
10990
10991 # No shared lib support for Linux oldld, aout, or coff.
10992 linux*oldld* | linux*aout* | linux*coff*)
10993   dynamic_linker=no
10994   ;;
10995
10996 # This must be glibc/ELF.
10997 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10998   version_type=linux # correct to gnu/linux during the next big refactor
10999   need_lib_prefix=no
11000   need_version=no
11001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11002   soname_spec='${libname}${release}${shared_ext}$major'
11003   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11004   shlibpath_var=LD_LIBRARY_PATH
11005   shlibpath_overrides_runpath=no
11006
11007   # Some binutils ld are patched to set DT_RUNPATH
11008   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11009   $as_echo_n "(cached) " >&6
11010 else
11011   lt_cv_shlibpath_overrides_runpath=no
11012     save_LDFLAGS=$LDFLAGS
11013     save_libdir=$libdir
11014     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11015          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11016     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h.  */
11018
11019 int
11020 main ()
11021 {
11022
11023   ;
11024   return 0;
11025 }
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11029   lt_cv_shlibpath_overrides_runpath=yes
11030 fi
11031 fi
11032 rm -f core conftest.err conftest.$ac_objext \
11033     conftest$ac_exeext conftest.$ac_ext
11034     LDFLAGS=$save_LDFLAGS
11035     libdir=$save_libdir
11036
11037 fi
11038
11039   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11040
11041   # This implies no fast_install, which is unacceptable.
11042   # Some rework will be needed to allow for fast_install
11043   # before this can be enabled.
11044   hardcode_into_libs=yes
11045
11046   # Add ABI-specific directories to the system library path.
11047   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11048
11049   # Append ld.so.conf contents to the search path
11050   if test -f /etc/ld.so.conf; then
11051     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' ' '`
11052     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11053
11054   fi
11055
11056   # We used to test for /lib/ld.so.1 and disable shared libraries on
11057   # powerpc, because MkLinux only supported shared libraries with the
11058   # GNU dynamic linker.  Since this was broken with cross compilers,
11059   # most powerpc-linux boxes support dynamic linking these days and
11060   # people can always --disable-shared, the test was removed, and we
11061   # assume the GNU/Linux dynamic linker is in use.
11062   dynamic_linker='GNU/Linux ld.so'
11063   ;;
11064
11065 netbsd*)
11066   version_type=sunos
11067   need_lib_prefix=no
11068   need_version=no
11069   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11070     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11071     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11072     dynamic_linker='NetBSD (a.out) ld.so'
11073   else
11074     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11075     soname_spec='${libname}${release}${shared_ext}$major'
11076     dynamic_linker='NetBSD ld.elf_so'
11077   fi
11078   shlibpath_var=LD_LIBRARY_PATH
11079   shlibpath_overrides_runpath=yes
11080   hardcode_into_libs=yes
11081   ;;
11082
11083 newsos6)
11084   version_type=linux # correct to gnu/linux during the next big refactor
11085   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11086   shlibpath_var=LD_LIBRARY_PATH
11087   shlibpath_overrides_runpath=yes
11088   ;;
11089
11090 *nto* | *qnx*)
11091   version_type=qnx
11092   need_lib_prefix=no
11093   need_version=no
11094   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11095   soname_spec='${libname}${release}${shared_ext}$major'
11096   shlibpath_var=LD_LIBRARY_PATH
11097   shlibpath_overrides_runpath=no
11098   hardcode_into_libs=yes
11099   dynamic_linker='ldqnx.so'
11100   ;;
11101
11102 openbsd*)
11103   version_type=sunos
11104   sys_lib_dlsearch_path_spec="/usr/lib"
11105   need_lib_prefix=no
11106   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11107   case $host_os in
11108     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11109     *)                          need_version=no  ;;
11110   esac
11111   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11112   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11113   shlibpath_var=LD_LIBRARY_PATH
11114   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11115     case $host_os in
11116       openbsd2.[89] | openbsd2.[89].*)
11117         shlibpath_overrides_runpath=no
11118         ;;
11119       *)
11120         shlibpath_overrides_runpath=yes
11121         ;;
11122       esac
11123   else
11124     shlibpath_overrides_runpath=yes
11125   fi
11126   ;;
11127
11128 os2*)
11129   libname_spec='$name'
11130   shrext_cmds=".dll"
11131   need_lib_prefix=no
11132   library_names_spec='$libname${shared_ext} $libname.a'
11133   dynamic_linker='OS/2 ld.exe'
11134   shlibpath_var=LIBPATH
11135   ;;
11136
11137 osf3* | osf4* | osf5*)
11138   version_type=osf
11139   need_lib_prefix=no
11140   need_version=no
11141   soname_spec='${libname}${release}${shared_ext}$major'
11142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143   shlibpath_var=LD_LIBRARY_PATH
11144   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11145   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11146   ;;
11147
11148 rdos*)
11149   dynamic_linker=no
11150   ;;
11151
11152 solaris*)
11153   version_type=linux # correct to gnu/linux during the next big refactor
11154   need_lib_prefix=no
11155   need_version=no
11156   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157   soname_spec='${libname}${release}${shared_ext}$major'
11158   shlibpath_var=LD_LIBRARY_PATH
11159   shlibpath_overrides_runpath=yes
11160   hardcode_into_libs=yes
11161   # ldd complains unless libraries are executable
11162   postinstall_cmds='chmod +x $lib'
11163   ;;
11164
11165 sunos4*)
11166   version_type=sunos
11167   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11168   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11169   shlibpath_var=LD_LIBRARY_PATH
11170   shlibpath_overrides_runpath=yes
11171   if test "$with_gnu_ld" = yes; then
11172     need_lib_prefix=no
11173   fi
11174   need_version=yes
11175   ;;
11176
11177 sysv4 | sysv4.3*)
11178   version_type=linux # correct to gnu/linux during the next big refactor
11179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11180   soname_spec='${libname}${release}${shared_ext}$major'
11181   shlibpath_var=LD_LIBRARY_PATH
11182   case $host_vendor in
11183     sni)
11184       shlibpath_overrides_runpath=no
11185       need_lib_prefix=no
11186       runpath_var=LD_RUN_PATH
11187       ;;
11188     siemens)
11189       need_lib_prefix=no
11190       ;;
11191     motorola)
11192       need_lib_prefix=no
11193       need_version=no
11194       shlibpath_overrides_runpath=no
11195       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11196       ;;
11197   esac
11198   ;;
11199
11200 sysv4*MP*)
11201   if test -d /usr/nec ;then
11202     version_type=linux # correct to gnu/linux during the next big refactor
11203     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11204     soname_spec='$libname${shared_ext}.$major'
11205     shlibpath_var=LD_LIBRARY_PATH
11206   fi
11207   ;;
11208
11209 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11210   version_type=freebsd-elf
11211   need_lib_prefix=no
11212   need_version=no
11213   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11214   soname_spec='${libname}${release}${shared_ext}$major'
11215   shlibpath_var=LD_LIBRARY_PATH
11216   shlibpath_overrides_runpath=yes
11217   hardcode_into_libs=yes
11218   if test "$with_gnu_ld" = yes; then
11219     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11220   else
11221     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11222     case $host_os in
11223       sco3.2v5*)
11224         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11225         ;;
11226     esac
11227   fi
11228   sys_lib_dlsearch_path_spec='/usr/lib'
11229   ;;
11230
11231 tpf*)
11232   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11233   version_type=linux # correct to gnu/linux during the next big refactor
11234   need_lib_prefix=no
11235   need_version=no
11236   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237   shlibpath_var=LD_LIBRARY_PATH
11238   shlibpath_overrides_runpath=no
11239   hardcode_into_libs=yes
11240   ;;
11241
11242 uts4*)
11243   version_type=linux # correct to gnu/linux during the next big refactor
11244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11245   soname_spec='${libname}${release}${shared_ext}$major'
11246   shlibpath_var=LD_LIBRARY_PATH
11247   ;;
11248
11249 *)
11250   dynamic_linker=no
11251   ;;
11252 esac
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11254 $as_echo "$dynamic_linker" >&6; }
11255 test "$dynamic_linker" = no && can_build_shared=no
11256
11257 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11258 if test "$GCC" = yes; then
11259   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11260 fi
11261
11262 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11263   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11264 fi
11265 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11266   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11267 fi
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11361 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11362 hardcode_action=
11363 if test -n "$hardcode_libdir_flag_spec" ||
11364    test -n "$runpath_var" ||
11365    test "X$hardcode_automatic" = "Xyes" ; then
11366
11367   # We can hardcode non-existent directories.
11368   if test "$hardcode_direct" != no &&
11369      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11370      # have to relink, otherwise we might link with an installed library
11371      # when we should be linking with a yet-to-be-installed one
11372      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11373      test "$hardcode_minus_L" != no; then
11374     # Linking always hardcodes the temporary library directory.
11375     hardcode_action=relink
11376   else
11377     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11378     hardcode_action=immediate
11379   fi
11380 else
11381   # We cannot hardcode anything, or else we can only hardcode existing
11382   # directories.
11383   hardcode_action=unsupported
11384 fi
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11386 $as_echo "$hardcode_action" >&6; }
11387
11388 if test "$hardcode_action" = relink ||
11389    test "$inherit_rpath" = yes; then
11390   # Fast installation is not supported
11391   enable_fast_install=no
11392 elif test "$shlibpath_overrides_runpath" = yes ||
11393      test "$enable_shared" = no; then
11394   # Fast installation is not necessary
11395   enable_fast_install=needless
11396 fi
11397
11398
11399
11400
11401
11402
11403   if test "x$enable_dlopen" != xyes; then
11404   enable_dlopen=unknown
11405   enable_dlopen_self=unknown
11406   enable_dlopen_self_static=unknown
11407 else
11408   lt_cv_dlopen=no
11409   lt_cv_dlopen_libs=
11410
11411   case $host_os in
11412   beos*)
11413     lt_cv_dlopen="load_add_on"
11414     lt_cv_dlopen_libs=
11415     lt_cv_dlopen_self=yes
11416     ;;
11417
11418   mingw* | pw32* | cegcc*)
11419     lt_cv_dlopen="LoadLibrary"
11420     lt_cv_dlopen_libs=
11421     ;;
11422
11423   cygwin*)
11424     lt_cv_dlopen="dlopen"
11425     lt_cv_dlopen_libs=
11426     ;;
11427
11428   darwin*)
11429   # if libdl is installed we need to link against it
11430     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11431 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11432 if ${ac_cv_lib_dl_dlopen+:} false; then :
11433   $as_echo_n "(cached) " >&6
11434 else
11435   ac_check_lib_save_LIBS=$LIBS
11436 LIBS="-ldl  $LIBS"
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h.  */
11439
11440 /* Override any GCC internal prototype to avoid an error.
11441    Use char because int might match the return type of a GCC
11442    builtin and then its argument prototype would still apply.  */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dlopen ();
11447 int
11448 main ()
11449 {
11450 return dlopen ();
11451   ;
11452   return 0;
11453 }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456   ac_cv_lib_dl_dlopen=yes
11457 else
11458   ac_cv_lib_dl_dlopen=no
11459 fi
11460 rm -f core conftest.err conftest.$ac_objext \
11461     conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11463 fi
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11465 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11466 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11467   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11468 else
11469
11470     lt_cv_dlopen="dyld"
11471     lt_cv_dlopen_libs=
11472     lt_cv_dlopen_self=yes
11473
11474 fi
11475
11476     ;;
11477
11478   *)
11479     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11480 if test "x$ac_cv_func_shl_load" = xyes; then :
11481   lt_cv_dlopen="shl_load"
11482 else
11483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11484 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11485 if ${ac_cv_lib_dld_shl_load+:} false; then :
11486   $as_echo_n "(cached) " >&6
11487 else
11488   ac_check_lib_save_LIBS=$LIBS
11489 LIBS="-ldld  $LIBS"
11490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h.  */
11492
11493 /* Override any GCC internal prototype to avoid an error.
11494    Use char because int might match the return type of a GCC
11495    builtin and then its argument prototype would still apply.  */
11496 #ifdef __cplusplus
11497 extern "C"
11498 #endif
11499 char shl_load ();
11500 int
11501 main ()
11502 {
11503 return shl_load ();
11504   ;
11505   return 0;
11506 }
11507 _ACEOF
11508 if ac_fn_c_try_link "$LINENO"; then :
11509   ac_cv_lib_dld_shl_load=yes
11510 else
11511   ac_cv_lib_dld_shl_load=no
11512 fi
11513 rm -f core conftest.err conftest.$ac_objext \
11514     conftest$ac_exeext conftest.$ac_ext
11515 LIBS=$ac_check_lib_save_LIBS
11516 fi
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11518 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11519 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11520   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11521 else
11522   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11523 if test "x$ac_cv_func_dlopen" = xyes; then :
11524   lt_cv_dlopen="dlopen"
11525 else
11526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11527 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11528 if ${ac_cv_lib_dl_dlopen+:} false; then :
11529   $as_echo_n "(cached) " >&6
11530 else
11531   ac_check_lib_save_LIBS=$LIBS
11532 LIBS="-ldl  $LIBS"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h.  */
11535
11536 /* Override any GCC internal prototype to avoid an error.
11537    Use char because int might match the return type of a GCC
11538    builtin and then its argument prototype would still apply.  */
11539 #ifdef __cplusplus
11540 extern "C"
11541 #endif
11542 char dlopen ();
11543 int
11544 main ()
11545 {
11546 return dlopen ();
11547   ;
11548   return 0;
11549 }
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"; then :
11552   ac_cv_lib_dl_dlopen=yes
11553 else
11554   ac_cv_lib_dl_dlopen=no
11555 fi
11556 rm -f core conftest.err conftest.$ac_objext \
11557     conftest$ac_exeext conftest.$ac_ext
11558 LIBS=$ac_check_lib_save_LIBS
11559 fi
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11561 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11562 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11563   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11564 else
11565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11566 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11567 if ${ac_cv_lib_svld_dlopen+:} false; then :
11568   $as_echo_n "(cached) " >&6
11569 else
11570   ac_check_lib_save_LIBS=$LIBS
11571 LIBS="-lsvld  $LIBS"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h.  */
11574
11575 /* Override any GCC internal prototype to avoid an error.
11576    Use char because int might match the return type of a GCC
11577    builtin and then its argument prototype would still apply.  */
11578 #ifdef __cplusplus
11579 extern "C"
11580 #endif
11581 char dlopen ();
11582 int
11583 main ()
11584 {
11585 return dlopen ();
11586   ;
11587   return 0;
11588 }
11589 _ACEOF
11590 if ac_fn_c_try_link "$LINENO"; then :
11591   ac_cv_lib_svld_dlopen=yes
11592 else
11593   ac_cv_lib_svld_dlopen=no
11594 fi
11595 rm -f core conftest.err conftest.$ac_objext \
11596     conftest$ac_exeext conftest.$ac_ext
11597 LIBS=$ac_check_lib_save_LIBS
11598 fi
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11600 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11601 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11602   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11603 else
11604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11605 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11606 if ${ac_cv_lib_dld_dld_link+:} false; then :
11607   $as_echo_n "(cached) " >&6
11608 else
11609   ac_check_lib_save_LIBS=$LIBS
11610 LIBS="-ldld  $LIBS"
11611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11612 /* end confdefs.h.  */
11613
11614 /* Override any GCC internal prototype to avoid an error.
11615    Use char because int might match the return type of a GCC
11616    builtin and then its argument prototype would still apply.  */
11617 #ifdef __cplusplus
11618 extern "C"
11619 #endif
11620 char dld_link ();
11621 int
11622 main ()
11623 {
11624 return dld_link ();
11625   ;
11626   return 0;
11627 }
11628 _ACEOF
11629 if ac_fn_c_try_link "$LINENO"; then :
11630   ac_cv_lib_dld_dld_link=yes
11631 else
11632   ac_cv_lib_dld_dld_link=no
11633 fi
11634 rm -f core conftest.err conftest.$ac_objext \
11635     conftest$ac_exeext conftest.$ac_ext
11636 LIBS=$ac_check_lib_save_LIBS
11637 fi
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11639 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11640 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11641   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11642 fi
11643
11644
11645 fi
11646
11647
11648 fi
11649
11650
11651 fi
11652
11653
11654 fi
11655
11656
11657 fi
11658
11659     ;;
11660   esac
11661
11662   if test "x$lt_cv_dlopen" != xno; then
11663     enable_dlopen=yes
11664   else
11665     enable_dlopen=no
11666   fi
11667
11668   case $lt_cv_dlopen in
11669   dlopen)
11670     save_CPPFLAGS="$CPPFLAGS"
11671     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11672
11673     save_LDFLAGS="$LDFLAGS"
11674     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11675
11676     save_LIBS="$LIBS"
11677     LIBS="$lt_cv_dlopen_libs $LIBS"
11678
11679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11680 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11681 if ${lt_cv_dlopen_self+:} false; then :
11682   $as_echo_n "(cached) " >&6
11683 else
11684           if test "$cross_compiling" = yes; then :
11685   lt_cv_dlopen_self=cross
11686 else
11687   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11688   lt_status=$lt_dlunknown
11689   cat > conftest.$ac_ext <<_LT_EOF
11690 #line $LINENO "configure"
11691 #include "confdefs.h"
11692
11693 #if HAVE_DLFCN_H
11694 #include <dlfcn.h>
11695 #endif
11696
11697 #include <stdio.h>
11698
11699 #ifdef RTLD_GLOBAL
11700 #  define LT_DLGLOBAL           RTLD_GLOBAL
11701 #else
11702 #  ifdef DL_GLOBAL
11703 #    define LT_DLGLOBAL         DL_GLOBAL
11704 #  else
11705 #    define LT_DLGLOBAL         0
11706 #  endif
11707 #endif
11708
11709 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11710    find out it does not work in some platform. */
11711 #ifndef LT_DLLAZY_OR_NOW
11712 #  ifdef RTLD_LAZY
11713 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11714 #  else
11715 #    ifdef DL_LAZY
11716 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11717 #    else
11718 #      ifdef RTLD_NOW
11719 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11720 #      else
11721 #        ifdef DL_NOW
11722 #          define LT_DLLAZY_OR_NOW      DL_NOW
11723 #        else
11724 #          define LT_DLLAZY_OR_NOW      0
11725 #        endif
11726 #      endif
11727 #    endif
11728 #  endif
11729 #endif
11730
11731 /* When -fvisbility=hidden is used, assume the code has been annotated
11732    correspondingly for the symbols needed.  */
11733 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11734 int fnord () __attribute__((visibility("default")));
11735 #endif
11736
11737 int fnord () { return 42; }
11738 int main ()
11739 {
11740   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11741   int status = $lt_dlunknown;
11742
11743   if (self)
11744     {
11745       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11746       else
11747         {
11748           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11749           else puts (dlerror ());
11750         }
11751       /* dlclose (self); */
11752     }
11753   else
11754     puts (dlerror ());
11755
11756   return status;
11757 }
11758 _LT_EOF
11759   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11760   (eval $ac_link) 2>&5
11761   ac_status=$?
11762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11763   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11764     (./conftest; exit; ) >&5 2>/dev/null
11765     lt_status=$?
11766     case x$lt_status in
11767       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11768       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11769       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11770     esac
11771   else :
11772     # compilation failed
11773     lt_cv_dlopen_self=no
11774   fi
11775 fi
11776 rm -fr conftest*
11777
11778
11779 fi
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11781 $as_echo "$lt_cv_dlopen_self" >&6; }
11782
11783     if test "x$lt_cv_dlopen_self" = xyes; then
11784       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11785       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11786 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11787 if ${lt_cv_dlopen_self_static+:} false; then :
11788   $as_echo_n "(cached) " >&6
11789 else
11790           if test "$cross_compiling" = yes; then :
11791   lt_cv_dlopen_self_static=cross
11792 else
11793   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11794   lt_status=$lt_dlunknown
11795   cat > conftest.$ac_ext <<_LT_EOF
11796 #line $LINENO "configure"
11797 #include "confdefs.h"
11798
11799 #if HAVE_DLFCN_H
11800 #include <dlfcn.h>
11801 #endif
11802
11803 #include <stdio.h>
11804
11805 #ifdef RTLD_GLOBAL
11806 #  define LT_DLGLOBAL           RTLD_GLOBAL
11807 #else
11808 #  ifdef DL_GLOBAL
11809 #    define LT_DLGLOBAL         DL_GLOBAL
11810 #  else
11811 #    define LT_DLGLOBAL         0
11812 #  endif
11813 #endif
11814
11815 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11816    find out it does not work in some platform. */
11817 #ifndef LT_DLLAZY_OR_NOW
11818 #  ifdef RTLD_LAZY
11819 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11820 #  else
11821 #    ifdef DL_LAZY
11822 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11823 #    else
11824 #      ifdef RTLD_NOW
11825 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11826 #      else
11827 #        ifdef DL_NOW
11828 #          define LT_DLLAZY_OR_NOW      DL_NOW
11829 #        else
11830 #          define LT_DLLAZY_OR_NOW      0
11831 #        endif
11832 #      endif
11833 #    endif
11834 #  endif
11835 #endif
11836
11837 /* When -fvisbility=hidden is used, assume the code has been annotated
11838    correspondingly for the symbols needed.  */
11839 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11840 int fnord () __attribute__((visibility("default")));
11841 #endif
11842
11843 int fnord () { return 42; }
11844 int main ()
11845 {
11846   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11847   int status = $lt_dlunknown;
11848
11849   if (self)
11850     {
11851       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11852       else
11853         {
11854           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11855           else puts (dlerror ());
11856         }
11857       /* dlclose (self); */
11858     }
11859   else
11860     puts (dlerror ());
11861
11862   return status;
11863 }
11864 _LT_EOF
11865   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11866   (eval $ac_link) 2>&5
11867   ac_status=$?
11868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11869   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11870     (./conftest; exit; ) >&5 2>/dev/null
11871     lt_status=$?
11872     case x$lt_status in
11873       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11874       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11875       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11876     esac
11877   else :
11878     # compilation failed
11879     lt_cv_dlopen_self_static=no
11880   fi
11881 fi
11882 rm -fr conftest*
11883
11884
11885 fi
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11887 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11888     fi
11889
11890     CPPFLAGS="$save_CPPFLAGS"
11891     LDFLAGS="$save_LDFLAGS"
11892     LIBS="$save_LIBS"
11893     ;;
11894   esac
11895
11896   case $lt_cv_dlopen_self in
11897   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11898   *) enable_dlopen_self=unknown ;;
11899   esac
11900
11901   case $lt_cv_dlopen_self_static in
11902   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11903   *) enable_dlopen_self_static=unknown ;;
11904   esac
11905 fi
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923 striplib=
11924 old_striplib=
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11926 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11927 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11928   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11929   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11931 $as_echo "yes" >&6; }
11932 else
11933 # FIXME - insert some real tests, host_os isn't really good enough
11934   case $host_os in
11935   darwin*)
11936     if test -n "$STRIP" ; then
11937       striplib="$STRIP -x"
11938       old_striplib="$STRIP -S"
11939       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11940 $as_echo "yes" >&6; }
11941     else
11942       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11943 $as_echo "no" >&6; }
11944     fi
11945     ;;
11946   *)
11947     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11948 $as_echo "no" >&6; }
11949     ;;
11950   esac
11951 fi
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964   # Report which library types will actually be built
11965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11966 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11968 $as_echo "$can_build_shared" >&6; }
11969
11970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11971 $as_echo_n "checking whether to build shared libraries... " >&6; }
11972   test "$can_build_shared" = "no" && enable_shared=no
11973
11974   # On AIX, shared libraries and static libraries use the same namespace, and
11975   # are all built from PIC.
11976   case $host_os in
11977   aix3*)
11978     test "$enable_shared" = yes && enable_static=no
11979     if test -n "$RANLIB"; then
11980       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11981       postinstall_cmds='$RANLIB $lib'
11982     fi
11983     ;;
11984
11985   aix[4-9]*)
11986     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11987       test "$enable_shared" = yes && enable_static=no
11988     fi
11989     ;;
11990   esac
11991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11992 $as_echo "$enable_shared" >&6; }
11993
11994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11995 $as_echo_n "checking whether to build static libraries... " >&6; }
11996   # Make sure either enable_shared or enable_static is yes.
11997   test "$enable_shared" = yes || enable_static=yes
11998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11999 $as_echo "$enable_static" >&6; }
12000
12001
12002
12003
12004 fi
12005 ac_ext=c
12006 ac_cpp='$CPP $CPPFLAGS'
12007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12010
12011 CC="$lt_save_CC"
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027         ac_config_commands="$ac_config_commands libtool"
12028
12029
12030
12031
12032 # Only expand once:
12033
12034
12035
12036 #themesdir="${datadir}/ethumb/data/frames"
12037 #AC_SUBST(themesdir)
12038 #AS_AC_EXPAND(THEMESDIR, $themesdir)
12039 #AC_DEFINE_UNQUOTED(THEMESDIR, ["$THEMESDIR"], [Where frame theme files are installed.]
12040 #)
12041
12042 #AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
12043 #AC_DEFINE_UNQUOTED(SYSCONFDIR, ["$SYSCONFDIR"], [Where system configuration is stored])
12044
12045
12046
12047 # Check whether --enable-doc was given.
12048 if test "${enable_doc+set}" = set; then :
12049   enableval=$enable_doc;
12050     if test "x${enableval}" = "xyes" ; then
12051        efl_enable_doc="yes"
12052     else
12053        efl_enable_doc="no"
12054     fi
12055
12056 else
12057   efl_enable_doc="yes"
12058 fi
12059
12060
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12062 $as_echo_n "checking whether to build documentation... " >&6; }
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12064 $as_echo "${efl_enable_doc}" >&6; }
12065
12066 if test "x${efl_enable_doc}" = "xyes" ; then
12067
12068
12069    efl_doxygen="doxygen"
12070
12071
12072 # Check whether --with-doxygen was given.
12073 if test "${with_doxygen+set}" = set; then :
12074   withval=$with_doxygen;
12075       efl_doxygen=${withval}
12076        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12077 set dummy ${efl_doxygen}; ac_word=$2
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12079 $as_echo_n "checking for $ac_word... " >&6; }
12080 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12081   $as_echo_n "(cached) " >&6
12082 else
12083   if test -n "$efl_have_doxygen"; then
12084   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12085 else
12086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12087 for as_dir in $PATH
12088 do
12089   IFS=$as_save_IFS
12090   test -z "$as_dir" && as_dir=.
12091     for ac_exec_ext in '' $ac_executable_extensions; do
12092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12093     ac_cv_prog_efl_have_doxygen="yes"
12094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12095     break 2
12096   fi
12097 done
12098   done
12099 IFS=$as_save_IFS
12100
12101   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12102 fi
12103 fi
12104 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12105 if test -n "$efl_have_doxygen"; then
12106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12107 $as_echo "$efl_have_doxygen" >&6; }
12108 else
12109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12110 $as_echo "no" >&6; }
12111 fi
12112
12113
12114        if test "x${efl_have_doxygen}" = "xno" ; then
12115           echo "WARNING:"
12116           echo "The doxygen program you specified:"
12117           echo "${efl_doxygen}"
12118           echo "was not found.  Please check the path and make sure "
12119           echo "the program exists and is executable."
12120           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12121 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12122        fi
12123
12124 else
12125   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12126 set dummy ${efl_doxygen}; ac_word=$2
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12128 $as_echo_n "checking for $ac_word... " >&6; }
12129 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12130   $as_echo_n "(cached) " >&6
12131 else
12132   if test -n "$efl_have_doxygen"; then
12133   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12134 else
12135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12136 for as_dir in $PATH
12137 do
12138   IFS=$as_save_IFS
12139   test -z "$as_dir" && as_dir=.
12140     for ac_exec_ext in '' $ac_executable_extensions; do
12141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12142     ac_cv_prog_efl_have_doxygen="yes"
12143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12144     break 2
12145   fi
12146 done
12147   done
12148 IFS=$as_save_IFS
12149
12150   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12151 fi
12152 fi
12153 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12154 if test -n "$efl_have_doxygen"; then
12155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12156 $as_echo "$efl_have_doxygen" >&6; }
12157 else
12158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12159 $as_echo "no" >&6; }
12160 fi
12161
12162
12163        if test "x${efl_have_doxygen}" = "xno" ; then
12164           echo "WARNING:"
12165           echo "The doxygen program was not found in your execute path."
12166           echo "You may have doxygen installed somewhere not covered by your path."
12167           echo ""
12168           echo "If this is the case make sure you have the packages installed, AND"
12169           echo "that the doxygen program is in your execute path (see your"
12170           echo "shell manual page on setting the \$PATH environment variable), OR"
12171           echo "alternatively, specify the program to use with --with-doxygen."
12172           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12173 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12174        fi
12175
12176 fi
12177
12178 fi
12179
12180
12181
12182 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12183    efl_enable_doc="no"
12184 fi
12185
12186  if test "x${efl_enable_doc}" = "xyes"; then
12187   EFL_BUILD_DOC_TRUE=
12188   EFL_BUILD_DOC_FALSE='#'
12189 else
12190   EFL_BUILD_DOC_TRUE='#'
12191   EFL_BUILD_DOC_FALSE=
12192 fi
12193
12194
12195 if test "x${efl_enable_doc}" = "xyes" ; then
12196   build_doc="yes"
12197 else
12198   build_doc="no"
12199 fi
12200
12201
12202
12203 with_max_log_level="<unset>"
12204
12205 # Check whether --with-internal-maximum-log-level was given.
12206 if test "${with_internal_maximum_log_level+set}" = set; then :
12207   withval=$with_internal_maximum_log_level;
12208     if test "x${withval}" != "xno"; then
12209        if echo "${withval}" | grep '^[0-9]\+$' >/dev/null 2>/dev/null; then
12210           { $as_echo "$as_me:${as_lineno-$LINENO}: ignoring any EINA_LOG() with level greater than ${withval}" >&5
12211 $as_echo "$as_me: ignoring any EINA_LOG() with level greater than ${withval}" >&6;}
12212
12213 cat >>confdefs.h <<_ACEOF
12214 #define EINA_LOG_LEVEL_MAXIMUM ${withval}
12215 _ACEOF
12216
12217           with_max_log_level="${withval}"
12218        else
12219           as_fn_error $? "--with-internal-maximum-log-level takes a decimal number, got \"${withval}\" instead." "$LINENO" 5
12220        fi
12221     fi
12222
12223 else
12224   :
12225 fi
12226
12227
12228 case "$host_os" in
12229    mingw*)
12230
12231 pkg_failed=no
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
12233 $as_echo_n "checking for EVIL... " >&6; }
12234
12235 if test -n "$EVIL_CFLAGS"; then
12236     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
12237  elif test -n "$PKG_CONFIG"; then
12238     if test -n "$PKG_CONFIG" && \
12239     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.7\""; } >&5
12240   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.7") 2>&5
12241   ac_status=$?
12242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12243   test $ac_status = 0; }; then
12244   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.7.7" 2>/dev/null`
12245 else
12246   pkg_failed=yes
12247 fi
12248  else
12249     pkg_failed=untried
12250 fi
12251 if test -n "$EVIL_LIBS"; then
12252     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
12253  elif test -n "$PKG_CONFIG"; then
12254     if test -n "$PKG_CONFIG" && \
12255     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.7\""; } >&5
12256   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.7") 2>&5
12257   ac_status=$?
12258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12259   test $ac_status = 0; }; then
12260   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.7.7" 2>/dev/null`
12261 else
12262   pkg_failed=yes
12263 fi
12264  else
12265     pkg_failed=untried
12266 fi
12267
12268
12269
12270 if test $pkg_failed = yes; then
12271         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12272 $as_echo "no" >&6; }
12273
12274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12275         _pkg_short_errors_supported=yes
12276 else
12277         _pkg_short_errors_supported=no
12278 fi
12279         if test $_pkg_short_errors_supported = yes; then
12280                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.7.7" 2>&1`
12281         else
12282                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.7.7" 2>&1`
12283         fi
12284         # Put the nasty error message in config.log where it belongs
12285         echo "$EVIL_PKG_ERRORS" >&5
12286
12287         as_fn_error $? "Package requirements (evil >= 1.7.7) were not met:
12288
12289 $EVIL_PKG_ERRORS
12290
12291 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12292 installed software in a non-standard prefix.
12293
12294 Alternatively, you may set the environment variables EVIL_CFLAGS
12295 and EVIL_LIBS to avoid the need to call pkg-config.
12296 See the pkg-config man page for more details." "$LINENO" 5
12297
12298 elif test $pkg_failed = untried; then
12299         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12300 $as_echo "no" >&6; }
12301         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12303 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12304 is in your PATH or set the PKG_CONFIG environment variable to the full
12305 path to pkg-config.
12306
12307 Alternatively, you may set the environment variables EVIL_CFLAGS
12308 and EVIL_LIBS to avoid the need to call pkg-config.
12309 See the pkg-config man page for more details.
12310
12311 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12312 See \`config.log' for more details" "$LINENO" 5; }
12313
12314 else
12315         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
12316         EVIL_LIBS=$pkg_cv_EVIL_LIBS
12317         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12318 $as_echo "yes" >&6; }
12319
12320 fi
12321
12322 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
12323
12324       requirement_ethumb="${requirement_ethumb} evil >= 1.7.7"
12325    ;;
12326 esac
12327
12328
12329 pkg_failed=no
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
12331 $as_echo_n "checking for EINA... " >&6; }
12332
12333 if test -n "$EINA_CFLAGS"; then
12334     pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
12335  elif test -n "$PKG_CONFIG"; then
12336     if test -n "$PKG_CONFIG" && \
12337     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.7\""; } >&5
12338   ($PKG_CONFIG --exists --print-errors "eina >= 1.7.7") 2>&5
12339   ac_status=$?
12340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12341   test $ac_status = 0; }; then
12342   pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.7.7" 2>/dev/null`
12343 else
12344   pkg_failed=yes
12345 fi
12346  else
12347     pkg_failed=untried
12348 fi
12349 if test -n "$EINA_LIBS"; then
12350     pkg_cv_EINA_LIBS="$EINA_LIBS"
12351  elif test -n "$PKG_CONFIG"; then
12352     if test -n "$PKG_CONFIG" && \
12353     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.7\""; } >&5
12354   ($PKG_CONFIG --exists --print-errors "eina >= 1.7.7") 2>&5
12355   ac_status=$?
12356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12357   test $ac_status = 0; }; then
12358   pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.7.7" 2>/dev/null`
12359 else
12360   pkg_failed=yes
12361 fi
12362  else
12363     pkg_failed=untried
12364 fi
12365
12366
12367
12368 if test $pkg_failed = yes; then
12369         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12370 $as_echo "no" >&6; }
12371
12372 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12373         _pkg_short_errors_supported=yes
12374 else
12375         _pkg_short_errors_supported=no
12376 fi
12377         if test $_pkg_short_errors_supported = yes; then
12378                 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.7.7" 2>&1`
12379         else
12380                 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.7.7" 2>&1`
12381         fi
12382         # Put the nasty error message in config.log where it belongs
12383         echo "$EINA_PKG_ERRORS" >&5
12384
12385         as_fn_error $? "Package requirements (eina >= 1.7.7) were not met:
12386
12387 $EINA_PKG_ERRORS
12388
12389 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12390 installed software in a non-standard prefix.
12391
12392 Alternatively, you may set the environment variables EINA_CFLAGS
12393 and EINA_LIBS to avoid the need to call pkg-config.
12394 See the pkg-config man page for more details." "$LINENO" 5
12395
12396 elif test $pkg_failed = untried; then
12397         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12398 $as_echo "no" >&6; }
12399         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12401 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12402 is in your PATH or set the PKG_CONFIG environment variable to the full
12403 path to pkg-config.
12404
12405 Alternatively, you may set the environment variables EINA_CFLAGS
12406 and EINA_LIBS to avoid the need to call pkg-config.
12407 See the pkg-config man page for more details.
12408
12409 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12410 See \`config.log' for more details" "$LINENO" 5; }
12411
12412 else
12413         EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
12414         EINA_LIBS=$pkg_cv_EINA_LIBS
12415         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12416 $as_echo "yes" >&6; }
12417
12418 fi
12419
12420 pkg_failed=no
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
12422 $as_echo_n "checking for EVAS... " >&6; }
12423
12424 if test -n "$EVAS_CFLAGS"; then
12425     pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
12426  elif test -n "$PKG_CONFIG"; then
12427     if test -n "$PKG_CONFIG" && \
12428     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.7\""; } >&5
12429   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.7") 2>&5
12430   ac_status=$?
12431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12432   test $ac_status = 0; }; then
12433   pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.7" 2>/dev/null`
12434 else
12435   pkg_failed=yes
12436 fi
12437  else
12438     pkg_failed=untried
12439 fi
12440 if test -n "$EVAS_LIBS"; then
12441     pkg_cv_EVAS_LIBS="$EVAS_LIBS"
12442  elif test -n "$PKG_CONFIG"; then
12443     if test -n "$PKG_CONFIG" && \
12444     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.7\""; } >&5
12445   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.7") 2>&5
12446   ac_status=$?
12447   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12448   test $ac_status = 0; }; then
12449   pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.7" 2>/dev/null`
12450 else
12451   pkg_failed=yes
12452 fi
12453  else
12454     pkg_failed=untried
12455 fi
12456
12457
12458
12459 if test $pkg_failed = yes; then
12460         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12461 $as_echo "no" >&6; }
12462
12463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12464         _pkg_short_errors_supported=yes
12465 else
12466         _pkg_short_errors_supported=no
12467 fi
12468         if test $_pkg_short_errors_supported = yes; then
12469                 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evas >= 1.7.7" 2>&1`
12470         else
12471                 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "evas >= 1.7.7" 2>&1`
12472         fi
12473         # Put the nasty error message in config.log where it belongs
12474         echo "$EVAS_PKG_ERRORS" >&5
12475
12476         as_fn_error $? "Package requirements (evas >= 1.7.7) were not met:
12477
12478 $EVAS_PKG_ERRORS
12479
12480 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12481 installed software in a non-standard prefix.
12482
12483 Alternatively, you may set the environment variables EVAS_CFLAGS
12484 and EVAS_LIBS to avoid the need to call pkg-config.
12485 See the pkg-config man page for more details." "$LINENO" 5
12486
12487 elif test $pkg_failed = untried; then
12488         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12489 $as_echo "no" >&6; }
12490         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12492 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12493 is in your PATH or set the PKG_CONFIG environment variable to the full
12494 path to pkg-config.
12495
12496 Alternatively, you may set the environment variables EVAS_CFLAGS
12497 and EVAS_LIBS to avoid the need to call pkg-config.
12498 See the pkg-config man page for more details.
12499
12500 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12501 See \`config.log' for more details" "$LINENO" 5; }
12502
12503 else
12504         EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
12505         EVAS_LIBS=$pkg_cv_EVAS_LIBS
12506         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12507 $as_echo "yes" >&6; }
12508
12509 fi
12510
12511 pkg_failed=no
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE" >&5
12513 $as_echo_n "checking for ECORE... " >&6; }
12514
12515 if test -n "$ECORE_CFLAGS"; then
12516     pkg_cv_ECORE_CFLAGS="$ECORE_CFLAGS"
12517  elif test -n "$PKG_CONFIG"; then
12518     if test -n "$PKG_CONFIG" && \
12519     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7\""; } >&5
12520   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7") 2>&5
12521   ac_status=$?
12522   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12523   test $ac_status = 0; }; then
12524   pkg_cv_ECORE_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7" 2>/dev/null`
12525 else
12526   pkg_failed=yes
12527 fi
12528  else
12529     pkg_failed=untried
12530 fi
12531 if test -n "$ECORE_LIBS"; then
12532     pkg_cv_ECORE_LIBS="$ECORE_LIBS"
12533  elif test -n "$PKG_CONFIG"; then
12534     if test -n "$PKG_CONFIG" && \
12535     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7\""; } >&5
12536   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7") 2>&5
12537   ac_status=$?
12538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12539   test $ac_status = 0; }; then
12540   pkg_cv_ECORE_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7" 2>/dev/null`
12541 else
12542   pkg_failed=yes
12543 fi
12544  else
12545     pkg_failed=untried
12546 fi
12547
12548
12549
12550 if test $pkg_failed = yes; then
12551         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12552 $as_echo "no" >&6; }
12553
12554 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12555         _pkg_short_errors_supported=yes
12556 else
12557         _pkg_short_errors_supported=no
12558 fi
12559         if test $_pkg_short_errors_supported = yes; then
12560                 ECORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7" 2>&1`
12561         else
12562                 ECORE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7" 2>&1`
12563         fi
12564         # Put the nasty error message in config.log where it belongs
12565         echo "$ECORE_PKG_ERRORS" >&5
12566
12567         as_fn_error $? "Package requirements (ecore >= 1.7.7) were not met:
12568
12569 $ECORE_PKG_ERRORS
12570
12571 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12572 installed software in a non-standard prefix.
12573
12574 Alternatively, you may set the environment variables ECORE_CFLAGS
12575 and ECORE_LIBS to avoid the need to call pkg-config.
12576 See the pkg-config man page for more details." "$LINENO" 5
12577
12578 elif test $pkg_failed = untried; then
12579         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12580 $as_echo "no" >&6; }
12581         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12583 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12584 is in your PATH or set the PKG_CONFIG environment variable to the full
12585 path to pkg-config.
12586
12587 Alternatively, you may set the environment variables ECORE_CFLAGS
12588 and ECORE_LIBS to avoid the need to call pkg-config.
12589 See the pkg-config man page for more details.
12590
12591 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12592 See \`config.log' for more details" "$LINENO" 5; }
12593
12594 else
12595         ECORE_CFLAGS=$pkg_cv_ECORE_CFLAGS
12596         ECORE_LIBS=$pkg_cv_ECORE_LIBS
12597         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12598 $as_echo "yes" >&6; }
12599
12600 fi
12601
12602 pkg_failed=no
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
12604 $as_echo_n "checking for ECORE_EVAS... " >&6; }
12605
12606 if test -n "$ECORE_EVAS_CFLAGS"; then
12607     pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
12608  elif test -n "$PKG_CONFIG"; then
12609     if test -n "$PKG_CONFIG" && \
12610     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7\""; } >&5
12611   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7") 2>&5
12612   ac_status=$?
12613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12614   test $ac_status = 0; }; then
12615   pkg_cv_ECORE_EVAS_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.7.7" 2>/dev/null`
12616 else
12617   pkg_failed=yes
12618 fi
12619  else
12620     pkg_failed=untried
12621 fi
12622 if test -n "$ECORE_EVAS_LIBS"; then
12623     pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
12624  elif test -n "$PKG_CONFIG"; then
12625     if test -n "$PKG_CONFIG" && \
12626     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7\""; } >&5
12627   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7") 2>&5
12628   ac_status=$?
12629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12630   test $ac_status = 0; }; then
12631   pkg_cv_ECORE_EVAS_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.7.7" 2>/dev/null`
12632 else
12633   pkg_failed=yes
12634 fi
12635  else
12636     pkg_failed=untried
12637 fi
12638
12639
12640
12641 if test $pkg_failed = yes; then
12642         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12643 $as_echo "no" >&6; }
12644
12645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12646         _pkg_short_errors_supported=yes
12647 else
12648         _pkg_short_errors_supported=no
12649 fi
12650         if test $_pkg_short_errors_supported = yes; then
12651                 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.7.7" 2>&1`
12652         else
12653                 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.7.7" 2>&1`
12654         fi
12655         # Put the nasty error message in config.log where it belongs
12656         echo "$ECORE_EVAS_PKG_ERRORS" >&5
12657
12658         as_fn_error $? "Package requirements (ecore-evas >= 1.7.7) were not met:
12659
12660 $ECORE_EVAS_PKG_ERRORS
12661
12662 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12663 installed software in a non-standard prefix.
12664
12665 Alternatively, you may set the environment variables ECORE_EVAS_CFLAGS
12666 and ECORE_EVAS_LIBS to avoid the need to call pkg-config.
12667 See the pkg-config man page for more details." "$LINENO" 5
12668
12669 elif test $pkg_failed = untried; then
12670         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12671 $as_echo "no" >&6; }
12672         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12674 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12675 is in your PATH or set the PKG_CONFIG environment variable to the full
12676 path to pkg-config.
12677
12678 Alternatively, you may set the environment variables ECORE_EVAS_CFLAGS
12679 and ECORE_EVAS_LIBS to avoid the need to call pkg-config.
12680 See the pkg-config man page for more details.
12681
12682 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12683 See \`config.log' for more details" "$LINENO" 5; }
12684
12685 else
12686         ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
12687         ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
12688         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12689 $as_echo "yes" >&6; }
12690
12691 fi
12692
12693 pkg_failed=no
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FILE" >&5
12695 $as_echo_n "checking for ECORE_FILE... " >&6; }
12696
12697 if test -n "$ECORE_FILE_CFLAGS"; then
12698     pkg_cv_ECORE_FILE_CFLAGS="$ECORE_FILE_CFLAGS"
12699  elif test -n "$PKG_CONFIG"; then
12700     if test -n "$PKG_CONFIG" && \
12701     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 \""; } >&5
12702   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ") 2>&5
12703   ac_status=$?
12704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12705   test $ac_status = 0; }; then
12706   pkg_cv_ECORE_FILE_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.7 " 2>/dev/null`
12707 else
12708   pkg_failed=yes
12709 fi
12710  else
12711     pkg_failed=untried
12712 fi
12713 if test -n "$ECORE_FILE_LIBS"; then
12714     pkg_cv_ECORE_FILE_LIBS="$ECORE_FILE_LIBS"
12715  elif test -n "$PKG_CONFIG"; then
12716     if test -n "$PKG_CONFIG" && \
12717     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 \""; } >&5
12718   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ") 2>&5
12719   ac_status=$?
12720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12721   test $ac_status = 0; }; then
12722   pkg_cv_ECORE_FILE_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.7 " 2>/dev/null`
12723 else
12724   pkg_failed=yes
12725 fi
12726  else
12727     pkg_failed=untried
12728 fi
12729
12730
12731
12732 if test $pkg_failed = yes; then
12733         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12734 $as_echo "no" >&6; }
12735
12736 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12737         _pkg_short_errors_supported=yes
12738 else
12739         _pkg_short_errors_supported=no
12740 fi
12741         if test $_pkg_short_errors_supported = yes; then
12742                 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.7.7 " 2>&1`
12743         else
12744                 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.7.7 " 2>&1`
12745         fi
12746         # Put the nasty error message in config.log where it belongs
12747         echo "$ECORE_FILE_PKG_ERRORS" >&5
12748
12749         as_fn_error $? "Package requirements (ecore-file >= 1.7.7 ) were not met:
12750
12751 $ECORE_FILE_PKG_ERRORS
12752
12753 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12754 installed software in a non-standard prefix.
12755
12756 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12757 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12758 See the pkg-config man page for more details." "$LINENO" 5
12759
12760 elif test $pkg_failed = untried; then
12761         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12762 $as_echo "no" >&6; }
12763         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12765 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12766 is in your PATH or set the PKG_CONFIG environment variable to the full
12767 path to pkg-config.
12768
12769 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12770 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12771 See the pkg-config man page for more details.
12772
12773 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12774 See \`config.log' for more details" "$LINENO" 5; }
12775
12776 else
12777         ECORE_FILE_CFLAGS=$pkg_cv_ECORE_FILE_CFLAGS
12778         ECORE_FILE_LIBS=$pkg_cv_ECORE_FILE_LIBS
12779         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12780 $as_echo "yes" >&6; }
12781
12782 fi
12783
12784 pkg_failed=no
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
12786 $as_echo_n "checking for EDJE... " >&6; }
12787
12788 if test -n "$EDJE_CFLAGS"; then
12789     pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
12790  elif test -n "$PKG_CONFIG"; then
12791     if test -n "$PKG_CONFIG" && \
12792     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.7.7\""; } >&5
12793   ($PKG_CONFIG --exists --print-errors "edje >= 1.7.7") 2>&5
12794   ac_status=$?
12795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12796   test $ac_status = 0; }; then
12797   pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "edje >= 1.7.7" 2>/dev/null`
12798 else
12799   pkg_failed=yes
12800 fi
12801  else
12802     pkg_failed=untried
12803 fi
12804 if test -n "$EDJE_LIBS"; then
12805     pkg_cv_EDJE_LIBS="$EDJE_LIBS"
12806  elif test -n "$PKG_CONFIG"; then
12807     if test -n "$PKG_CONFIG" && \
12808     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.7.7\""; } >&5
12809   ($PKG_CONFIG --exists --print-errors "edje >= 1.7.7") 2>&5
12810   ac_status=$?
12811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12812   test $ac_status = 0; }; then
12813   pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "edje >= 1.7.7" 2>/dev/null`
12814 else
12815   pkg_failed=yes
12816 fi
12817  else
12818     pkg_failed=untried
12819 fi
12820
12821
12822
12823 if test $pkg_failed = yes; then
12824         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12825 $as_echo "no" >&6; }
12826
12827 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12828         _pkg_short_errors_supported=yes
12829 else
12830         _pkg_short_errors_supported=no
12831 fi
12832         if test $_pkg_short_errors_supported = yes; then
12833                 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edje >= 1.7.7" 2>&1`
12834         else
12835                 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "edje >= 1.7.7" 2>&1`
12836         fi
12837         # Put the nasty error message in config.log where it belongs
12838         echo "$EDJE_PKG_ERRORS" >&5
12839
12840         as_fn_error $? "Package requirements (edje >= 1.7.7) were not met:
12841
12842 $EDJE_PKG_ERRORS
12843
12844 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12845 installed software in a non-standard prefix.
12846
12847 Alternatively, you may set the environment variables EDJE_CFLAGS
12848 and EDJE_LIBS to avoid the need to call pkg-config.
12849 See the pkg-config man page for more details." "$LINENO" 5
12850
12851 elif test $pkg_failed = untried; then
12852         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12853 $as_echo "no" >&6; }
12854         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12856 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12857 is in your PATH or set the PKG_CONFIG environment variable to the full
12858 path to pkg-config.
12859
12860 Alternatively, you may set the environment variables EDJE_CFLAGS
12861 and EDJE_LIBS to avoid the need to call pkg-config.
12862 See the pkg-config man page for more details.
12863
12864 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12865 See \`config.log' for more details" "$LINENO" 5; }
12866
12867 else
12868         EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
12869         EDJE_LIBS=$pkg_cv_EDJE_LIBS
12870         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12871 $as_echo "yes" >&6; }
12872
12873 fi
12874
12875 pkg_failed=no
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
12877 $as_echo_n "checking for EET... " >&6; }
12878
12879 if test -n "$EET_CFLAGS"; then
12880     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
12881  elif test -n "$PKG_CONFIG"; then
12882     if test -n "$PKG_CONFIG" && \
12883     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.7.7\""; } >&5
12884   ($PKG_CONFIG --exists --print-errors "eet >= 1.7.7") 2>&5
12885   ac_status=$?
12886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12887   test $ac_status = 0; }; then
12888   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.7.7" 2>/dev/null`
12889 else
12890   pkg_failed=yes
12891 fi
12892  else
12893     pkg_failed=untried
12894 fi
12895 if test -n "$EET_LIBS"; then
12896     pkg_cv_EET_LIBS="$EET_LIBS"
12897  elif test -n "$PKG_CONFIG"; then
12898     if test -n "$PKG_CONFIG" && \
12899     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.7.7\""; } >&5
12900   ($PKG_CONFIG --exists --print-errors "eet >= 1.7.7") 2>&5
12901   ac_status=$?
12902   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12903   test $ac_status = 0; }; then
12904   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.7.7" 2>/dev/null`
12905 else
12906   pkg_failed=yes
12907 fi
12908  else
12909     pkg_failed=untried
12910 fi
12911
12912
12913
12914 if test $pkg_failed = yes; then
12915         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12916 $as_echo "no" >&6; }
12917
12918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12919         _pkg_short_errors_supported=yes
12920 else
12921         _pkg_short_errors_supported=no
12922 fi
12923         if test $_pkg_short_errors_supported = yes; then
12924                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.7.7" 2>&1`
12925         else
12926                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.7.7" 2>&1`
12927         fi
12928         # Put the nasty error message in config.log where it belongs
12929         echo "$EET_PKG_ERRORS" >&5
12930
12931         as_fn_error $? "Package requirements (eet >= 1.7.7) were not met:
12932
12933 $EET_PKG_ERRORS
12934
12935 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12936 installed software in a non-standard prefix.
12937
12938 Alternatively, you may set the environment variables EET_CFLAGS
12939 and EET_LIBS to avoid the need to call pkg-config.
12940 See the pkg-config man page for more details." "$LINENO" 5
12941
12942 elif test $pkg_failed = untried; then
12943         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12944 $as_echo "no" >&6; }
12945         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12947 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12948 is in your PATH or set the PKG_CONFIG environment variable to the full
12949 path to pkg-config.
12950
12951 Alternatively, you may set the environment variables EET_CFLAGS
12952 and EET_LIBS to avoid the need to call pkg-config.
12953 See the pkg-config man page for more details.
12954
12955 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12956 See \`config.log' for more details" "$LINENO" 5; }
12957
12958 else
12959         EET_CFLAGS=$pkg_cv_EET_CFLAGS
12960         EET_LIBS=$pkg_cv_EET_LIBS
12961         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12962 $as_echo "yes" >&6; }
12963
12964 fi
12965
12966
12967
12968
12969
12970 # Check whether --with-edje-cc was given.
12971 if test "${with_edje_cc+set}" = set; then :
12972   withval=$with_edje_cc; _efl_with_binary=${withval}
12973 else
12974   _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
12975 fi
12976
12977
12978 edje_cc=${_efl_with_binary}
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
12980 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
12981
12982 with_binary_edje_cc=${_efl_with_binary}
12983
12984
12985
12986
12987
12988 requirement_ethumb=" ${requirement_ethumb} eina >= 1.7.7 evas >= 1.7.7 ecore >= 1.7.7 ecore-evas >= 1.7.7 ecore-file >= 1.7.7 edje >= 1.7.7"
12989 requirement_ethumb_client="eina >= 1.7.7 ecore >= 1.7.7 edbus >= 1.7.7 ethumb >= 1.7.7"
12990
12991  if false; then
12992   HAVE_EMOTION_TRUE=
12993   HAVE_EMOTION_FALSE='#'
12994 else
12995   HAVE_EMOTION_TRUE='#'
12996   HAVE_EMOTION_FALSE=
12997 fi
12998
12999
13000
13001
13002 # ----------------------------------------------------------------------
13003 # BEGIN: Check for optional module: emotion (default: true)
13004 #
13005
13006
13007         USING_MODULES=1
13008
13009         EMOTION=true
13010         # Check whether --enable-emotion was given.
13011 if test "${enable_emotion+set}" = set; then :
13012   enableval=$enable_emotion; EMOTION=${enableval:-false}
13013 fi
13014
13015         if test x$EMOTION = xyes || test x$EMOTION = x1; then
13016                 EMOTION=true
13017         fi
13018         if test x$EMOTION = xno || test x$EMOTION = x0; then
13019                 EMOTION=false
13020         fi
13021
13022
13023         # Check for XTerm and define some colors
13024         if test "x$TERM" = "xxterm"; then
13025                 COLOR_PREF="\0033\0133"
13026                 COLOR_H="${COLOR_PREF}1m"
13027                 COLOR_HGREEN="${COLOR_PREF}1;32m"
13028                 COLOR_HRED="${COLOR_PREF}1;31m"
13029                 COLOR_GREEN="${COLOR_PREF}32m"
13030                 COLOR_RED="${COLOR_PREF}31m"
13031                 COLOR_YELLOW="${COLOR_PREF}1;33m"
13032                 COLOR_END="${COLOR_PREF}0m"
13033         else
13034                 COLOR_H=""
13035                 COLOR_HGREEN=""
13036                 COLOR_HRED=""
13037                 COLOR_GREEN=""
13038                 COLOR_RED=""
13039                 COLOR_YELLOW=""
13040                 COLOR_END=""
13041         fi
13042
13043
13044         # Check list for optional module emotion
13045         if test x$EMOTION = xtrue; then
13046
13047 echo
13048 echo "checking optional module emotion:"
13049 # BEGIN: User checks
13050
13051
13052 # ----------------------------------------------------------------------
13053 # BEGIN: Check library with pkg-config: EMOTION (pkg-config=emotion)
13054 #
13055
13056
13057 pkg_failed=no
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
13059 $as_echo_n "checking for EMOTION... " >&6; }
13060
13061 if test -n "$EMOTION_CFLAGS"; then
13062     pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
13063  elif test -n "$PKG_CONFIG"; then
13064     if test -n "$PKG_CONFIG" && \
13065     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
13066   ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
13067   ac_status=$?
13068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13069   test $ac_status = 0; }; then
13070   pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "emotion" 2>/dev/null`
13071 else
13072   pkg_failed=yes
13073 fi
13074  else
13075     pkg_failed=untried
13076 fi
13077 if test -n "$EMOTION_LIBS"; then
13078     pkg_cv_EMOTION_LIBS="$EMOTION_LIBS"
13079  elif test -n "$PKG_CONFIG"; then
13080     if test -n "$PKG_CONFIG" && \
13081     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
13082   ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
13083   ac_status=$?
13084   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13085   test $ac_status = 0; }; then
13086   pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "emotion" 2>/dev/null`
13087 else
13088   pkg_failed=yes
13089 fi
13090  else
13091     pkg_failed=untried
13092 fi
13093
13094
13095
13096 if test $pkg_failed = yes; then
13097         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13098 $as_echo "no" >&6; }
13099
13100 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13101         _pkg_short_errors_supported=yes
13102 else
13103         _pkg_short_errors_supported=no
13104 fi
13105         if test $_pkg_short_errors_supported = yes; then
13106                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "emotion" 2>&1`
13107         else
13108                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "emotion" 2>&1`
13109         fi
13110         # Put the nasty error message in config.log where it belongs
13111         echo "$EMOTION_PKG_ERRORS" >&5
13112
13113
13114                                 HAVE_EMOTION=no
13115                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13116 $as_echo "no" >&6; }; EMOTION=false
13117
13118 elif test $pkg_failed = untried; then
13119         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13120 $as_echo "no" >&6; }
13121
13122                                 HAVE_EMOTION=no
13123                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13124 $as_echo "no" >&6; }; EMOTION=false
13125
13126 else
13127         EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
13128         EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
13129         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13130 $as_echo "yes" >&6; }
13131
13132                                 HAVE_EMOTION=yes
13133                                 pkg_name=$(echo "emotion" | cut -d\   -f1)
13134                                 EMOTION_VERSION=$($PKG_CONFIG --modversion $pkg_name)
13135
13136
13137
13138                                 :
13139
13140 fi
13141          if test x$HAVE_EMOTION = xyes; then
13142   HAVE_EMOTION_TRUE=
13143   HAVE_EMOTION_FALSE='#'
13144 else
13145   HAVE_EMOTION_TRUE='#'
13146   HAVE_EMOTION_FALSE=
13147 fi
13148
13149
13150         if test x$HAVE_EMOTION = xyes; then
13151
13152 cat >>confdefs.h <<_ACEOF
13153 #define HAVE_EMOTION 1
13154 _ACEOF
13155
13156         fi
13157
13158 #
13159 # END: Check library with pkg-config: EMOTION (pkg-config=emotion)
13160 # ----------------------------------------------------------------------
13161
13162
13163 # END: User checks
13164 if test x$EMOTION = xfalse; then
13165         echo -e "optional module emotion ${COLOR_HRED}failed${COLOR_END} checks."
13166 else
13167         echo -e "optional module emotion passed checks."
13168 fi
13169 echo
13170
13171
13172                 if test x$EMOTION = xfalse; then
13173                         echo -e "${COLOR_YELLOW}Warning:${COLOR_END} optional module ${COLOR_H}emotion${COLOR_END} disabled by extra checks."
13174                 fi
13175         fi
13176
13177         # Check if user checks succeeded
13178         if test x$EMOTION = xtrue; then
13179                 OPTIONAL_MODULES="$OPTIONAL_MODULES emotion"
13180
13181 cat >>confdefs.h <<_ACEOF
13182 #define USE_MODULE_EMOTION 1
13183 _ACEOF
13184
13185         else
13186                 UNUSED_OPTIONAL_MODULES="$UNUSED_OPTIONAL_MODULES emotion"
13187         fi
13188
13189          if test x$EMOTION = xtrue; then
13190   USE_MODULE_EMOTION_TRUE=
13191   USE_MODULE_EMOTION_FALSE='#'
13192 else
13193   USE_MODULE_EMOTION_TRUE='#'
13194   USE_MODULE_EMOTION_FALSE=
13195 fi
13196
13197
13198         USE_MODULE_EMOTION=$EMOTION
13199
13200
13201 #
13202 # END: Check for optional module: emotion (true)
13203 # ----------------------------------------------------------------------
13204
13205
13206 if $USE_MODULE_EMOTION ; then
13207         requirement_ethumb="$requirement_ethumb emotion"
13208 fi
13209
13210  if false; then
13211   HAVE_EPDF_TRUE=
13212   HAVE_EPDF_FALSE='#'
13213 else
13214   HAVE_EPDF_TRUE='#'
13215   HAVE_EPDF_FALSE=
13216 fi
13217
13218
13219
13220
13221 # ----------------------------------------------------------------------
13222 # BEGIN: Check for optional module: epdf (default: true)
13223 #
13224
13225
13226         USING_MODULES=1
13227
13228         EPDF=true
13229         # Check whether --enable-epdf was given.
13230 if test "${enable_epdf+set}" = set; then :
13231   enableval=$enable_epdf; EPDF=${enableval:-false}
13232 fi
13233
13234         if test x$EPDF = xyes || test x$EPDF = x1; then
13235                 EPDF=true
13236         fi
13237         if test x$EPDF = xno || test x$EPDF = x0; then
13238                 EPDF=false
13239         fi
13240
13241
13242         # Check for XTerm and define some colors
13243         if test "x$TERM" = "xxterm"; then
13244                 COLOR_PREF="\0033\0133"
13245                 COLOR_H="${COLOR_PREF}1m"
13246                 COLOR_HGREEN="${COLOR_PREF}1;32m"
13247                 COLOR_HRED="${COLOR_PREF}1;31m"
13248                 COLOR_GREEN="${COLOR_PREF}32m"
13249                 COLOR_RED="${COLOR_PREF}31m"
13250                 COLOR_YELLOW="${COLOR_PREF}1;33m"
13251                 COLOR_END="${COLOR_PREF}0m"
13252         else
13253                 COLOR_H=""
13254                 COLOR_HGREEN=""
13255                 COLOR_HRED=""
13256                 COLOR_GREEN=""
13257                 COLOR_RED=""
13258                 COLOR_YELLOW=""
13259                 COLOR_END=""
13260         fi
13261
13262
13263         # Check list for optional module epdf
13264         if test x$EPDF = xtrue; then
13265
13266 echo
13267 echo "checking optional module epdf:"
13268 # BEGIN: User checks
13269
13270
13271 # ----------------------------------------------------------------------
13272 # BEGIN: Check library with pkg-config: EPDF (pkg-config=epdf)
13273 #
13274
13275
13276 pkg_failed=no
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPDF" >&5
13278 $as_echo_n "checking for EPDF... " >&6; }
13279
13280 if test -n "$EPDF_CFLAGS"; then
13281     pkg_cv_EPDF_CFLAGS="$EPDF_CFLAGS"
13282  elif test -n "$PKG_CONFIG"; then
13283     if test -n "$PKG_CONFIG" && \
13284     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"epdf\""; } >&5
13285   ($PKG_CONFIG --exists --print-errors "epdf") 2>&5
13286   ac_status=$?
13287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13288   test $ac_status = 0; }; then
13289   pkg_cv_EPDF_CFLAGS=`$PKG_CONFIG --cflags "epdf" 2>/dev/null`
13290 else
13291   pkg_failed=yes
13292 fi
13293  else
13294     pkg_failed=untried
13295 fi
13296 if test -n "$EPDF_LIBS"; then
13297     pkg_cv_EPDF_LIBS="$EPDF_LIBS"
13298  elif test -n "$PKG_CONFIG"; then
13299     if test -n "$PKG_CONFIG" && \
13300     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"epdf\""; } >&5
13301   ($PKG_CONFIG --exists --print-errors "epdf") 2>&5
13302   ac_status=$?
13303   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13304   test $ac_status = 0; }; then
13305   pkg_cv_EPDF_LIBS=`$PKG_CONFIG --libs "epdf" 2>/dev/null`
13306 else
13307   pkg_failed=yes
13308 fi
13309  else
13310     pkg_failed=untried
13311 fi
13312
13313
13314
13315 if test $pkg_failed = yes; then
13316         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13317 $as_echo "no" >&6; }
13318
13319 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13320         _pkg_short_errors_supported=yes
13321 else
13322         _pkg_short_errors_supported=no
13323 fi
13324         if test $_pkg_short_errors_supported = yes; then
13325                 EPDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "epdf" 2>&1`
13326         else
13327                 EPDF_PKG_ERRORS=`$PKG_CONFIG --print-errors "epdf" 2>&1`
13328         fi
13329         # Put the nasty error message in config.log where it belongs
13330         echo "$EPDF_PKG_ERRORS" >&5
13331
13332
13333                                 HAVE_EPDF=no
13334                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13335 $as_echo "no" >&6; }; EPDF=false
13336
13337 elif test $pkg_failed = untried; then
13338         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13339 $as_echo "no" >&6; }
13340
13341                                 HAVE_EPDF=no
13342                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13343 $as_echo "no" >&6; }; EPDF=false
13344
13345 else
13346         EPDF_CFLAGS=$pkg_cv_EPDF_CFLAGS
13347         EPDF_LIBS=$pkg_cv_EPDF_LIBS
13348         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13349 $as_echo "yes" >&6; }
13350
13351                                 HAVE_EPDF=yes
13352                                 pkg_name=$(echo "epdf" | cut -d\   -f1)
13353                                 EPDF_VERSION=$($PKG_CONFIG --modversion $pkg_name)
13354
13355
13356
13357                                 :
13358
13359 fi
13360          if test x$HAVE_EPDF = xyes; then
13361   HAVE_EPDF_TRUE=
13362   HAVE_EPDF_FALSE='#'
13363 else
13364   HAVE_EPDF_TRUE='#'
13365   HAVE_EPDF_FALSE=
13366 fi
13367
13368
13369         if test x$HAVE_EPDF = xyes; then
13370
13371 cat >>confdefs.h <<_ACEOF
13372 #define HAVE_EPDF 1
13373 _ACEOF
13374
13375         fi
13376
13377 #
13378 # END: Check library with pkg-config: EPDF (pkg-config=epdf)
13379 # ----------------------------------------------------------------------
13380
13381
13382 # END: User checks
13383 if test x$EPDF = xfalse; then
13384         echo -e "optional module epdf ${COLOR_HRED}failed${COLOR_END} checks."
13385 else
13386         echo -e "optional module epdf passed checks."
13387 fi
13388 echo
13389
13390
13391                 if test x$EPDF = xfalse; then
13392                         echo -e "${COLOR_YELLOW}Warning:${COLOR_END} optional module ${COLOR_H}epdf${COLOR_END} disabled by extra checks."
13393                 fi
13394         fi
13395
13396         # Check if user checks succeeded
13397         if test x$EPDF = xtrue; then
13398                 OPTIONAL_MODULES="$OPTIONAL_MODULES epdf"
13399
13400 cat >>confdefs.h <<_ACEOF
13401 #define USE_MODULE_EPDF 1
13402 _ACEOF
13403
13404         else
13405                 UNUSED_OPTIONAL_MODULES="$UNUSED_OPTIONAL_MODULES epdf"
13406         fi
13407
13408          if test x$EPDF = xtrue; then
13409   USE_MODULE_EPDF_TRUE=
13410   USE_MODULE_EPDF_FALSE='#'
13411 else
13412   USE_MODULE_EPDF_TRUE='#'
13413   USE_MODULE_EPDF_FALSE=
13414 fi
13415
13416
13417         USE_MODULE_EPDF=$EPDF
13418
13419
13420 #
13421 # END: Check for optional module: epdf (true)
13422 # ----------------------------------------------------------------------
13423
13424 if $USE_MODULE_EPDF ; then
13425         requirement_ethumb="$requirement_ethumb epdf"
13426 fi
13427
13428  if false; then
13429   HAVE_EDBUS_TRUE=
13430   HAVE_EDBUS_FALSE='#'
13431 else
13432   HAVE_EDBUS_TRUE='#'
13433   HAVE_EDBUS_FALSE=
13434 fi
13435
13436
13437
13438
13439 # ----------------------------------------------------------------------
13440 # BEGIN: Check for optional module: ethumbd (default: true)
13441 #
13442
13443
13444         USING_MODULES=1
13445
13446         ETHUMBD=true
13447         # Check whether --enable-ethumbd was given.
13448 if test "${enable_ethumbd+set}" = set; then :
13449   enableval=$enable_ethumbd; ETHUMBD=${enableval:-false}
13450 fi
13451
13452         if test x$ETHUMBD = xyes || test x$ETHUMBD = x1; then
13453                 ETHUMBD=true
13454         fi
13455         if test x$ETHUMBD = xno || test x$ETHUMBD = x0; then
13456                 ETHUMBD=false
13457         fi
13458
13459
13460         # Check for XTerm and define some colors
13461         if test "x$TERM" = "xxterm"; then
13462                 COLOR_PREF="\0033\0133"
13463                 COLOR_H="${COLOR_PREF}1m"
13464                 COLOR_HGREEN="${COLOR_PREF}1;32m"
13465                 COLOR_HRED="${COLOR_PREF}1;31m"
13466                 COLOR_GREEN="${COLOR_PREF}32m"
13467                 COLOR_RED="${COLOR_PREF}31m"
13468                 COLOR_YELLOW="${COLOR_PREF}1;33m"
13469                 COLOR_END="${COLOR_PREF}0m"
13470         else
13471                 COLOR_H=""
13472                 COLOR_HGREEN=""
13473                 COLOR_HRED=""
13474                 COLOR_GREEN=""
13475                 COLOR_RED=""
13476                 COLOR_YELLOW=""
13477                 COLOR_END=""
13478         fi
13479
13480
13481         # Check list for optional module ethumbd
13482         if test x$ETHUMBD = xtrue; then
13483
13484 echo
13485 echo "checking optional module ethumbd:"
13486 # BEGIN: User checks
13487
13488
13489 # ----------------------------------------------------------------------
13490 # BEGIN: Check library with pkg-config: EDBUS (pkg-config=edbus)
13491 #
13492
13493
13494 pkg_failed=no
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13496 $as_echo_n "checking for EDBUS... " >&6; }
13497
13498 if test -n "$EDBUS_CFLAGS"; then
13499     pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13500  elif test -n "$PKG_CONFIG"; then
13501     if test -n "$PKG_CONFIG" && \
13502     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edbus\""; } >&5
13503   ($PKG_CONFIG --exists --print-errors "edbus") 2>&5
13504   ac_status=$?
13505   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13506   test $ac_status = 0; }; then
13507   pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "edbus" 2>/dev/null`
13508 else
13509   pkg_failed=yes
13510 fi
13511  else
13512     pkg_failed=untried
13513 fi
13514 if test -n "$EDBUS_LIBS"; then
13515     pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13516  elif test -n "$PKG_CONFIG"; then
13517     if test -n "$PKG_CONFIG" && \
13518     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edbus\""; } >&5
13519   ($PKG_CONFIG --exists --print-errors "edbus") 2>&5
13520   ac_status=$?
13521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13522   test $ac_status = 0; }; then
13523   pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "edbus" 2>/dev/null`
13524 else
13525   pkg_failed=yes
13526 fi
13527  else
13528     pkg_failed=untried
13529 fi
13530
13531
13532
13533 if test $pkg_failed = yes; then
13534         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13535 $as_echo "no" >&6; }
13536
13537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13538         _pkg_short_errors_supported=yes
13539 else
13540         _pkg_short_errors_supported=no
13541 fi
13542         if test $_pkg_short_errors_supported = yes; then
13543                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edbus" 2>&1`
13544         else
13545                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "edbus" 2>&1`
13546         fi
13547         # Put the nasty error message in config.log where it belongs
13548         echo "$EDBUS_PKG_ERRORS" >&5
13549
13550
13551                                 HAVE_EDBUS=no
13552                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13553 $as_echo "no" >&6; }; ETHUMBD=false
13554
13555 elif test $pkg_failed = untried; then
13556         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13557 $as_echo "no" >&6; }
13558
13559                                 HAVE_EDBUS=no
13560                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13561 $as_echo "no" >&6; }; ETHUMBD=false
13562
13563 else
13564         EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13565         EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13567 $as_echo "yes" >&6; }
13568
13569                                 HAVE_EDBUS=yes
13570                                 pkg_name=$(echo "edbus" | cut -d\   -f1)
13571                                 EDBUS_VERSION=$($PKG_CONFIG --modversion $pkg_name)
13572
13573
13574
13575                                 :
13576
13577 fi
13578          if test x$HAVE_EDBUS = xyes; then
13579   HAVE_EDBUS_TRUE=
13580   HAVE_EDBUS_FALSE='#'
13581 else
13582   HAVE_EDBUS_TRUE='#'
13583   HAVE_EDBUS_FALSE=
13584 fi
13585
13586
13587         if test x$HAVE_EDBUS = xyes; then
13588
13589 cat >>confdefs.h <<_ACEOF
13590 #define HAVE_EDBUS 1
13591 _ACEOF
13592
13593         fi
13594
13595 #
13596 # END: Check library with pkg-config: EDBUS (pkg-config=edbus)
13597 # ----------------------------------------------------------------------
13598
13599
13600 # END: User checks
13601 if test x$ETHUMBD = xfalse; then
13602         echo -e "optional module ethumbd ${COLOR_HRED}failed${COLOR_END} checks."
13603 else
13604         echo -e "optional module ethumbd passed checks."
13605 fi
13606 echo
13607
13608
13609                 if test x$ETHUMBD = xfalse; then
13610                         echo -e "${COLOR_YELLOW}Warning:${COLOR_END} optional module ${COLOR_H}ethumbd${COLOR_END} disabled by extra checks."
13611                 fi
13612         fi
13613
13614         # Check if user checks succeeded
13615         if test x$ETHUMBD = xtrue; then
13616                 OPTIONAL_MODULES="$OPTIONAL_MODULES ethumbd"
13617
13618 cat >>confdefs.h <<_ACEOF
13619 #define USE_MODULE_ETHUMBD 1
13620 _ACEOF
13621
13622         else
13623                 UNUSED_OPTIONAL_MODULES="$UNUSED_OPTIONAL_MODULES ethumbd"
13624         fi
13625
13626          if test x$ETHUMBD = xtrue; then
13627   USE_MODULE_ETHUMBD_TRUE=
13628   USE_MODULE_ETHUMBD_FALSE='#'
13629 else
13630   USE_MODULE_ETHUMBD_TRUE='#'
13631   USE_MODULE_ETHUMBD_FALSE=
13632 fi
13633
13634
13635         USE_MODULE_ETHUMBD=$ETHUMBD
13636
13637
13638 #
13639 # END: Check for optional module: ethumbd (true)
13640 # ----------------------------------------------------------------------
13641
13642 if $USE_MODULE_ETHUMBD ; then
13643         dbusservicedir=${datadir}/dbus-1/services
13644
13645 # Check whether --with-dbus-services was given.
13646 if test "${with_dbus_services+set}" = set; then :
13647   withval=$with_dbus_services;
13648                       dbusservicedir=$withval
13649
13650
13651 fi
13652
13653 fi
13654
13655
13656  if false; then
13657   HAVE_LIBEXIF_TRUE=
13658   HAVE_LIBEXIF_FALSE='#'
13659 else
13660   HAVE_LIBEXIF_TRUE='#'
13661   HAVE_LIBEXIF_FALSE=
13662 fi
13663
13664
13665
13666
13667 # ----------------------------------------------------------------------
13668 # BEGIN: Check for optional module: libexif (default: true)
13669 #
13670
13671
13672         USING_MODULES=1
13673
13674         LIBEXIF=true
13675         # Check whether --enable-libexif was given.
13676 if test "${enable_libexif+set}" = set; then :
13677   enableval=$enable_libexif; LIBEXIF=${enableval:-false}
13678 fi
13679
13680         if test x$LIBEXIF = xyes || test x$LIBEXIF = x1; then
13681                 LIBEXIF=true
13682         fi
13683         if test x$LIBEXIF = xno || test x$LIBEXIF = x0; then
13684                 LIBEXIF=false
13685         fi
13686
13687
13688         # Check for XTerm and define some colors
13689         if test "x$TERM" = "xxterm"; then
13690                 COLOR_PREF="\0033\0133"
13691                 COLOR_H="${COLOR_PREF}1m"
13692                 COLOR_HGREEN="${COLOR_PREF}1;32m"
13693                 COLOR_HRED="${COLOR_PREF}1;31m"
13694                 COLOR_GREEN="${COLOR_PREF}32m"
13695                 COLOR_RED="${COLOR_PREF}31m"
13696                 COLOR_YELLOW="${COLOR_PREF}1;33m"
13697                 COLOR_END="${COLOR_PREF}0m"
13698         else
13699                 COLOR_H=""
13700                 COLOR_HGREEN=""
13701                 COLOR_HRED=""
13702                 COLOR_GREEN=""
13703                 COLOR_RED=""
13704                 COLOR_YELLOW=""
13705                 COLOR_END=""
13706         fi
13707
13708
13709         # Check list for optional module libexif
13710         if test x$LIBEXIF = xtrue; then
13711
13712 echo
13713 echo "checking optional module libexif:"
13714 # BEGIN: User checks
13715
13716
13717 # ----------------------------------------------------------------------
13718 # BEGIN: Check library with pkg-config: LIBEXIF (pkg-config=libexif)
13719 #
13720
13721
13722 pkg_failed=no
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEXIF" >&5
13724 $as_echo_n "checking for LIBEXIF... " >&6; }
13725
13726 if test -n "$LIBEXIF_CFLAGS"; then
13727     pkg_cv_LIBEXIF_CFLAGS="$LIBEXIF_CFLAGS"
13728  elif test -n "$PKG_CONFIG"; then
13729     if test -n "$PKG_CONFIG" && \
13730     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif\""; } >&5
13731   ($PKG_CONFIG --exists --print-errors "libexif") 2>&5
13732   ac_status=$?
13733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13734   test $ac_status = 0; }; then
13735   pkg_cv_LIBEXIF_CFLAGS=`$PKG_CONFIG --cflags "libexif" 2>/dev/null`
13736 else
13737   pkg_failed=yes
13738 fi
13739  else
13740     pkg_failed=untried
13741 fi
13742 if test -n "$LIBEXIF_LIBS"; then
13743     pkg_cv_LIBEXIF_LIBS="$LIBEXIF_LIBS"
13744  elif test -n "$PKG_CONFIG"; then
13745     if test -n "$PKG_CONFIG" && \
13746     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif\""; } >&5
13747   ($PKG_CONFIG --exists --print-errors "libexif") 2>&5
13748   ac_status=$?
13749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13750   test $ac_status = 0; }; then
13751   pkg_cv_LIBEXIF_LIBS=`$PKG_CONFIG --libs "libexif" 2>/dev/null`
13752 else
13753   pkg_failed=yes
13754 fi
13755  else
13756     pkg_failed=untried
13757 fi
13758
13759
13760
13761 if test $pkg_failed = yes; then
13762         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13763 $as_echo "no" >&6; }
13764
13765 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13766         _pkg_short_errors_supported=yes
13767 else
13768         _pkg_short_errors_supported=no
13769 fi
13770         if test $_pkg_short_errors_supported = yes; then
13771                 LIBEXIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libexif" 2>&1`
13772         else
13773                 LIBEXIF_PKG_ERRORS=`$PKG_CONFIG --print-errors "libexif" 2>&1`
13774         fi
13775         # Put the nasty error message in config.log where it belongs
13776         echo "$LIBEXIF_PKG_ERRORS" >&5
13777
13778
13779                                 HAVE_LIBEXIF=no
13780                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13781 $as_echo "no" >&6; }; LIBEXIF=false
13782
13783 elif test $pkg_failed = untried; then
13784         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13785 $as_echo "no" >&6; }
13786
13787                                 HAVE_LIBEXIF=no
13788                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13789 $as_echo "no" >&6; }; LIBEXIF=false
13790
13791 else
13792         LIBEXIF_CFLAGS=$pkg_cv_LIBEXIF_CFLAGS
13793         LIBEXIF_LIBS=$pkg_cv_LIBEXIF_LIBS
13794         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13795 $as_echo "yes" >&6; }
13796
13797                                 HAVE_LIBEXIF=yes
13798                                 pkg_name=$(echo "libexif" | cut -d\   -f1)
13799                                 LIBEXIF_VERSION=$($PKG_CONFIG --modversion $pkg_name)
13800
13801
13802
13803                                 :
13804
13805 fi
13806          if test x$HAVE_LIBEXIF = xyes; then
13807   HAVE_LIBEXIF_TRUE=
13808   HAVE_LIBEXIF_FALSE='#'
13809 else
13810   HAVE_LIBEXIF_TRUE='#'
13811   HAVE_LIBEXIF_FALSE=
13812 fi
13813
13814
13815         if test x$HAVE_LIBEXIF = xyes; then
13816
13817 cat >>confdefs.h <<_ACEOF
13818 #define HAVE_LIBEXIF 1
13819 _ACEOF
13820
13821         fi
13822
13823 #
13824 # END: Check library with pkg-config: LIBEXIF (pkg-config=libexif)
13825 # ----------------------------------------------------------------------
13826
13827
13828 # END: User checks
13829 if test x$LIBEXIF = xfalse; then
13830         echo -e "optional module libexif ${COLOR_HRED}failed${COLOR_END} checks."
13831 else
13832         echo -e "optional module libexif passed checks."
13833 fi
13834 echo
13835
13836
13837                 if test x$LIBEXIF = xfalse; then
13838                         echo -e "${COLOR_YELLOW}Warning:${COLOR_END} optional module ${COLOR_H}libexif${COLOR_END} disabled by extra checks."
13839                 fi
13840         fi
13841
13842         # Check if user checks succeeded
13843         if test x$LIBEXIF = xtrue; then
13844                 OPTIONAL_MODULES="$OPTIONAL_MODULES libexif"
13845
13846 cat >>confdefs.h <<_ACEOF
13847 #define USE_MODULE_LIBEXIF 1
13848 _ACEOF
13849
13850         else
13851                 UNUSED_OPTIONAL_MODULES="$UNUSED_OPTIONAL_MODULES libexif"
13852         fi
13853
13854          if test x$LIBEXIF = xtrue; then
13855   USE_MODULE_LIBEXIF_TRUE=
13856   USE_MODULE_LIBEXIF_FALSE='#'
13857 else
13858   USE_MODULE_LIBEXIF_TRUE='#'
13859   USE_MODULE_LIBEXIF_FALSE=
13860 fi
13861
13862
13863         USE_MODULE_LIBEXIF=$LIBEXIF
13864
13865
13866 #
13867 # END: Check for optional module: libexif (true)
13868 # ----------------------------------------------------------------------
13869
13870 if $USE_MODULE_LIBEXIF ; then
13871         requirement_ethumb="$requirement_ethumb libexif"
13872 fi
13873
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h.  */
13876
13877 #include <stdlib.h>
13878 #include <sys/types.h>
13879 #include <sys/xattr.h>
13880
13881 int
13882 main ()
13883 {
13884
13885 size_t tmp = listxattr("/", NULL, 0);
13886 tmp = getxattr("/", "user.ethumb.md5", NULL, 0);
13887 setxattr("/", "user.ethumb.md5", NULL, 0, 0);
13888
13889   ;
13890   return 0;
13891 }
13892 _ACEOF
13893 if ac_fn_c_try_compile "$LINENO"; then :
13894
13895
13896 $as_echo "#define HAVE_XATTR 1" >>confdefs.h
13897
13898       have_xattr="yes"
13899
13900 else
13901   have_xattr="no"
13902 fi
13903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13904
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xattr" >&5
13906 $as_echo_n "checking for Xattr... " >&6; }
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_xattr}" >&5
13908 $as_echo "${have_xattr}" >&6; }
13909
13910
13911
13912
13913
13914 ac_config_files="$ac_config_files ethumb.pc ethumb.spec ethumb_client.pc org.enlightenment.Ethumb.service Makefile src/Makefile src/bin/Makefile src/lib/Makefile src/lib/client/Makefile src/plugins/Makefile src/plugins/emotion/Makefile src/plugins/epdf/Makefile src/tests/Makefile data/Makefile data/frames/Makefile m4/Makefile doc/Makefile doc/Doxyfile"
13915
13916
13917 cat >confcache <<\_ACEOF
13918 # This file is a shell script that caches the results of configure
13919 # tests run on this system so they can be shared between configure
13920 # scripts and configure runs, see configure's option --config-cache.
13921 # It is not useful on other systems.  If it contains results you don't
13922 # want to keep, you may remove or edit it.
13923 #
13924 # config.status only pays attention to the cache file if you give it
13925 # the --recheck option to rerun configure.
13926 #
13927 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13928 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13929 # following values.
13930
13931 _ACEOF
13932
13933 # The following way of writing the cache mishandles newlines in values,
13934 # but we know of no workaround that is simple, portable, and efficient.
13935 # So, we kill variables containing newlines.
13936 # Ultrix sh set writes to stderr and can't be redirected directly,
13937 # and sets the high bit in the cache file unless we assign to the vars.
13938 (
13939   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13940     eval ac_val=\$$ac_var
13941     case $ac_val in #(
13942     *${as_nl}*)
13943       case $ac_var in #(
13944       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13945 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13946       esac
13947       case $ac_var in #(
13948       _ | IFS | as_nl) ;; #(
13949       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13950       *) { eval $ac_var=; unset $ac_var;} ;;
13951       esac ;;
13952     esac
13953   done
13954
13955   (set) 2>&1 |
13956     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13957     *${as_nl}ac_space=\ *)
13958       # `set' does not quote correctly, so add quotes: double-quote
13959       # substitution turns \\\\ into \\, and sed turns \\ into \.
13960       sed -n \
13961         "s/'/'\\\\''/g;
13962           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13963       ;; #(
13964     *)
13965       # `set' quotes correctly as required by POSIX, so do not add quotes.
13966       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13967       ;;
13968     esac |
13969     sort
13970 ) |
13971   sed '
13972      /^ac_cv_env_/b end
13973      t clear
13974      :clear
13975      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13976      t end
13977      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13978      :end' >>confcache
13979 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13980   if test -w "$cache_file"; then
13981     if test "x$cache_file" != "x/dev/null"; then
13982       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13983 $as_echo "$as_me: updating cache $cache_file" >&6;}
13984       if test ! -f "$cache_file" || test -h "$cache_file"; then
13985         cat confcache >"$cache_file"
13986       else
13987         case $cache_file in #(
13988         */* | ?:*)
13989           mv -f confcache "$cache_file"$$ &&
13990           mv -f "$cache_file"$$ "$cache_file" ;; #(
13991         *)
13992           mv -f confcache "$cache_file" ;;
13993         esac
13994       fi
13995     fi
13996   else
13997     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13998 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13999   fi
14000 fi
14001 rm -f confcache
14002
14003 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14004 # Let make expand exec_prefix.
14005 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14006
14007 DEFS=-DHAVE_CONFIG_H
14008
14009 ac_libobjs=
14010 ac_ltlibobjs=
14011 U=
14012 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14013   # 1. Remove the extension, and $U if already installed.
14014   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14015   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14016   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14017   #    will be set to the directory where LIBOBJS objects are built.
14018   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14019   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14020 done
14021 LIBOBJS=$ac_libobjs
14022
14023 LTLIBOBJS=$ac_ltlibobjs
14024
14025
14026  if test -n "$EXEEXT"; then
14027   am__EXEEXT_TRUE=
14028   am__EXEEXT_FALSE='#'
14029 else
14030   am__EXEEXT_TRUE='#'
14031   am__EXEEXT_FALSE=
14032 fi
14033
14034 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14035   as_fn_error $? "conditional \"AMDEP\" was never defined.
14036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14037 fi
14038 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14039   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14041 fi
14042 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14043   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14045 fi
14046 if test -z "${HAVE_EMOTION_TRUE}" && test -z "${HAVE_EMOTION_FALSE}"; then
14047   as_fn_error $? "conditional \"HAVE_EMOTION\" was never defined.
14048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14049 fi
14050 if test -z "${HAVE_EMOTION_TRUE}" && test -z "${HAVE_EMOTION_FALSE}"; then
14051   as_fn_error $? "conditional \"HAVE_EMOTION\" was never defined.
14052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14053 fi
14054 if test -z "${USE_MODULE_EMOTION_TRUE}" && test -z "${USE_MODULE_EMOTION_FALSE}"; then
14055   as_fn_error $? "conditional \"USE_MODULE_EMOTION\" was never defined.
14056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14057 fi
14058 if test -z "${HAVE_EPDF_TRUE}" && test -z "${HAVE_EPDF_FALSE}"; then
14059   as_fn_error $? "conditional \"HAVE_EPDF\" was never defined.
14060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14061 fi
14062 if test -z "${HAVE_EPDF_TRUE}" && test -z "${HAVE_EPDF_FALSE}"; then
14063   as_fn_error $? "conditional \"HAVE_EPDF\" was never defined.
14064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14065 fi
14066 if test -z "${USE_MODULE_EPDF_TRUE}" && test -z "${USE_MODULE_EPDF_FALSE}"; then
14067   as_fn_error $? "conditional \"USE_MODULE_EPDF\" was never defined.
14068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14069 fi
14070 if test -z "${HAVE_EDBUS_TRUE}" && test -z "${HAVE_EDBUS_FALSE}"; then
14071   as_fn_error $? "conditional \"HAVE_EDBUS\" was never defined.
14072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14073 fi
14074 if test -z "${HAVE_EDBUS_TRUE}" && test -z "${HAVE_EDBUS_FALSE}"; then
14075   as_fn_error $? "conditional \"HAVE_EDBUS\" was never defined.
14076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14077 fi
14078 if test -z "${USE_MODULE_ETHUMBD_TRUE}" && test -z "${USE_MODULE_ETHUMBD_FALSE}"; then
14079   as_fn_error $? "conditional \"USE_MODULE_ETHUMBD\" was never defined.
14080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14081 fi
14082 if test -z "${HAVE_LIBEXIF_TRUE}" && test -z "${HAVE_LIBEXIF_FALSE}"; then
14083   as_fn_error $? "conditional \"HAVE_LIBEXIF\" was never defined.
14084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14085 fi
14086 if test -z "${HAVE_LIBEXIF_TRUE}" && test -z "${HAVE_LIBEXIF_FALSE}"; then
14087   as_fn_error $? "conditional \"HAVE_LIBEXIF\" was never defined.
14088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14089 fi
14090 if test -z "${USE_MODULE_LIBEXIF_TRUE}" && test -z "${USE_MODULE_LIBEXIF_FALSE}"; then
14091   as_fn_error $? "conditional \"USE_MODULE_LIBEXIF\" was never defined.
14092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14093 fi
14094
14095 : "${CONFIG_STATUS=./config.status}"
14096 ac_write_fail=0
14097 ac_clean_files_save=$ac_clean_files
14098 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14100 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14101 as_write_fail=0
14102 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14103 #! $SHELL
14104 # Generated by $as_me.
14105 # Run this file to recreate the current configuration.
14106 # Compiler output produced by configure, useful for debugging
14107 # configure, is in config.log if it exists.
14108
14109 debug=false
14110 ac_cs_recheck=false
14111 ac_cs_silent=false
14112
14113 SHELL=\${CONFIG_SHELL-$SHELL}
14114 export SHELL
14115 _ASEOF
14116 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14117 ## -------------------- ##
14118 ## M4sh Initialization. ##
14119 ## -------------------- ##
14120
14121 # Be more Bourne compatible
14122 DUALCASE=1; export DUALCASE # for MKS sh
14123 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14124   emulate sh
14125   NULLCMD=:
14126   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14127   # is contrary to our usage.  Disable this feature.
14128   alias -g '${1+"$@"}'='"$@"'
14129   setopt NO_GLOB_SUBST
14130 else
14131   case `(set -o) 2>/dev/null` in #(
14132   *posix*) :
14133     set -o posix ;; #(
14134   *) :
14135      ;;
14136 esac
14137 fi
14138
14139
14140 as_nl='
14141 '
14142 export as_nl
14143 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14144 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14145 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14147 # Prefer a ksh shell builtin over an external printf program on Solaris,
14148 # but without wasting forks for bash or zsh.
14149 if test -z "$BASH_VERSION$ZSH_VERSION" \
14150     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14151   as_echo='print -r --'
14152   as_echo_n='print -rn --'
14153 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14154   as_echo='printf %s\n'
14155   as_echo_n='printf %s'
14156 else
14157   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14158     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14159     as_echo_n='/usr/ucb/echo -n'
14160   else
14161     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14162     as_echo_n_body='eval
14163       arg=$1;
14164       case $arg in #(
14165       *"$as_nl"*)
14166         expr "X$arg" : "X\\(.*\\)$as_nl";
14167         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14168       esac;
14169       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14170     '
14171     export as_echo_n_body
14172     as_echo_n='sh -c $as_echo_n_body as_echo'
14173   fi
14174   export as_echo_body
14175   as_echo='sh -c $as_echo_body as_echo'
14176 fi
14177
14178 # The user is always right.
14179 if test "${PATH_SEPARATOR+set}" != set; then
14180   PATH_SEPARATOR=:
14181   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14182     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14183       PATH_SEPARATOR=';'
14184   }
14185 fi
14186
14187
14188 # IFS
14189 # We need space, tab and new line, in precisely that order.  Quoting is
14190 # there to prevent editors from complaining about space-tab.
14191 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14192 # splitting by setting IFS to empty value.)
14193 IFS=" ""        $as_nl"
14194
14195 # Find who we are.  Look in the path if we contain no directory separator.
14196 as_myself=
14197 case $0 in #((
14198   *[\\/]* ) as_myself=$0 ;;
14199   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14200 for as_dir in $PATH
14201 do
14202   IFS=$as_save_IFS
14203   test -z "$as_dir" && as_dir=.
14204     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14205   done
14206 IFS=$as_save_IFS
14207
14208      ;;
14209 esac
14210 # We did not find ourselves, most probably we were run as `sh COMMAND'
14211 # in which case we are not to be found in the path.
14212 if test "x$as_myself" = x; then
14213   as_myself=$0
14214 fi
14215 if test ! -f "$as_myself"; then
14216   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14217   exit 1
14218 fi
14219
14220 # Unset variables that we do not need and which cause bugs (e.g. in
14221 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14222 # suppresses any "Segmentation fault" message there.  '((' could
14223 # trigger a bug in pdksh 5.2.14.
14224 for as_var in BASH_ENV ENV MAIL MAILPATH
14225 do eval test x\${$as_var+set} = xset \
14226   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14227 done
14228 PS1='$ '
14229 PS2='> '
14230 PS4='+ '
14231
14232 # NLS nuisances.
14233 LC_ALL=C
14234 export LC_ALL
14235 LANGUAGE=C
14236 export LANGUAGE
14237
14238 # CDPATH.
14239 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14240
14241
14242 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14243 # ----------------------------------------
14244 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14245 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14246 # script with STATUS, using 1 if that was 0.
14247 as_fn_error ()
14248 {
14249   as_status=$1; test $as_status -eq 0 && as_status=1
14250   if test "$4"; then
14251     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14252     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14253   fi
14254   $as_echo "$as_me: error: $2" >&2
14255   as_fn_exit $as_status
14256 } # as_fn_error
14257
14258
14259 # as_fn_set_status STATUS
14260 # -----------------------
14261 # Set $? to STATUS, without forking.
14262 as_fn_set_status ()
14263 {
14264   return $1
14265 } # as_fn_set_status
14266
14267 # as_fn_exit STATUS
14268 # -----------------
14269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14270 as_fn_exit ()
14271 {
14272   set +e
14273   as_fn_set_status $1
14274   exit $1
14275 } # as_fn_exit
14276
14277 # as_fn_unset VAR
14278 # ---------------
14279 # Portably unset VAR.
14280 as_fn_unset ()
14281 {
14282   { eval $1=; unset $1;}
14283 }
14284 as_unset=as_fn_unset
14285 # as_fn_append VAR VALUE
14286 # ----------------------
14287 # Append the text in VALUE to the end of the definition contained in VAR. Take
14288 # advantage of any shell optimizations that allow amortized linear growth over
14289 # repeated appends, instead of the typical quadratic growth present in naive
14290 # implementations.
14291 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14292   eval 'as_fn_append ()
14293   {
14294     eval $1+=\$2
14295   }'
14296 else
14297   as_fn_append ()
14298   {
14299     eval $1=\$$1\$2
14300   }
14301 fi # as_fn_append
14302
14303 # as_fn_arith ARG...
14304 # ------------------
14305 # Perform arithmetic evaluation on the ARGs, and store the result in the
14306 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14307 # must be portable across $(()) and expr.
14308 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14309   eval 'as_fn_arith ()
14310   {
14311     as_val=$(( $* ))
14312   }'
14313 else
14314   as_fn_arith ()
14315   {
14316     as_val=`expr "$@" || test $? -eq 1`
14317   }
14318 fi # as_fn_arith
14319
14320
14321 if expr a : '\(a\)' >/dev/null 2>&1 &&
14322    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14323   as_expr=expr
14324 else
14325   as_expr=false
14326 fi
14327
14328 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14329   as_basename=basename
14330 else
14331   as_basename=false
14332 fi
14333
14334 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14335   as_dirname=dirname
14336 else
14337   as_dirname=false
14338 fi
14339
14340 as_me=`$as_basename -- "$0" ||
14341 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14342          X"$0" : 'X\(//\)$' \| \
14343          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14344 $as_echo X/"$0" |
14345     sed '/^.*\/\([^/][^/]*\)\/*$/{
14346             s//\1/
14347             q
14348           }
14349           /^X\/\(\/\/\)$/{
14350             s//\1/
14351             q
14352           }
14353           /^X\/\(\/\).*/{
14354             s//\1/
14355             q
14356           }
14357           s/.*/./; q'`
14358
14359 # Avoid depending upon Character Ranges.
14360 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14361 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14362 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14363 as_cr_digits='0123456789'
14364 as_cr_alnum=$as_cr_Letters$as_cr_digits
14365
14366 ECHO_C= ECHO_N= ECHO_T=
14367 case `echo -n x` in #(((((
14368 -n*)
14369   case `echo 'xy\c'` in
14370   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14371   xy)  ECHO_C='\c';;
14372   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14373        ECHO_T=' ';;
14374   esac;;
14375 *)
14376   ECHO_N='-n';;
14377 esac
14378
14379 rm -f conf$$ conf$$.exe conf$$.file
14380 if test -d conf$$.dir; then
14381   rm -f conf$$.dir/conf$$.file
14382 else
14383   rm -f conf$$.dir
14384   mkdir conf$$.dir 2>/dev/null
14385 fi
14386 if (echo >conf$$.file) 2>/dev/null; then
14387   if ln -s conf$$.file conf$$ 2>/dev/null; then
14388     as_ln_s='ln -s'
14389     # ... but there are two gotchas:
14390     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14391     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14392     # In both cases, we have to default to `cp -p'.
14393     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14394       as_ln_s='cp -p'
14395   elif ln conf$$.file conf$$ 2>/dev/null; then
14396     as_ln_s=ln
14397   else
14398     as_ln_s='cp -p'
14399   fi
14400 else
14401   as_ln_s='cp -p'
14402 fi
14403 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14404 rmdir conf$$.dir 2>/dev/null
14405
14406
14407 # as_fn_mkdir_p
14408 # -------------
14409 # Create "$as_dir" as a directory, including parents if necessary.
14410 as_fn_mkdir_p ()
14411 {
14412
14413   case $as_dir in #(
14414   -*) as_dir=./$as_dir;;
14415   esac
14416   test -d "$as_dir" || eval $as_mkdir_p || {
14417     as_dirs=
14418     while :; do
14419       case $as_dir in #(
14420       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14421       *) as_qdir=$as_dir;;
14422       esac
14423       as_dirs="'$as_qdir' $as_dirs"
14424       as_dir=`$as_dirname -- "$as_dir" ||
14425 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14426          X"$as_dir" : 'X\(//\)[^/]' \| \
14427          X"$as_dir" : 'X\(//\)$' \| \
14428          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14429 $as_echo X"$as_dir" |
14430     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14431             s//\1/
14432             q
14433           }
14434           /^X\(\/\/\)[^/].*/{
14435             s//\1/
14436             q
14437           }
14438           /^X\(\/\/\)$/{
14439             s//\1/
14440             q
14441           }
14442           /^X\(\/\).*/{
14443             s//\1/
14444             q
14445           }
14446           s/.*/./; q'`
14447       test -d "$as_dir" && break
14448     done
14449     test -z "$as_dirs" || eval "mkdir $as_dirs"
14450   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14451
14452
14453 } # as_fn_mkdir_p
14454 if mkdir -p . 2>/dev/null; then
14455   as_mkdir_p='mkdir -p "$as_dir"'
14456 else
14457   test -d ./-p && rmdir ./-p
14458   as_mkdir_p=false
14459 fi
14460
14461 if test -x / >/dev/null 2>&1; then
14462   as_test_x='test -x'
14463 else
14464   if ls -dL / >/dev/null 2>&1; then
14465     as_ls_L_option=L
14466   else
14467     as_ls_L_option=
14468   fi
14469   as_test_x='
14470     eval sh -c '\''
14471       if test -d "$1"; then
14472         test -d "$1/.";
14473       else
14474         case $1 in #(
14475         -*)set "./$1";;
14476         esac;
14477         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14478         ???[sx]*):;;*)false;;esac;fi
14479     '\'' sh
14480   '
14481 fi
14482 as_executable_p=$as_test_x
14483
14484 # Sed expression to map a string onto a valid CPP name.
14485 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14486
14487 # Sed expression to map a string onto a valid variable name.
14488 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14489
14490
14491 exec 6>&1
14492 ## ----------------------------------- ##
14493 ## Main body of $CONFIG_STATUS script. ##
14494 ## ----------------------------------- ##
14495 _ASEOF
14496 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14497
14498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14499 # Save the log message, to keep $0 and so on meaningful, and to
14500 # report actual input values of CONFIG_FILES etc. instead of their
14501 # values after options handling.
14502 ac_log="
14503 This file was extended by ethumb $as_me 1.7.7, which was
14504 generated by GNU Autoconf 2.68.  Invocation command line was
14505
14506   CONFIG_FILES    = $CONFIG_FILES
14507   CONFIG_HEADERS  = $CONFIG_HEADERS
14508   CONFIG_LINKS    = $CONFIG_LINKS
14509   CONFIG_COMMANDS = $CONFIG_COMMANDS
14510   $ $0 $@
14511
14512 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14513 "
14514
14515 _ACEOF
14516
14517 case $ac_config_files in *"
14518 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14519 esac
14520
14521 case $ac_config_headers in *"
14522 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14523 esac
14524
14525
14526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14527 # Files that config.status was made for.
14528 config_files="$ac_config_files"
14529 config_headers="$ac_config_headers"
14530 config_commands="$ac_config_commands"
14531
14532 _ACEOF
14533
14534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14535 ac_cs_usage="\
14536 \`$as_me' instantiates files and other configuration actions
14537 from templates according to the current configuration.  Unless the files
14538 and actions are specified as TAGs, all are instantiated by default.
14539
14540 Usage: $0 [OPTION]... [TAG]...
14541
14542   -h, --help       print this help, then exit
14543   -V, --version    print version number and configuration settings, then exit
14544       --config     print configuration, then exit
14545   -q, --quiet, --silent
14546                    do not print progress messages
14547   -d, --debug      don't remove temporary files
14548       --recheck    update $as_me by reconfiguring in the same conditions
14549       --file=FILE[:TEMPLATE]
14550                    instantiate the configuration file FILE
14551       --header=FILE[:TEMPLATE]
14552                    instantiate the configuration header FILE
14553
14554 Configuration files:
14555 $config_files
14556
14557 Configuration headers:
14558 $config_headers
14559
14560 Configuration commands:
14561 $config_commands
14562
14563 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14564
14565 _ACEOF
14566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14567 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14568 ac_cs_version="\\
14569 ethumb config.status 1.7.7
14570 configured by $0, generated by GNU Autoconf 2.68,
14571   with options \\"\$ac_cs_config\\"
14572
14573 Copyright (C) 2010 Free Software Foundation, Inc.
14574 This config.status script is free software; the Free Software Foundation
14575 gives unlimited permission to copy, distribute and modify it."
14576
14577 ac_pwd='$ac_pwd'
14578 srcdir='$srcdir'
14579 INSTALL='$INSTALL'
14580 MKDIR_P='$MKDIR_P'
14581 AWK='$AWK'
14582 test -n "\$AWK" || AWK=awk
14583 _ACEOF
14584
14585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14586 # The default lists apply if the user does not specify any file.
14587 ac_need_defaults=:
14588 while test $# != 0
14589 do
14590   case $1 in
14591   --*=?*)
14592     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14593     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14594     ac_shift=:
14595     ;;
14596   --*=)
14597     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14598     ac_optarg=
14599     ac_shift=:
14600     ;;
14601   *)
14602     ac_option=$1
14603     ac_optarg=$2
14604     ac_shift=shift
14605     ;;
14606   esac
14607
14608   case $ac_option in
14609   # Handling of the options.
14610   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14611     ac_cs_recheck=: ;;
14612   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14613     $as_echo "$ac_cs_version"; exit ;;
14614   --config | --confi | --conf | --con | --co | --c )
14615     $as_echo "$ac_cs_config"; exit ;;
14616   --debug | --debu | --deb | --de | --d | -d )
14617     debug=: ;;
14618   --file | --fil | --fi | --f )
14619     $ac_shift
14620     case $ac_optarg in
14621     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14622     '') as_fn_error $? "missing file argument" ;;
14623     esac
14624     as_fn_append CONFIG_FILES " '$ac_optarg'"
14625     ac_need_defaults=false;;
14626   --header | --heade | --head | --hea )
14627     $ac_shift
14628     case $ac_optarg in
14629     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14630     esac
14631     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14632     ac_need_defaults=false;;
14633   --he | --h)
14634     # Conflict between --help and --header
14635     as_fn_error $? "ambiguous option: \`$1'
14636 Try \`$0 --help' for more information.";;
14637   --help | --hel | -h )
14638     $as_echo "$ac_cs_usage"; exit ;;
14639   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14640   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14641     ac_cs_silent=: ;;
14642
14643   # This is an error.
14644   -*) as_fn_error $? "unrecognized option: \`$1'
14645 Try \`$0 --help' for more information." ;;
14646
14647   *) as_fn_append ac_config_targets " $1"
14648      ac_need_defaults=false ;;
14649
14650   esac
14651   shift
14652 done
14653
14654 ac_configure_extra_args=
14655
14656 if $ac_cs_silent; then
14657   exec 6>/dev/null
14658   ac_configure_extra_args="$ac_configure_extra_args --silent"
14659 fi
14660
14661 _ACEOF
14662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14663 if \$ac_cs_recheck; then
14664   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14665   shift
14666   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14667   CONFIG_SHELL='$SHELL'
14668   export CONFIG_SHELL
14669   exec "\$@"
14670 fi
14671
14672 _ACEOF
14673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14674 exec 5>>config.log
14675 {
14676   echo
14677   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14678 ## Running $as_me. ##
14679 _ASBOX
14680   $as_echo "$ac_log"
14681 } >&5
14682
14683 _ACEOF
14684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14685 #
14686 # INIT-COMMANDS
14687 #
14688 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14689
14690
14691 # The HP-UX ksh and POSIX shell print the target directory to stdout
14692 # if CDPATH is set.
14693 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14694
14695 sed_quote_subst='$sed_quote_subst'
14696 double_quote_subst='$double_quote_subst'
14697 delay_variable_subst='$delay_variable_subst'
14698 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14699 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14700 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14701 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14702 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14703 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14704 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14705 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14706 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14707 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14708 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14709 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14710 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14711 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14712 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14713 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14714 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14715 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14716 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14717 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14718 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14719 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14720 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14721 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14722 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14723 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14724 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14725 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14726 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14727 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14728 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14729 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14730 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14731 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14732 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14733 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14734 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14735 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14736 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14737 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14738 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14739 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14740 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14741 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14742 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14743 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14744 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14745 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14746 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14747 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14748 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14749 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14750 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14751 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14752 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14753 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14754 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14755 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"`'
14756 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14757 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14758 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14759 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14760 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14761 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14762 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14763 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14764 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14765 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14766 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14767 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14768 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14769 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14770 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14771 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14772 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14773 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14774 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14775 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14776 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14777 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14778 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14779 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14780 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14781 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14782 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14783 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14784 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14785 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14786 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14787 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14788 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14789 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14790 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14791 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14792 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14793 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14794 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14795 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14796 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14797 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14798 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14799 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14800 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14801 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14802 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14803 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14804 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14805 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14806 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14807 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14808 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14809 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14810 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14811 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14812 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14813 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14814 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14815 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14816 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14817 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14818 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14819 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14820 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14821 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14822 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14823 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14824 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14825 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14826 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14827 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14828 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14829
14830 LTCC='$LTCC'
14831 LTCFLAGS='$LTCFLAGS'
14832 compiler='$compiler_DEFAULT'
14833
14834 # A function that is used when there is no print builtin or printf.
14835 func_fallback_echo ()
14836 {
14837   eval 'cat <<_LTECHO_EOF
14838 \$1
14839 _LTECHO_EOF'
14840 }
14841
14842 # Quote evaled strings.
14843 for var in AS \
14844 DLLTOOL \
14845 OBJDUMP \
14846 SHELL \
14847 ECHO \
14848 PATH_SEPARATOR \
14849 SED \
14850 GREP \
14851 EGREP \
14852 FGREP \
14853 LD \
14854 NM \
14855 LN_S \
14856 lt_SP2NL \
14857 lt_NL2SP \
14858 reload_flag \
14859 deplibs_check_method \
14860 file_magic_cmd \
14861 file_magic_glob \
14862 want_nocaseglob \
14863 sharedlib_from_linklib_cmd \
14864 AR \
14865 AR_FLAGS \
14866 archiver_list_spec \
14867 STRIP \
14868 RANLIB \
14869 CC \
14870 CFLAGS \
14871 compiler \
14872 lt_cv_sys_global_symbol_pipe \
14873 lt_cv_sys_global_symbol_to_cdecl \
14874 lt_cv_sys_global_symbol_to_c_name_address \
14875 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14876 nm_file_list_spec \
14877 lt_prog_compiler_no_builtin_flag \
14878 lt_prog_compiler_pic \
14879 lt_prog_compiler_wl \
14880 lt_prog_compiler_static \
14881 lt_cv_prog_compiler_c_o \
14882 need_locks \
14883 MANIFEST_TOOL \
14884 DSYMUTIL \
14885 NMEDIT \
14886 LIPO \
14887 OTOOL \
14888 OTOOL64 \
14889 shrext_cmds \
14890 export_dynamic_flag_spec \
14891 whole_archive_flag_spec \
14892 compiler_needs_object \
14893 with_gnu_ld \
14894 allow_undefined_flag \
14895 no_undefined_flag \
14896 hardcode_libdir_flag_spec \
14897 hardcode_libdir_separator \
14898 exclude_expsyms \
14899 include_expsyms \
14900 file_list_spec \
14901 variables_saved_for_relink \
14902 libname_spec \
14903 library_names_spec \
14904 soname_spec \
14905 install_override_mode \
14906 finish_eval \
14907 old_striplib \
14908 striplib; do
14909     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14910     *[\\\\\\\`\\"\\\$]*)
14911       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14912       ;;
14913     *)
14914       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14915       ;;
14916     esac
14917 done
14918
14919 # Double-quote double-evaled strings.
14920 for var in reload_cmds \
14921 old_postinstall_cmds \
14922 old_postuninstall_cmds \
14923 old_archive_cmds \
14924 extract_expsyms_cmds \
14925 old_archive_from_new_cmds \
14926 old_archive_from_expsyms_cmds \
14927 archive_cmds \
14928 archive_expsym_cmds \
14929 module_cmds \
14930 module_expsym_cmds \
14931 export_symbols_cmds \
14932 prelink_cmds \
14933 postlink_cmds \
14934 postinstall_cmds \
14935 postuninstall_cmds \
14936 finish_cmds \
14937 sys_lib_search_path_spec \
14938 sys_lib_dlsearch_path_spec; do
14939     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14940     *[\\\\\\\`\\"\\\$]*)
14941       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14942       ;;
14943     *)
14944       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14945       ;;
14946     esac
14947 done
14948
14949 ac_aux_dir='$ac_aux_dir'
14950 xsi_shell='$xsi_shell'
14951 lt_shell_append='$lt_shell_append'
14952
14953 # See if we are running on zsh, and set the options which allow our
14954 # commands through without removal of \ escapes INIT.
14955 if test -n "\${ZSH_VERSION+set}" ; then
14956    setopt NO_GLOB_SUBST
14957 fi
14958
14959
14960     PACKAGE='$PACKAGE'
14961     VERSION='$VERSION'
14962     TIMESTAMP='$TIMESTAMP'
14963     RM='$RM'
14964     ofile='$ofile'
14965
14966
14967
14968
14969 _ACEOF
14970
14971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14972
14973 # Handling of arguments.
14974 for ac_config_target in $ac_config_targets
14975 do
14976   case $ac_config_target in
14977     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14978     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14979     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14980     "ethumb.pc") CONFIG_FILES="$CONFIG_FILES ethumb.pc" ;;
14981     "ethumb.spec") CONFIG_FILES="$CONFIG_FILES ethumb.spec" ;;
14982     "ethumb_client.pc") CONFIG_FILES="$CONFIG_FILES ethumb_client.pc" ;;
14983     "org.enlightenment.Ethumb.service") CONFIG_FILES="$CONFIG_FILES org.enlightenment.Ethumb.service" ;;
14984     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14985     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14986     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
14987     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
14988     "src/lib/client/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/client/Makefile" ;;
14989     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14990     "src/plugins/emotion/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/emotion/Makefile" ;;
14991     "src/plugins/epdf/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/epdf/Makefile" ;;
14992     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
14993     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14994     "data/frames/Makefile") CONFIG_FILES="$CONFIG_FILES data/frames/Makefile" ;;
14995     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
14996     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14997     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
14998
14999   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15000   esac
15001 done
15002
15003
15004 # If the user did not use the arguments to specify the items to instantiate,
15005 # then the envvar interface is used.  Set only those that are not.
15006 # We use the long form for the default assignment because of an extremely
15007 # bizarre bug on SunOS 4.1.3.
15008 if $ac_need_defaults; then
15009   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15010   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15011   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15012 fi
15013
15014 # Have a temporary directory for convenience.  Make it in the build tree
15015 # simply because there is no reason against having it here, and in addition,
15016 # creating and moving files from /tmp can sometimes cause problems.
15017 # Hook for its removal unless debugging.
15018 # Note that there is a small window in which the directory will not be cleaned:
15019 # after its creation but before its name has been assigned to `$tmp'.
15020 $debug ||
15021 {
15022   tmp= ac_tmp=
15023   trap 'exit_status=$?
15024   : "${ac_tmp:=$tmp}"
15025   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15026 ' 0
15027   trap 'as_fn_exit 1' 1 2 13 15
15028 }
15029 # Create a (secure) tmp directory for tmp files.
15030
15031 {
15032   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15033   test -d "$tmp"
15034 }  ||
15035 {
15036   tmp=./conf$$-$RANDOM
15037   (umask 077 && mkdir "$tmp")
15038 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15039 ac_tmp=$tmp
15040
15041 # Set up the scripts for CONFIG_FILES section.
15042 # No need to generate them if there are no CONFIG_FILES.
15043 # This happens for instance with `./config.status config.h'.
15044 if test -n "$CONFIG_FILES"; then
15045
15046
15047 ac_cr=`echo X | tr X '\015'`
15048 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15049 # But we know of no other shell where ac_cr would be empty at this
15050 # point, so we can use a bashism as a fallback.
15051 if test "x$ac_cr" = x; then
15052   eval ac_cr=\$\'\\r\'
15053 fi
15054 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15055 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15056   ac_cs_awk_cr='\\r'
15057 else
15058   ac_cs_awk_cr=$ac_cr
15059 fi
15060
15061 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15062 _ACEOF
15063
15064
15065 {
15066   echo "cat >conf$$subs.awk <<_ACEOF" &&
15067   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15068   echo "_ACEOF"
15069 } >conf$$subs.sh ||
15070   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15071 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15072 ac_delim='%!_!# '
15073 for ac_last_try in false false false false false :; do
15074   . ./conf$$subs.sh ||
15075     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15076
15077   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15078   if test $ac_delim_n = $ac_delim_num; then
15079     break
15080   elif $ac_last_try; then
15081     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15082   else
15083     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15084   fi
15085 done
15086 rm -f conf$$subs.sh
15087
15088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15089 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15090 _ACEOF
15091 sed -n '
15092 h
15093 s/^/S["/; s/!.*/"]=/
15094 p
15095 g
15096 s/^[^!]*!//
15097 :repl
15098 t repl
15099 s/'"$ac_delim"'$//
15100 t delim
15101 :nl
15102 h
15103 s/\(.\{148\}\)..*/\1/
15104 t more1
15105 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15106 p
15107 n
15108 b repl
15109 :more1
15110 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15111 p
15112 g
15113 s/.\{148\}//
15114 t nl
15115 :delim
15116 h
15117 s/\(.\{148\}\)..*/\1/
15118 t more2
15119 s/["\\]/\\&/g; s/^/"/; s/$/"/
15120 p
15121 b
15122 :more2
15123 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15124 p
15125 g
15126 s/.\{148\}//
15127 t delim
15128 ' <conf$$subs.awk | sed '
15129 /^[^""]/{
15130   N
15131   s/\n//
15132 }
15133 ' >>$CONFIG_STATUS || ac_write_fail=1
15134 rm -f conf$$subs.awk
15135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15136 _ACAWK
15137 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15138   for (key in S) S_is_set[key] = 1
15139   FS = "\a"
15140
15141 }
15142 {
15143   line = $ 0
15144   nfields = split(line, field, "@")
15145   substed = 0
15146   len = length(field[1])
15147   for (i = 2; i < nfields; i++) {
15148     key = field[i]
15149     keylen = length(key)
15150     if (S_is_set[key]) {
15151       value = S[key]
15152       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15153       len += length(value) + length(field[++i])
15154       substed = 1
15155     } else
15156       len += 1 + keylen
15157   }
15158
15159   print line
15160 }
15161
15162 _ACAWK
15163 _ACEOF
15164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15165 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15166   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15167 else
15168   cat
15169 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15170   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15171 _ACEOF
15172
15173 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15174 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15175 # trailing colons and then remove the whole line if VPATH becomes empty
15176 # (actually we leave an empty line to preserve line numbers).
15177 if test "x$srcdir" = x.; then
15178   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15179 h
15180 s///
15181 s/^/:/
15182 s/[      ]*$/:/
15183 s/:\$(srcdir):/:/g
15184 s/:\${srcdir}:/:/g
15185 s/:@srcdir@:/:/g
15186 s/^:*//
15187 s/:*$//
15188 x
15189 s/\(=[   ]*\).*/\1/
15190 G
15191 s/\n//
15192 s/^[^=]*=[       ]*$//
15193 }'
15194 fi
15195
15196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15197 fi # test -n "$CONFIG_FILES"
15198
15199 # Set up the scripts for CONFIG_HEADERS section.
15200 # No need to generate them if there are no CONFIG_HEADERS.
15201 # This happens for instance with `./config.status Makefile'.
15202 if test -n "$CONFIG_HEADERS"; then
15203 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15204 BEGIN {
15205 _ACEOF
15206
15207 # Transform confdefs.h into an awk script `defines.awk', embedded as
15208 # here-document in config.status, that substitutes the proper values into
15209 # config.h.in to produce config.h.
15210
15211 # Create a delimiter string that does not exist in confdefs.h, to ease
15212 # handling of long lines.
15213 ac_delim='%!_!# '
15214 for ac_last_try in false false :; do
15215   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15216   if test -z "$ac_tt"; then
15217     break
15218   elif $ac_last_try; then
15219     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15220   else
15221     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15222   fi
15223 done
15224
15225 # For the awk script, D is an array of macro values keyed by name,
15226 # likewise P contains macro parameters if any.  Preserve backslash
15227 # newline sequences.
15228
15229 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15230 sed -n '
15231 s/.\{148\}/&'"$ac_delim"'/g
15232 t rset
15233 :rset
15234 s/^[     ]*#[    ]*define[       ][      ]*/ /
15235 t def
15236 d
15237 :def
15238 s/\\$//
15239 t bsnl
15240 s/["\\]/\\&/g
15241 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15242 D["\1"]=" \3"/p
15243 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15244 d
15245 :bsnl
15246 s/["\\]/\\&/g
15247 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15248 D["\1"]=" \3\\\\\\n"\\/p
15249 t cont
15250 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15251 t cont
15252 d
15253 :cont
15254 n
15255 s/.\{148\}/&'"$ac_delim"'/g
15256 t clear
15257 :clear
15258 s/\\$//
15259 t bsnlc
15260 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15261 d
15262 :bsnlc
15263 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15264 b cont
15265 ' <confdefs.h | sed '
15266 s/'"$ac_delim"'/"\\\
15267 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15268
15269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15270   for (key in D) D_is_set[key] = 1
15271   FS = "\a"
15272 }
15273 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15274   line = \$ 0
15275   split(line, arg, " ")
15276   if (arg[1] == "#") {
15277     defundef = arg[2]
15278     mac1 = arg[3]
15279   } else {
15280     defundef = substr(arg[1], 2)
15281     mac1 = arg[2]
15282   }
15283   split(mac1, mac2, "(") #)
15284   macro = mac2[1]
15285   prefix = substr(line, 1, index(line, defundef) - 1)
15286   if (D_is_set[macro]) {
15287     # Preserve the white space surrounding the "#".
15288     print prefix "define", macro P[macro] D[macro]
15289     next
15290   } else {
15291     # Replace #undef with comments.  This is necessary, for example,
15292     # in the case of _POSIX_SOURCE, which is predefined and required
15293     # on some systems where configure will not decide to define it.
15294     if (defundef == "undef") {
15295       print "/*", prefix defundef, macro, "*/"
15296       next
15297     }
15298   }
15299 }
15300 { print }
15301 _ACAWK
15302 _ACEOF
15303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15304   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15305 fi # test -n "$CONFIG_HEADERS"
15306
15307
15308 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15309 shift
15310 for ac_tag
15311 do
15312   case $ac_tag in
15313   :[FHLC]) ac_mode=$ac_tag; continue;;
15314   esac
15315   case $ac_mode$ac_tag in
15316   :[FHL]*:*);;
15317   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15318   :[FH]-) ac_tag=-:-;;
15319   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15320   esac
15321   ac_save_IFS=$IFS
15322   IFS=:
15323   set x $ac_tag
15324   IFS=$ac_save_IFS
15325   shift
15326   ac_file=$1
15327   shift
15328
15329   case $ac_mode in
15330   :L) ac_source=$1;;
15331   :[FH])
15332     ac_file_inputs=
15333     for ac_f
15334     do
15335       case $ac_f in
15336       -) ac_f="$ac_tmp/stdin";;
15337       *) # Look for the file first in the build tree, then in the source tree
15338          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15339          # because $ac_f cannot contain `:'.
15340          test -f "$ac_f" ||
15341            case $ac_f in
15342            [\\/$]*) false;;
15343            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15344            esac ||
15345            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15346       esac
15347       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15348       as_fn_append ac_file_inputs " '$ac_f'"
15349     done
15350
15351     # Let's still pretend it is `configure' which instantiates (i.e., don't
15352     # use $as_me), people would be surprised to read:
15353     #    /* config.h.  Generated by config.status.  */
15354     configure_input='Generated from '`
15355           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15356         `' by configure.'
15357     if test x"$ac_file" != x-; then
15358       configure_input="$ac_file.  $configure_input"
15359       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15360 $as_echo "$as_me: creating $ac_file" >&6;}
15361     fi
15362     # Neutralize special characters interpreted by sed in replacement strings.
15363     case $configure_input in #(
15364     *\&* | *\|* | *\\* )
15365        ac_sed_conf_input=`$as_echo "$configure_input" |
15366        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15367     *) ac_sed_conf_input=$configure_input;;
15368     esac
15369
15370     case $ac_tag in
15371     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15372       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15373     esac
15374     ;;
15375   esac
15376
15377   ac_dir=`$as_dirname -- "$ac_file" ||
15378 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15379          X"$ac_file" : 'X\(//\)[^/]' \| \
15380          X"$ac_file" : 'X\(//\)$' \| \
15381          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15382 $as_echo X"$ac_file" |
15383     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15384             s//\1/
15385             q
15386           }
15387           /^X\(\/\/\)[^/].*/{
15388             s//\1/
15389             q
15390           }
15391           /^X\(\/\/\)$/{
15392             s//\1/
15393             q
15394           }
15395           /^X\(\/\).*/{
15396             s//\1/
15397             q
15398           }
15399           s/.*/./; q'`
15400   as_dir="$ac_dir"; as_fn_mkdir_p
15401   ac_builddir=.
15402
15403 case "$ac_dir" in
15404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15405 *)
15406   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15407   # A ".." for each directory in $ac_dir_suffix.
15408   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15409   case $ac_top_builddir_sub in
15410   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15411   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15412   esac ;;
15413 esac
15414 ac_abs_top_builddir=$ac_pwd
15415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15416 # for backward compatibility:
15417 ac_top_builddir=$ac_top_build_prefix
15418
15419 case $srcdir in
15420   .)  # We are building in place.
15421     ac_srcdir=.
15422     ac_top_srcdir=$ac_top_builddir_sub
15423     ac_abs_top_srcdir=$ac_pwd ;;
15424   [\\/]* | ?:[\\/]* )  # Absolute name.
15425     ac_srcdir=$srcdir$ac_dir_suffix;
15426     ac_top_srcdir=$srcdir
15427     ac_abs_top_srcdir=$srcdir ;;
15428   *) # Relative name.
15429     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15430     ac_top_srcdir=$ac_top_build_prefix$srcdir
15431     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15432 esac
15433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15434
15435
15436   case $ac_mode in
15437   :F)
15438   #
15439   # CONFIG_FILE
15440   #
15441
15442   case $INSTALL in
15443   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15444   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15445   esac
15446   ac_MKDIR_P=$MKDIR_P
15447   case $MKDIR_P in
15448   [\\/$]* | ?:[\\/]* ) ;;
15449   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15450   esac
15451 _ACEOF
15452
15453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15454 # If the template does not know about datarootdir, expand it.
15455 # FIXME: This hack should be removed a few years after 2.60.
15456 ac_datarootdir_hack=; ac_datarootdir_seen=
15457 ac_sed_dataroot='
15458 /datarootdir/ {
15459   p
15460   q
15461 }
15462 /@datadir@/p
15463 /@docdir@/p
15464 /@infodir@/p
15465 /@localedir@/p
15466 /@mandir@/p'
15467 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15468 *datarootdir*) ac_datarootdir_seen=yes;;
15469 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15470   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15471 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15472 _ACEOF
15473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15474   ac_datarootdir_hack='
15475   s&@datadir@&$datadir&g
15476   s&@docdir@&$docdir&g
15477   s&@infodir@&$infodir&g
15478   s&@localedir@&$localedir&g
15479   s&@mandir@&$mandir&g
15480   s&\\\${datarootdir}&$datarootdir&g' ;;
15481 esac
15482 _ACEOF
15483
15484 # Neutralize VPATH when `$srcdir' = `.'.
15485 # Shell code in configure.ac might set extrasub.
15486 # FIXME: do we really want to maintain this feature?
15487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15488 ac_sed_extra="$ac_vpsub
15489 $extrasub
15490 _ACEOF
15491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15492 :t
15493 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15494 s|@configure_input@|$ac_sed_conf_input|;t t
15495 s&@top_builddir@&$ac_top_builddir_sub&;t t
15496 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15497 s&@srcdir@&$ac_srcdir&;t t
15498 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15499 s&@top_srcdir@&$ac_top_srcdir&;t t
15500 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15501 s&@builddir@&$ac_builddir&;t t
15502 s&@abs_builddir@&$ac_abs_builddir&;t t
15503 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15504 s&@INSTALL@&$ac_INSTALL&;t t
15505 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15506 $ac_datarootdir_hack
15507 "
15508 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15509   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15510
15511 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15512   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15513   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15514       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15515   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15516 which seems to be undefined.  Please make sure it is defined" >&5
15517 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15518 which seems to be undefined.  Please make sure it is defined" >&2;}
15519
15520   rm -f "$ac_tmp/stdin"
15521   case $ac_file in
15522   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15523   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15524   esac \
15525   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15526  ;;
15527   :H)
15528   #
15529   # CONFIG_HEADER
15530   #
15531   if test x"$ac_file" != x-; then
15532     {
15533       $as_echo "/* $configure_input  */" \
15534       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15535     } >"$ac_tmp/config.h" \
15536       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15537     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15538       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15539 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15540     else
15541       rm -f "$ac_file"
15542       mv "$ac_tmp/config.h" "$ac_file" \
15543         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15544     fi
15545   else
15546     $as_echo "/* $configure_input  */" \
15547       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15548       || as_fn_error $? "could not create -" "$LINENO" 5
15549   fi
15550 # Compute "$ac_file"'s index in $config_headers.
15551 _am_arg="$ac_file"
15552 _am_stamp_count=1
15553 for _am_header in $config_headers :; do
15554   case $_am_header in
15555     $_am_arg | $_am_arg:* )
15556       break ;;
15557     * )
15558       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15559   esac
15560 done
15561 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15562 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15563          X"$_am_arg" : 'X\(//\)[^/]' \| \
15564          X"$_am_arg" : 'X\(//\)$' \| \
15565          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15566 $as_echo X"$_am_arg" |
15567     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15568             s//\1/
15569             q
15570           }
15571           /^X\(\/\/\)[^/].*/{
15572             s//\1/
15573             q
15574           }
15575           /^X\(\/\/\)$/{
15576             s//\1/
15577             q
15578           }
15579           /^X\(\/\).*/{
15580             s//\1/
15581             q
15582           }
15583           s/.*/./; q'`/stamp-h$_am_stamp_count
15584  ;;
15585
15586   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15587 $as_echo "$as_me: executing $ac_file commands" >&6;}
15588  ;;
15589   esac
15590
15591
15592   case $ac_file$ac_mode in
15593     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15594   # Autoconf 2.62 quotes --file arguments for eval, but not when files
15595   # are listed without --file.  Let's play safe and only enable the eval
15596   # if we detect the quoting.
15597   case $CONFIG_FILES in
15598   *\'*) eval set x "$CONFIG_FILES" ;;
15599   *)   set x $CONFIG_FILES ;;
15600   esac
15601   shift
15602   for mf
15603   do
15604     # Strip MF so we end up with the name of the file.
15605     mf=`echo "$mf" | sed -e 's/:.*$//'`
15606     # Check whether this is an Automake generated Makefile or not.
15607     # We used to match only the files named `Makefile.in', but
15608     # some people rename them; so instead we look at the file content.
15609     # Grep'ing the first line is not enough: some people post-process
15610     # each Makefile.in and add a new line on top of each file to say so.
15611     # Grep'ing the whole file is not good either: AIX grep has a line
15612     # limit of 2048, but all sed's we know have understand at least 4000.
15613     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15614       dirpart=`$as_dirname -- "$mf" ||
15615 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15616          X"$mf" : 'X\(//\)[^/]' \| \
15617          X"$mf" : 'X\(//\)$' \| \
15618          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15619 $as_echo X"$mf" |
15620     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15621             s//\1/
15622             q
15623           }
15624           /^X\(\/\/\)[^/].*/{
15625             s//\1/
15626             q
15627           }
15628           /^X\(\/\/\)$/{
15629             s//\1/
15630             q
15631           }
15632           /^X\(\/\).*/{
15633             s//\1/
15634             q
15635           }
15636           s/.*/./; q'`
15637     else
15638       continue
15639     fi
15640     # Extract the definition of DEPDIR, am__include, and am__quote
15641     # from the Makefile without running `make'.
15642     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15643     test -z "$DEPDIR" && continue
15644     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15645     test -z "am__include" && continue
15646     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15647     # When using ansi2knr, U may be empty or an underscore; expand it
15648     U=`sed -n 's/^U = //p' < "$mf"`
15649     # Find all dependency output files, they are included files with
15650     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15651     # simplest approach to changing $(DEPDIR) to its actual value in the
15652     # expansion.
15653     for file in `sed -n "
15654       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15655          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15656       # Make sure the directory exists.
15657       test -f "$dirpart/$file" && continue
15658       fdir=`$as_dirname -- "$file" ||
15659 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15660          X"$file" : 'X\(//\)[^/]' \| \
15661          X"$file" : 'X\(//\)$' \| \
15662          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15663 $as_echo X"$file" |
15664     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15665             s//\1/
15666             q
15667           }
15668           /^X\(\/\/\)[^/].*/{
15669             s//\1/
15670             q
15671           }
15672           /^X\(\/\/\)$/{
15673             s//\1/
15674             q
15675           }
15676           /^X\(\/\).*/{
15677             s//\1/
15678             q
15679           }
15680           s/.*/./; q'`
15681       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15682       # echo "creating $dirpart/$file"
15683       echo '# dummy' > "$dirpart/$file"
15684     done
15685   done
15686 }
15687  ;;
15688     "libtool":C)
15689
15690     # See if we are running on zsh, and set the options which allow our
15691     # commands through without removal of \ escapes.
15692     if test -n "${ZSH_VERSION+set}" ; then
15693       setopt NO_GLOB_SUBST
15694     fi
15695
15696     cfgfile="${ofile}T"
15697     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15698     $RM "$cfgfile"
15699
15700     cat <<_LT_EOF >> "$cfgfile"
15701 #! $SHELL
15702
15703 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15704 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15705 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15706 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15707 #
15708 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15709 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15710 #                 Foundation, Inc.
15711 #   Written by Gordon Matzigkeit, 1996
15712 #
15713 #   This file is part of GNU Libtool.
15714 #
15715 # GNU Libtool is free software; you can redistribute it and/or
15716 # modify it under the terms of the GNU General Public License as
15717 # published by the Free Software Foundation; either version 2 of
15718 # the License, or (at your option) any later version.
15719 #
15720 # As a special exception to the GNU General Public License,
15721 # if you distribute this file as part of a program or library that
15722 # is built using GNU Libtool, you may include this file under the
15723 # same distribution terms that you use for the rest of that program.
15724 #
15725 # GNU Libtool is distributed in the hope that it will be useful,
15726 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15727 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15728 # GNU General Public License for more details.
15729 #
15730 # You should have received a copy of the GNU General Public License
15731 # along with GNU Libtool; see the file COPYING.  If not, a copy
15732 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15733 # obtained by writing to the Free Software Foundation, Inc.,
15734 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15735
15736
15737 # The names of the tagged configurations supported by this script.
15738 available_tags=""
15739
15740 # ### BEGIN LIBTOOL CONFIG
15741
15742 # Assembler program.
15743 AS=$lt_AS
15744
15745 # DLL creation program.
15746 DLLTOOL=$lt_DLLTOOL
15747
15748 # Object dumper program.
15749 OBJDUMP=$lt_OBJDUMP
15750
15751 # Which release of libtool.m4 was used?
15752 macro_version=$macro_version
15753 macro_revision=$macro_revision
15754
15755 # Whether or not to build shared libraries.
15756 build_libtool_libs=$enable_shared
15757
15758 # Whether or not to build static libraries.
15759 build_old_libs=$enable_static
15760
15761 # What type of objects to build.
15762 pic_mode=$pic_mode
15763
15764 # Whether or not to optimize for fast installation.
15765 fast_install=$enable_fast_install
15766
15767 # Shell to use when invoking shell scripts.
15768 SHELL=$lt_SHELL
15769
15770 # An echo program that protects backslashes.
15771 ECHO=$lt_ECHO
15772
15773 # The PATH separator for the build system.
15774 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15775
15776 # The host system.
15777 host_alias=$host_alias
15778 host=$host
15779 host_os=$host_os
15780
15781 # The build system.
15782 build_alias=$build_alias
15783 build=$build
15784 build_os=$build_os
15785
15786 # A sed program that does not truncate output.
15787 SED=$lt_SED
15788
15789 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15790 Xsed="\$SED -e 1s/^X//"
15791
15792 # A grep program that handles long lines.
15793 GREP=$lt_GREP
15794
15795 # An ERE matcher.
15796 EGREP=$lt_EGREP
15797
15798 # A literal string matcher.
15799 FGREP=$lt_FGREP
15800
15801 # A BSD- or MS-compatible name lister.
15802 NM=$lt_NM
15803
15804 # Whether we need soft or hard links.
15805 LN_S=$lt_LN_S
15806
15807 # What is the maximum length of a command?
15808 max_cmd_len=$max_cmd_len
15809
15810 # Object file suffix (normally "o").
15811 objext=$ac_objext
15812
15813 # Executable file suffix (normally "").
15814 exeext=$exeext
15815
15816 # whether the shell understands "unset".
15817 lt_unset=$lt_unset
15818
15819 # turn spaces into newlines.
15820 SP2NL=$lt_lt_SP2NL
15821
15822 # turn newlines into spaces.
15823 NL2SP=$lt_lt_NL2SP
15824
15825 # convert \$build file names to \$host format.
15826 to_host_file_cmd=$lt_cv_to_host_file_cmd
15827
15828 # convert \$build files to toolchain format.
15829 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15830
15831 # Method to check whether dependent libraries are shared objects.
15832 deplibs_check_method=$lt_deplibs_check_method
15833
15834 # Command to use when deplibs_check_method = "file_magic".
15835 file_magic_cmd=$lt_file_magic_cmd
15836
15837 # How to find potential files when deplibs_check_method = "file_magic".
15838 file_magic_glob=$lt_file_magic_glob
15839
15840 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15841 want_nocaseglob=$lt_want_nocaseglob
15842
15843 # Command to associate shared and link libraries.
15844 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15845
15846 # The archiver.
15847 AR=$lt_AR
15848
15849 # Flags to create an archive.
15850 AR_FLAGS=$lt_AR_FLAGS
15851
15852 # How to feed a file listing to the archiver.
15853 archiver_list_spec=$lt_archiver_list_spec
15854
15855 # A symbol stripping program.
15856 STRIP=$lt_STRIP
15857
15858 # Commands used to install an old-style archive.
15859 RANLIB=$lt_RANLIB
15860 old_postinstall_cmds=$lt_old_postinstall_cmds
15861 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15862
15863 # Whether to use a lock for old archive extraction.
15864 lock_old_archive_extraction=$lock_old_archive_extraction
15865
15866 # A C compiler.
15867 LTCC=$lt_CC
15868
15869 # LTCC compiler flags.
15870 LTCFLAGS=$lt_CFLAGS
15871
15872 # Take the output of nm and produce a listing of raw symbols and C names.
15873 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15874
15875 # Transform the output of nm in a proper C declaration.
15876 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15877
15878 # Transform the output of nm in a C name address pair.
15879 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15880
15881 # Transform the output of nm in a C name address pair when lib prefix is needed.
15882 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15883
15884 # Specify filename containing input files for \$NM.
15885 nm_file_list_spec=$lt_nm_file_list_spec
15886
15887 # The root where to search for dependent libraries,and in which our libraries should be installed.
15888 lt_sysroot=$lt_sysroot
15889
15890 # The name of the directory that contains temporary libtool files.
15891 objdir=$objdir
15892
15893 # Used to examine libraries when file_magic_cmd begins with "file".
15894 MAGIC_CMD=$MAGIC_CMD
15895
15896 # Must we lock files when doing compilation?
15897 need_locks=$lt_need_locks
15898
15899 # Manifest tool.
15900 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15901
15902 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15903 DSYMUTIL=$lt_DSYMUTIL
15904
15905 # Tool to change global to local symbols on Mac OS X.
15906 NMEDIT=$lt_NMEDIT
15907
15908 # Tool to manipulate fat objects and archives on Mac OS X.
15909 LIPO=$lt_LIPO
15910
15911 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15912 OTOOL=$lt_OTOOL
15913
15914 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15915 OTOOL64=$lt_OTOOL64
15916
15917 # Old archive suffix (normally "a").
15918 libext=$libext
15919
15920 # Shared library suffix (normally ".so").
15921 shrext_cmds=$lt_shrext_cmds
15922
15923 # The commands to extract the exported symbol list from a shared archive.
15924 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15925
15926 # Variables whose values should be saved in libtool wrapper scripts and
15927 # restored at link time.
15928 variables_saved_for_relink=$lt_variables_saved_for_relink
15929
15930 # Do we need the "lib" prefix for modules?
15931 need_lib_prefix=$need_lib_prefix
15932
15933 # Do we need a version for libraries?
15934 need_version=$need_version
15935
15936 # Library versioning type.
15937 version_type=$version_type
15938
15939 # Shared library runtime path variable.
15940 runpath_var=$runpath_var
15941
15942 # Shared library path variable.
15943 shlibpath_var=$shlibpath_var
15944
15945 # Is shlibpath searched before the hard-coded library search path?
15946 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15947
15948 # Format of library name prefix.
15949 libname_spec=$lt_libname_spec
15950
15951 # List of archive names.  First name is the real one, the rest are links.
15952 # The last name is the one that the linker finds with -lNAME
15953 library_names_spec=$lt_library_names_spec
15954
15955 # The coded name of the library, if different from the real name.
15956 soname_spec=$lt_soname_spec
15957
15958 # Permission mode override for installation of shared libraries.
15959 install_override_mode=$lt_install_override_mode
15960
15961 # Command to use after installation of a shared archive.
15962 postinstall_cmds=$lt_postinstall_cmds
15963
15964 # Command to use after uninstallation of a shared archive.
15965 postuninstall_cmds=$lt_postuninstall_cmds
15966
15967 # Commands used to finish a libtool library installation in a directory.
15968 finish_cmds=$lt_finish_cmds
15969
15970 # As "finish_cmds", except a single script fragment to be evaled but
15971 # not shown.
15972 finish_eval=$lt_finish_eval
15973
15974 # Whether we should hardcode library paths into libraries.
15975 hardcode_into_libs=$hardcode_into_libs
15976
15977 # Compile-time system search path for libraries.
15978 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15979
15980 # Run-time system search path for libraries.
15981 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15982
15983 # Whether dlopen is supported.
15984 dlopen_support=$enable_dlopen
15985
15986 # Whether dlopen of programs is supported.
15987 dlopen_self=$enable_dlopen_self
15988
15989 # Whether dlopen of statically linked programs is supported.
15990 dlopen_self_static=$enable_dlopen_self_static
15991
15992 # Commands to strip libraries.
15993 old_striplib=$lt_old_striplib
15994 striplib=$lt_striplib
15995
15996
15997 # The linker used to build libraries.
15998 LD=$lt_LD
15999
16000 # How to create reloadable object files.
16001 reload_flag=$lt_reload_flag
16002 reload_cmds=$lt_reload_cmds
16003
16004 # Commands used to build an old-style archive.
16005 old_archive_cmds=$lt_old_archive_cmds
16006
16007 # A language specific compiler.
16008 CC=$lt_compiler
16009
16010 # Is the compiler the GNU compiler?
16011 with_gcc=$GCC
16012
16013 # Compiler flag to turn off builtin functions.
16014 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16015
16016 # Additional compiler flags for building library objects.
16017 pic_flag=$lt_lt_prog_compiler_pic
16018
16019 # How to pass a linker flag through the compiler.
16020 wl=$lt_lt_prog_compiler_wl
16021
16022 # Compiler flag to prevent dynamic linking.
16023 link_static_flag=$lt_lt_prog_compiler_static
16024
16025 # Does compiler simultaneously support -c and -o options?
16026 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16027
16028 # Whether or not to add -lc for building shared libraries.
16029 build_libtool_need_lc=$archive_cmds_need_lc
16030
16031 # Whether or not to disallow shared libs when runtime libs are static.
16032 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16033
16034 # Compiler flag to allow reflexive dlopens.
16035 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16036
16037 # Compiler flag to generate shared objects directly from archives.
16038 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16039
16040 # Whether the compiler copes with passing no objects directly.
16041 compiler_needs_object=$lt_compiler_needs_object
16042
16043 # Create an old-style archive from a shared archive.
16044 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16045
16046 # Create a temporary old-style archive to link instead of a shared archive.
16047 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16048
16049 # Commands used to build a shared archive.
16050 archive_cmds=$lt_archive_cmds
16051 archive_expsym_cmds=$lt_archive_expsym_cmds
16052
16053 # Commands used to build a loadable module if different from building
16054 # a shared archive.
16055 module_cmds=$lt_module_cmds
16056 module_expsym_cmds=$lt_module_expsym_cmds
16057
16058 # Whether we are building with GNU ld or not.
16059 with_gnu_ld=$lt_with_gnu_ld
16060
16061 # Flag that allows shared libraries with undefined symbols to be built.
16062 allow_undefined_flag=$lt_allow_undefined_flag
16063
16064 # Flag that enforces no undefined symbols.
16065 no_undefined_flag=$lt_no_undefined_flag
16066
16067 # Flag to hardcode \$libdir into a binary during linking.
16068 # This must work even if \$libdir does not exist
16069 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16070
16071 # Whether we need a single "-rpath" flag with a separated argument.
16072 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16073
16074 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16075 # DIR into the resulting binary.
16076 hardcode_direct=$hardcode_direct
16077
16078 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16079 # DIR into the resulting binary and the resulting library dependency is
16080 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16081 # library is relocated.
16082 hardcode_direct_absolute=$hardcode_direct_absolute
16083
16084 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16085 # into the resulting binary.
16086 hardcode_minus_L=$hardcode_minus_L
16087
16088 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16089 # into the resulting binary.
16090 hardcode_shlibpath_var=$hardcode_shlibpath_var
16091
16092 # Set to "yes" if building a shared library automatically hardcodes DIR
16093 # into the library and all subsequent libraries and executables linked
16094 # against it.
16095 hardcode_automatic=$hardcode_automatic
16096
16097 # Set to yes if linker adds runtime paths of dependent libraries
16098 # to runtime path list.
16099 inherit_rpath=$inherit_rpath
16100
16101 # Whether libtool must link a program against all its dependency libraries.
16102 link_all_deplibs=$link_all_deplibs
16103
16104 # Set to "yes" if exported symbols are required.
16105 always_export_symbols=$always_export_symbols
16106
16107 # The commands to list exported symbols.
16108 export_symbols_cmds=$lt_export_symbols_cmds
16109
16110 # Symbols that should not be listed in the preloaded symbols.
16111 exclude_expsyms=$lt_exclude_expsyms
16112
16113 # Symbols that must always be exported.
16114 include_expsyms=$lt_include_expsyms
16115
16116 # Commands necessary for linking programs (against libraries) with templates.
16117 prelink_cmds=$lt_prelink_cmds
16118
16119 # Commands necessary for finishing linking programs.
16120 postlink_cmds=$lt_postlink_cmds
16121
16122 # Specify filename containing input files.
16123 file_list_spec=$lt_file_list_spec
16124
16125 # How to hardcode a shared library path into an executable.
16126 hardcode_action=$hardcode_action
16127
16128 # ### END LIBTOOL CONFIG
16129
16130 _LT_EOF
16131
16132   case $host_os in
16133   aix3*)
16134     cat <<\_LT_EOF >> "$cfgfile"
16135 # AIX sometimes has problems with the GCC collect2 program.  For some
16136 # reason, if we set the COLLECT_NAMES environment variable, the problems
16137 # vanish in a puff of smoke.
16138 if test "X${COLLECT_NAMES+set}" != Xset; then
16139   COLLECT_NAMES=
16140   export COLLECT_NAMES
16141 fi
16142 _LT_EOF
16143     ;;
16144   esac
16145
16146
16147 ltmain="$ac_aux_dir/ltmain.sh"
16148
16149
16150   # We use sed instead of cat because bash on DJGPP gets confused if
16151   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16152   # text mode, it properly converts lines to CR/LF.  This bash problem
16153   # is reportedly fixed, but why not run on old versions too?
16154   sed '$q' "$ltmain" >> "$cfgfile" \
16155      || (rm -f "$cfgfile"; exit 1)
16156
16157   if test x"$xsi_shell" = xyes; then
16158   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16159 func_dirname ()\
16160 {\
16161 \    case ${1} in\
16162 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16163 \      *  ) func_dirname_result="${3}" ;;\
16164 \    esac\
16165 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16166   && mv -f "$cfgfile.tmp" "$cfgfile" \
16167     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16168 test 0 -eq $? || _lt_function_replace_fail=:
16169
16170
16171   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16172 func_basename ()\
16173 {\
16174 \    func_basename_result="${1##*/}"\
16175 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16176   && mv -f "$cfgfile.tmp" "$cfgfile" \
16177     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16178 test 0 -eq $? || _lt_function_replace_fail=:
16179
16180
16181   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16182 func_dirname_and_basename ()\
16183 {\
16184 \    case ${1} in\
16185 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16186 \      *  ) func_dirname_result="${3}" ;;\
16187 \    esac\
16188 \    func_basename_result="${1##*/}"\
16189 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16190   && mv -f "$cfgfile.tmp" "$cfgfile" \
16191     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16192 test 0 -eq $? || _lt_function_replace_fail=:
16193
16194
16195   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16196 func_stripname ()\
16197 {\
16198 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16199 \    # positional parameters, so assign one to ordinary parameter first.\
16200 \    func_stripname_result=${3}\
16201 \    func_stripname_result=${func_stripname_result#"${1}"}\
16202 \    func_stripname_result=${func_stripname_result%"${2}"}\
16203 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16204   && mv -f "$cfgfile.tmp" "$cfgfile" \
16205     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16206 test 0 -eq $? || _lt_function_replace_fail=:
16207
16208
16209   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16210 func_split_long_opt ()\
16211 {\
16212 \    func_split_long_opt_name=${1%%=*}\
16213 \    func_split_long_opt_arg=${1#*=}\
16214 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16215   && mv -f "$cfgfile.tmp" "$cfgfile" \
16216     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16217 test 0 -eq $? || _lt_function_replace_fail=:
16218
16219
16220   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16221 func_split_short_opt ()\
16222 {\
16223 \    func_split_short_opt_arg=${1#??}\
16224 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16225 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16226   && mv -f "$cfgfile.tmp" "$cfgfile" \
16227     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16228 test 0 -eq $? || _lt_function_replace_fail=:
16229
16230
16231   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16232 func_lo2o ()\
16233 {\
16234 \    case ${1} in\
16235 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16236 \      *)    func_lo2o_result=${1} ;;\
16237 \    esac\
16238 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16239   && mv -f "$cfgfile.tmp" "$cfgfile" \
16240     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16241 test 0 -eq $? || _lt_function_replace_fail=:
16242
16243
16244   sed -e '/^func_xform ()$/,/^} # func_xform /c\
16245 func_xform ()\
16246 {\
16247     func_xform_result=${1%.*}.lo\
16248 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16249   && mv -f "$cfgfile.tmp" "$cfgfile" \
16250     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16251 test 0 -eq $? || _lt_function_replace_fail=:
16252
16253
16254   sed -e '/^func_arith ()$/,/^} # func_arith /c\
16255 func_arith ()\
16256 {\
16257     func_arith_result=$(( $* ))\
16258 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16259   && mv -f "$cfgfile.tmp" "$cfgfile" \
16260     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16261 test 0 -eq $? || _lt_function_replace_fail=:
16262
16263
16264   sed -e '/^func_len ()$/,/^} # func_len /c\
16265 func_len ()\
16266 {\
16267     func_len_result=${#1}\
16268 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16269   && mv -f "$cfgfile.tmp" "$cfgfile" \
16270     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16271 test 0 -eq $? || _lt_function_replace_fail=:
16272
16273 fi
16274
16275 if test x"$lt_shell_append" = xyes; then
16276   sed -e '/^func_append ()$/,/^} # func_append /c\
16277 func_append ()\
16278 {\
16279     eval "${1}+=\\${2}"\
16280 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16281   && mv -f "$cfgfile.tmp" "$cfgfile" \
16282     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16283 test 0 -eq $? || _lt_function_replace_fail=:
16284
16285
16286   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16287 func_append_quoted ()\
16288 {\
16289 \    func_quote_for_eval "${2}"\
16290 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16291 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16292   && mv -f "$cfgfile.tmp" "$cfgfile" \
16293     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16294 test 0 -eq $? || _lt_function_replace_fail=:
16295
16296
16297   # Save a `func_append' function call where possible by direct use of '+='
16298   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16299     && mv -f "$cfgfile.tmp" "$cfgfile" \
16300       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16301   test 0 -eq $? || _lt_function_replace_fail=:
16302 else
16303   # Save a `func_append' function call even when '+=' is not available
16304   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16305     && mv -f "$cfgfile.tmp" "$cfgfile" \
16306       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16307   test 0 -eq $? || _lt_function_replace_fail=:
16308 fi
16309
16310 if test x"$_lt_function_replace_fail" = x":"; then
16311   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16312 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16313 fi
16314
16315
16316    mv -f "$cfgfile" "$ofile" ||
16317     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16318   chmod +x "$ofile"
16319
16320  ;;
16321
16322   esac
16323 done # for ac_tag
16324
16325
16326 as_fn_exit 0
16327 _ACEOF
16328 ac_clean_files=$ac_clean_files_save
16329
16330 test $ac_write_fail = 0 ||
16331   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16332
16333
16334 # configure is writing to config.log, and then calls config.status.
16335 # config.status does its own redirection, appending to config.log.
16336 # Unfortunately, on DOS this fails, as config.log is still kept open
16337 # by configure, so config.status won't be able to write to it; its
16338 # output is simply discarded.  So we exec the FD to /dev/null,
16339 # effectively closing config.log, so it can be properly (re)opened and
16340 # appended to by config.status.  When coming back to configure, we
16341 # need to make the FD available again.
16342 if test "$no_create" != yes; then
16343   ac_cs_success=:
16344   ac_config_status_args=
16345   test "$silent" = yes &&
16346     ac_config_status_args="$ac_config_status_args --quiet"
16347   exec 5>/dev/null
16348   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16349   exec 5>>config.log
16350   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16351   # would make configure fail if this is the last instruction.
16352   $ac_cs_success || as_fn_exit 1
16353 fi
16354 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16355   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16356 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16357 fi
16358
16359
16360 txt_strip() {
16361         echo "$@" | sed -e 's/^[ \t]*\([^ \t]*\)[ \t]*$/\1/g'
16362 }
16363
16364 MODS=""
16365 for mod in $OPTIONAL_MODULES; do
16366         MODS="$MODS ${COLOR_HGREEN}+$mod${COLOR_END}"
16367 done
16368 MODS=$(txt_strip $MODS)
16369
16370 UNUSED_MODS=""
16371 for mod in $UNUSED_OPTIONAL_MODULES; do
16372         UNUSED_MODS="$UNUSED_MODS ${COLOR_HRED}-$mod${COLOR_END}"
16373 done
16374 UNUSED_MODS=$(txt_strip $UNUSED_MODS)
16375
16376 cat <<SUMMARY_EOF
16377
16378 Summary:
16379  * project..........: $PACKAGE $VERSION
16380  * prefix...........: $(txt_strip $prefix)
16381  * DBus services dir: $(txt_strip $dbusservicedir)
16382  * CFLAGS...........: $(txt_strip $CFLAGS)
16383  * LDFLAGS..........: $(txt_strip $LDFLAGS)
16384
16385 Configuration Options Summary:
16386
16387  * use xattr........: ${have_xattr}
16388  * maximum log level: ${with_max_log_level}
16389  * documentation....: ${build_doc} (installation: make install-doc)
16390
16391 SUMMARY_EOF
16392
16393 if test "x$MODS" != "x"; then
16394    echo -e " * enabled modules..: $MODS"
16395 fi
16396
16397 if test "x$UNUSED_MODS" != "x"; then
16398    echo -e " * disabled modules.: $UNUSED_MODS"
16399 fi
16400
16401 cat << HINT_EOF
16402
16403 now type:
16404
16405 Now type 'make' ('gmake' on some systems) to compile $PACKAGE, and
16406 then afterwards as root (or the user who will install this), type
16407 'make install'. Change users with 'su' or 'sudo' appropriately.
16408
16409 HINT_EOF